/* ==========================================================
   GlassStream NOVA UI (v16)
   Loads AFTER style.css + premium-ui.css and re-themes them.
   Fonts: Sora (headings) · Plus Jakarta Sans (body) · Hind Siliguri (Bangla)
   ========================================================== */
html:root{
  --nv-a:#8b5cf6; --nv-b:#ff4d8d; --nv-c:#22d3ee; --nv-ok:#34d399; --nv-warn:#fbbf24;
  --nv-grad:linear-gradient(135deg,var(--nv-a),var(--nv-b));
  --nv-bg:#07060d; --nv-bg2:#0d0b17; --nv-surface:#121021; --nv-surface2:#1a1730;
  --nv-line:rgba(255,255,255,.09); --nv-text:#f4f2fc; --nv-muted:#9d99b8;
  --nv-glass:rgba(13,11,23,.72); --nv-shadow:0 18px 50px rgba(0,0,0,.45);
  --nv-radius:20px; --nv-ease:cubic-bezier(.2,.8,.2,1);
  --nv-font:"Plus Jakarta Sans","Hind Siliguri",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --nv-head:"Sora","Hind Siliguri","Plus Jakarta Sans",ui-sans-serif,system-ui,sans-serif;
  /* remap the legacy variables so old rules pick up the new palette */
  --yellow:var(--nv-a); --gs-gold:var(--nv-a); --gs-gold2:var(--nv-b); --accent:var(--nv-a); --accent-2:var(--nv-b);
  --bg:var(--nv-bg); --text:var(--nv-text); --muted:var(--nv-muted); --line:var(--nv-line); --panel:var(--nv-surface);
  --gs-text:var(--nv-text); --gs-muted:var(--nv-muted); --gs-line:var(--nv-line); --gs-panel:var(--nv-surface); --surface:var(--nv-surface); --surface-2:var(--nv-surface2);
  color-scheme:dark;
}
html[data-theme="light"]:root{
  --nv-bg:#f5f3fb; --nv-bg2:#ece9f6; --nv-surface:#ffffff; --nv-surface2:#f0edf9;
  --nv-line:rgba(30,20,70,.11); --nv-text:#16132b; --nv-muted:#625e7e;
  --nv-glass:rgba(255,255,255,.78); --nv-shadow:0 14px 40px rgba(60,40,120,.14);
  color-scheme:light;
}
html body{font-family:var(--nv-font);font-size:15px;line-height:1.6;color:var(--nv-text);
  background:radial-gradient(ellipse 60% 40% at 8% -5%,color-mix(in srgb,var(--nv-a) 26%,transparent),transparent 70%),
             radial-gradient(ellipse 50% 40% at 100% 20%,color-mix(in srgb,var(--nv-b) 16%,transparent),transparent 70%),var(--nv-bg);
  background-attachment:fixed;transition:background-color .3s,color .3s}
html body h1,html body h2,html body h3,html body .brand,html body .stat strong{font-family:var(--nv-head);letter-spacing:-.025em}
html body ::selection{background:var(--nv-a);color:#fff}
html body :focus-visible{outline:2px solid var(--nv-c);outline-offset:3px;border-radius:10px}

/* ---------- scroll progress / back to top / toast ---------- */
.nv-progress{position:fixed;left:0;top:0;height:3px;width:0;z-index:100001;background:var(--nv-grad);transition:width .1s linear}
.nv-top{position:fixed;right:18px;bottom:92px;z-index:60;width:46px;height:46px;border-radius:50%;border:1px solid var(--nv-line);background:var(--nv-glass);color:var(--nv-text);backdrop-filter:blur(16px);cursor:pointer;display:grid;place-items:center;opacity:0;transform:translateY(14px);pointer-events:none;transition:.3s var(--nv-ease);box-shadow:var(--nv-shadow)}
.nv-top.show{opacity:1;transform:none;pointer-events:auto}.nv-top:hover{background:var(--nv-grad);color:#fff;border-color:transparent}
.nv-toasts{position:fixed;left:50%;bottom:96px;transform:translateX(-50%);z-index:100002;display:grid;gap:8px;justify-items:center;pointer-events:none}
.nv-toast{padding:11px 18px;border-radius:999px;background:var(--nv-surface2);color:var(--nv-text);border:1px solid var(--nv-line);box-shadow:var(--nv-shadow);font-weight:600;font-size:13.5px;animation:nvToast .35s var(--nv-ease) both}
.nv-toast.out{animation:nvToastOut .3s ease both}
@keyframes nvToast{from{opacity:0;transform:translateY(14px) scale(.96)}}@keyframes nvToastOut{to{opacity:0;transform:translateY(8px)}}

/* ---------- header ---------- */
html body .topbar{background:var(--nv-glass);border-bottom:1px solid var(--nv-line);backdrop-filter:blur(22px) saturate(1.4);-webkit-backdrop-filter:blur(22px) saturate(1.4);min-height:70px}
html body .brand{color:var(--nv-text);font-size:19px}
html body .brand small{color:var(--nv-muted);letter-spacing:.2em;font-weight:600}
html body .brand-mark{background:var(--nv-grad);color:#fff;box-shadow:0 8px 26px color-mix(in srgb,var(--nv-a) 45%,transparent);border-radius:14px}
html body .brand-logo{max-height:42px;width:auto}
html body .topbar nav{gap:4px}
html body .topbar nav a{color:var(--nv-muted);padding:9px 14px;border-radius:999px;font-weight:600;font-size:13.5px;position:relative}
html body .topbar nav a:hover{color:var(--nv-text);background:var(--nv-surface2)}
html body .topbar nav a.on{color:#fff;background:var(--nv-grad);box-shadow:0 6px 18px color-mix(in srgb,var(--nv-a) 38%,transparent)}
.nv-actions{display:flex;gap:8px;align-items:center}
.nv-icon-btn{width:42px;height:42px;border-radius:50%;border:1px solid var(--nv-line);background:var(--nv-surface);color:var(--nv-text);display:grid;place-items:center;cursor:pointer;position:relative;transition:.2s}
.nv-icon-btn:hover{border-color:var(--nv-a);color:var(--nv-a);transform:translateY(-1px)}
.nv-icon-btn .dot{position:absolute;top:-3px;right:-3px;min-width:18px;height:18px;border-radius:9px;background:var(--nv-b);color:#fff;font-size:10.5px;font-weight:800;display:grid;place-items:center;padding:0 4px}
.nv-icon-btn .dot:empty,.nv-icon-btn .dot[data-n="0"]{display:none}
.nv-sun{display:none}html[data-theme="light"] .nv-sun{display:block}html[data-theme="light"] .nv-moon{display:none}
html body .search{position:relative;overflow:visible;background:var(--nv-surface);border:1px solid var(--nv-line);border-radius:999px;transition:.2s}
html body .search:focus-within{border-color:var(--nv-a);box-shadow:0 0 0 4px color-mix(in srgb,var(--nv-a) 20%,transparent)}
html body .search input{color:var(--nv-text)}html body .search input::placeholder{color:var(--nv-muted)}
html body .search button{color:var(--nv-a)}
.nv-kbd{align-self:center;margin-right:8px;font:600 11px var(--nv-font);padding:2px 7px;border:1px solid var(--nv-line);border-radius:6px;color:var(--nv-muted)}
.nv-suggest{position:absolute;left:0;right:0;top:calc(100% + 10px);z-index:50;background:var(--nv-surface);border:1px solid var(--nv-line);border-radius:18px;box-shadow:var(--nv-shadow);padding:8px;display:none;max-height:70vh;overflow:auto}
.nv-suggest.open{display:block;animation:nvToast .25s var(--nv-ease)}
.nv-suggest a{display:flex;gap:12px;align-items:center;padding:8px;border-radius:12px}
.nv-suggest a:hover,.nv-suggest a.sel{background:var(--nv-surface2)}
.nv-suggest img{width:40px;height:56px;object-fit:cover;border-radius:8px;background:var(--nv-surface2)}
.nv-suggest b{display:block;font-size:14px;color:var(--nv-text)}.nv-suggest small{color:var(--nv-muted)}
.nv-suggest .none{padding:14px;color:var(--nv-muted);text-align:center}

/* ---------- buttons / chips ---------- */
html body .btn{border-radius:14px;border:1px solid var(--nv-line);background:var(--nv-surface);color:var(--nv-text);font-weight:650;box-shadow:none;transition:.22s var(--nv-ease)}
html body .btn:hover{transform:translateY(-2px);border-color:var(--nv-a);background:var(--nv-surface2)}
html body .btn-primary{background:var(--nv-grad)!important;color:#fff!important;border:0!important;box-shadow:0 10px 28px color-mix(in srgb,var(--nv-a) 38%,transparent)!important}
html body .btn-primary:hover{filter:brightness(1.1);transform:translateY(-2px) scale(1.01)}
html body .btn.danger{color:#ff6b81;border-color:color-mix(in srgb,#ff6b81 40%,transparent)}
html body .btn.is-on{background:color-mix(in srgb,var(--nv-b) 18%,var(--nv-surface));border-color:var(--nv-b);color:var(--nv-b)}
html body .eyebrow{color:var(--nv-a);border-color:color-mix(in srgb,var(--nv-a) 45%,transparent);background:color-mix(in srgb,var(--nv-a) 12%,transparent)}
html body .chip{background:var(--nv-surface);border:1px solid var(--nv-line);color:var(--nv-muted);border-radius:999px;font-weight:650}
html body .chip:hover{color:var(--nv-text);border-color:var(--nv-a)}
html body .chip.active{background:var(--nv-grad);color:#fff;border-color:transparent;box-shadow:0 6px 18px color-mix(in srgb,var(--nv-a) 35%,transparent)}
html body .muted,html body .section-sub{color:var(--nv-muted)}

/* ---------- hero ---------- */
html body .hero{border-radius:28px;border:1px solid var(--nv-line);box-shadow:var(--nv-shadow);
  background-image:linear-gradient(90deg,rgba(7,6,13,.95) 0%,rgba(7,6,13,.7) 42%,rgba(7,6,13,.1) 100%),linear-gradient(0deg,var(--nv-bg) 0%,transparent 55%),var(--hero-image);background-size:cover;background-position:center}
html body .hero h1,html body .hero p,html body .hero .meta{color:#f4f2fc}
html body .hero .meta span{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);color:#f4f2fc;backdrop-filter:blur(8px)}
html body .hero .btn:not(.btn-primary){background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.22)}
html body .gs-slide-dot{background:var(--nv-line)}html body .gs-slide-dot.active{background:var(--nv-grad);width:28px}
html body .gs-slide-arrows button{background:var(--nv-surface);border:1px solid var(--nv-line);color:var(--nv-text)}
html body .gs-slide-arrows button:hover{background:var(--nv-grad);color:#fff;border-color:transparent}

/* ---------- sections, rails, cards ---------- */
html body .section-head h2,html body .section>h2{font-size:clamp(20px,2.4vw,27px)}
.nv-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:34px 0 14px}
.nv-head h2{margin:0;font-size:clamp(19px,2.3vw,26px);display:flex;align-items:center;gap:10px}
.nv-head h2:before{content:"";width:5px;height:24px;border-radius:4px;background:var(--nv-grad)}
.nv-head a{color:var(--nv-a);font-weight:700;font-size:13.5px}.nv-head a:hover{text-decoration:underline}
.nv-rail{position:relative}
.nv-track{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x proximity;padding:6px 2px 18px;scrollbar-width:none;scroll-behavior:smooth}
.nv-track::-webkit-scrollbar{display:none}
.nv-track>.movie-card{flex:0 0 clamp(138px,15vw,196px);scroll-snap-align:start}
.nv-arrow{position:absolute;top:38%;z-index:5;width:44px;height:44px;border-radius:50%;border:1px solid var(--nv-line);background:var(--nv-glass);backdrop-filter:blur(14px);color:var(--nv-text);cursor:pointer;display:none;place-items:center;box-shadow:var(--nv-shadow);transition:.2s}
.nv-arrow:hover{background:var(--nv-grad);color:#fff;border-color:transparent}.nv-arrow.l{left:-14px}.nv-arrow.r{right:-14px}
@media(hover:hover) and (min-width:900px){.nv-arrow{display:grid}}
.nv-arrow[disabled]{opacity:0;pointer-events:none}

html body .movie-card{position:relative;background:var(--nv-surface);border:1px solid var(--nv-line);border-radius:18px;overflow:hidden;box-shadow:none;transition:transform .3s var(--nv-ease),box-shadow .3s,border-color .3s}
html body .movie-card:hover{transform:translateY(-6px);border-color:color-mix(in srgb,var(--nv-a) 60%,transparent);box-shadow:0 18px 44px color-mix(in srgb,var(--nv-a) 22%,transparent)}
html body .poster-wrap{aspect-ratio:2/3;background:linear-gradient(110deg,var(--nv-surface2) 30%,var(--nv-surface) 50%,var(--nv-surface2) 70%);background-size:200% 100%;animation:nvShimmer 1.4s linear infinite}
html body .poster-wrap img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--nv-ease),opacity .4s;opacity:0}
html body .poster-wrap img.loaded{opacity:1}html body .movie-card:hover .poster-wrap img{transform:scale(1.07)}
@keyframes nvShimmer{to{background-position:-200% 0}}
html body .quality{background:var(--nv-grad);color:#fff;border-radius:8px;font-weight:800;font-size:10.5px;letter-spacing:.04em;box-shadow:0 4px 12px rgba(0,0,0,.3)}
html body .poster-play{background:var(--nv-grad);color:#fff;box-shadow:0 10px 30px color-mix(in srgb,var(--nv-a) 55%,transparent)}
html body .movie-card-info strong{color:var(--nv-text)}html body .movie-card-info small{color:var(--nv-muted)}
.nv-heart{position:absolute;top:8px;right:8px;z-index:4;width:34px;height:34px;border-radius:50%;border:0;background:rgba(7,6,13,.62);backdrop-filter:blur(8px);color:#fff;display:grid;place-items:center;cursor:pointer;opacity:0;transform:scale(.85);transition:.25s var(--nv-ease)}
.movie-card:hover .nv-heart,.nv-heart.on,.movie-card:focus-within .nv-heart{opacity:1;transform:none}
@media(hover:none){.nv-heart{opacity:1;transform:none}}
.nv-heart.on{background:var(--nv-b)}.nv-heart.on svg{fill:currentColor}
.nv-progress-bar{position:absolute;left:0;right:0;bottom:0;height:4px;background:rgba(255,255,255,.25);z-index:3}.nv-progress-bar i{display:block;height:100%;background:var(--nv-grad)}
.mc-link{display:block;color:inherit}
.nv-top10 .movie-card{margin-left:46px;overflow:visible;border:0;background:transparent}
.nv-top10 .movie-card:hover{box-shadow:none}
.nv-top10 .poster-wrap{border-radius:16px;border:1px solid var(--nv-line)}
.nv-rank{position:absolute;left:-50px;bottom:34px;z-index:2;font:900 86px/1 var(--nv-head);color:transparent;-webkit-text-stroke:2px var(--nv-a);pointer-events:none;letter-spacing:-.08em}
.nv-top10 .movie-card:hover .nv-rank{color:color-mix(in srgb,var(--nv-a) 30%,transparent)}
.nv-top10 .nv-track>.movie-card{flex-basis:clamp(150px,17vw,210px)}

/* ---------- filter bar / pagination ---------- */
.nv-filters{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:14px 0 20px}
.nv-filters select,.nv-filters input{background:var(--nv-surface);color:var(--nv-text);border:1px solid var(--nv-line);border-radius:12px;padding:10px 14px;font:600 13.5px var(--nv-font);min-height:42px}
.nv-filters select:focus{border-color:var(--nv-a);outline:0}.nv-filters .grow{flex:1}
html body .pagination{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:30px}
html body .pagination a{min-width:42px;height:42px;padding:0 14px;display:grid;place-items:center;border-radius:12px;background:var(--nv-surface);border:1px solid var(--nv-line);color:var(--nv-text);font-weight:700}
html body .pagination a:hover{border-color:var(--nv-a)}html body .pagination a.cur{background:var(--nv-grad);color:#fff;border-color:transparent}
html body .pagination span{display:grid;place-items:center;color:var(--nv-muted)}

/* ---------- movie detail ---------- */
.nv-detail{position:relative;border-radius:28px;overflow:hidden;border:1px solid var(--nv-line);margin-bottom:8px;isolation:isolate}
.nv-detail:before{content:"";position:absolute;inset:-30px;background:var(--bd) center/cover;filter:blur(34px) saturate(1.3);opacity:.5;z-index:-2}
.nv-detail:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,var(--nv-bg) 0%,transparent 70%),linear-gradient(90deg,color-mix(in srgb,var(--nv-bg) 85%,transparent),transparent);z-index:-1}
.nv-detail-in{display:grid;grid-template-columns:minmax(150px,280px) 1fr;gap:clamp(18px,4vw,46px);padding:clamp(18px,4vw,44px);align-items:end}
.nv-detail .detail-poster{width:100%;border-radius:20px;box-shadow:0 26px 70px rgba(0,0,0,.5);border:1px solid var(--nv-line);aspect-ratio:2/3;object-fit:cover}
.nv-detail h1{font-size:clamp(26px,4.4vw,48px);margin:12px 0}
.nv-pills{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 16px}
.nv-pills span{padding:6px 13px;border-radius:999px;background:var(--nv-surface);border:1px solid var(--nv-line);font-weight:650;font-size:12.5px;color:var(--nv-text)}
.nv-pills span.hot{background:var(--nv-grad);color:#fff;border-color:transparent}
.nv-desc{color:var(--nv-muted);max-width:68ch;line-height:1.75}
.nv-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.nv-cta .btn{min-height:48px;padding:0 20px}
@media(max-width:700px){.nv-detail-in{grid-template-columns:1fr;text-align:left}.nv-detail .detail-poster{max-width:200px}}
html body .content-box{background:var(--nv-surface);border:1px solid var(--nv-line);border-radius:22px;box-shadow:none}
html body .source-list .btn{border-radius:999px}

/* ---------- watch ---------- */
html body .player-box{border-radius:22px;border:1px solid var(--nv-line);box-shadow:0 30px 80px rgba(0,0,0,.45);overflow:hidden;background:#000;transition:.4s var(--nv-ease)}
.nv-theater .container{width:100%;max-width:none;padding-left:0;padding-right:0}
.nv-theater .player-box{border-radius:0;border-left:0;border-right:0}
.nv-theater .section>*:not(.player-box){margin-left:clamp(14px,3vw,42px);margin-right:clamp(14px,3vw,42px)}
.nv-bar{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.nv-resume{position:absolute;left:14px;bottom:14px;z-index:5;padding:9px 14px;border-radius:999px;background:var(--nv-glass);backdrop-filter:blur(12px);border:1px solid var(--nv-line);color:var(--nv-text);font-weight:650;font-size:13px;cursor:pointer}
.player-box{position:relative}

/* ---------- modal ---------- */
.nv-modal{position:fixed;inset:0;z-index:100003;background:rgba(5,4,10,.7);backdrop-filter:blur(10px);display:none;place-items:center;padding:18px}
.nv-modal.open{display:grid;animation:nvToast .25s var(--nv-ease)}
.nv-modal-card{width:min(480px,100%);background:var(--nv-surface);border:1px solid var(--nv-line);border-radius:26px;padding:26px;box-shadow:var(--nv-shadow);color:var(--nv-text)}
.nv-modal-card h3{margin:0 0 6px;font-size:22px}.nv-modal-card p{color:var(--nv-muted);margin:0 0 16px}
.nv-modal-card input,.nv-modal-card textarea,.nv-modal-card select{width:100%;margin-bottom:10px;background:var(--nv-bg2);color:var(--nv-text);border:1px solid var(--nv-line);border-radius:12px;padding:12px 14px;font:inherit}
.nv-modal-card input:focus,.nv-modal-card textarea:focus,.nv-modal-card select:focus{border-color:var(--nv-a);outline:0}
.nv-modal-row{display:flex;gap:10px;justify-content:flex-end}

/* ---------- empty / footer / mobile nav ---------- */
html body .empty{background:var(--nv-surface);border:1px dashed var(--nv-line);border-radius:20px;color:var(--nv-muted);text-align:center;padding:40px 20px}
.nv-404{text-align:center;padding:60px 10px}.nv-404 b{font:900 clamp(80px,18vw,150px)/1 var(--nv-head);background:var(--nv-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
html body .footer{margin-top:60px;border-top:1px solid var(--nv-line);background:var(--nv-bg2);color:var(--nv-muted);text-align:center}
html body .footer p{color:var(--nv-muted)}html body .footer .brand{justify-content:center;color:var(--nv-text)}
.nv-foot-links{display:flex;gap:18px;justify-content:center;flex-wrap:wrap;margin:12px 0}.nv-foot-links a,.nv-foot-links button{color:var(--nv-text);background:none;border:0;cursor:pointer;font:600 13.5px var(--nv-font)}.nv-foot-links a:hover,.nv-foot-links button:hover{color:var(--nv-a)}
@media(max-width:820px){
 html body .topbar{flex-wrap:wrap;gap:10px;padding:10px 14px}html body .topbar nav{display:none}
 html body .search{order:5;flex:1 1 100%;max-width:none;margin:0}.nv-kbd{display:none}
 html body .mobile-bottom-nav{display:grid!important;grid-template-columns:repeat(5,1fr);position:fixed;left:10px;right:10px;bottom:10px;z-index:70;padding:7px;border-radius:24px;background:var(--nv-glass);backdrop-filter:blur(22px) saturate(1.5);border:1px solid var(--nv-line);box-shadow:var(--nv-shadow)}
 html body .mobile-bottom-nav a{display:grid;justify-items:center;gap:2px;padding:7px 0;border-radius:18px;color:var(--nv-muted);font-weight:700;position:relative}
 html body .mobile-bottom-nav a svg{width:21px;height:21px}
 html body .mobile-bottom-nav a small{font-size:9.5px;letter-spacing:.06em}
 html body .mobile-bottom-nav a.on{color:#fff;background:var(--nv-grad)}
 .nv-top{bottom:96px}.nv-track>.movie-card{flex-basis:132px}
}

/* ---------- verify / login / forms ---------- */
html body .verify-card,html body .form-card,html body .panel-card,html body .stat{background:var(--nv-surface);border:1px solid var(--nv-line);border-radius:22px;box-shadow:none;color:var(--nv-text)}
html body input,html body select,html body textarea{background:var(--nv-bg2);color:var(--nv-text);border:1px solid var(--nv-line);border-radius:12px}
html body input:focus,html body select:focus,html body textarea:focus{border-color:var(--nv-a);outline:0;box-shadow:0 0 0 4px color-mix(in srgb,var(--nv-a) 18%,transparent)}
html body .field label{color:var(--nv-text);font-weight:650}html body .field small{color:var(--nv-muted)}
html body .notice{border-radius:14px}html body .gs-site-notice{background:color-mix(in srgb,var(--nv-a) 12%,var(--nv-surface));border-color:color-mix(in srgb,var(--nv-a) 35%,transparent);color:var(--nv-text)}

/* ---------- ADMIN ---------- */
html body.admin-body{background:radial-gradient(ellipse 50% 40% at 10% -5%,color-mix(in srgb,var(--nv-a) 22%,transparent),transparent 70%),var(--nv-bg)}
html body .admin-top{background:var(--nv-glass);border-bottom:1px solid var(--nv-line);backdrop-filter:blur(20px)}
html body .admin-brand{color:var(--nv-text)}
html body .admin-side{background:var(--nv-surface);border:1px solid var(--nv-line);border-radius:22px}
html body .side-label{color:var(--nv-muted);letter-spacing:.14em;font-weight:700}
html body .side-link{color:var(--nv-muted);border-radius:13px;font-weight:650}
html body .side-link:hover{color:var(--nv-text);background:var(--nv-surface2)}
html body .side-link.active{background:var(--nv-grad);color:#fff;box-shadow:0 8px 22px color-mix(in srgb,var(--nv-a) 35%,transparent)}
html body .side-link .nv-count{margin-left:auto;background:var(--nv-b);color:#fff;border-radius:99px;font:800 10.5px var(--nv-font);padding:2px 8px}
html body .side-tip,html body .admin-welcome{background:linear-gradient(135deg,color-mix(in srgb,var(--nv-a) 20%,var(--nv-surface)),color-mix(in srgb,var(--nv-b) 12%,var(--nv-surface)));border:1px solid var(--nv-line);border-radius:22px;color:var(--nv-text)}
html body .admin-page-head h1{font-size:clamp(24px,3vw,34px)}html body .admin-kicker{color:var(--nv-a)}
html body .stat-icon{background:var(--nv-grad);color:#fff}
html body table{color:var(--nv-text)}html body th{color:var(--nv-muted);font-size:11.5px;letter-spacing:.1em}html body td,html body th{border-color:var(--nv-line)}
html body .badge{border-radius:99px;background:var(--nv-surface2);color:var(--nv-muted)}html body .badge.live{background:color-mix(in srgb,var(--nv-ok) 18%,transparent);color:var(--nv-ok)}
.nv-bars{display:grid;gap:12px}.nv-bar-row{display:grid;grid-template-columns:minmax(80px,170px) 1fr auto;gap:12px;align-items:center;font-size:13.5px}
.nv-bar-row .t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:650}.nv-bar-row .v{color:var(--nv-muted);font-weight:700}
.nv-bar-row .b{height:10px;border-radius:99px;background:var(--nv-surface2);overflow:hidden}.nv-bar-row .b i{display:block;height:100%;border-radius:99px;background:var(--nv-grad);transition:width .8s var(--nv-ease)}
.nv-inbox-item{padding:14px;border:1px solid var(--nv-line);border-radius:16px;margin-bottom:10px;background:var(--nv-surface)}
.nv-inbox-item small{color:var(--nv-muted)}.nv-swatches{display:flex;gap:8px;flex-wrap:wrap}

@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* ---------- v16 specificity fixes (old premium-ui.css uses !important heavily) ---------- */
html body .btn.btn-primary,html body .hero-actions .btn:first-child,html body .btn.accent,html body .button-primary{background:var(--nv-grad)!important;color:#fff!important;border:0!important;box-shadow:0 10px 28px color-mix(in srgb,var(--nv-a) 38%,transparent)!important}
html body .btn.btn-primary:hover,html body .hero-actions .btn:first-child:hover{filter:brightness(1.1)}
html body .eyebrow{color:color-mix(in srgb,var(--nv-a) 62%,#fff)!important}
html[data-theme="light"] body .eyebrow{color:var(--nv-a)!important}
html body .search input{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:var(--nv-text)}
html body .search input:focus{box-shadow:none!important}
html body .topbar .search{max-width:420px;min-width:180px}
/* hero: full width, cinematic height (old rule forced a 16/9 box that shrank the slide) */
html body .gs-featured-rotator{margin:22px 0 10px}
html body .gs-feature-slide.hero,html body .hero.gs-feature-slide{width:100%!important;aspect-ratio:auto!important;max-height:none!important;height:clamp(300px,44vw,500px)!important;border-radius:28px!important;background-position:center 30%!important}
html body .gs-feature-slide .hero-content{max-width:min(92%,680px)!important}
html body .gs-feature-slide p{-webkit-line-clamp:3!important;max-width:56ch}
html body .gs-slide-controls{display:flex;justify-content:space-between;align-items:center;margin-top:14px;padding:0 4px}
html[data-theme="light"] body .hero{--nv-bg:#0a0912}

/* ---------- light/dark parity: beat legacy !important rules ---------- */
html body .topbar,html body .admin-top{background:var(--nv-glass)!important;border-bottom:1px solid var(--nv-line)!important;box-shadow:0 6px 28px color-mix(in srgb,var(--nv-a) 8%,transparent)!important}
html body .footer{background:var(--nv-bg2)!important;border-top:1px solid var(--nv-line)!important}
html body .chip{background:var(--nv-surface)!important;color:var(--nv-muted)!important;border:1px solid var(--nv-line)!important}
html body .chip:hover{color:var(--nv-text)!important;border-color:var(--nv-a)!important}
html body .chip.active{background:var(--nv-grad)!important;color:#fff!important;border-color:transparent!important}
html body input,html body button,html body select,html body textarea{font-family:inherit}
html body .nv-filters select,html body .nv-filters input,html body .nv-modal-card input,html body .nv-modal-card select,html body .nv-modal-card textarea{background:var(--nv-surface)!important;color:var(--nv-text)!important;border:1px solid var(--nv-line)!important;border-radius:12px!important}
html body .nv-modal-card input,html body .nv-modal-card select,html body .nv-modal-card textarea{background:var(--nv-bg2)!important}
html body .admin-body input:not([type=checkbox]):not([type=color]),html body.admin-body select,html body.admin-body textarea{background:var(--nv-bg2)!important;color:var(--nv-text)!important;border-color:var(--nv-line)!important}
html body.admin-body .panel-card,html body.admin-body .form-card,html body.admin-body .stat,html body.admin-body .admin-side{background:var(--nv-surface)!important;border-color:var(--nv-line)!important}
html body .content-box,html body .verify-card{background:var(--nv-surface)!important;border-color:var(--nv-line)!important;color:var(--nv-text)}
html body .movie-card-info strong{color:var(--nv-text)!important}
html body h1,html body h2,html body h3{color:inherit}

/* ---------- v16 polish ---------- */
html body .gs-slide-controls{position:static!important;inset:auto!important;transform:none!important;width:100%}
.nv-pills a{display:contents}
@media(max-width:820px){
 .nv-rank{font-size:64px;left:-38px;-webkit-text-stroke-width:1.5px}
 .nv-top10 .movie-card{margin-left:36px}
 html body .gs-feature-slide.hero,html body .hero.gs-feature-slide{height:auto!important;min-height:340px!important}
 html body .gs-feature-slide .hero-content{padding:22px 18px!important}
}
html body .side-link.active,html body .admin-side .side-link.active{background:var(--nv-grad)!important;color:#fff!important;border-color:transparent!important}
html body .side-link.active b,html body .side-link.active span{color:#fff!important}
html body .text-link,html body a.text-link{color:var(--nv-a)!important;font-weight:700}
html body .admin-brand .brand-mark{color:#fff}
html body .recent-poster,html body .quick-action>span{background:color-mix(in srgb,var(--nv-a) 16%,var(--nv-surface2));color:var(--nv-a)}
