
#sfc-pref{position:fixed;inset:0;z-index:100001;display:none;align-items:center;justify-content:center;padding:16px;background:rgba(12,31,69,.6);box-sizing:border-box;font-family:Poppins,'Noto Sans Devanagari',sans-serif}
#sfc-pref.open{display:flex}
#sfc-pref *,#sfc-pref *::before,#sfc-pref *::after{box-sizing:border-box}
#sfc-pref .sfc-box{display:flex;flex-direction:column;width:100%;max-width:800px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 12px 40px rgba(12,31,69,.3);animation:sfcIn .25s ease}
@keyframes sfcIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
#sfc-pref .sfc-head{display:flex;align-items:center;gap:14px;padding:16px 20px;background:#f4f4f4;border-bottom:1px solid #e1e6ec}
#sfc-pref .sfc-title{flex:1 1 auto;min-width:0;margin:0;padding:0;color:#1a1a1a;font-family:inherit;font-size:24px;font-weight:500;line-height:1.3}
#sfc-pref .sfc-head .sfl-toggle button{padding:7px 12px;font-size:13px}
#sfc-pref .sfc-close,#sfc-pref .sfc-close:hover,#sfc-pref .sfc-close:focus{flex:0 0 auto;width:32px;height:32px;margin:0;padding:0;background:none;border:0;box-shadow:none;color:#667181;font-size:28px;font-weight:400;line-height:1;cursor:pointer}
#sfc-pref .sfc-intro{margin:0;padding:14px 20px;color:#1a1a1a;font-size:15px;line-height:1.6}
#sfc-pref .sfc-list{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:14px 12px 10px;background:#eee}
#sfc-pref .sfc-current{margin:0 0 10px;padding:0 8px;color:#1a1a1a;font-size:15px;font-weight:600;line-height:1.4}
#sfc-pref .sfc-row{margin:0;padding:0 0 4px}
#sfc-pref .sfc-top{display:flex;align-items:center;gap:14px}
#sfc-pref .sfc-name,#sfc-pref .sfc-name:hover,#sfc-pref .sfc-name:focus{display:flex;flex:1 1 auto;align-items:center;gap:8px;min-width:0;margin:0;padding:10px 8px;background:none;border:0;border-radius:4px;box-shadow:none;color:#1a1a1a;font-family:inherit;font-size:15px;font-weight:600;line-height:1.4;letter-spacing:0;text-align:left;text-transform:none;white-space:normal;cursor:pointer}
#sfc-pref .sfc-name:focus-visible{outline:2px solid #0c1f45;outline-offset:-2px}
#sfc-pref .sfc-arrow{flex:0 0 12px;width:12px;height:12px;fill:#000;transform:rotate(-90deg);transition:transform .2s}
#sfc-pref .sfc-name[aria-expanded="true"] .sfc-arrow{transform:none}
#sfc-pref .sfc-desc{display:none;margin:0;padding:0 110px 10px 28px;color:#536174;font-size:14px;line-height:1.6}
#sfc-pref .sfc-row.open .sfc-desc{display:block}
#sfc-pref .sfc-sw{position:relative;display:inline-flex;flex:0 0 92px;align-items:center;gap:8px;margin:0;padding:0;color:#1a1a1a;font-size:13px;font-weight:600;line-height:1;cursor:pointer}
#sfc-pref .sfc-sw input{position:absolute;width:44px;height:24px;margin:0;padding:0;opacity:0;cursor:pointer}
#sfc-pref .sfc-track{position:relative;flex:0 0 44px;width:44px;height:24px;background:#b5bbc4;border-radius:999px;transition:background .2s}
#sfc-pref .sfc-track::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;background:#fff;border-radius:50%;transition:transform .2s}
#sfc-pref .sfc-sw input:checked+.sfc-track{background:#48bb78}
#sfc-pref .sfc-sw input:checked+.sfc-track::after{transform:translateX(20px)}
#sfc-pref .sfc-sw input:focus-visible+.sfc-track{outline:2px solid #0c1f45;outline-offset:2px}
#sfc-pref .sfc-foot{display:flex;justify-content:center;gap:16px;padding:16px 20px;background:#fff;border-top:1px solid #e1e6ec}
#sfc-pref .sfc-btn{min-height:46px;margin:0;padding:11px 20px;border-radius:5px;box-shadow:none;font-family:inherit;font-size:16px;font-weight:600;line-height:1.3;letter-spacing:0;text-transform:none;cursor:pointer}
#sfc-pref .sfc-save,#sfc-pref .sfc-save:hover,#sfc-pref .sfc-save:focus{background:#fff;border:1px solid #d5d9df;color:#1a1a1a}
#sfc-pref .sfc-agree,#sfc-pref .sfc-agree:hover,#sfc-pref .sfc-agree:focus{background:#ed1c24;border:1px solid #ed1c24;color:#fff}
body.sfc-lock{overflow:hidden}
@media(max-width:600px){
  #sfc-pref{padding:12px}
  #sfc-pref .sfc-box{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
  #sfc-pref .sfc-head{flex-wrap:wrap;gap:8px 10px;padding:12px 14px}
  #sfc-pref .sfc-title{order:1;flex:1 1 calc(100% - 42px);font-size:20px}
  #sfc-pref .sfc-close{order:2}
  #sfc-pref .sfc-head .sfl-toggle{order:3}
  #sfc-pref .sfc-intro{padding:12px 14px;font-size:14px}
  #sfc-pref .sfc-list{padding:12px 6px 8px}
  #sfc-pref .sfc-top{gap:8px}
  #sfc-pref .sfc-sw{flex-basis:84px}
  #sfc-pref .sfc-desc{padding:0 8px 10px 28px}
  #sfc-pref .sfc-foot{flex-direction:column-reverse;gap:10px;padding:12px 14px}
  #sfc-pref .sfc-btn{width:100%}
}
