/* GoodNews Plus web — "black and gold" design system. One file, mobile-first, 320px → 4K. */

/* ---------------------------------------------------------------- tokens */
:root{
  --bg:#08090B; --surface:#151619; --surface-hi:#202125; --line:#303136; --edge:rgba(255,255,255,.14);
  --gold:#F3B427; --gold-light:#FEC22C; --gold-deep:#C98512; --gold-soft:#D6B26A; --on-gold:#1A1200;
  --cream:#F3ECDF; --text:#F3ECDF; --text-dim:#B8B6B1; --text-faint:#96938D;
  --gold-grad:linear-gradient(135deg,#FEC22C,#F3B427 45%,#C98512);
  --danger:#E5484D; --ok:#3DD68C; --live:#E53935;
  --r-card:12px; --r-sheet:20px; --r-pill:999px;
  --font:'Poppins',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --ease:cubic-bezier(.22,.61,.36,1); --t-fast:200ms; --t-med:320ms; --t-slow:450ms;
  --rail-w:72px; --rail-open:240px; --top-h:64px; --bottom-h:62px; --gutter:16px;
  --ambient:#08090B; --ambient-accent:#1a1300;
  --card-w:120px; --card-gap:10px;
  --focus:0 0 0 2px var(--gold), 0 0 0 5px rgba(243,180,39,.25);
}
@media (min-width:768px){:root{--gutter:32px;--card-w:150px;--card-gap:12px}}
@media (min-width:1024px){:root{--gutter:48px;--card-w:168px;--card-gap:14px}}
@media (min-width:1440px){:root{--gutter:60px;--card-w:190px;--card-gap:16px}}
@media (min-width:1920px){:root{--gutter:80px;--card-w:220px;--card-gap:18px;--rail-w:84px;--rail-open:280px;--top-h:72px}}
@media (min-width:2560px){:root{--gutter:120px;--card-w:300px;--card-gap:24px;--rail-w:110px;--rail-open:360px;--top-h:96px}html{font-size:22px}}
@media (min-width:3400px){:root{--gutter:160px;--card-w:380px;--card-gap:32px;--rail-w:140px;--rail-open:460px;--top-h:120px}html{font-size:28px}}

@font-face{font-family:'Poppins';font-weight:500;font-style:normal;font-display:swap;src:url('/assets/fonts/Poppins-Medium.ttf') format('truetype')}
@font-face{font-family:'Poppins';font-weight:600;font-style:normal;font-display:swap;src:url('/assets/fonts/Poppins-SemiBold.ttf') format('truetype')}
@font-face{font-family:'Poppins';font-weight:700;font-style:normal;font-display:swap;src:url('/assets/fonts/Poppins-Bold.ttf') format('truetype')}

/* ---------------------------------------------------------------- reset */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;background:var(--bg)}
body{margin:0;font-family:var(--font);font-weight:500;font-size:15px;line-height:1.5;color:var(--text);background:var(--bg);min-height:100vh;overflow-x:hidden;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-weight:700;line-height:1.2;margin:0 0 .4em;letter-spacing:-.01em}
h1{font-size:clamp(1.5rem,2.6vw,2.2rem)}h2{font-size:clamp(1.15rem,1.8vw,1.5rem)}h3{font-size:1.05rem}
p{margin:0 0 .8em}a{color:inherit;text-decoration:none}a:hover{color:var(--gold-light)}
img,video{max-width:100%;display:block}button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
input,select,textarea{font:inherit;color:inherit}
ul,ol{margin:0;padding:0;list-style:none}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:8px;top:-50px;z-index:1000;background:var(--gold);color:var(--on-gold);padding:8px 14px;border-radius:var(--r-pill);font-weight:600}.skip-link:focus{top:8px}
:focus{outline:none}:focus-visible{box-shadow:var(--focus);outline:none;border-radius:8px;z-index:2;position:relative}
.card:focus-visible,.side-item:focus-visible{transform:scale(1.05)}
.muted{color:var(--text-dim)}.small{font-size:.85rem}.center{text-align:center}.hide-sm{display:none}.only-sm{display:inline-flex}
@media (min-width:768px){.hide-sm{display:inline-flex}.only-sm{display:none!important}}
.tiny{width:14px;height:14px}
.ic{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.dot{display:inline-block;width:3px;height:3px;border-radius:50%;background:var(--text-faint);margin:0 8px;vertical-align:middle}
hr{border:0;border-top:1px solid var(--line);margin:8px 0}
code.code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:var(--surface-hi);padding:4px 10px;border-radius:8px;letter-spacing:.08em}

/* ---------------------------------------------------------------- ambient */
.ambient{position:fixed;inset:0;z-index:0;pointer-events:none;background:
  radial-gradient(60% 40% at 70% 0%, color-mix(in srgb, var(--ambient-accent) 18%, transparent), transparent 70%),
  linear-gradient(180deg, var(--ambient) 0%, color-mix(in srgb, var(--ambient) 60%, var(--bg)) 38%, var(--bg) 60%);
  transition:background var(--t-slow) var(--ease)}
.ambient .a-glow{position:absolute;left:-10%;top:-20%;width:60%;height:60%;border-radius:50%;background:radial-gradient(circle, color-mix(in srgb, var(--ambient-accent) 14%, transparent), transparent 70%);filter:blur(40px)}
.main{position:relative;z-index:1;min-height:70vh}

/* ---------------------------------------------------------------- shell */
body.chrome-full{padding-bottom:calc(var(--bottom-h) + env(safe-area-inset-bottom))}
.topbar{position:fixed;top:0;left:0;right:0;z-index:50;height:var(--top-h);transition:background var(--t-med) var(--ease),backdrop-filter var(--t-med);background:linear-gradient(180deg,rgba(8,9,11,.85),rgba(8,9,11,0))}
.topbar.is-scrolled,.topbar-minimal,.page-search .topbar,.page-browse .topbar{background:rgba(8,9,11,.82);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.06)}
body:not(.has-hero):not(.page-title) .topbar{background:rgba(8,9,11,.82);backdrop-filter:blur(14px)}
.topbar-inner{height:var(--top-h);display:flex;align-items:center;gap:12px;padding:0 var(--gutter)}
.brand img{height:30px;width:auto}
.topbar .search{position:relative;flex:1;max-width:560px;margin-left:auto;display:none}
.topbar .search input{width:100%;height:40px;border-radius:var(--r-pill);border:1px solid var(--edge);background:rgba(255,255,255,.06);padding:0 16px 0 42px;color:var(--text);transition:border var(--t-fast),background var(--t-fast)}
.topbar .search input:focus{border-color:var(--gold);background:rgba(255,255,255,.09)}
.topbar .search .ic{position:absolute;left:14px;top:9px;color:var(--text-dim);pointer-events:none}
.suggest{position:absolute;top:46px;left:0;right:0;background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.5);z-index:60}
.suggest a{display:flex;align-items:center;gap:10px;padding:10px 14px;border-top:1px solid rgba(255,255,255,.04)}
.suggest a img{width:44px;height:25px;object-fit:cover;border-radius:4px;background:var(--surface-hi)}
.suggest a small{margin-left:auto;color:var(--text-faint);font-size:.75rem;text-transform:uppercase;letter-spacing:.06em}
.suggest a:hover,.suggest a.is-hi{background:var(--surface-hi);color:var(--gold-light)}
.topbar-right{margin-left:auto;display:flex;align-items:center;gap:8px}
.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;color:var(--text);position:relative;transition:background var(--t-fast),transform var(--t-fast)}
.icon-btn:hover{background:rgba(255,255,255,.08);color:var(--gold-light)}
.dot-badge{position:absolute;top:6px;right:6px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--gold);color:var(--on-gold);font-size:.65rem;font-weight:700;line-height:16px;text-align:center}
.avatar{width:34px;height:34px;border-radius:50%;object-fit:cover;background:var(--surface-hi);flex:none}
.avatar-ph{display:inline-flex;align-items:center;justify-content:center;background:var(--gold-grad);color:var(--on-gold);font-weight:700;text-transform:uppercase}
.avatar-ph.big{width:56px;height:56px;font-size:1.3rem}
.avatar-btn{display:flex;align-items:center;border-radius:50%;transition:transform var(--t-fast)}.avatar-btn:hover{transform:scale(1.06)}
.dropdown{position:relative}.dropdown-menu{position:absolute;right:0;top:calc(100% + 8px);min-width:240px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:6px;box-shadow:0 24px 60px rgba(0,0,0,.55);display:none;z-index:70}
.dropdown.is-open .dropdown-menu{display:block;animation:pop var(--t-fast) var(--ease)}
.dropdown-menu a,.dropdown-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:9px 12px;border-radius:10px;text-align:left;font-weight:500}
.dropdown-menu a:hover,.dropdown-menu button:hover{background:var(--surface-hi);color:var(--gold-light)}
.dropdown-menu .is-active{color:var(--gold)}.dropdown-menu small{margin-left:auto;color:var(--text-faint);font-size:.75rem}
.dropdown-menu .ic{width:18px;height:18px;color:var(--text-dim)}.dropdown-menu .gold{color:var(--gold)}
.menu-profile .avatar{width:28px;height:28px}
@keyframes pop{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.chips-row{display:flex;gap:8px;padding:6px var(--gutter) 10px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.chips-row::-webkit-scrollbar{display:none}
.chip{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 13px;border-radius:var(--r-pill);border:1px solid var(--edge);background:rgba(255,255,255,.05);color:var(--text);font-size:.82rem;font-weight:600;white-space:nowrap;transition:background var(--t-fast),border var(--t-fast),color var(--t-fast)}
.chip:hover{background:rgba(255,255,255,.1);color:var(--gold-light)}
.chip.is-active,.chip-gold{background:var(--gold-grad);border-color:transparent;color:var(--on-gold)}
.chip-lang .ic{width:16px;height:16px}
.live-dot-sm{width:7px;height:7px;border-radius:50%;background:var(--live);box-shadow:0 0 0 3px rgba(229,57,53,.25);animation:pulse 1.6s infinite}
@keyframes pulse{0%,100%{box-shadow:0 0 0 2px rgba(229,57,53,.3)}50%{box-shadow:0 0 0 5px rgba(229,57,53,.05)}}

/* side rail (desktop) */
.side-nav{display:none}
.bottom-bar{position:fixed;left:0;right:0;bottom:0;z-index:50;height:calc(var(--bottom-h) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);display:flex;background:rgba(10,11,13,.94);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top:1px solid rgba(255,255,255,.07)}
.bottom-bar a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:.66rem;font-weight:600;color:var(--text-dim);letter-spacing:.01em}
.bottom-bar a .ic{width:24px;height:24px}
.bottom-bar a.is-active{color:var(--gold)}
@media (min-width:1024px){
  body.chrome-full{padding-bottom:0;padding-left:var(--rail-w)}
  .bottom-bar{display:none}
  .topbar{left:var(--rail-w)}
  .topbar .brand{display:none}
  .topbar .search{display:block;margin-left:0}
  .side-nav{display:flex;flex-direction:column;position:fixed;left:0;top:0;bottom:0;z-index:60;width:var(--rail-w);padding:14px 0;background:linear-gradient(90deg,rgba(8,9,11,.98),rgba(8,9,11,.9));transition:width var(--t-med) var(--ease),background var(--t-med)}
  .side-nav::after{content:"";position:absolute;left:100%;top:0;bottom:0;width:60px;background:linear-gradient(90deg,rgba(8,9,11,.6),transparent);opacity:0;transition:opacity var(--t-med);pointer-events:none}
  .side-nav:hover,.side-nav:focus-within,.side-nav.is-open{width:var(--rail-open);background:rgba(10,11,13,.92);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:30px 0 60px rgba(0,0,0,.35)}
  .side-nav:hover::after,.side-nav:focus-within::after,.side-nav.is-open::after{opacity:1}
  .side-logo{display:flex;align-items:center;height:48px;padding:0 20px;margin-bottom:10px;overflow:hidden}
  .side-logo img{height:32px;width:auto;max-width:none;transition:transform var(--t-med)}
  .side-logo .mark{width:32px;height:32px;border-radius:9px}.side-logo .word{display:none}
  .side-nav:hover .side-logo .mark,.side-nav:focus-within .side-logo .mark,.side-nav.is-open .side-logo .mark{display:none}.side-nav:hover .side-logo .word,.side-nav:focus-within .side-logo .word,.side-nav.is-open .side-logo .word{display:block}
  .side-items{display:flex;flex-direction:column;gap:2px;padding:0 10px;flex:1}
  .side-item{position:relative;display:flex;align-items:center;gap:16px;height:48px;padding:0 15px;border-radius:12px;color:var(--text-dim);font-weight:600;white-space:nowrap;overflow:hidden;transition:background var(--t-fast),color var(--t-fast),transform var(--t-fast)}
  .side-item .ic{width:24px;height:24px}
  .side-item span{opacity:0;transform:translateX(-6px);transition:opacity var(--t-med),transform var(--t-med)}
  .side-nav:hover .side-item span,.side-nav:focus-within .side-item span,.side-nav.is-open .side-item span{opacity:1;transform:none}
  .side-item:hover{background:rgba(255,255,255,.07);color:var(--text)}
  .side-item.is-active{color:var(--gold)}
  .side-item.is-active::before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:3px;background:var(--gold)}
  .side-bottom{padding:0 10px}
  .side-profile{width:100%}
  .side-profile .avatar{width:30px;height:30px;margin-left:-3px}
  .side-item-plans{color:var(--gold-soft)}
}
@media (min-width:768px) and (max-width:1023px){
  body.chrome-full{padding-bottom:0;padding-left:var(--rail-w)}
  .bottom-bar{display:none}.topbar{left:var(--rail-w)}.topbar .brand{display:none}.topbar .search{display:block}
  .side-nav{display:flex;flex-direction:column;position:fixed;left:0;top:0;bottom:0;z-index:60;width:var(--rail-w);padding:14px 0;background:rgba(8,9,11,.96);transition:width var(--t-med) var(--ease)}
  .side-nav.is-open{width:var(--rail-open);backdrop-filter:blur(18px);box-shadow:30px 0 60px rgba(0,0,0,.35)}
  .side-logo{display:flex;align-items:center;height:48px;padding:0 20px;margin-bottom:10px;overflow:hidden}.side-logo img{height:32px;max-width:none}
  .side-logo .mark{width:32px;height:32px;border-radius:9px}.side-logo .word{display:none}.side-nav.is-open .side-logo .mark{display:none}.side-nav.is-open .side-logo .word{display:block}
  .side-items{display:flex;flex-direction:column;gap:2px;padding:0 10px;flex:1}
  .side-item{position:relative;display:flex;align-items:center;gap:16px;height:48px;padding:0 15px;border-radius:12px;color:var(--text-dim);font-weight:600;white-space:nowrap;overflow:hidden}
  .side-item .ic{width:24px;height:24px}.side-item span{opacity:0;transition:opacity var(--t-med)}.side-nav.is-open .side-item span{opacity:1}
  .side-item.is-active{color:var(--gold)}.side-item.is-active::before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:3px;background:var(--gold)}
  .side-bottom{padding:0 10px}.side-profile{width:100%}.side-profile .avatar{width:30px;height:30px;margin-left:-3px}
}
body.chrome-minimal .main,body.chrome-full:not(.has-hero):not(.page-title) .main{padding-top:calc(var(--top-h) + 12px)}
body.has-hero .main,body.page-title .main{padding-top:0}
body.chrome-none .main{padding:0}

/* ---------------------------------------------------------------- buttons & forms */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 20px;border-radius:var(--r-pill);font-weight:600;font-size:.95rem;border:1px solid transparent;transition:transform var(--t-fast),background var(--t-fast),box-shadow var(--t-fast),color var(--t-fast);white-space:nowrap;cursor:pointer}
.btn .ic{width:20px;height:20px}
.btn:hover{transform:translateY(-1px)}.btn:active{transform:scale(.98)}
.btn-gold{background:var(--gold-grad);color:var(--on-gold);box-shadow:0 8px 24px rgba(243,180,39,.22)}.btn-gold:hover{color:var(--on-gold);box-shadow:0 10px 30px rgba(243,180,39,.35)}
.btn-ghost{background:rgba(255,255,255,.08);border-color:var(--edge);color:var(--text)}.btn-ghost:hover{background:rgba(255,255,255,.14);color:var(--text)}
.btn-danger{background:rgba(229,72,77,.14);border-color:rgba(229,72,77,.4);color:#ff8a8e}
.btn-sm{height:36px;padding:0 14px;font-size:.85rem}.btn-lg{height:52px;font-size:1.05rem}.btn-block{width:100%}
.btn-icon{padding:0 14px}.btn-icon .i-check,.btn-icon.is-on .i-plus{display:none}.btn-icon.is-on .i-check{display:block}.btn-icon.is-on{color:var(--gold)}.btn-icon .count{font-size:.8rem;color:var(--text-dim)}
.btn[aria-disabled=true],.btn:disabled{opacity:.6;pointer-events:none}
.link-btn{color:var(--gold);font-weight:600;font-size:.85rem}
.form{display:flex;flex-direction:column;gap:14px}
.form label{display:flex;flex-direction:column;gap:6px;font-size:.85rem;color:var(--text-dim);font-weight:600}
.form label>span small{font-weight:500;color:var(--text-faint)}
.form input:not([type=checkbox]):not([type=radio]),.form select,.form textarea{width:100%;height:46px;border-radius:12px;border:1px solid var(--line);background:var(--surface);padding:0 14px;color:var(--text);transition:border var(--t-fast),box-shadow var(--t-fast)}
.form textarea{height:auto;padding:12px 14px;resize:vertical}.form select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--text-dim) 50%),linear-gradient(135deg,var(--text-dim) 50%,transparent 50%);background-position:calc(100% - 20px) 50%,calc(100% - 15px) 50%;background-size:5px 5px;background-repeat:no-repeat;padding-right:36px}
.form input:focus,.form select:focus,.form textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(243,180,39,.18)}
.form input[readonly]{opacity:.7}
.form .check,.check{flex-direction:row;align-items:flex-start;gap:10px;color:var(--text);font-weight:500;cursor:pointer}
.check input{width:18px;height:18px;accent-color:var(--gold);margin-top:3px;flex:none}.check small{display:block;color:var(--text-faint);font-size:.78rem}
.switch{display:flex;align-items:center;gap:12px;cursor:pointer;color:var(--text);font-weight:500}.switch input{appearance:none;width:44px;height:26px;border-radius:13px;background:var(--surface-hi);position:relative;flex:none;transition:background var(--t-fast)}
.switch input::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform var(--t-fast)}.switch input:checked{background:var(--gold)}.switch input:checked::after{transform:translateX(18px)}
.switch span small{display:block;color:var(--text-faint);font-size:.78rem}
.row-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.row-between{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.pw-wrap{position:relative;display:block}.pw-wrap input{padding-right:46px!important}.pw-eye{position:absolute;right:8px;top:7px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;color:var(--text-faint)}.pw-eye.is-on{color:var(--gold)}
.pin-input{letter-spacing:.5em;text-align:center;font-size:1.4rem;font-weight:700}
.field-hint{font-size:.75rem;color:var(--text-faint);min-height:1em}.field-hint.ok{color:var(--ok)}.field-hint.bad{color:#ff8a8e}
.notice{padding:12px 14px;border-radius:12px;font-size:.9rem;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.notice-err{background:rgba(229,72,77,.12);border:1px solid rgba(229,72,77,.35);color:#ffb3b5}
.notice-gold{background:rgba(243,180,39,.1);border:1px solid rgba(243,180,39,.35);color:var(--gold-soft)}.notice a{color:var(--gold);text-decoration:underline}
.hp{position:absolute;left:-9999px}
.tabs{display:inline-flex;gap:4px;padding:4px;border-radius:var(--r-pill);background:rgba(255,255,255,.06);border:1px solid var(--edge)}
.tab{height:34px;padding:0 14px;border-radius:var(--r-pill);display:inline-flex;align-items:center;font-weight:600;font-size:.85rem;color:var(--text-dim);transition:background var(--t-fast),color var(--t-fast)}
.tab.is-active{background:var(--gold-grad);color:var(--on-gold)}.tab:hover:not(.is-active){color:var(--text)}
.flashes{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(var(--bottom-h) + 16px);z-index:200;display:flex;flex-direction:column;gap:8px;width:min(92vw,440px)}
@media (min-width:1024px){.flashes{bottom:24px}}
.flash{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;background:var(--surface);border:1px solid var(--line);box-shadow:0 20px 50px rgba(0,0,0,.5);font-size:.9rem;animation:pop var(--t-med) var(--ease)}
.flash-ok{border-color:rgba(61,214,140,.4)}.flash-err{border-color:rgba(229,72,77,.5)}.flash-x{margin-left:auto;color:var(--text-faint)}.flash-x .ic{width:18px;height:18px}
.error-inline{display:flex;align-items:center;gap:12px;padding:14px;border-radius:12px;background:var(--surface);border:1px solid var(--line)}.error-inline p{margin:0;color:var(--text-dim)}
.empty-state{text-align:center;padding:60px var(--gutter);color:var(--text-dim)}.empty-state h2{color:var(--text)}.empty-state .btn{margin-top:8px}
.page-head{padding:12px var(--gutter) 6px}.page-head h1 small{font-size:.6em;color:var(--text-faint);font-weight:500;margin-left:6px}
.page-body{padding:8px var(--gutter) 40px}.h2{font-size:1.2rem;margin:26px 0 12px}.h2 small{color:var(--text-faint);font-size:.75em;margin-left:6px}.h3{font-size:1rem;color:var(--text-dim);margin:18px 0 8px}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:20px;margin-bottom:16px}.panel.danger{border-color:rgba(229,72,77,.35)}.panel h3{display:flex;align-items:center;gap:8px}.panel h3 .ic{width:18px;height:18px;color:var(--gold)}
.panel-page{display:flex;justify-content:center;padding:calc(var(--top-h) + 30px) var(--gutter) 60px}.panel-page .panel{max-width:560px;width:100%}
.err-code{font-size:3rem;font-weight:700;color:var(--gold);margin:0;line-height:1}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.actions.center{justify-content:center}
.cards-2{display:grid;grid-template-columns:1fr;gap:14px}@media (min-width:768px){.cards-2{grid-template-columns:1fr 1fr}}
.table{width:100%;border-collapse:collapse;font-size:.9rem}.table th,.table td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line)}.table th{color:var(--text-faint);font-weight:600;font-size:.78rem;text-transform:uppercase;letter-spacing:.06em}
.device-list{display:flex;flex-direction:column;gap:8px;margin:12px 0}.device-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:var(--surface);border:1px solid var(--line);border-radius:12px}.device-list small{display:block;color:var(--text-faint)}
.pager{display:flex;align-items:center;justify-content:center;gap:14px;padding:20px 0;color:var(--text-dim)}
.load-more{display:flex;justify-content:center;padding:20px}
.eyebrow{display:inline-flex;align-items:center;gap:6px;font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--gold)}.eyebrow .ic{width:16px;height:16px}
.prose{max-width:800px;line-height:1.7;color:var(--text-dim)}.prose h1,.prose h2,.prose h3{color:var(--text);margin-top:1.4em}.prose a{color:var(--gold);text-decoration:underline}.prose table{border-collapse:collapse;width:100%}.prose td,.prose th{border:1px solid var(--line);padding:8px}.prose ul{list-style:disc;padding-left:20px}.prose ol{list-style:decimal;padding-left:20px}
.modal{position:fixed;inset:0;z-index:300;display:flex;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.7);backdrop-filter:blur(6px)}.modal[hidden]{display:none}
.modal-card{position:relative;width:100%;max-width:520px;max-height:90vh;overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-sheet) var(--r-sheet) 0 0;padding:24px;animation:sheetUp var(--t-med) var(--ease)}
@media (min-width:768px){.modal{align-items:center}.modal-card{border-radius:var(--r-sheet);animation:pop var(--t-med) var(--ease)}}
@keyframes sheetUp{from{transform:translateY(30px);opacity:0}to{transform:none;opacity:1}}
.modal-x{position:absolute;right:14px;top:14px;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.08)}
.coming-soon{display:flex;flex-direction:column;gap:12px;text-align:center}.coming-soon img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px}.coming-soon .eyebrow{justify-content:center}

/* ---------------------------------------------------------------- hero */
.hero{position:relative;height:72vh;min-height:420px;max-height:900px;overflow:hidden;outline:none}
@media (max-width:767px){.hero{height:auto;aspect-ratio:2/3;max-height:80vh;min-height:0}}
@media (min-width:1920px){.hero{height:78vh;max-height:1200px}}
.hero-track{position:absolute;inset:0}
.hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity var(--t-slow) var(--ease),visibility var(--t-slow)}
.hero-slide.is-active{opacity:1;visibility:visible;z-index:1}
.hero-slide.is-prev{opacity:1;visibility:visible;z-index:0;transition:none}
body.legacy .hero-slide{transition:none}
.hero-bg,.hero-bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top center}
.hero-bg img{transform:none}
.hero-video{position:absolute;inset:0;opacity:0;transition:opacity 800ms var(--ease)}.hero-video video{width:100%;height:100%;object-fit:cover}.hero-slide.is-playing .hero-video{opacity:1}
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,9,11,.92) 0%,rgba(8,9,11,.55) 40%,rgba(8,9,11,.05) 70%),linear-gradient(180deg,rgba(8,9,11,.25) 0%,transparent 30%,transparent 55%,var(--bg) 100%)}
@media (max-width:767px){.hero-shade{background:linear-gradient(180deg,rgba(8,9,11,.3) 0%,transparent 35%,rgba(8,9,11,.6) 65%,var(--bg) 100%)}}
.hero-content{position:absolute;left:var(--gutter);right:var(--gutter);bottom:clamp(60px,10vh,120px);z-index:2;max-width:620px}
@media (min-width:1920px){.hero-content{max-width:860px}}
@media (max-width:767px){.hero-content{bottom:28px;left:16px;right:16px;max-width:none;text-align:center}}
.hero-logo{max-width:min(420px,70%);max-height:150px;width:auto;height:auto;margin-bottom:14px;filter:drop-shadow(0 6px 24px rgba(0,0,0,.6))}
@media (max-width:767px){.hero-logo{margin:0 auto 10px;max-width:60%;max-height:100px}}
.hero-title{font-size:clamp(1.7rem,4vw,3.2rem);margin-bottom:8px;text-shadow:0 4px 24px rgba(0,0,0,.6)}
.hero-meta{color:var(--text-dim);font-size:.88rem;margin-bottom:8px;display:flex;align-items:center;flex-wrap:wrap;gap:2px}
@media (max-width:767px){.hero-meta{justify-content:center}}
.hero-desc{color:var(--cream);max-width:520px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:.95rem;text-shadow:0 2px 12px rgba(0,0,0,.6)}
@media (max-width:767px){.hero-desc{-webkit-line-clamp:2;font-size:.85rem;margin:0 auto .6em}}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}@media (max-width:767px){.hero-actions{justify-content:center}}
.hero-lock{display:inline-flex;align-items:center;gap:6px;color:var(--gold);font-weight:600;font-size:.85rem}
.hero-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:48px;height:48px;border-radius:50%;background:rgba(0,0,0,.45);display:none;align-items:center;justify-content:center;color:#fff;transition:background var(--t-fast),opacity var(--t-fast);opacity:0}
.hero:hover .hero-nav,.hero:focus-within .hero-nav{opacity:1}.hero-nav.prev{left:14px}.hero-nav.next{right:14px}.hero-nav:hover{background:var(--gold);color:var(--on-gold)}
@media (min-width:1024px){.hero-nav{display:flex}}
.hero-thumbs{position:absolute;right:var(--gutter);bottom:26px;z-index:3;display:flex;gap:8px}
.hero-thumb{position:relative;width:12px;height:12px;border-radius:50%;background:rgba(255,255,255,.4);overflow:hidden;transition:transform var(--t-fast),background var(--t-fast)}
.hero-thumb img{display:none}.hero-thumb.is-active{background:var(--gold)}
.hero-thumb-bar{position:absolute;left:0;top:0;bottom:0;width:0;background:var(--gold)}
@media (min-width:1024px){
  .hero-thumbs{bottom:34px;gap:10px}
  .hero-thumb{width:96px;height:54px;border-radius:8px;background:var(--surface);opacity:.55;border:2px solid transparent}
  .hero-thumb img{display:block;width:100%;height:100%;object-fit:cover}
  .hero-thumb:hover{opacity:.9}
  .hero-thumb.is-active{opacity:1;border-color:var(--gold);background:none}
  .hero-thumb.is-active .hero-thumb-bar{display:block;top:auto;height:3px;background:var(--gold);width:var(--p,0%)}
}
@media (max-width:767px){.hero-thumbs{left:0;right:0;justify-content:center;bottom:12px}}

/* ---------------------------------------------------------------- rails & cards */
.rails{display:flex;flex-direction:column;gap:clamp(22px,3vw,40px);padding:18px 0 40px;position:relative;z-index:1}
body.has-hero .rails{margin-top:-30px}
.rail{position:relative}
.rail-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 var(--gutter);margin-bottom:10px}
.rail-head h2{font-size:clamp(1.05rem,1.5vw,1.35rem);margin:0;display:flex;align-items:baseline;gap:10px}.rail-head h2 small{color:var(--text-faint);font-size:.78rem;font-weight:500}
.see-all{display:inline-flex;align-items:center;gap:2px;color:var(--text-dim);font-size:.82rem;font-weight:600;white-space:nowrap}.see-all .ic{width:16px;height:16px}.see-all:hover{color:var(--gold)}
.rail-wrap{position:relative}
.rail-track{display:flex;gap:var(--card-gap);overflow-x:auto;scroll-snap-type:x proximity;padding:8px var(--gutter) 12px;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-padding-left:var(--gutter)}
.rail-track::-webkit-scrollbar{display:none}
.rail-btn{position:absolute;top:0;bottom:12px;width:56px;z-index:4;display:none;align-items:center;justify-content:center;color:#fff;opacity:0;transition:opacity var(--t-fast)}
.rail-btn.prev{left:0;background:linear-gradient(90deg,rgba(8,9,11,.85),transparent)}.rail-btn.next{right:0;background:linear-gradient(270deg,rgba(8,9,11,.85),transparent)}
.rail-btn .ic{width:28px;height:28px;filter:drop-shadow(0 2px 6px rgba(0,0,0,.6))}.rail-btn:hover{color:var(--gold)}.rail-btn:disabled{display:none}
@media (hover:hover) and (min-width:1024px){.rail-btn{display:flex}.rail-wrap:hover .rail-btn{opacity:1}}
.rows-2 .rail-track{display:grid;grid-auto-flow:column;grid-template-rows:1fr 1fr;grid-auto-columns:var(--cw)}
.is-grid .rail-track{display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--cw),1fr));overflow:visible}
.rail{--cw:var(--card-w)}
.size-s{--cw:calc(var(--card-w) * .82)}.size-l{--cw:calc(var(--card-w) * 1.28)}
.rail-c169,.rail-c169p{--cw:calc(var(--card-w) * 1.65)}.rail-c167{--cw:calc(var(--card-w) * 1.8)}.rail-c11,.rail-round{--cw:calc(var(--card-w) * 1.05)}
.rail-c169.size-s,.rail-c169p.size-s{--cw:calc(var(--card-w) * 1.35)}.rail-c169.size-l,.rail-c169p.size-l{--cw:calc(var(--card-w) * 2.2)}
.rail-c162 .rail-track,.rail-c163 .rail-track,.rail-c164 .rail-track{display:grid;grid-template-columns:1fr;overflow:visible}
.rail-c162{--cw:100%}.rail-c163{--cw:100%}.rail-c164{--cw:100%}
.card{position:relative;display:flex;flex-direction:column;gap:6px;flex:none;width:var(--cw);scroll-snap-align:start;border-radius:var(--r-card);transition:transform var(--t-med) var(--ease);text-decoration:none;outline-offset:3px}
.card-media{position:relative;display:block;width:100%;aspect-ratio:2/3;border-radius:var(--r-card);overflow:hidden;background:var(--surface);box-shadow:0 2px 10px rgba(0,0,0,.35)}
.card-media img{width:100%;height:100%;object-fit:cover;transition:transform var(--t-slow) var(--ease),opacity var(--t-med)}
.card-media img[loading=lazy]{opacity:0;animation:fadeIn var(--t-med) forwards}@keyframes fadeIn{to{opacity:1}}
.card-media::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);pointer-events:none}
.c169 .card-media,.c169p .card-media{aspect-ratio:16/9}.c167 .card-media{aspect-ratio:16/7}.c11 .card-media{aspect-ratio:1/1}.round .card-media{aspect-ratio:1/1;border-radius:50%}
.c162 .card-media{aspect-ratio:16/2}.c163 .card-media{aspect-ratio:16/3}.c164 .card-media{aspect-ratio:16/4}
@media (max-width:767px){.c162 .card-media{aspect-ratio:16/5}.c163 .card-media{aspect-ratio:16/6}.c164 .card-media{aspect-ratio:16/7}}
.card:hover .card-media img,.card:focus-visible .card-media img{transform:scale(1.06)}
@media (hover:hover){.card:hover{z-index:5}}
.card-ph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:700;color:var(--text-faint);background:linear-gradient(135deg,var(--surface),var(--surface-hi))}
.card-title{font-size:.85rem;font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 2px}
.card-sub{font-size:.75rem;color:var(--text-faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 2px}
.card-reason{font-size:.72rem;color:var(--gold-soft);padding:0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.badges{position:absolute;display:flex;gap:4px;z-index:2;pointer-events:none}
.pos-top_right,.pos-tr{top:8px;right:8px}.pos-top_left,.pos-tl{top:8px;left:8px}.pos-bottom_right,.pos-br{bottom:8px;right:8px}.pos-bottom_left,.pos-bl{bottom:8px;left:8px}
.badge{display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 8px;border-radius:var(--r-pill);background:var(--bb,var(--gold));color:var(--bc,var(--on-gold));font-size:.62rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;box-shadow:0 2px 8px rgba(0,0,0,.35)}
.badge.shape-square,.badge.shape-rect{border-radius:5px}.badge .ic{width:12px;height:12px}
.badge-live{background:var(--live);color:#fff}.badge-live i{width:6px;height:6px;border-radius:50%;background:#fff;animation:pulse 1.4s infinite}
.paid{position:absolute;left:8px;bottom:8px;width:22px;height:22px;border-radius:50%;background:var(--gold-grad);display:flex;align-items:center;justify-content:center;color:var(--on-gold);z-index:2}.paid .ic{width:13px;height:13px}
.lock{position:absolute;right:8px;bottom:8px;width:22px;height:22px;border-radius:50%;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;z-index:2}.lock .ic{width:12px;height:12px}
.card-logo{position:absolute;left:8px;bottom:8px;max-width:45%;max-height:34%;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 2px 6px rgba(0,0,0,.7));z-index:2}
.ch-logo{left:50%;bottom:auto;top:50%;transform:translate(-50%,-50%);max-width:55%;max-height:45%}
.live-dot{position:absolute;left:10px;top:10px;width:9px;height:9px;border-radius:50%;background:var(--live);box-shadow:0 0 0 3px rgba(229,57,53,.3);animation:pulse 1.6s infinite;z-index:2}
.lang-tag{position:absolute;left:8px;bottom:8px;padding:2px 7px;border-radius:6px;background:rgba(0,0,0,.6);font-size:.6rem;font-weight:700;letter-spacing:.06em;z-index:2}
.progress{position:absolute;left:0;right:0;bottom:0;height:4px;background:rgba(255,255,255,.25);z-index:3}.progress i,.progress b{display:block;height:100%;background:var(--gold)}
.rank{position:absolute;left:-6px;bottom:-10px;font-size:clamp(3rem,5.5vw,6rem);font-weight:700;line-height:1;color:var(--bg);-webkit-text-stroke:2px var(--gold-soft);text-shadow:0 4px 14px rgba(0,0,0,.6);z-index:2;pointer-events:none;letter-spacing:-.06em}
.rail-ranked .card{padding-left:clamp(26px,3vw,46px)}.rail-ranked .rank{left:-2px}
.card-x{position:absolute;top:8px;left:8px;width:26px;height:26px;border-radius:50%;background:rgba(0,0,0,.65);display:flex;align-items:center;justify-content:center;z-index:4;opacity:0;transition:opacity var(--t-fast)}.card-x .ic{width:14px;height:14px}
.card:hover .card-x,.card:focus-within .card-x,.card-x:focus-visible{opacity:1}@media (hover:none){.card-x{opacity:1}}
.card-genre{aspect-ratio:16/9;display:flex;flex-direction:column;justify-content:flex-end;padding:14px;background:linear-gradient(135deg,var(--surface-hi),var(--surface));border:1px solid var(--line);overflow:hidden}
.card-genre::before{content:"";position:absolute;inset:0;background:var(--genre-img) center/cover;opacity:.5}
.card-genre::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent,rgba(8,9,11,.85))}
.genre-name{position:relative;font-weight:700;font-size:1.05rem}.genre-count{position:relative;font-size:.75rem;color:var(--text-dim)}
.card-banner .banner-text{position:absolute;left:14px;bottom:12px;right:14px;display:flex;flex-direction:column;gap:2px;z-index:2;text-shadow:0 2px 8px rgba(0,0,0,.7)}.banner-text em{font-style:normal;color:var(--gold);font-weight:600;font-size:.82rem}
.ep-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity var(--t-fast);background:rgba(0,0,0,.3)}.ep-play .ic{width:40px;height:40px;fill:#fff;stroke:none}.card:hover .ep-play,.episode:hover .ep-play{opacity:1}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--card-w),1fr));gap:var(--card-gap);padding:8px 0}
.grid-c169{grid-template-columns:repeat(auto-fill,minmax(calc(var(--card-w) * 1.65),1fr))}
.grid .card{width:auto}

/* hover mini panel (desktop) */
.hover-card{position:fixed;z-index:90;width:var(--hw,340px);background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.65);opacity:0;transform:scale(.92);transition:opacity var(--t-fast) var(--ease),transform var(--t-fast) var(--ease);pointer-events:none}
.hover-card.is-open{opacity:1;transform:scale(1);pointer-events:auto}
.hover-card .hc-media{position:relative;aspect-ratio:16/9;background:var(--surface-hi)}.hover-card .hc-media img,.hover-card .hc-media video{width:100%;height:100%;object-fit:cover}
.hover-card .hc-media video{position:absolute;inset:0;opacity:0;transition:opacity 500ms}.hover-card .hc-media video.is-playing{opacity:1}
.hover-card .hc-logo{position:absolute;left:12px;bottom:10px;max-width:50%;max-height:40%;filter:drop-shadow(0 2px 6px rgba(0,0,0,.7))}
.hover-card .hc-body{padding:12px 14px 14px}.hc-title{font-weight:700;font-size:.95rem;margin-bottom:4px}.hc-meta{font-size:.75rem;color:var(--text-dim);margin-bottom:8px}.hc-desc{font-size:.78rem;color:var(--text-dim);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:10px}
.hc-actions{display:flex;gap:8px}.hc-actions .btn{height:36px;padding:0 12px;font-size:.82rem}.hc-actions .btn-icon{width:36px;padding:0}

/* ---------------------------------------------------------------- sections */
.upsell{padding:0 var(--gutter)}.upsell-card{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:24px;border-radius:18px;background:linear-gradient(135deg,rgba(243,180,39,.14),rgba(201,133,18,.06)),var(--surface);border:1px solid rgba(243,180,39,.25)}
.upsell-card h2{margin:4px 0}.upsell-card p{color:var(--text-dim);margin:0;max-width:560px}.upsell-actions{display:flex;gap:10px;flex-wrap:wrap}
.entry{padding:0 var(--gutter)}.entry-card{display:flex;align-items:center;gap:16px;padding:16px 18px;border-radius:16px;background:var(--surface);border:1px solid var(--line);transition:border var(--t-fast),transform var(--t-fast)}.entry-card:hover{border-color:var(--gold-deep);transform:translateY(-2px);color:inherit}
.entry-card .entry-ic{width:42px;height:42px;padding:9px;border-radius:12px;background:var(--gold-grad);color:var(--on-gold)}.entry-card span{display:flex;flex-direction:column}.entry-card small{color:var(--text-faint)}.entry-card .arrow{margin-left:auto;color:var(--text-faint)}
.adstrip{position:relative;margin:0 var(--gutter);border-radius:14px;overflow:hidden;background:var(--surface);aspect-ratio:16/3}
@media (max-width:767px){.adstrip{aspect-ratio:16/6}}
.adstrip.c162{aspect-ratio:16/2}.adstrip.c164{aspect-ratio:16/4}.adstrip.c167{aspect-ratio:16/7}.adstrip.c169{aspect-ratio:16/9}
.adstrip .ad{position:absolute;inset:0;opacity:0;transition:opacity var(--t-slow)}.adstrip .ad.is-active{opacity:1;z-index:1}
.adstrip .ad-link{display:block;position:absolute;inset:0}.adstrip img,.adstrip video{width:100%;height:100%;object-fit:cover}
.ad-text{position:absolute;left:18px;bottom:14px;display:flex;flex-direction:column;text-shadow:0 2px 8px rgba(0,0,0,.7)}.ad-text em{font-style:normal;color:var(--gold);font-weight:600}
.ad-tag{position:absolute;right:10px;top:10px;padding:2px 7px;border-radius:5px;background:rgba(0,0,0,.6);font-size:.6rem;letter-spacing:.1em;text-transform:uppercase}
.ad-x{position:absolute;right:10px;bottom:10px;z-index:2;width:28px;height:28px;border-radius:50%;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center}.ad-x .ic{width:14px;height:14px}
.intro-strip{padding:10px var(--gutter) 20px}.intro-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-bottom:16px}
.intro-card{padding:18px;border-radius:16px;background:var(--surface);border:1px solid var(--line)}.intro-card .ic{width:30px;height:30px;color:var(--gold);margin-bottom:8px}.intro-card h3{font-size:1rem}.intro-card p{font-size:.85rem;color:var(--text-dim);margin:0}
.intro-cta{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}

/* ---------------------------------------------------------------- detail */
.detail-hero{position:relative;min-height:70vh;display:flex;align-items:flex-end;padding:calc(var(--top-h) + 40px) var(--gutter) 30px}
@media (max-width:767px){.detail-hero{min-height:0;padding-top:calc(var(--top-h) + 10px)}}
.detail-bg,.detail-bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top center}
.detail-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,9,11,.95) 0%,rgba(8,9,11,.7) 45%,rgba(8,9,11,.15) 80%),linear-gradient(180deg,rgba(8,9,11,.35),transparent 30%,var(--bg) 100%)}
.detail-content{position:relative;z-index:1;display:flex;gap:30px;align-items:flex-end;width:100%}
.detail-poster{display:none;flex:none;width:220px;border-radius:14px;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.6)}@media (min-width:1024px){.detail-poster{display:block}}
.detail-poster img{aspect-ratio:2/3;object-fit:cover;width:100%}
.detail-text{max-width:720px}.detail-logo{max-width:min(380px,70%);max-height:140px;margin-bottom:12px;filter:drop-shadow(0 6px 24px rgba(0,0,0,.6))}.detail-title{font-size:clamp(1.8rem,4vw,3rem)}
.detail-desc{color:var(--cream);max-width:620px;font-size:.95rem}
.detail-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:14px 0}
.detail-cast,.detail-genres{font-size:.85rem;color:var(--text-dim)}.detail-cast span{color:var(--text-faint);margin-right:6px}.detail-genres{display:flex;gap:6px;flex-wrap:wrap}
.detail-lock-reason{display:inline-flex;align-items:center;gap:6px;color:var(--gold-soft);font-size:.85rem}.detail-lock-reason .ic{width:16px;height:16px}
.lang-chips{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:6px 0 10px;font-size:.85rem;color:var(--text-dim)}.lang-chips>span{margin-right:4px}
.episodes{padding:10px var(--gutter) 30px}.episodes .rail-head{padding:0;margin-bottom:14px}
.season{display:flex;flex-direction:column;gap:10px}
.episode{display:grid;grid-template-columns:140px 1fr;gap:14px;padding:10px;border-radius:14px;background:var(--surface);border:1px solid transparent;transition:border var(--t-fast),background var(--t-fast)}
.episode:hover,.episode.is-open{border-color:var(--line);background:var(--surface-hi)}
@media (min-width:768px){.episode{grid-template-columns:220px 1fr}}
.ep-media{position:relative;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:var(--surface-hi);display:block}.ep-media img{width:100%;height:100%;object-fit:cover}
.ep-done{position:absolute;left:8px;top:8px;display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:var(--r-pill);background:rgba(0,0,0,.65);font-size:.65rem;font-weight:700;text-transform:uppercase}.ep-done .ic{width:12px;height:12px}
.ep-dur{position:absolute;right:8px;bottom:8px;padding:2px 7px;border-radius:5px;background:rgba(0,0,0,.65);font-size:.7rem;font-weight:600}
.ep-body{display:flex;flex-direction:column;gap:4px;min-width:0}.ep-title{font-weight:600}.ep-title b{color:var(--gold);margin-right:4px}.ep-desc{font-size:.82rem;color:var(--text-dim);margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ep-foot{display:flex;align-items:center;gap:10px;margin-top:auto;font-size:.75rem;color:var(--text-faint)}.ep-langs{display:inline-flex;align-items:center;gap:4px}
.ep-rate{display:inline-flex;align-items:center;gap:4px;color:var(--text-faint);padding:4px 6px;border-radius:8px;transition:color var(--t-fast),background var(--t-fast)}.ep-rate .ic{width:16px;height:16px}.ep-rate:hover{background:rgba(255,255,255,.08);color:var(--text)}.ep-rate.is-on{color:var(--gold)}
.sermon-qa{margin:10px var(--gutter) 30px;padding:20px;border-radius:16px;background:var(--surface);border:1px solid rgba(243,180,39,.25)}.sermon-qa .rail-head{padding:0;flex-direction:column;align-items:flex-start;gap:2px}.sermon-qa h2{display:flex;align-items:center;gap:8px;font-size:1.1rem}.sermon-qa h2 .ic{color:var(--gold)}.sermon-qa small{color:var(--text-faint)}
.qa-log,.ai-log{display:flex;flex-direction:column;gap:8px;margin:12px 0;max-height:360px;overflow:auto}
.qa-msg,.ai-msg{padding:10px 14px;border-radius:14px;max-width:85%;font-size:.9rem;line-height:1.5}.qa-me,.ai-me{align-self:flex-end;background:var(--gold-grad);color:var(--on-gold)}.qa-bot,.ai-bot{align-self:flex-start;background:var(--surface-hi)}
.qa-bot audio{display:block;margin-top:8px;width:100%;height:36px}
.qa-form,.ai-form{display:flex;gap:8px}.qa-form input,.ai-form input{flex:1;height:44px;border-radius:var(--r-pill);border:1px solid var(--line);background:var(--bg);padding:0 16px;color:var(--text)}
.ai-msg .ai-items{display:flex;gap:8px;overflow-x:auto;margin-top:8px;padding-bottom:4px}.ai-msg .ai-items a{flex:none;width:90px}.ai-msg .ai-items img{aspect-ratio:2/3;object-fit:cover;border-radius:8px;width:100%}.ai-msg .ai-items small{display:block;font-size:.7rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ---------------------------------------------------------------- AI panel */
.ai-fab{position:fixed;right:18px;bottom:calc(var(--bottom-h) + 18px);z-index:80;width:52px;height:52px;border-radius:50%;background:var(--gold-grad);color:var(--on-gold);display:flex;align-items:center;justify-content:center;box-shadow:0 10px 30px rgba(243,180,39,.4);transition:transform var(--t-fast)}.ai-fab:hover{transform:scale(1.06)}
@media (min-width:1024px){.ai-fab{bottom:24px;right:24px}}
.ai-panel{position:fixed;right:16px;bottom:calc(var(--bottom-h) + 80px);z-index:85;width:min(94vw,380px);max-height:70vh;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:14px;box-shadow:0 30px 80px rgba(0,0,0,.6);animation:pop var(--t-med) var(--ease)}
@media (min-width:1024px){.ai-panel{bottom:90px;right:24px}}
.ai-head{display:flex;align-items:center;gap:8px;margin-bottom:6px}.ai-head .ic{color:var(--gold)}.ai-head small{color:var(--text-faint);margin-left:4px}.ai-head .icon-btn{margin-left:auto;width:32px;height:32px}
.ai-log{flex:1;margin:6px 0}

/* ---------------------------------------------------------------- auth */
.auth{position:relative;min-height:100vh;display:grid;grid-template-columns:1fr;padding-top:var(--top-h)}
@media (min-width:1024px){.auth{grid-template-columns:minmax(0,1fr) minmax(480px,54%)}.auth-register{grid-template-columns:minmax(0,1fr) minmax(480px,50%)}}
.auth-wall{position:relative;display:none;overflow:hidden;min-height:100%}@media (min-width:1024px){.auth-wall{display:block}}
.poster-wall{position:absolute;inset:-10% 0;display:flex;gap:var(--wall-gap,10px);padding:0 var(--wall-gap,10px)}
.poster-wall-static{background-size:cover;background-position:center;inset:0}
.poster-col{flex:1;overflow:hidden}.poster-col-inner{display:flex;flex-direction:column;gap:var(--wall-gap,10px);animation:wallDown var(--wall-loop,70s) linear infinite;animation-delay:var(--delay,0s)}
.poster-col.dir-up .poster-col-inner{animation-name:wallUp}
.poster-col img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:var(--wall-radius,12px);opacity:calc(1 - var(--wall-dim,.35))}
@keyframes wallDown{from{transform:translateY(-50%)}to{transform:translateY(0)}}@keyframes wallUp{from{transform:translateY(0)}to{transform:translateY(-50%)}}
.auth-wall-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,9,11,.2),rgba(8,9,11,.95)),linear-gradient(180deg,rgba(8,9,11,.6),transparent 30%,transparent 60%,var(--bg))}
.auth-wall-copy{position:absolute;left:var(--gutter);bottom:60px;max-width:420px}.auth-wall-copy h2{font-size:clamp(1.8rem,3vw,2.6rem);margin:8px 0}.auth-wall-copy p{color:var(--text-dim)}
.auth-main{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:20px var(--gutter) 60px}
.auth-small .auth-main{min-height:100vh}
.auth-logo img{height:40px;width:auto}
.auth-grid{display:grid;gap:16px;width:100%;max-width:440px}
@media (min-width:1280px){.auth-grid.has-qr{max-width:900px;grid-template-columns:1fr 1fr;align-items:start}}
.auth-card{width:100%;max-width:440px;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:26px;display:flex;flex-direction:column;gap:14px}
.auth-grid .auth-card{max-width:none}
.auth-card h1{margin:0;font-size:1.5rem}.auth-intro{color:var(--text-dim);margin:-8px 0 0}.auth-tabs{align-self:flex-start}
.qr-card{align-items:center;text-align:center}.qr-card .eyebrow{align-self:flex-start}.qr-card h2{font-size:1.2rem;margin:0}
.qr-wrap{position:relative;width:200px;height:200px}.qr{width:200px;height:200px;background:#fff;border-radius:14px;padding:12px;display:flex;align-items:center;justify-content:center}.qr canvas,.qr img,.qr svg{width:100%!important;height:100%!important;display:block}
.qr-skel{position:absolute;inset:0;border-radius:14px;background:linear-gradient(90deg,var(--surface-hi),var(--line),var(--surface-hi));background-size:200% 100%;animation:shimmer 1.4s infinite}.qr-skel[hidden]{display:none}
@keyframes shimmer{from{background-position:200% 0}to{background-position:-200% 0}}
.qr-card-big .qr-wrap,.qr-card-big .qr{width:240px;height:240px}
.link-code{font-size:clamp(1.4rem,3vw,2rem);font-weight:700;letter-spacing:.18em;white-space:nowrap;color:var(--gold);margin:4px 0;font-variant-numeric:tabular-nums}
.qr-timer{width:100%;height:4px;border-radius:2px;background:var(--surface-hi);overflow:hidden}.qr-timer i{display:block;height:100%;width:100%;background:var(--gold);transform-origin:left;transition:transform 1s linear}
.how{counter-reset:s;display:flex;flex-direction:column;gap:8px;text-align:left;width:100%}.how li{display:flex;gap:10px;font-size:.9rem}.how li::before{counter-increment:s;content:counter(s);flex:none;width:24px;height:24px;border-radius:50%;background:var(--gold-grad);color:var(--on-gold);font-weight:700;display:flex;align-items:center;justify-content:center;font-size:.8rem}.how li span{display:block;color:var(--text-faint);font-size:.8rem}
.social-row{display:flex;flex-direction:column;gap:10px;align-items:center}.social-row .or{color:var(--text-faint);font-size:.8rem}.social-btn{min-height:40px;width:100%;display:flex;justify-content:center}
.link-card{align-items:center;text-align:center}.link-ic{width:64px;height:64px;border-radius:50%;background:var(--surface-hi);display:flex;align-items:center;justify-content:center;color:var(--gold)}.link-ic .ic{width:30px;height:30px}.link-ic.ok{background:var(--gold-grad);color:var(--on-gold)}
.code-input{text-transform:uppercase;letter-spacing:.3em;font-size:1.3rem}

/* ---------------------------------------------------------------- profiles */
.profiles{padding:calc(var(--top-h) + 20px) var(--gutter) 60px;max-width:900px;margin:0 auto;text-align:center;min-height:90vh;display:flex;flex-direction:column;justify-content:center}
.profile-intro{color:var(--text-dim)}
.profile-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:clamp(14px,3vw,28px);margin:24px 0}
.profile-tile{position:relative;width:clamp(96px,22vw,150px)}
.profile-link,.profile-btn{display:flex;flex-direction:column;align-items:center;gap:10px;width:100%;color:inherit}
.profile-avatar{position:relative;width:100%;aspect-ratio:1;border-radius:18px;overflow:hidden;background:var(--surface-hi);display:flex;align-items:center;justify-content:center;font-size:2.4rem;font-weight:700;color:var(--gold);border:3px solid transparent;transition:border var(--t-fast),transform var(--t-fast)}
.profile-avatar img{width:100%;height:100%;object-fit:cover}
.profile-tile:hover .profile-avatar,.profile-tile:focus-within .profile-avatar{border-color:var(--gold);transform:scale(1.05)}
.profile-tile.is-current .profile-avatar{border-color:var(--gold-soft)}.profile-tile.is-locked .profile-avatar{opacity:.55}
.lock-ic,.edit-ic{position:absolute;right:6px;bottom:6px;width:26px;height:26px;border-radius:50%;background:rgba(0,0,0,.7);display:flex;align-items:center;justify-content:center;color:#fff}.lock-ic .ic,.edit-ic .ic{width:14px;height:14px}.edit-ic{inset:0;width:auto;height:auto;border-radius:0;background:rgba(0,0,0,.4);opacity:0;transition:opacity var(--t-fast)}.edit-ic .ic{width:30px;height:30px}.profile-tile:hover .edit-ic{opacity:1}
.profile-name{font-weight:600;font-size:.95rem}.profile-name small{display:block;color:var(--text-faint);font-size:.72rem;font-weight:500}
.profile-add .profile-avatar{background:transparent;border:2px dashed var(--line);color:var(--text-faint)}
.profile-form{max-width:520px;margin:0 auto;text-align:left}
.avatars legend,.lang-opts legend{font-size:.85rem;color:var(--text-dim);font-weight:600;margin-bottom:8px}.avatars,.lang-opts{border:0;padding:0;margin:0}
.avatar-group small{display:block;color:var(--text-faint);margin:6px 0}.avatar-opts{display:flex;flex-wrap:wrap;gap:8px}
.avatar-opt{cursor:pointer}.avatar-opt input{position:absolute;opacity:0}.avatar-opt img{width:56px;height:56px;border-radius:14px;object-fit:cover;border:3px solid transparent;transition:border var(--t-fast),transform var(--t-fast)}.avatar-opt input:checked+img{border-color:var(--gold);transform:scale(1.06)}.avatar-opt input:focus-visible+img{box-shadow:var(--focus)}
.lang-opts{display:flex;flex-wrap:wrap;gap:8px}.chip-check{flex-direction:row;align-items:center;cursor:pointer}.chip-check input{position:absolute;opacity:0}.chip-check span{display:inline-flex;align-items:center;height:34px;padding:0 14px;border-radius:var(--r-pill);border:1px solid var(--edge);background:rgba(255,255,255,.05);font-weight:600;font-size:.85rem}.chip-check input:checked+span{background:var(--gold-grad);color:var(--on-gold);border-color:transparent}.chip-check input:focus-visible+span{box-shadow:var(--focus)}

/* ---------------------------------------------------------------- account & settings */
.account{display:grid;grid-template-columns:1fr;gap:20px;padding:0 var(--gutter) 60px;max-width:1200px}
@media (min-width:1024px){.account{grid-template-columns:260px 1fr}}
.account-nav{display:flex;flex-direction:column;gap:14px}.account-user{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.account-user strong{display:block}.account-user small{color:var(--text-faint)}
.account-nav nav{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;padding-bottom:4px}@media (min-width:1024px){.account-nav nav{flex-direction:column;overflow:visible}}
.account-nav nav a{display:inline-flex;align-items:center;gap:10px;padding:9px 14px;border-radius:12px;color:var(--text-dim);font-weight:600;white-space:nowrap;font-size:.9rem}.account-nav nav a .ic{width:18px;height:18px}.account-nav nav a:hover{background:var(--surface);color:var(--text)}.account-nav nav a.is-active{background:var(--surface);color:var(--gold)}
.account-body{min-width:0}.account-body .form{max-width:560px}.inline{display:inline-block}
.tv-cta{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.tv-cta h3{margin:0}
.settings{display:grid;grid-template-columns:1fr;gap:16px;max-width:900px}@media (min-width:1024px){.settings{grid-template-columns:1fr 1fr}}
.settings .panel{margin:0}.settings .form{gap:12px}
.lang-row{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;background:var(--bg);cursor:pointer;width:100%}.lang-row input[type=checkbox]{width:18px;height:18px;accent-color:var(--gold)}.lang-row>span{flex:1;font-weight:600}.lang-row small{display:block;color:var(--text-faint);font-weight:500}.lang-row input[type=radio]{accent-color:var(--gold)}.lang-row em{font-style:normal;font-size:.7rem;color:var(--text-faint);text-transform:uppercase;letter-spacing:.08em}
.settings .lang-opts{flex-direction:column;gap:6px}

/* ---------------------------------------------------------------- lists, history, notifications */
.history{display:flex;flex-direction:column;gap:8px}.history li{display:flex;align-items:center;gap:10px}.history-item{display:flex;align-items:center;gap:14px;flex:1;padding:8px;border-radius:12px;background:var(--surface);min-width:0}.history-item:hover{background:var(--surface-hi);color:inherit}
.h-img{position:relative;width:120px;aspect-ratio:16/9;border-radius:8px;overflow:hidden;background:var(--surface-hi);flex:none}.h-img img{width:100%;height:100%;object-fit:cover}.h-body{display:flex;flex-direction:column;min-width:0}.h-body small{color:var(--text-faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.notes{display:flex;flex-direction:column;gap:8px}.note{display:flex;align-items:center;gap:8px}.note-link{display:flex;align-items:center;gap:14px;flex:1;padding:12px;border-radius:14px;background:var(--surface);border:1px solid transparent;min-width:0}.note-link:hover{border-color:var(--line);color:inherit}
.note.is-unread .note-link{border-left:3px solid var(--gold)}.note-link img{width:96px;aspect-ratio:16/9;object-fit:cover;border-radius:8px;flex:none}.note-ic{width:44px;height:44px;border-radius:12px;background:var(--surface-hi);display:flex;align-items:center;justify-content:center;color:var(--gold);flex:none}
.note-link>span{display:flex;flex-direction:column;min-width:0}.note-link small{color:var(--text-dim);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.note-link time{font-size:.72rem;color:var(--text-faint);margin-top:2px}
.tickets li a{display:flex;flex-direction:column;padding:12px 14px;border-radius:12px;background:var(--surface);margin-bottom:8px}.tickets small{color:var(--text-faint)}
.msg{max-width:80%;padding:12px 14px;border-radius:14px;margin-bottom:10px}.msg small{display:block;color:var(--text-faint);font-size:.72rem;margin-bottom:4px}.msg p{margin:0}.msg-me{margin-left:auto;background:rgba(243,180,39,.12);border:1px solid rgba(243,180,39,.3)}.msg-them{background:var(--surface)}
.ticket .form{max-width:640px;margin-top:20px}
.support{display:grid;grid-template-columns:1fr;gap:24px;max-width:1100px}@media (min-width:1024px){.support{grid-template-columns:1.4fr 1fr;align-items:start}}
.faq{border-bottom:1px solid var(--line);padding:4px 0}.faq summary{cursor:pointer;padding:12px 0;font-weight:600;list-style:none;display:flex;justify-content:space-between;gap:10px}.faq summary::after{content:"+";color:var(--gold);font-weight:700}.faq[open] summary::after{content:"–"}.faq>div{padding:0 0 14px;color:var(--text-dim);font-size:.92rem;line-height:1.6}

/* ---------------------------------------------------------------- plans & checkout */
.plans-head{padding:calc(var(--top-h) + 20px) var(--gutter) 10px;text-align:center;max-width:760px;margin:0 auto}.plans-head p{color:var(--text-dim)}
body:not(.has-hero) .plans-head{padding-top:10px}
.plans{display:grid;grid-template-columns:1fr;gap:16px;padding:10px var(--gutter);max-width:1240px;margin:0 auto}
@media (min-width:768px){.plans{grid-template-columns:repeat(2,1fr)}}@media (min-width:1200px){.plans{grid-template-columns:repeat(4,1fr)}}
.plan{position:relative;display:flex;flex-direction:column;gap:8px;padding:26px 22px;border-radius:20px;background:var(--surface);border:1px solid var(--line);transition:transform var(--t-med),border var(--t-med)}
.plan:hover{transform:translateY(-4px)}.plan.is-popular,.plan.is-highlight{border-color:var(--gold);background:linear-gradient(180deg,rgba(243,180,39,.1),transparent 50%),var(--surface)}
.plan-tag{position:absolute;top:-12px;left:50%;transform:translateX(-50%);padding:4px 12px;border-radius:var(--r-pill);background:var(--gold-grad);color:var(--on-gold);font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.plan h2{margin:0;font-size:1.3rem}.plan-tag-line{color:var(--text-dim);margin:0;font-size:.85rem}
.plan-price{font-size:2rem;font-weight:700;margin:6px 0;color:var(--gold-light)}.plan-price small{font-size:.9rem;color:var(--text-faint);font-weight:500;margin-left:4px}.plan-price s{color:var(--text-faint);font-size:1.1rem;margin-right:6px}
.plan-trial{color:var(--ok);font-size:.85rem;font-weight:600;margin:0}
.plan-feats{display:flex;flex-direction:column;gap:8px;margin:8px 0 16px;flex:1;font-size:.9rem;color:var(--text-dim)}.plan-feats li{display:flex;gap:8px;align-items:flex-start}.plan-feats .ic{color:var(--gold);margin-top:3px}.plan-feats.small{font-size:.82rem}
.plan .btn{width:100%}.plan.is-current{opacity:.85}
.plans-foot{padding:16px var(--gutter) 60px;text-align:center;max-width:700px;margin:0 auto}
.offer-form{display:flex;gap:8px;align-items:flex-end;justify-content:center;margin-bottom:12px;flex-wrap:wrap}.offer-form label{display:flex;flex-direction:column;gap:4px;font-size:.82rem;color:var(--text-dim);text-align:left}.offer-form input{height:36px;border-radius:10px;border:1px solid var(--line);background:var(--surface);padding:0 12px;color:var(--text);text-transform:uppercase}
.checkout{display:flex;justify-content:center;padding:0 var(--gutter) 60px}.checkout-card{width:100%;max-width:560px;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:26px;display:flex;flex-direction:column;gap:14px}
.checkout-summary{display:flex;flex-direction:column;gap:8px;padding:14px;border-radius:14px;background:var(--bg)}.checkout-summary .total{border-top:1px solid var(--line);padding-top:8px;font-size:1.1rem}
.coupon-form{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end}.coupon-form label{display:flex;flex-direction:column;gap:4px;font-size:.82rem;color:var(--text-dim)}.coupon-form input{height:42px;border-radius:12px;border:1px solid var(--line);background:var(--bg);padding:0 12px;color:var(--text);text-transform:uppercase}.coupon-form .field-hint{grid-column:1/-1}
.checkout-pay{display:flex;flex-direction:column;gap:8px}

/* ---------------------------------------------------------------- live & EPG */
.live-player{margin:0 var(--gutter) 20px;border-radius:16px;overflow:hidden;background:var(--surface);border:1px solid var(--line)}
.live-video{position:relative;aspect-ratio:16/9;background:#000}.live-video video{width:100%;height:100%}.live-badge{position:absolute;left:14px;top:14px;display:flex;align-items:center;gap:10px}
.live-now{display:flex;align-items:center;gap:14px;padding:12px 16px}.live-now img{width:48px;height:48px;object-fit:contain;border-radius:8px;background:var(--surface-hi)}.live-now div{flex:1;display:flex;flex-direction:column;min-width:0}.live-now small{color:var(--text-dim)}
.live-player .error-inline{margin:0 16px 16px}
.channels .card-sub.muted{color:var(--text-faint)}.card.is-off .card-media{opacity:.6}
.event{width:auto}.event .btn{margin-top:4px;align-self:flex-start}
.epg{overflow:hidden;--gutter-w:160px}@media (max-width:767px){.epg{--gutter-w:110px}}
.epg-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.epg-scroll{position:relative;overflow-x:auto;scrollbar-width:thin;border:1px solid var(--line);border-radius:14px;background:var(--surface);padding-bottom:6px}
.epg-timeline{display:flex;position:sticky;top:0;z-index:3;background:var(--surface);border-bottom:1px solid var(--line);font-size:.72rem;color:var(--text-faint)}
.epg-ch-gutter{flex:none;width:var(--gutter-w);position:sticky;left:0;background:var(--surface);z-index:4}
.epg-tick{flex:none;padding:8px 6px;border-left:1px solid var(--line)}
.epg-now{position:absolute;top:0;bottom:0;width:2px;background:var(--gold);z-index:2;pointer-events:none}
.epg-row{display:flex;min-height:72px;border-bottom:1px solid rgba(255,255,255,.04)}
.epg-ch{flex:none;width:var(--gutter-w);position:sticky;left:0;z-index:3;background:var(--surface);display:flex;align-items:center;gap:8px;padding:8px 10px;border-right:1px solid var(--line);font-weight:600;font-size:.82rem}.epg-ch img{width:36px;height:36px;object-fit:contain;border-radius:6px;background:var(--surface-hi)}.epg-ch span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.epg-ch small{margin-left:auto;color:var(--gold);font-size:.7rem}
.epg-slots{position:relative;flex:1;min-width:calc(var(--ppm) * 60 * 12)}
.epg-slot{position:absolute;top:8px;bottom:8px;padding:8px 10px;border-radius:10px;background:var(--surface-hi);overflow:hidden;display:flex;flex-direction:column;justify-content:center;border:1px solid transparent}
.epg-slot strong{font-size:.82rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.epg-slot small{font-size:.7rem;color:var(--text-faint)}.epg-slot.is-now{border-color:var(--gold);background:rgba(243,180,39,.1)}
.epg-slot .progress{height:3px;left:0;right:0;bottom:0}

/* ---------------------------------------------------------------- shorts */
body.page-shorts{overflow:hidden}
.shorts{position:fixed;inset:0;z-index:40;background:#000}
.shorts-top{position:absolute;top:0;left:0;right:0;z-index:5;display:flex;align-items:center;gap:8px;padding:10px 12px;background:linear-gradient(180deg,rgba(0,0,0,.7),transparent)}
.shorts-feed{height:100%;overflow-y:auto;scroll-snap-type:y mandatory;scrollbar-width:none}.shorts-feed::-webkit-scrollbar{display:none}
.short{position:relative;height:100%;scroll-snap-align:start;scroll-snap-stop:always;display:flex;align-items:center;justify-content:center}
.short-media{position:relative;height:100%;width:100%;max-width:calc(100vh * 9 / 16);margin:0 auto;background:#000;overflow:hidden}
@media (min-width:1024px){.short-media{height:calc(100% - 40px);margin-top:20px;border-radius:18px}}
.short-media video,.short-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.short-cover{z-index:1;transition:opacity var(--t-med)}.short.is-playing .short-cover{opacity:0}
.short-tap{position:absolute;inset:0;z-index:2}
.short-lock{position:absolute;inset:0;z-index:3;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.55)}.short-lock span{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:var(--r-pill);background:var(--gold-grad);color:var(--on-gold);font-weight:600}
.short-progress{position:absolute;left:0;right:0;bottom:0;height:3px;background:rgba(255,255,255,.25);z-index:3}.short-progress i{display:block;height:100%;width:0;background:var(--gold)}
.short-info{position:absolute;left:14px;bottom:24px;right:80px;z-index:3;max-width:calc(100vh * 9 / 16 - 90px);text-shadow:0 2px 8px rgba(0,0,0,.8)}
@media (min-width:1024px){.short-info{left:calc(50% - 100vh * 9 / 32 + 14px)}}
.short-series{display:inline-block;padding:4px 10px;border-radius:var(--r-pill);background:rgba(0,0,0,.5);font-size:.75rem;font-weight:600;color:var(--gold);margin-bottom:6px}.short-info p{font-size:.9rem;margin-bottom:8px}
.short-actions{position:absolute;right:12px;bottom:40px;z-index:3;display:flex;flex-direction:column;gap:16px;align-items:center}
@media (min-width:1024px){.short-actions{right:calc(50% - 100vh * 9 / 32 - 64px)}}
.s-btn{display:flex;flex-direction:column;align-items:center;gap:2px;color:#fff;font-size:.72rem;font-weight:600}.s-btn svg,.s-btn .ic{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8}.s-btn.is-on{color:var(--gold)}.s-btn.is-on svg{fill:currentColor}
.shorts-side{position:absolute;right:16px;top:50%;transform:translateY(-50%);z-index:5;display:none;flex-direction:column;gap:10px}@media (min-width:1024px){.shorts-side{display:flex}}
.shorts-side .p-btn{width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center}.shorts-side svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:2}
.shorts-side .i-muted,.shorts-side .is-muted .i-vol{display:none}.shorts-side .is-muted .i-muted{display:block}

/* ---------------------------------------------------------------- misc pages */
.games-hero{padding:calc(var(--top-h) + 10px) var(--gutter) 20px;text-align:center;max-width:760px;margin:0 auto}body:not(.has-hero) .games-hero{padding-top:10px}.games-hero p{color:var(--text-dim)}
.store-badges{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.store{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 16px;border-radius:10px;background:#000;border:1px solid var(--edge);color:#fff;font-weight:600;font-size:.9rem;line-height:1}.store small{display:block;font-size:.62rem;font-weight:500;color:var(--text-dim);margin-bottom:2px}.store svg{width:20px;height:20px;fill:#fff}.store:hover{border-color:var(--gold);color:#fff}
.getapp{text-align:center;padding:20px var(--gutter) 60px;max-width:640px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:12px}.getapp-icon{border-radius:22px}.platform-list{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
.qr-box{display:flex;flex-direction:column;align-items:center;gap:6px;color:var(--text-faint);font-size:.8rem;margin-top:10px}.qr-box .qr{width:160px;height:160px}
.refer{max-width:720px;margin:0 auto;padding:0 var(--gutter) 60px;display:flex;flex-direction:column;gap:16px}.refer-hero{text-align:center}.refer-ic{display:inline-flex;width:72px;height:72px;border-radius:50%;background:var(--gold-grad);color:var(--on-gold);align-items:center;justify-content:center;margin-bottom:10px}.refer-ic .ic{width:34px;height:34px}.refer-img{max-width:320px;margin:0 auto 10px;border-radius:16px}
.refer-rewards{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;color:var(--text-dim);font-size:.9rem}.refer-rewards span{display:inline-flex;align-items:center;gap:6px}.refer-rewards .ic{color:var(--gold);width:16px;height:16px}
.refer-card{text-align:center;padding:24px;border-radius:20px;background:var(--surface);border:1px solid rgba(243,180,39,.3);display:flex;flex-direction:column;align-items:center;gap:8px}.refer-link a{color:var(--gold);word-break:break-all;font-size:.85rem}.refer-card .actions{justify-content:center}
.refer-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.refer-steps li{display:flex;align-items:center;gap:10px;padding:12px;border-radius:12px;background:var(--surface)}.refer-steps b{width:28px;height:28px;border-radius:50%;background:var(--gold-grad);color:var(--on-gold);display:flex;align-items:center;justify-content:center;flex:none}
.refer-stats{display:flex;gap:10px;flex-wrap:wrap}.refer-stats div{flex:1;min-width:120px;padding:12px;border-radius:12px;background:var(--surface);text-align:center}.refer-stats strong{display:block;font-size:1.4rem;color:var(--gold-light)}.refer-stats small{color:var(--text-faint)}
.inline-form{flex-direction:row;align-items:center}.inline-form input{flex:1;height:42px;border-radius:12px;border:1px solid var(--line);background:var(--bg);padding:0 12px;color:var(--text);text-transform:uppercase}
.js-copy.is-done{background:var(--ok);color:#06240f}
.recent-searches{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px;font-size:.85rem;color:var(--text-faint)}.recent-list{display:flex;gap:6px;flex-wrap:wrap}
.search-big{position:relative;display:flex;gap:8px;align-items:center;max-width:760px;flex-wrap:wrap}.search-big input{flex:1;min-width:200px;height:46px;border-radius:var(--r-pill);border:1px solid var(--line);background:var(--surface);padding:0 16px 0 44px;color:var(--text)}.search-big .ic{position:absolute;left:14px;top:12px;color:var(--text-dim)}.search-big select{height:46px;border-radius:var(--r-pill);border:1px solid var(--line);background:var(--surface);padding:0 14px;color:var(--text)}.search-big .suggest{top:52px;max-width:560px}
.browse-head .filters{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end;margin-top:8px}.filters label{display:flex;flex-direction:column;gap:4px;font-size:.75rem;color:var(--text-faint);font-weight:600}.filters select{height:38px;border-radius:10px;border:1px solid var(--line);background:var(--surface);padding:0 10px;color:var(--text);min-width:120px}

/* ---------------------------------------------------------------- footer */
.footer{position:relative;z-index:1;margin-top:30px;border-top:1px solid var(--line);padding:30px var(--gutter) 24px;color:var(--text-dim);font-size:.85rem}
.footer-inner{display:grid;grid-template-columns:1fr;gap:24px;max-width:1400px}@media (min-width:768px){.footer-inner{grid-template-columns:1.2fr 2fr}}
.footer-brand img{height:28px;width:auto;margin-bottom:8px}.footer-brand .store-badges{justify-content:flex-start;margin-top:8px}
.footer-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.footer-cols h4{font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;color:var(--text-faint);margin-bottom:8px}.footer-cols a{display:block;padding:3px 0}.footer-cols a:hover{color:var(--gold)}
.footer-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:24px;padding-top:14px;border-top:1px solid var(--line);font-size:.78rem;color:var(--text-faint)}.social{display:flex;gap:14px}

/* ---------------------------------------------------------------- kids */
body.is-kids .ambient{background:radial-gradient(60% 40% at 70% 0%,rgba(243,180,39,.18),transparent 70%),linear-gradient(180deg,#1a1300,var(--bg) 60%)}
body.page-kids .rail-head h2{color:var(--gold-light)}

/* ---------------------------------------------------------------- motion & a11y */
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.hero-bg img{transform:none}.poster-col-inner{animation:none}}
@media (forced-colors:active){.btn,.chip,.card-media{border:1px solid}}
@media print{.side-nav,.topbar,.bottom-bar,.footer,.ai-fab,.ambient{display:none}}


/* ================================================================ v2.1 refinements */
html.no-scroll{overflow:hidden}

/* 5 — menu in the middle: rail items vertically centred, menu chips centred in the top bar (desktop) */
@media (min-width:768px){.side-items{justify-content:center}}
@media (min-width:1024px){
  .chips-row{position:absolute;top:0;left:50%;transform:translateX(-50%);height:var(--top-h);align-items:center;padding:0;max-width:calc(100% - 360px);justify-content:center}
  .topbar{background:linear-gradient(180deg,rgba(8,9,11,.88),rgba(8,9,11,0))}
  body.chrome-full:not(.has-hero):not(.page-title) .main{padding-top:calc(var(--top-h) + 4px)}
}

/* 2 — round profiles */
.profile-avatar{border-radius:50%;box-shadow:0 10px 30px rgba(0,0,0,.45)}
.profile-tile:hover .profile-avatar,.profile-tile:focus-within .profile-avatar{box-shadow:0 0 0 3px var(--gold),0 14px 34px rgba(243,180,39,.18)}
.profile-tile.is-current .profile-avatar{border-color:var(--gold-soft)}
.lock-ic{right:4%;bottom:4%}
.edit-ic{border-radius:50%}
.avatar-opt img{border-radius:50%}
.profile-add .profile-avatar{border-radius:50%}

/* 6 — Top 10: big gold numerals behind the poster */
.rail-ranked{--cw:calc(var(--card-w) * .95)}
.rail-ranked .card{width:calc(var(--cw) * 1.5);padding-left:0;display:grid;grid-template-columns:44% 1fr;align-items:end}
.rail-ranked .rank{position:relative;left:auto;bottom:auto;grid-column:1;grid-row:1;z-index:0;justify-self:end;margin-right:-16%;font-size:calc(var(--cw) * 1.08);line-height:.74;font-weight:700;letter-spacing:-.06em;text-align:right;
  background:linear-gradient(180deg,#FFE08A 0%,#FEC22C 30%,#F3B427 55%,#C98512 85%,rgba(201,133,18,.35) 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-stroke:0;text-shadow:none;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.65)) drop-shadow(0 0 1px rgba(0,0,0,.9));pointer-events:none;user-select:none}
.rail-ranked .rank.rank-2{font-size:calc(var(--cw) * .82);letter-spacing:-.12em;margin-right:-10%}
.rail-ranked .card-media{grid-column:2;grid-row:1;z-index:1;box-shadow:-14px 0 24px -6px rgba(0,0,0,.75)}
.rail-ranked .card-title,.rail-ranked .card-sub,.rail-ranked .card-reason{grid-column:2}
@media (max-width:767px){.rail-ranked .card{width:calc(var(--cw) * 1.45)}}

/* 3 + 11 — sign in / register: form left, tilted drifting poster wall right, equal-height cards */
.auth{padding-top:0;min-height:100vh;grid-template-columns:1fr}
@media (min-width:1024px){.auth,.auth-register{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}}
.auth-main{order:1;justify-content:center;min-height:100vh;padding:calc(var(--top-h) + 10px) var(--gutter) 40px}
.auth-wall{order:2;position:sticky;top:0;height:100vh}
.poster-wall{inset:-30% -25%;transform:rotate(-12deg);transform-origin:50% 50%;gap:14px;padding:0}
.poster-col{flex:1 1 0}
.poster-col img{box-shadow:0 18px 40px rgba(0,0,0,.55)}
.auth-wall-shade{background:linear-gradient(90deg,var(--bg) 0%,rgba(8,9,11,.55) 22%,rgba(8,9,11,.15) 55%,rgba(8,9,11,.35) 100%),linear-gradient(180deg,rgba(8,9,11,.65) 0%,transparent 22%,transparent 62%,var(--bg) 100%)}
.auth-wall-copy{left:auto;right:var(--gutter);bottom:56px;text-align:right;max-width:440px}
.auth-wall-copy p{margin-left:auto;max-width:360px}
body.page-auth .topbar-minimal{background:transparent;border-bottom:0;backdrop-filter:none;-webkit-backdrop-filter:none}
body.page-auth .topbar-minimal .brand{display:none}
.auth-logo img{height:56px;width:auto}
.auth-heading{text-align:center;margin:-4px 0 6px}.auth-heading h1{font-size:clamp(1.6rem,2.4vw,2.1rem);margin:0}.auth-heading p{color:var(--text-dim);margin:4px 0 0}
.auth-grid{max-width:440px;gap:18px}
@media (min-width:1200px){.auth-grid.has-qr{max-width:860px;grid-template-columns:1fr 1fr;align-items:stretch}}
.auth-card{position:relative;background:linear-gradient(180deg,#1a1b1f,#141518);border:1px solid rgba(255,255,255,.08);border-radius:22px;padding:28px;box-shadow:0 30px 70px rgba(0,0,0,.45);overflow:hidden;height:100%}
.auth-card::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--gold-grad);opacity:.9}
.auth-card h2,.auth-card h1{font-size:1.25rem;margin:0}
.auth-grid .auth-card .auth-intro{margin:-6px 0 2px;font-size:.9rem}
.qr-card{justify-content:space-between;gap:12px}
.qr-card .eyebrow{align-self:center}
.qr-card .qr-wrap,.qr-card .qr{width:184px;height:184px}
.qr-card .qr{box-shadow:0 0 0 6px rgba(243,180,39,.12),0 12px 30px rgba(0,0,0,.5)}
.qr-card .qr-card-steps{display:flex;flex-direction:column;gap:6px;font-size:.82rem;color:var(--text-dim);text-align:left;width:100%}
.qr-card-steps li{display:flex;gap:8px;align-items:flex-start}.qr-card-steps b{flex:none;width:20px;height:20px;border-radius:50%;background:rgba(243,180,39,.15);color:var(--gold);font-size:.7rem;display:flex;align-items:center;justify-content:center}
.link-code{font-size:clamp(1.3rem,2.4vw,1.75rem);letter-spacing:.14em;white-space:nowrap;padding:6px 16px;border-radius:12px;background:rgba(243,180,39,.08);border:1px dashed rgba(243,180,39,.35)}
.qr-foot{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%}
.auth-card .form input:not([type=checkbox]):not([type=radio]){background:#0e0f12;height:48px}
.auth-tabs{align-self:stretch;display:grid;grid-auto-flow:column;grid-auto-columns:1fr}.auth-tabs .tab{justify-content:center}
.auth-card .btn-block{height:50px;font-size:1rem}
.auth-switch{text-align:center;color:var(--text-dim);font-size:.9rem;margin:0}.auth-switch a{color:var(--gold);font-weight:600}
@media (max-width:1023px){.auth-main{min-height:auto;padding-top:calc(var(--top-h) + 4px)}.auth-wall{display:none}}

/* 7 — info popup */
.info-modal{position:fixed;inset:0;z-index:250;display:flex;justify-content:center;align-items:flex-start;overflow-y:auto;padding:5vh 16px 6vh;background:rgba(0,0,0,.74);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);opacity:0;transition:opacity 220ms var(--ease);overscroll-behavior:contain}
.info-modal.is-open{opacity:1}
.info-sheet{position:relative;width:min(980px,100%);border-radius:20px;overflow:hidden;background:linear-gradient(180deg,color-mix(in srgb,var(--info-tint,#151619) 55%,var(--surface)) 0,var(--surface) 520px);border:1px solid rgba(255,255,255,.07);box-shadow:0 40px 120px rgba(0,0,0,.75);transform:translateY(26px) scale(.985);transition:transform 320ms var(--ease)}
.info-modal.is-open .info-sheet{transform:none}
.info-x{position:absolute;right:14px;top:14px;z-index:6;width:42px;height:42px;border-radius:50%;background:rgba(8,9,11,.75);display:flex;align-items:center;justify-content:center;color:#fff;transition:background var(--t-fast)}.info-x:hover{background:var(--gold);color:var(--on-gold)}
.info-hero{position:relative;aspect-ratio:16/9;max-height:62vh;width:100%;background:var(--surface-hi)}
.info-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top center}
.info-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(21,22,25,.55) 65%,var(--surface) 100%),linear-gradient(90deg,rgba(8,9,11,.55),transparent 55%)}
.info-head{position:absolute;left:32px;right:32px;bottom:22px;z-index:2}
.info-logo{max-width:min(380px,55%);max-height:130px;margin-bottom:14px;filter:drop-shadow(0 6px 20px rgba(0,0,0,.65))}
.info-title{font-size:clamp(1.5rem,3.4vw,2.6rem);margin-bottom:12px;text-shadow:0 4px 20px rgba(0,0,0,.6)}
.info-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.info-body{padding:6px 32px 30px}
.info-cols{display:grid;grid-template-columns:1fr;gap:18px}@media (min-width:768px){.info-cols{grid-template-columns:1.8fr 1fr}}
.info-desc{color:var(--cream);font-size:.95rem;line-height:1.65}
.info-side p{font-size:.85rem;color:var(--text);margin:0 0 10px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}.info-side span{color:var(--text-faint);margin-right:2px}
.info .episodes{padding:14px 0 6px}
.info-more{padding-top:18px}.info-more h3{font-size:1.1rem;margin-bottom:10px}
.info-more .grid{--card-w:120px}@media (min-width:768px){.info-more .grid{--card-w:140px}}
.info-full{text-align:center;margin:20px 0 0}
.info-skel i{display:block;aspect-ratio:16/9;max-height:62vh;background:linear-gradient(90deg,var(--surface-hi),var(--line),var(--surface-hi));background-size:200% 100%;animation:shimmer 1.4s infinite}
.info-skel b{display:block;height:14px;margin:18px 32px 0;border-radius:7px;background:var(--surface-hi);width:60%}.info-skel b+b{width:80%}.info-skel b+b+b{width:40%;margin-bottom:30px}
.info-error{padding:60px 24px;text-align:center;color:var(--text-dim)}
@media (max-width:767px){.info-modal{padding:0;align-items:stretch}.info-sheet{border-radius:0;min-height:100%}.info-head{left:16px;right:16px}.info-body{padding:4px 16px 24px}.info-hero{max-height:none}}
.hc-media[data-info-url]{cursor:pointer}
.poster-wall-static{transform:none;inset:0}
body.page-auth .topbar{background:transparent!important;border-bottom:0!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body.page-auth .main{padding-top:0!important}
.auth-main{padding-top:calc(var(--top-h) - 8px);gap:14px}
.auth-logo img{height:46px}
.auth-heading h1{font-size:clamp(1.45rem,2vw,1.85rem)}
.auth-card{padding:22px 24px;gap:12px}
.qr-card .qr-wrap,.qr-card .qr{width:156px;height:156px}.qr-card .qr{padding:10px}
.qr-card-steps{font-size:.78rem!important;gap:4px!important}
.auth-card .form{gap:12px}
.auth-card .form input:not([type=checkbox]):not([type=radio]){height:46px}
.auth-card .btn-block{height:48px}
@media (min-width:768px){body:not(.chrome-full) .topbar{left:0}body:not(.chrome-full) .topbar .brand{display:block}}
body.page-profiles .topbar{background:transparent!important;border-bottom:0!important;backdrop-filter:none!important}
body.page-auth .topbar .btn-ghost{display:none}
body.page-auth .topbar-minimal .brand{display:none!important}
@media (max-width:1199px){.auth-grid .qr-card{order:2}}
@media (max-width:767px){.auth-main{padding-top:calc(var(--top-h) + 6px)}.auth-logo img{height:40px}}

/* v2.2 — full-screen animated poster background (sign in, register, Who's watching?) */
.auth{display:block!important;position:relative;min-height:100vh}
.auth-wall{display:block!important;position:fixed!important;inset:0!important;height:auto!important;z-index:0;order:0;pointer-events:none}
.auth-main{position:relative;z-index:1;min-height:100vh}
.auth-wall-copy{display:none}
.poster-wall{inset:-40% -22%;gap:16px}
.poster-col img{opacity:1}
.auth-wall-shade{background:radial-gradient(ellipse 60% 70% at 50% 50%,rgba(8,9,11,.86) 0%,rgba(8,9,11,.74) 55%,rgba(8,9,11,.5) 100%),linear-gradient(180deg,rgba(8,9,11,.7) 0%,transparent 22%,transparent 72%,rgba(8,9,11,.85) 100%)}
body.page-auth .ambient,body.page-profiles .ambient{display:none}
body.page-profiles .auth-wall-shade{background:rgba(8,9,11,.78)}
.profiles{position:relative;z-index:1}
.auth-card{background:linear-gradient(180deg,rgba(26,27,31,.97),rgba(20,21,24,.97))}
@media (max-width:1023px){.auth-wall{display:block!important}.poster-wall{inset:-30% -60%}}
body.page-profiles .auth-wall-shade{background:radial-gradient(ellipse 55% 60% at 50% 50%,rgba(8,9,11,.93) 0%,rgba(8,9,11,.84) 60%,rgba(8,9,11,.7) 100%)!important}
.profile-add .profile-avatar{background:rgba(8,9,11,.75)}
.profile-avatar{background:#202125}

/* v2.2 — logo always visible in the rail (no play-icon mark) */
.side-logo{justify-content:center;padding:0 8px!important;height:56px!important}
.side-logo .word{display:block!important;width:54px;height:auto;max-width:none;transition:width var(--t-med) var(--ease)}
.side-nav:hover .side-logo,.side-nav:focus-within .side-logo,.side-nav.is-open .side-logo{justify-content:flex-start;padding:0 20px!important}
.side-nav:hover .side-logo .word,.side-nav:focus-within .side-logo .word,.side-nav.is-open .side-logo .word{width:108px}
.getapp-logo{width:180px;height:auto}

/* v2.2 — smaller posters on the animated background */
.poster-wall{inset:-45% -30%;gap:12px;justify-content:center}
.poster-col{flex:0 0 var(--wall-col,124px)}
.poster-col-inner{gap:12px}
.poster-col img{border-radius:10px}
@media (min-width:1920px){.poster-wall{--wall-col:150px}}
@media (max-width:767px){.poster-wall{--wall-col:86px;gap:8px}.poster-col-inner{gap:8px}}

/* v2.2 — Top 10: gold outline numerals, never clipped */
.rail-ranked .rail-track{padding-top:16px;padding-bottom:20px}
.rail-ranked .card{grid-template-columns:40% 1fr}
.rail-ranked .rank{background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;color:#0b0c0f!important;
  -webkit-text-stroke:3px var(--gold);text-stroke:3px var(--gold);filter:drop-shadow(0 6px 16px rgba(0,0,0,.7));
  font-size:calc(var(--cw) * .98);line-height:1;letter-spacing:-.04em;margin-right:-14%;margin-bottom:-.04em;padding:0 .02em}
.rail-ranked .rank.rank-2{font-size:calc(var(--cw) * .74);letter-spacing:-.1em;margin-right:-8%}
.rail-ranked .card:hover .rank,.rail-ranked .card:focus-visible .rank{-webkit-text-stroke-color:var(--gold-light)}
@media (max-width:767px){.rail-ranked .rank{-webkit-text-stroke-width:2px}}

/* v2.2 — Netflix-style hero card: inset, rounded, page tinted from the artwork */
body.has-hero .ambient{background:linear-gradient(180deg,var(--ambient) 0%,color-mix(in srgb,var(--ambient) 75%,var(--bg)) 30%,color-mix(in srgb,var(--ambient) 35%,var(--bg)) 55%,var(--bg) 80%)}
.hero{margin:calc(var(--top-h) + 6px) var(--gutter) 0;border-radius:22px;height:auto;min-height:0;max-height:none;aspect-ratio:16/7.3;max-height:calc(100vh - var(--top-h) - 64px);box-shadow:0 30px 80px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.06);isolation:isolate}
@media (min-width:1920px){.hero{max-height:calc(100vh - var(--top-h) - 80px)}}
@media (max-width:1023px){.hero{margin-top:calc(var(--top-h) + 52px)}}
@media (max-width:767px){.hero{aspect-ratio:3/4;max-height:72vh;border-radius:18px;margin:calc(var(--top-h) + 50px) 16px 0}}
.hero-bg img{object-position:center top}
.hero-shade{background:linear-gradient(90deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.42) 32%,rgba(0,0,0,0) 62%),linear-gradient(0deg,rgba(0,0,0,.6) 0%,rgba(0,0,0,0) 42%)!important}
@media (max-width:767px){.hero-shade{background:linear-gradient(0deg,rgba(0,0,0,.88) 0%,rgba(0,0,0,.35) 45%,rgba(0,0,0,0) 70%)!important}}
.hero-slide.is-playing .hero-bg{opacity:0;transition:opacity 800ms var(--ease)}
.hero-content{left:clamp(24px,3vw,56px);right:auto;bottom:clamp(28px,5vw,64px);max-width:min(640px,55%)}
@media (max-width:767px){.hero-content{left:18px;right:18px;bottom:22px;max-width:none}}
.hero-logo{max-width:min(560px,100%);max-height:clamp(110px,16vw,230px);margin-bottom:20px}
.hero-title{font-size:clamp(2.2rem,5vw,4.6rem);line-height:1.02;letter-spacing:-.02em;margin-bottom:16px;text-transform:none}
.hero-meta{color:#fff;font-weight:600;font-size:clamp(.9rem,1.05vw,1.1rem);margin-bottom:12px}.hero-meta .dot{background:rgba(255,255,255,.7)}
.hero-desc{font-size:clamp(.9rem,1vw,1.05rem);-webkit-line-clamp:2;margin-bottom:18px}
.hero-actions .btn{height:52px;padding:0 28px;font-size:1.08rem;border-radius:999px}
.hero-actions .btn .ic{width:24px;height:24px}
.hero-actions .btn-ghost{background:rgba(70,70,74,.72);border-color:transparent;color:#fff;backdrop-filter:blur(6px)}
.hero-actions .btn-ghost:hover{background:rgba(100,100,104,.8)}
@media (max-width:767px){.hero-actions .btn{height:46px;padding:0 20px;font-size:.98rem}}
.hero-badges{position:absolute;right:clamp(20px,2.5vw,40px);bottom:clamp(28px,5vw,64px);z-index:3;display:flex;gap:10px}
.hero-badge{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 12px;border-radius:8px;background:rgba(8,9,11,.68);backdrop-filter:blur(6px);font-size:.85rem;font-weight:600;color:#fff}
.hero-badge .ic{width:16px;height:16px;color:var(--gold)}
@media (max-width:767px){.hero-badges{display:none}}
.hero-mute{position:absolute;right:24px;top:24px;z-index:4;width:44px;height:44px;border-radius:50%;border:1.5px solid rgba(255,255,255,.7);background:rgba(8,9,11,.35);color:#fff;display:flex;align-items:center;justify-content:center}
.hero-mute .ic{width:20px;height:20px}.hero-mute .i-muted{display:none}.hero-mute.is-muted .i-muted{display:block}.hero-mute.is-muted .i-vol{display:none}
.hero-mute:hover{border-color:var(--gold);color:var(--gold)}
/* slide indicators become small pills inside the card */
.hero-thumbs{left:50%!important;right:auto!important;transform:translateX(-50%);bottom:16px!important;gap:6px!important}
.hero-thumb{width:8px!important;height:8px!important;border-radius:999px!important;background:rgba(255,255,255,.45)!important;border:0!important;opacity:1!important;transition:width var(--t-med) var(--ease),background var(--t-med)}
.hero-thumb img,.hero-thumb .hero-thumb-bar{display:none!important}
.hero-thumb.is-active{width:28px!important;background:var(--gold)!important}
.hero-nav{width:44px;height:44px;background:rgba(8,9,11,.45)}
body.has-hero .rails{margin-top:0;padding-top:26px}
@media (min-width:768px){body.has-hero .side-nav:not(:hover):not(:focus-within):not(.is-open){background:linear-gradient(90deg,rgba(8,9,11,.5),rgba(8,9,11,0))}}
body.has-hero .topbar:not(.is-scrolled){background:linear-gradient(180deg,rgba(8,9,11,.35),rgba(8,9,11,0))!important;backdrop-filter:none!important;border-bottom:0!important}
@media (max-width:767px){.hero-content{bottom:36px!important}.hero-thumbs{bottom:12px!important}}

/* v2.3 — Hotstar-style transparent rail + full-width top bar (no seam, no box, no line) */
@media (min-width:768px){
  body.chrome-full .topbar{left:0!important}
  body.chrome-full .topbar-inner{padding-left:calc(var(--rail-w) + var(--gutter))}
  body.chrome-full .chips-row{left:calc(50% + var(--rail-w) / 2)}
  .topbar,.topbar.is-scrolled,body.has-hero .topbar:not(.is-scrolled){border-bottom:0!important;box-shadow:none}
  .topbar{background:linear-gradient(180deg,rgba(8,9,11,.55),rgba(8,9,11,0))!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transition:background var(--t-med) var(--ease)}
  .topbar.is-scrolled{background:linear-gradient(180deg,rgba(8,9,11,.96) 0%,rgba(8,9,11,.88) 70%,rgba(8,9,11,0) 100%)!important;height:calc(var(--top-h) + 16px)}

  /* rail: no panel, no edge — just a soft fade behind the icons */
  .side-nav,.side-nav:hover,.side-nav:focus-within,.side-nav.is-open,body.has-hero .side-nav:not(:hover):not(:focus-within):not(.is-open){background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;border:0!important}
  .side-nav::before{content:"";position:absolute;top:0;bottom:0;left:0;width:calc(var(--rail-w) + 48px);background:linear-gradient(90deg,rgba(8,9,11,.72) 0%,rgba(8,9,11,.45) 55%,rgba(8,9,11,0) 100%);pointer-events:none;z-index:-1;transition:width 420ms var(--ease),background 420ms var(--ease)}
  .side-nav::after{display:none!important}
  .side-nav:hover::before,.side-nav:focus-within::before,.side-nav.is-open::before{width:calc(var(--rail-open) + 340px);background:linear-gradient(90deg,rgba(8,9,11,.97) 0%,rgba(8,9,11,.92) 35%,rgba(8,9,11,.6) 62%,rgba(8,9,11,0) 100%)}
  .side-item{background:transparent!important;color:rgba(243,236,223,.62);transition:color var(--t-fast),transform var(--t-fast)}
  .side-item:hover,.side-item:focus-visible{color:#fff;transform:translateX(4px)}
  .side-item span{font-size:1.02rem;font-weight:600}
  .side-item.is-active{color:var(--gold)}
  .side-item.is-active span{font-weight:700}
  .side-item.is-active::before{display:none}
  .side-item.is-active .ic{filter:drop-shadow(0 0 8px rgba(243,180,39,.45))}
  .side-logo{position:relative}
}
/* v2.5 — demo-only OTP test code */
.test-code{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 6px;padding:12px 16px;border-radius:12px;background:#ffd84d;color:#1a1300;border:2px dashed #b38600}
.test-code span{font-weight:800;font-size:.8rem;letter-spacing:.08em}.test-code strong{font-size:1.4rem;letter-spacing:.18em;font-variant-numeric:tabular-nums}
.plan-app-note{margin:0;font-size:.85rem;color:var(--text-dim)}
.geo-block .actions{justify-content:center}

/* ---------------------------------------------------------------- v2.5.1 */
/* sign-in panes: both forms occupy the same cell, so switching Password / Mobile OTP never changes the card (or QR card) height */
.auth-panes{display:grid}.auth-pane{grid-area:1/1;min-width:0}.auth-pane[hidden]{display:block!important;visibility:hidden;pointer-events:none}
/* "Who's watching?": plain gradient, no poster wall, boxy (rounded-square) profiles */
body.page-profiles{background:radial-gradient(ellipse 90% 60% at 50% -10%,#3a2810 0%,rgba(58,40,16,0) 60%),radial-gradient(ellipse 70% 50% at 50% 115%,#1c1408 0%,rgba(28,20,8,0) 70%),linear-gradient(180deg,#121316 0%,#08090B 100%);background-attachment:fixed}
body.page-profiles .auth-wall{display:none!important}
body.page-profiles .profile-avatar,body.page-profiles .profile-add .profile-avatar{border-radius:14px}
body.page-profiles .profile-tile .edit-ic{border-radius:14px}
/* tighter spacing between cards; rails always scroll sideways */
:root{--card-gap:6px}
@media (min-width:768px){:root{--card-gap:8px}}
@media (min-width:1440px){:root{--card-gap:10px}}
@media (min-width:1920px){:root{--card-gap:12px}}
@media (min-width:2560px){:root{--card-gap:16px}}
@media (min-width:3400px){:root{--card-gap:20px}}

/* v2.5.5 — bigger 16:9 hero (Netflix size); synopsis appears when the title is hovered */
.hero{aspect-ratio:16/9;max-height:calc(100vh - var(--top-h) - 20px);max-height:calc(100svh - var(--top-h) - 20px);margin-top:calc(var(--top-h) + 4px)}
@media (min-width:768px){.hero{margin-left:clamp(16px,2.4vw,var(--gutter));margin-right:clamp(16px,2.4vw,var(--gutter))}}
@media (max-width:1023px){.hero{margin-top:calc(var(--top-h) + 52px)}}
@media (max-width:767px){.hero{aspect-ratio:3/4;max-height:72vh;margin:calc(var(--top-h) + 50px) 16px 0}}
.hero-bg img{object-position:center center}
.hero-content{bottom:clamp(44px,6vw,84px)}
.hero-head{width:fit-content;max-width:100%;cursor:default}
.hero-desc{-webkit-line-clamp:3;max-width:560px}
@media (hover:hover) and (min-width:768px){
  .hero-desc{max-height:0;opacity:0;margin-bottom:0;transform:translateY(6px);transition:max-height 420ms var(--ease),opacity 320ms var(--ease),transform 420ms var(--ease),margin-bottom 420ms var(--ease)}
  .hero-head:hover .hero-desc,.hero-head:focus-within .hero-desc,.hero-text:has(:focus-visible) .hero-desc{max-height:5.4em;opacity:1;margin-bottom:18px;transform:none}
}

/* v2.5.6 — tighter left gap, menu shade only behind the labels, thumbnails inside the hero card (no arrows) */
@media (min-width:768px){:root{--gutter:20px}}
@media (min-width:1024px){:root{--gutter:24px}}
@media (min-width:1440px){:root{--gutter:28px}}
@media (min-width:1920px){:root{--gutter:36px}}
@media (min-width:2560px){:root{--gutter:56px}}
@media (min-width:3400px){:root{--gutter:72px}}
@media (min-width:768px){
  .side-nav:hover::before,.side-nav:focus-within::before,.side-nav.is-open::before{width:var(--rail-open);background:linear-gradient(90deg,rgba(8,9,11,.78) 0%,rgba(8,9,11,.55) 60%,rgba(8,9,11,0) 100%)}
  .hero{--hero-b:clamp(44px,6vw,84px)}
  .hero-mute{top:auto;right:clamp(20px,2.5vw,40px);bottom:var(--hero-b)}
  .hero-badges{right:calc(clamp(20px,2.5vw,40px) + 56px);bottom:calc(var(--hero-b) + 5px)}
}
@media (min-width:1024px){
  .hero-thumbs{left:auto!important;right:clamp(20px,2.5vw,40px)!important;transform:none;bottom:var(--hero-b)!important;gap:8px!important;max-width:45%;overflow-x:auto;scrollbar-width:none}
  .hero-thumbs::-webkit-scrollbar{display:none}
  .hero-thumb{flex:none;width:84px!important;height:47px!important;border-radius:6px!important;background:var(--surface)!important;border:2px solid transparent!important;opacity:.6!important;transition:opacity var(--t-fast),border-color var(--t-fast)}
  .hero-thumb img{display:block!important;width:100%;height:100%;object-fit:cover}
  .hero-thumb:hover{opacity:.9!important}
  .hero-thumb.is-active{width:84px!important;opacity:1!important;border-color:#fff!important}
  .hero-thumb.is-active .hero-thumb-bar{display:block!important;top:auto;height:3px;background:var(--gold);width:var(--p,0%)}
  .hero-mute,.hero-badges{bottom:calc(var(--hero-b) + 47px + 16px)}
}
@media (min-width:1920px){.hero-thumb,.hero-thumb.is-active{width:112px!important;height:63px!important}.hero-mute,.hero-badges{bottom:calc(var(--hero-b) + 63px + 16px)}}

/* v2.5.7 — rails never scroll vertically (the wheel used to latch onto Top 10 and stall the page);
   the hero card always fills the width — capping the height no longer shrinks it and leaves a gap on the right */
.rail-track{overflow-y:hidden}
@media (min-width:768px){.hero{aspect-ratio:auto;height:calc((100vw - var(--rail-w) - 2 * clamp(16px,2.4vw,var(--gutter))) * 9 / 16)}}

/* v2.5.8 — logo moves from the side rail to the top bar (bigger); scrolled top bar is solid black */
.topbar.is-scrolled{background:var(--bg)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;height:var(--top-h)!important}
@media (min-width:768px){
  .side-logo{display:none!important}
  body.chrome-full .topbar{z-index:61}
  body.chrome-full .topbar-inner{padding-left:clamp(16px,calc(var(--rail-w) * .28),40px)}
  body.chrome-full .topbar .brand{display:block}
  .topbar .brand img{height:44px}
}
@media (min-width:1920px){.topbar .brand img{height:52px}}
@media (min-width:2560px){.topbar .brand img{height:68px}}
@media (min-width:3400px){.topbar .brand img{height:84px}}

/* v2.5.9 — top bar lines up with the hero card (logo starts where the card starts) and has more room above the logo */
@media (min-width:768px){
  :root{--top-h:76px}
  body.chrome-full .topbar-inner{padding-left:calc(var(--rail-w) + clamp(16px,2.4vw,var(--gutter)));padding-right:clamp(16px,2.4vw,var(--gutter))}
}
@media (min-width:1920px){:root{--top-h:84px}}
@media (min-width:2560px){:root{--top-h:112px}}
@media (min-width:3400px){:root{--top-h:136px}}

/* v2.5.12 — live channels: info popup (like titles) + full player; Live links scroll to the home page's Live TV row */
#live{scroll-margin-top:calc(var(--top-h) + 12px)}
.info-bg.info-bg-logo{object-fit:contain;object-position:center;padding:10% 28%;background:radial-gradient(ellipse at center,#2a2b31 0%,var(--surface-hi) 70%)}
.info-ch-logo{display:block;height:56px;width:auto;max-width:40%;object-fit:contain;margin-bottom:10px;filter:drop-shadow(0 4px 14px rgba(0,0,0,.6))}
.info-live .info-body .hero-meta{margin-bottom:10px}
.info-live .info-desc strong{color:var(--gold)}

/* v2.5.13 — hover panel: soft dark fade at the bottom of the picture with the title (or logo) sitting on it; the logo is no longer stretched/cropped by the picture rule */
.hover-card .hc-media{overflow:hidden}
.hover-card .hc-media::after{content:"";position:absolute;left:0;right:0;bottom:0;height:58%;background:linear-gradient(0deg,rgba(21,22,25,.94) 0%,rgba(21,22,25,.6) 40%,rgba(21,22,25,0) 100%);pointer-events:none;z-index:1}
.hover-card .hc-media .hc-logo{position:absolute;left:14px;bottom:10px;z-index:2;width:auto;height:auto;max-width:55%;max-height:42%;object-fit:contain;object-position:left bottom}
.hover-card .hc-media .hc-title{position:absolute;left:14px;right:14px;bottom:10px;z-index:2;margin:0;font-size:1.05rem;font-weight:700;line-height:1.2;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.7);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hover-card .hc-body{padding-top:10px}

/* v2.5.15 — no menu chips in the top bar where the side rail is shown (they duplicated it); the language picker sits on the right next to search */
@media (min-width:768px){
  .chips-row{display:none!important}
  .hero{margin-top:calc(var(--top-h) + 4px)}
}
.topbar-right .lang-pick .chip-lang{height:36px}
@media (max-width:767px){.topbar-right .chip-lang{font-size:0;gap:0;padding:0 10px}.topbar-right .chip-lang .tiny{display:none}}
