*{box-sizing:border-box;margin:0;padding:0}
button{font:inherit;cursor:pointer;color:inherit}
a{color:#00f0ff}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{background:radial-gradient(1200px 600px at 85% -10%,#3b0a6b 0,transparent 60%),radial-gradient(900px 500px at 0% 20%,#062a4d 0,transparent 60%),#07060f;background-repeat:no-repeat;color:#eae6ff;font-family:'Heebo','Rubik',sans-serif;min-height:100vh}
.top{display:flex;align-items:center;gap:32px;padding:22px 48px}
.brand{display:flex;align-items:center;gap:14px}
.logo{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#ff2bd6,#00f0ff);color:#07060f;font-size:22px;box-shadow:0 0 24px #ff2bd6aa}
h1{font-family:'Secular One','Rubik',sans-serif;font-size:32px;letter-spacing:2px;line-height:1;color:#fff;text-shadow:0 0 12px #ff2bd6,0 0 28px #ff2bd688;direction:ltr;text-align:right}
.brand p{font-size:14px;color:#9b8fd6;font-family:'Rubik',sans-serif;margin-top:2px}
.search{flex:1;max-width:560px;display:flex;align-items:center;gap:10px;background:#120f24;border:1px solid #3a2a77;border-radius:999px;padding:12px 20px;box-shadow:0 0 0 1px #00f0ff22,0 0 20px #00f0ff22 inset}
.search:focus-within{border-color:#00f0ff;box-shadow:0 0 0 1px #00f0ff66,0 0 18px #00f0ff44}
.search span{color:#00f0ff;font-size:20px}
.search input{flex:1;min-width:0;background:none;border:0;color:#fff;font:inherit;font-size:16px;outline:none}
.search input::placeholder{color:#8a80c0}
.search input::-webkit-search-cancel-button{display:none}
.qclear{background:none;border:0;color:#8a80c0;font-size:16px}
.user{margin-inline-start:auto;display:flex;align-items:center;gap:10px;color:#cfc6ff}
.av{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#1c1540;border:2px solid #00f0ff;box-shadow:0 0 12px #00f0ff88;color:#00f0ff;font-weight:700}
.sync{font-size:12px;color:#5d5490}.sync.on{color:#00ffa3;text-shadow:0 0 8px #00ffa3}.sync.busy{color:#ffd400}.sync.err{color:#ff2b6e}
.tabs{display:flex;gap:8px;padding:0 48px;border-bottom:1px solid #241a4d}
.tab{padding:14px 20px;color:#9b8fd6;font-weight:500;font-size:16px;border-bottom:3px solid transparent;display:flex;gap:8px;align-items:center;cursor:pointer;user-select:none}
.tab.active{color:#fff;border-color:#ff2bd6;text-shadow:0 0 10px #ff2bd6}
.tab i{font-style:normal;font-size:12px;background:#ff2bd6;color:#07060f;border-radius:999px;padding:1px 8px;font-weight:800;text-shadow:none}
.hero{display:flex;justify-content:space-between;align-items:center;margin:26px 48px 16px;padding:22px 28px;border-radius:20px;background:linear-gradient(90deg,#ff2bd61f,#00f0ff14);border:1px solid #ff2bd644}
.hero h2{font-family:'Secular One','Rubik',sans-serif;font-size:28px;color:#fff;font-weight:400}
.hero p{color:#a99de6;margin-top:4px}
.stats{display:flex;gap:12px}
.stats span{display:flex;flex-direction:column;align-items:center;padding:8px 18px;border-radius:14px;background:#0d0a1d;border:1px solid #2e2363;font-size:13px;color:#9b8fd6}
.stats b{font-size:22px;color:#00f0ff;text-shadow:0 0 10px #00f0ff}
.chips{display:flex;gap:8px;padding:0 48px 18px;overflow-x:auto;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{flex:none;padding:7px 16px;border-radius:999px;border:1px solid #3a2d75;background:#120e28;color:#bdb2f0;font-size:14px}
.chip.on{background:linear-gradient(90deg,#ff2bd6,#a43bff);color:#fff;border-color:#ff2bd6;box-shadow:0 0 14px #ff2bd688;font-weight:700}
.chip.act{border-color:#00f0ff;color:#00f0ff}
.notice{margin:0 48px 16px;padding:12px 16px;border-radius:14px;background:#140f2c;border:1px dashed #4a3c8a;color:#cfc6ff;font-size:14px;line-height:1.5}
#view{padding:0 48px 30px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:22px}
.group{margin-bottom:28px}
.group h3{font-family:'Secular One','Rubik',sans-serif;font-weight:400;font-size:22px;margin:4px 0 14px;display:flex;gap:10px;align-items:center}
.group h3 i{font-style:normal;font-size:13px;border-radius:999px;padding:1px 10px;font-family:'Heebo'}
.g-seen h3{color:#00ffa3;text-shadow:0 0 10px #00ffa388}.g-seen h3 i{background:#00ffa3;color:#04120c}
.g-maybe h3{color:#ffd400;text-shadow:0 0 10px #ffd40088}.g-maybe h3 i{background:#ffd400;color:#191300}
.g-no h3{color:#ff2b6e;text-shadow:0 0 10px #ff2b6e88}.g-no h3 i{background:#ff2b6e;color:#fff}
.card{background:#100c22;border:1px solid #2a1f5a;border-radius:18px;overflow:hidden;transition:.2s;position:relative;display:flex;flex-direction:column}
.poster{aspect-ratio:2/3;position:relative;padding:14px;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;cursor:pointer;background:#1a1338}
.art{position:absolute;inset:0;background-size:cover;background-position:center}
.art::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,#ffffff06 0 2px,transparent 2px 5px),linear-gradient(0deg,#07060fee,#07060f55 38%,transparent 60%)}
.noimg{background:linear-gradient(135deg,#ff2bd6,#7a00ff)}
.noimg.p1{background:linear-gradient(135deg,#00f0ff,#0047ff)}.noimg.p2{background:linear-gradient(135deg,#ffb800,#ff2b6e)}.noimg.p3{background:linear-gradient(135deg,#7cff4f,#00b3a4)}.noimg.p4{background:linear-gradient(135deg,#ff6b00,#b4008c)}.noimg.p5{background:linear-gradient(135deg,#00ffa3,#7a00ff)}
.poster h4{position:relative;font-family:'Secular One','Rubik',sans-serif;font-weight:400;font-size:22px;line-height:1.15;color:#fff;text-shadow:0 0 14px #fff6,0 2px 0 #000a}
.when{position:relative;font-size:13px;color:#e6e0ff;margin-top:3px}
.chan{position:absolute;top:10px;inset-inline-start:10px;z-index:2;background:#07060fcc;border:1px solid #00f0ff;color:#00f0ff;border-radius:8px;padding:1px 9px;font-weight:700;font-size:12px;box-shadow:0 0 10px #00f0ff66}
.ribbon{position:absolute;top:10px;inset-inline-end:10px;z-index:2;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:800;display:none}
.body{padding:12px;display:flex;flex-direction:column;gap:8px;flex:1}
.meta{display:flex;justify-content:space-between;align-items:center;gap:6px;flex-wrap:wrap}
.genre{background:#2a1659;color:#e3b8ff;border-radius:999px;padding:2px 10px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.rate{display:flex;align-items:center;gap:4px;font-size:13px}.rate b{color:#ffd400;text-shadow:0 0 8px #ffd40088}.rate small{font-size:10px;color:#8478c0}
.ov{font-size:13px;color:#b7addf;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.btns{display:flex;gap:6px;margin-top:auto}
.sb{flex:1;padding:7px 4px;border-radius:10px;border:1px solid #3a2d75;background:#171233;color:#bdb2f0;font-size:13px;white-space:nowrap}
.sb-seen.on{background:#00ffa3;color:#04120c;border-color:#00ffa3;box-shadow:0 0 14px #00ffa3aa;font-weight:700}
.sb-maybe.on{background:#ffd400;color:#191300;border-color:#ffd400;box-shadow:0 0 14px #ffd400aa;font-weight:700}
.sb-no.on{background:#ff2b6e;color:#fff;border-color:#ff2b6e;box-shadow:0 0 14px #ff2b6eaa;font-weight:700}
.myrate{display:flex;align-items:center;gap:6px;font-size:13px;color:#7d72b8;background:none;border:1px dashed #4a3c8a;border-radius:10px;padding:5px 8px;justify-content:center}
.myrate b{color:#ff2bd6;text-shadow:0 0 8px #ff2bd6;font-size:15px}
.st-seen{border-color:#00ffa3;box-shadow:0 0 8px #00ffa344}.st-seen .ribbon{display:block;background:#00ffa3;color:#04120c}
.st-maybe{border-color:#ffd40088}.st-maybe .ribbon{display:block;background:#ffd400;color:#191300}
.st-no{opacity:.55;filter:saturate(.4)}.st-no .ribbon{display:block;background:#ff2b6e;color:#fff}
.empty{text-align:center;color:#9b8fd6;padding:40px 10px;line-height:1.7}
.empty b{display:block;font-size:40px;margin-bottom:6px}
.loading{text-align:center;padding:40px;color:#00f0ff;text-shadow:0 0 10px #00f0ff}
.more-wrap{text-align:center;padding:0 0 30px}
.more,.btn{padding:10px 26px;border-radius:999px;border:1px solid #00f0ff;background:#0d0a1d;color:#00f0ff;box-shadow:0 0 14px #00f0ff44;font-weight:700}
.btn.pink{border-color:#ff2bd6;color:#fff;background:linear-gradient(90deg,#ff2bd6,#a43bff);box-shadow:0 0 16px #ff2bd688}
.mine-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}
footer{text-align:center;color:#5d5490;font-size:12px;padding:0 0 28px}
footer a{color:#7d72b8}
/* sheet */
.sheet{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center}
.sheet-bg{position:absolute;inset:0;background:#000000d0}
.sheet-card{position:relative;width:min(640px,100%);max-height:92vh;overflow:auto;background:#0f0b22;border:1px solid #ff2bd666;border-radius:22px;box-shadow:0 0 40px #ff2bd633;padding:20px}
.sheet-x{position:absolute;top:12px;inset-inline-end:12px;width:34px;height:34px;border-radius:50%;border:1px solid #3a2d75;background:#171233;z-index:2}
.d-head{display:flex;gap:16px}
.d-head img,.d-head .noimg{width:120px;aspect-ratio:2/3;border-radius:14px;object-fit:cover;flex:none;box-shadow:0 0 20px #00f0ff33}
.d-head h3{font-family:'Secular One','Rubik',sans-serif;font-weight:400;font-size:26px;color:#fff;text-shadow:0 0 12px #ff2bd6;line-height:1.15;padding-inline-end:30px}
.d-orig{color:#8a80c0;font-size:13px;margin-top:2px;direction:ltr;text-align:right}
.d-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
.d-ov{margin:16px 0;color:#cfc6ff;line-height:1.65;font-size:15px}
.d-sec{margin-top:16px}
.d-sec h5{font-size:14px;color:#9b8fd6;font-weight:500;margin-bottom:8px}
.nums{display:grid;grid-template-columns:repeat(10,1fr);gap:5px}
.num{aspect-ratio:1;border-radius:10px;border:1px solid #3a2d75;background:#171233;color:#bdb2f0;font-weight:700;font-size:15px}
.num.on{background:#ff2bd6;color:#fff;border-color:#ff2bd6;box-shadow:0 0 14px #ff2bd6}
.num.lit{border-color:#ff2bd688;color:#ff8cec}
.ext{border:1px dashed #4a3c8a;border-radius:14px;padding:12px;color:#7d72b8;font-size:13px}
.links{display:flex;gap:8px;flex-wrap:wrap}
.links a{font-size:13px;padding:5px 12px;border-radius:999px;border:1px solid #2e2363;background:#0d0a1d;text-decoration:none}
.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:60;background:#00ffa3;color:#04120c;font-weight:700;padding:10px 20px;border-radius:999px;box-shadow:0 0 20px #00ffa3aa;white-space:nowrap}
@media (max-width:600px){
 .top{flex-wrap:wrap;gap:12px;padding:14px 16px}
 .search{order:3;flex-basis:100%;padding:10px 16px}
 .tabs{overflow-x:auto;flex-wrap:nowrap;padding:0 12px;gap:2px;scrollbar-width:none}
 .tabs::-webkit-scrollbar{display:none}
 .tab{white-space:nowrap;flex:none;padding:12px 14px;font-size:15px}
 .hero{flex-direction:column;align-items:flex-start;gap:12px;padding:14px 16px;margin:12px 16px}
 .hero h2{font-size:22px}
 .stats{gap:8px}.stats span{padding:6px 12px}
 .chips{padding:0 16px 14px}
 .notice{margin:0 16px 14px}
 #view{padding:0 16px 24px}
 .grid{grid-template-columns:1fr 1fr;gap:12px}
 .poster{padding:10px}
 .poster h4{font-size:18px}
 .when{font-size:11px}
 .body{padding:9px;gap:7px}
 .ov{font-size:12px;-webkit-line-clamp:2}
 .btns{gap:4px}
 .sb{padding:7px 2px;font-size:12px;border-radius:9px}
 .sheet{align-items:flex-end}
 .sheet-card{border-radius:22px 22px 0 0;max-height:90vh;padding:18px 16px calc(18px + env(safe-area-inset-bottom))}
 .d-head img,.d-head .noimg{width:96px}
 .d-head h3{font-size:22px}
 .nums{grid-template-columns:repeat(5,1fr);gap:7px}
 .num{aspect-ratio:auto;padding:9px 0}
}
.yearsel{appearance:none;-webkit-appearance:none;font:inherit;font-size:14px;font-weight:700;padding:7px 14px 7px 30px;background:#120e28 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300f0ff' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat left 12px center;color:#00f0ff;box-shadow:0 0 12px #00f0ff44;outline:none}
.yearsel option{background:#120e28;color:#eae6ff}
/* keep clear of the Netlify badge (bottom corner, free plan) */
body{padding-bottom:72px}
.toast{bottom:84px}
.sheet-card{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
@media (max-width:600px){.sheet-card{padding-bottom:calc(84px + env(safe-area-inset-bottom))}}
.gate{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:20px;background:radial-gradient(800px 500px at 80% -10%,#3b0a6b 0,transparent 60%),radial-gradient(700px 500px at 0% 100%,#062a4d 0,transparent 60%),#07060f}
.gate-card{width:min(380px,100%);display:flex;flex-direction:column;align-items:center;gap:12px;padding:30px 22px;border-radius:24px;background:#0f0b22cc;border:1px solid #ff2bd666;box-shadow:0 0 40px #ff2bd633,0 0 0 1px #00f0ff22 inset;text-align:center}
.logo.big{width:64px;height:64px;font-size:28px;border-radius:18px}
.gate-card h1{font-size:40px;text-align:center}
.gate-sub{color:#9b8fd6;font-family:'Rubik',sans-serif;margin-top:-8px}
.gate-card h2{font-family:'Secular One','Rubik',sans-serif;font-weight:400;font-size:24px;color:#00f0ff;text-shadow:0 0 12px #00f0ff;margin-top:10px}
.gate-hint{color:#a99de6;font-size:14px;line-height:1.5}
.gate-card input{width:100%;padding:13px 16px;border-radius:14px;border:1px solid #3a2a77;background:#120f24;color:#fff;font:inherit;font-size:16px;outline:none;text-align:center}
.gate-card input:focus{border-color:#00f0ff;box-shadow:0 0 14px #00f0ff55}
.gate-card .btn{width:100%;padding:13px;font-size:17px;margin-top:4px}
.gate-card .btn:disabled{opacity:.6}
.gate-err{color:#ff2b6e;min-height:20px;font-size:14px;text-shadow:0 0 8px #ff2b6e88}
.btn.ghost{border-color:#4a3c8a;color:#9b8fd6;box-shadow:none;background:none;font-weight:500}
/* seasons & episodes */
.g-watching h3{color:#00f0ff;text-shadow:0 0 10px #00f0ff88}.g-watching h3 i{background:#00f0ff;color:#04121a}
.st-watching{border-color:#00f0ff88;box-shadow:0 0 18px #00f0ff33}.st-watching .ribbon{display:block;background:#00f0ff;color:#04121a}
.prog{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#00f0ff;font-weight:700}
.pbar{height:6px;border-radius:99px;background:#1d1640;overflow:hidden}
.pbar i{display:block;height:100%;background:linear-gradient(90deg,#00f0ff,#ff2bd6);box-shadow:0 0 8px #00f0ff;border-radius:99px}
.prog-t{color:#00f0ff}
.seasons{display:flex;flex-direction:column;gap:10px}
.season{border:1px solid #2a1f5a;border-radius:14px;padding:10px 12px;background:#120e28}
.season.full{border-color:#00ffa388}
.s-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.s-name{background:none;border:0;color:#fff;font-weight:700;font-size:15px;display:flex;align-items:center;gap:8px;text-align:right}
.s-name small{color:#8a80c0;font-weight:400;font-size:12px}
.caret{color:#00f0ff;width:12px}
.s-mark{flex:none;padding:5px 10px;border-radius:999px;border:1px solid #3a2d75;background:#171233;color:#bdb2f0;font-size:12px}
.s-mark.on{background:#00ffa3;color:#04120c;border-color:#00ffa3;box-shadow:0 0 10px #00ffa388;font-weight:700}
.season.full .pbar i{background:#00ffa3;box-shadow:0 0 8px #00ffa3}
.pnum{font-size:11px;color:#8a80c0;margin-top:4px}
.eps{margin-top:10px;display:flex;flex-direction:column;gap:2px;border-top:1px solid #241a4d;padding-top:8px}
.ep{display:grid;grid-template-columns:22px 26px 1fr auto;align-items:center;gap:8px;padding:7px 4px;border-radius:9px;font-size:13px;color:#cfc6ff;cursor:pointer}
.ep:active{background:#1c1540}
.ep input{width:18px;height:18px;accent-color:#00ffa3}
.ep-n{color:#00f0ff;font-weight:700;text-align:center}
.ep-t{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ep-d{color:#7d72b8;font-size:11px}
.ep.on .ep-t{color:#fff}
.ep.future{opacity:.5}
.loading.small{padding:10px;font-size:13px}
.suggest{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px;padding:10px;border-radius:12px;background:#00ffa31a;border:1px solid #00ffa366;font-size:14px}
.btn.sm{padding:6px 14px;font-size:13px}
/* wordmark logo */
.wm{display:flex;flex-direction:column;align-items:center}
.wm h1,.gate-card h1{line-height:0;text-shadow:none}
.wordmark{height:46px;width:auto;display:block;filter:drop-shadow(0 0 10px #ff2bd655)}
.wordmark.big{height:72px}
.wm p{margin-top:2px;font-size:13px;letter-spacing:.5px}
@media (max-width:600px){.wordmark{height:40px}}
/* compact 10-star rating */
.stars10{display:flex;align-items:center;direction:rtl;touch-action:none;user-select:none;-webkit-user-select:none;width:max-content;max-width:100%}
.stars10 .st{width:28px;height:40px;padding:0;margin:0;border:0;background:none;font-size:19px;line-height:40px;color:#3b3070;transition:color .1s,text-shadow .1s;-webkit-tap-highlight-color:transparent}
.stars10 .st.on{color:#ffd400;text-shadow:0 0 6px #ffd400aa,0 0 12px #ff2bd666}
.stars10 .st.on:nth-child(n+8){color:#ff5ad8;text-shadow:0 0 6px #ff2bd6,0 0 12px #ff2bd688}
.st-val{margin-inline-start:8px;font-size:13px;font-weight:700;color:#ffd400;min-width:38px;white-space:nowrap}
.mystar{color:#ffd400;text-shadow:0 0 6px #ffd400aa;font-size:14px}.mystar.off{color:#7d72b8;text-shadow:none}
.myrate{gap:3px}
.myrate b{color:#ffd400;text-shadow:0 0 6px #ffd40088;font-size:14px}.myrate small{color:#7d72b8;font-size:11px}
@media (max-width:360px){.stars10 .st{width:25px;font-size:17px}}
/* compact seasons/episodes (v7) */
.seasons{gap:6px}
.season{padding:0;border-radius:12px;background:#120e28;border:1px solid #241a4d;overflow:hidden}
.season.full{border-color:#00ffa355}
.season.open{border-color:#00f0ff55}
.s-row{display:flex;align-items:center;gap:0;margin:0;min-height:46px}
.chk{flex:none;width:44px;height:46px;display:grid;place-items:center;border:0;background:none;padding:0;font-size:0;position:relative;-webkit-tap-highlight-color:transparent}
.chk::before{content:"";width:20px;height:20px;border-radius:50%;border:1.5px solid #3a2d75;box-sizing:border-box}
.chk.on::before{display:none}
.chk.on{font-size:13px;font-weight:800;color:#04120c}
.chk.on{background:none}
.chk.on::after{content:"✓";position:absolute;width:22px;height:22px;border-radius:50%;background:#00ffa3;color:#04120c;display:grid;place-items:center;font-size:13px;box-shadow:0 0 8px #00ffa3aa;top:50%;left:50%;transform:translate(-50%,-50%)}
.chk.on{color:transparent}
.s-main{flex:1;min-width:0;display:flex;align-items:center;gap:8px;height:46px;padding:0 4px 0 12px;background:none;border:0;text-align:right;-webkit-tap-highlight-color:transparent}
.s-name{font-weight:700;font-size:14px;color:#fff;white-space:nowrap}
.s-year{color:#7d72b8;font-size:11px}
.pbar.thin{flex:1;height:3px;min-width:30px;background:#1d1640}
.s-cnt{color:#9b8fd6;font-size:11px;min-width:34px;text-align:left;direction:ltr}
.season.full .s-cnt{color:#00ffa3}
.caret{color:#00f0ff;width:14px;font-size:12px;flex:none}
.eps{margin:0;padding:2px 0 4px;gap:0;border-top:1px solid #241a4d}
.ep{width:100%;display:grid;grid-template-columns:44px 22px 1fr auto;align-items:center;gap:6px;min-height:38px;padding:0 0 0 12px;border:0;border-radius:0;background:none;font:inherit;font-size:13px;color:#cfc6ff;text-align:right;-webkit-tap-highlight-color:transparent}
.ep:active{background:#1c1540}
.ep .chk{width:44px;height:38px}
.ep .chk::before{width:17px;height:17px}
.ep .chk.on::after{width:18px;height:18px;font-size:11px}
.ep-n{color:#00f0ff;font-weight:700;font-size:12px;text-align:center}
.ep-d{color:#6d63a6;font-size:10.5px}
@media (max-width:600px){
 .sheet-card{padding-top:14px;padding-inline:14px}
 .d-head{gap:12px}
 .d-ov{margin:10px 0;font-size:14px;line-height:1.55}
 .d-sec{margin-top:12px}
 .d-sec h5{margin-bottom:6px;font-size:13px}
}
/* season tiles (v10): portrait, number on top, arrow strip below */
.tiles{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}
.tile{position:relative;height:78px;display:flex;flex-direction:column;border-radius:12px;background:#151033;border:1px solid #2e2363;overflow:hidden}
.t-main{flex:1;position:relative;display:grid;place-items:center;border:0;background:none;color:#cfc6ff;font:inherit;padding:0;-webkit-tap-highlight-color:transparent}
.t-n{font-size:22px;font-weight:800;line-height:1}
.t-ck{position:absolute;top:4px;inset-inline-start:5px;font-size:12px;font-weight:900;line-height:1}
.t-open{flex:none;height:26px;width:100%;border:0;border-top:1px solid #2e2363;background:#0d0a20;color:#00f0ff;font-size:14px;padding:0;-webkit-tap-highlight-color:transparent}
.tile.on{background:#00ffa3;border-color:#00ffa3}
.tile.on .t-main{color:#04120c}
.tile.on .t-open{background:#00d98a;border-top-color:#04120c33;color:#04120c}
.tile.part{border-color:#00f0ff66}
.tile.open{border-color:#00f0ff;box-shadow:0 0 0 1px #00f0ff}
.tile.open .t-open{background:#00f0ff2a}
.t-bar{position:absolute;bottom:26px;inset-inline-start:0;height:3px;background:linear-gradient(90deg,#00f0ff,#ff2bd6);pointer-events:none}
.ep-panel{margin-top:10px;padding:10px;border-radius:12px;background:#100c24;border:1px solid #00f0ff44}
.ep-head{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:14px}
.ep-head small{color:#7d72b8;font-size:11px}
.ep-head .s-cnt{margin-inline-start:auto}
.eps-t{grid-template-columns:repeat(auto-fill,minmax(36px,1fr));gap:6px}
.etile{aspect-ratio:1;border-radius:9px;border:1px solid #2e2363;background:#151033;color:#bdb2f0;font:inherit;font-size:13px;font-weight:700;padding:0;-webkit-tap-highlight-color:transparent}
.etile.on{background:#00ffa3;border-color:#00ffa3;color:#04120c;box-shadow:0 0 8px #00ffa366}
.etile.future{opacity:.45}
.t-hint{margin-top:6px;font-size:11px;color:#5d5490}
/* memory-friendly posters + sort (v9) */
.art .pimg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.art .pimg[data-off]{visibility:hidden}
.card{content-visibility:auto;contain-intrinsic-size:auto 200px auto 470px;transition:none}
.sortsel{color:#eae6ff;border-color:#3a2d75;font-weight:500}
@media (max-width:700px){.chips{gap:6px}.chip{padding:6px 12px;font-size:13px}.yearsel{font-size:13px;padding:6px 12px 6px 26px}}
/* where to watch */
.wtw{display:flex;flex-wrap:wrap;gap:8px}
.wtw-p{display:flex;align-items:center;gap:7px;padding:4px 12px 4px 4px;border-radius:999px;background:#151033;border:1px solid #3a2d75;color:#eae6ff;text-decoration:none;font-size:13px;font-weight:700}
.wtw-p:active{border-color:#00f0ff}
.wtw-p img{width:28px;height:28px;border-radius:8px;display:block}
.wtw-src{margin-top:6px;font-size:10px;color:#5d5490}
.wchip{display:inline-block;margin-inline-start:6px;padding:1px 9px;border-radius:999px;font-size:11px;font-weight:700;vertical-align:1px}
.wchip.ok{background:#00ffa322;color:#00ffa3;border:1px solid #00ffa366}
.wchip.warn{background:#ffa52b22;color:#ffb04a;border:1px solid #ffa52b66}
.wchip.none{background:#ffffff10;color:#8b84ad;border:1px solid #ffffff22}
/* genre chips */
.gchips{margin-top:-8px}
.gchip{padding:5px 12px;font-size:13px}
.gchip.on{background:#00f0ff22;color:#00f0ff;border-color:#00f0ff;box-shadow:none}
@media (max-width:700px){.gchips{margin-top:-6px}.gchip{padding:4px 11px;font-size:12px}}
.schip{padding:4px 11px;font-size:12px;border-style:dashed}
.schip.on{background:#ff2bd622;color:#ff7be6;border:1px solid #ff2bd6;box-shadow:none}
.age{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:800;border:1px solid #ffb04a;color:#ffb04a;background:#ffa52b18}
.age.afam{border-color:#00ffa3;color:#00ffa3;background:#00ffa318}
.age.a18{border-color:#ff2b6e;color:#ff6b95;background:#ff2b6e18}
/* v13 */
.few{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:0 0 14px;color:#a99de6;font-size:13px}
.d-ov.en{text-align:left;color:#cfc6ff}
.tr-row{display:flex;align-items:center;gap:8px;margin:-4px 0 10px}
.tr-row small{color:#6f66a3;font-size:11px}
.btn.sm{padding:5px 12px;font-size:12px}
.like{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px;min-height:40px}
.like::-webkit-scrollbar{display:none}
.like-i{flex:none;width:86px;border:0;background:none;padding:0;color:#cfc6ff;font:inherit;text-align:start}
.like-i img{width:86px;height:129px;object-fit:cover;border-radius:10px;border:1px solid #2e2363;display:block;background:#151033}
.like-i span{display:block;margin-top:4px;font-size:11px;line-height:1.25;max-height:2.5em;overflow:hidden}
.tab .ico{flex:none;margin-inline-end:-2px}
.ilchip{border-style:dashed}.ilchip.on{border-style:solid}
/* v14 genre picker */
.gchips{align-items:center}
.gbtn{font-weight:700}
.gsum{color:#cfc6ff;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:55vw}
.gx{padding:4px 10px}
.gpick{position:fixed;inset:0;z-index:60}
.gpick[hidden]{display:none}
.gp-bg{position:absolute;inset:0;background:#05031099}
.gp-card{position:absolute;inset-inline:0;bottom:0;max-height:78vh;overflow:auto;background:#120d2b;border-top:1px solid #ff2bd6;border-radius:22px 22px 0 0;box-shadow:0 -8px 30px #ff2bd633;padding:18px 16px calc(16px + env(safe-area-inset-bottom))}
@media(min-width:700px){.gp-card{inset-inline:auto;left:50%;transform:translateX(-50%);width:560px;bottom:auto;top:12vh;border-radius:22px;border:1px solid #ff2bd6}}
.gp-head{display:flex;flex-direction:column;gap:4px;margin-bottom:12px}
.gp-head b{font-size:18px;color:#fff}
.gp-head small{color:#9b8fd6;font-size:12px}
.gp-chips{display:flex;flex-wrap:wrap;gap:8px}
.gp-chips .gchip.on{background:linear-gradient(90deg,#ff2bd6,#a43bff);color:#fff;border-color:#ff2bd6}
.gp-btns{display:flex;gap:10px;margin-top:16px;position:sticky;bottom:0}
.gp-btns .btn{flex:1}
.btn.ghost{border-color:#3a2d7a;color:#cfc6ff;box-shadow:none}
/* v16 compact cards: 3 per row on phones */
.sb-ic{font-style:normal;display:none}
@media (max-width:600px){
 .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .card{border-radius:12px;contain-intrinsic-size:auto 110px auto 225px}
 .poster{padding:6px 7px}
 .poster h4{font-size:12.5px;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-shadow:0 1px 3px #000}
 .when{font-size:10px;margin-top:1px}
 .chan{top:5px;inset-inline-start:5px;font-size:9px;padding:0 5px;border-radius:6px;box-shadow:none}
 .ribbon{top:5px;inset-inline-end:5px;font-size:9px;padding:1px 6px}
 .body{padding:5px;gap:5px}
 .meta{flex-wrap:nowrap;gap:4px}
 .meta .genre{display:none}
 .rate{font-size:11px;gap:2px}.rate small{font-size:8px}
 .ov{display:none}
 .prog{font-size:10px}.prog span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
 .myrate{font-size:11px;padding:3px 4px;gap:3px}.myrate b{font-size:12px}
 .btns{gap:3px}
 .sb{padding:0;height:30px;min-width:0;font-size:15px;border-radius:8px;display:flex;align-items:center;justify-content:center}
 .sb-ic{display:inline;font-weight:800}
 .sb-tx{display:none}
 .group h3{font-size:18px;margin:2px 0 10px}
}
/* v16 full-screen detail */
.sheet{align-items:stretch!important;justify-content:stretch}
.sheet-bg{display:none}
.sheet-card{width:100%!important;max-width:none;height:100%;max-height:none!important;border-radius:0!important;border:0;box-shadow:none;padding-top:0!important;overscroll-behavior:contain}
#sheet-body{max-width:720px;margin:0 auto}
.sheet-top{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;margin:0 -16px 10px;padding:calc(10px + env(safe-area-inset-top)) 16px 10px;background:#0f0b22ee;border-bottom:1px solid #2a1f5a}
.sheet-back{background:none;border:1px solid #3a2d75;color:#eae6ff;border-radius:999px;padding:7px 16px;font:inherit;font-weight:700;font-size:15px}
.sheet-x{position:static!important}
.d-ov.clamp{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:4px}
.d-ov.clamp.open{display:block;-webkit-line-clamp:unset}
.ov-more{background:none;border:0;color:#00f0ff;font:inherit;font-weight:700;font-size:14px;padding:2px 0 10px}
.ov-more[hidden]{display:none}
.sheet-card{padding-inline:16px!important}
/* v17 nav: icon + short label, 5 tabs fit 390px */
.tabs{justify-content:center}
.tab{position:relative;flex-direction:column;gap:2px;padding:9px 10px 7px;font-size:13px;line-height:1.1}
.tab .ico{margin:0}
.tab .cnt{position:absolute;top:4px;inset-inline-end:calc(50% - 22px);min-width:17px;height:17px;padding:0 4px;border-radius:99px;background:#ff2bd6;color:#fff;font-style:normal;font-size:10px;font-weight:800;line-height:17px;text-align:center;box-shadow:0 0 8px #ff2bd6aa}
.tab .cnt[hidden]{display:none}
@media (max-width:600px){
 .tabs{padding:0 4px;gap:0;justify-content:space-between}
 .tab{flex:1 1 0;min-width:58px;padding:8px 2px 6px;font-size:11px;border-bottom-width:2px}
}
.btn.trailer{display:inline-flex;margin-top:10px;padding:6px 16px;font-size:14px;border-color:#ff2bd6;color:#fff;box-shadow:0 0 10px #ff2bd666;text-decoration:none}
.wtw-more{margin-top:8px}
.wtw-more .wtw-p span{font-weight:700}
.wtw-more .wtw-p{padding:7px 14px}
/* v19 logos */
.wtw-more .wtw-p{padding:4px 12px 4px 4px}
.wtw-p img{width:32px;height:32px;border-radius:8px;object-fit:contain;background:#fff;flex:none}
.btn.trailer{align-items:center;gap:7px;padding:5px 14px 5px 6px}
.btn.trailer img{border-radius:6px;background:#fff}
.nets{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:2px 0 10px;font-size:13px;color:#cfc6ff}
.nets small{color:#9b8fd6;font-size:12px}
.net{display:inline-flex;align-items:center;gap:6px;padding:3px 10px 3px 3px;border-radius:999px;background:#151033;border:1px solid #2e2363}
.net img{width:28px;height:28px;border-radius:7px;object-fit:contain;background:#fff}
.net img.tl{width:auto;max-width:64px;height:22px;padding:3px 5px;border-radius:6px}
.d-head .btn.trailer img{width:22px!important;height:22px!important;flex:none;object-fit:contain}
/* v20 Netflix-style poster cards */
.grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))!important;gap:16px 12px!important}
.card{position:relative;display:block;aspect-ratio:2/3;border:0!important;border-radius:10px;overflow:hidden;background:#17122f;box-shadow:0 4px 14px #0007;contain-intrinsic-size:auto 140px auto 210px;content-visibility:auto;transition:transform .18s ease,box-shadow .18s ease}
.card:hover{transform:translateY(-3px);box-shadow:0 10px 24px #000a,0 0 0 1px #ffffff22}
.card .poster{position:absolute;inset:0;padding:0!important;display:block;aspect-ratio:auto;background:none;cursor:pointer}
.card .pimg{width:100%;height:100%;object-fit:cover;display:block}
.card .noimg{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:12px;text-align:center}
.card .noimg span{font-family:'Secular One','Rubik',sans-serif;font-size:15px;line-height:1.25;color:#fff;text-shadow:0 1px 4px #000a}
.card::after{content:"";position:absolute;inset:auto 0 0 0;height:46%;background:linear-gradient(0deg,#05030ee6 0%,#05030e99 40%,transparent 100%);pointer-events:none}
.card::before{content:"";position:absolute;inset:0 0 auto 0;height:30%;background:linear-gradient(180deg,#05030ebb,transparent);pointer-events:none;z-index:1}
.cstar{position:absolute;top:7px;inset-inline-start:7px;z-index:2;display:inline-flex;align-items:center;gap:2px;height:20px;padding:0 7px;border-radius:999px;background:#0b0820cc;color:#ffd400;font-size:11px;font-weight:800;line-height:1;letter-spacing:.2px}
.cstar.mine{color:#fff;background:linear-gradient(90deg,#ff2bd6,#a43bff);box-shadow:0 0 8px #ff2bd677}
.ctag{position:absolute;top:7px;inset-inline-end:7px;z-index:2;height:20px;padding:0 7px;border-radius:999px;background:#00f0ff;color:#04121a;font-size:11px;font-weight:800;line-height:20px;direction:rtl}
.cbar{position:absolute;inset:auto 0 0 0;height:3px;background:#ffffff26;z-index:3}
.cbar b{display:block;height:100%;background:#ff2bd6;box-shadow:0 0 6px #ff2bd6}
.cbtns{position:absolute;inset:auto 0 9px 0;z-index:2;display:flex;justify-content:center;gap:8px}
.cb{width:28px;height:28px;padding:0;border-radius:50%;border:1.5px solid #ffffffb3;background:#0b0820a6;color:#fff;font-size:14px;font-weight:800;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s,border-color .15s,transform .1s}
.cb:active{transform:scale(.92)}
.cb-seen.on{background:#00d98b;border-color:#00d98b;color:#04120c}
.cb-maybe.on{background:#00d6e6;border-color:#00d6e6;color:#04121a}
.cb-no.on{background:#ff2b6e;border-color:#ff2b6e;color:#fff}
.card.st-no .pimg{filter:grayscale(.7) brightness(.7)}
.card.st-no{opacity:1}
.toast.undo{display:flex;align-items:center;gap:12px;background:#1d1640;color:#fff;box-shadow:0 6px 20px #000a;border:1px solid #3a2d75}
.toast.undo button{background:none;border:0;color:#00f0ff;font:inherit;font-weight:800;padding:0}
@media (max-width:600px){
 .grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px 10px!important}
 .card{border-radius:9px;contain-intrinsic-size:auto 115px auto 172px}
 .cstar,.ctag{top:6px;height:19px;font-size:10.5px;padding:0 6px}
 .cstar{inset-inline-start:6px}.ctag{inset-inline-end:6px;line-height:19px}
 .cbtns{bottom:8px;gap:7px}
 .cb{width:27px;height:27px;font-size:13px}
}
@media (hover:hover){.cbtns{opacity:.92}.card:hover .cbtns{opacity:1}}
.card.st-seen,.card.st-maybe{box-shadow:0 4px 14px #0007}.card.st-no{filter:none}
.cstar{direction:ltr}
/* v21 poster + 2-line info, rounded-square buttons */
.card{aspect-ratio:auto;overflow:visible;background:none!important;box-shadow:none!important;border-radius:0;contain-intrinsic-size:auto 140px auto 250px}
.card:hover{transform:none;box-shadow:none}
.card::before,.card::after{display:none}
.pw{position:relative;aspect-ratio:2/3;border-radius:10px;overflow:hidden;background:#17122f;box-shadow:0 4px 14px #0007;transition:transform .18s ease,box-shadow .18s ease}
.card:hover .pw{transform:translateY(-3px);box-shadow:0 10px 24px #000a,0 0 0 1px #ffffff22}
.pw::after{content:"";position:absolute;inset:auto 0 0 0;height:34%;background:linear-gradient(0deg,#05030ed9 0%,#05030e80 45%,transparent 100%);pointer-events:none;z-index:1}
.pw::before{content:"";position:absolute;inset:0 0 auto 0;height:24%;background:linear-gradient(180deg,#05030e99,transparent);pointer-events:none;z-index:1}
.cbtns{inset:auto 8px 8px 8px;justify-content:space-evenly;gap:0}
.cb{width:28px;height:28px;border-radius:7px}
.cinfo{padding:7px 2px 0;cursor:pointer;min-width:0}
.cinfo b{display:block;font-size:13px;font-weight:700;color:#eae6ff;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cinfo small{display:block;font-size:11px;color:#8a80bd;line-height:1.3;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card.st-no .cinfo{opacity:.6}
@media (max-width:600px){
 .grid{gap:12px 9px!important}
 .card{contain-intrinsic-size:auto 115px auto 205px}
 .pw{border-radius:9px}
 .cbtns{inset:auto 6px 7px 6px}
 .cb{width:27px;height:27px;border-radius:7px}
 .cinfo{padding-top:5px}
 .cinfo b{font-size:12px}
 .cinfo small{font-size:10.5px}
}
/* v22 framed card + marked state */
.card{background:linear-gradient(180deg,#1a1436,#130e28)!important;border:1.5px solid #ffffff1c!important;border-radius:12px;overflow:hidden;box-shadow:0 4px 14px #0007!important;transition:border-color .2s,box-shadow .2s,transform .18s}
.card:hover{transform:translateY(-3px);box-shadow:0 10px 24px #000a!important}
.card:hover .pw{transform:none;box-shadow:none}
.pw{border-radius:0;box-shadow:none}
.cinfo{padding:6px 8px 8px}
.card.st-seen{border-color:#00d98b!important;box-shadow:0 0 0 1px #00d98b44,0 4px 16px #00d98b2e!important}
.card.st-maybe{border-color:#00d6e6!important;box-shadow:0 0 0 1px #00d6e644,0 4px 16px #00d6e62e!important}
.card.st-no{border-color:#ff2b6e!important;box-shadow:0 0 0 1px #ff2b6e44,0 4px 16px #ff2b6e2e!important}
.card.st-watching{border-color:#00f0ff88!important}
.mbadge{position:absolute;top:7px;inset-inline-end:7px;z-index:2;width:22px;height:22px;border-radius:7px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px #0008}
.mbadge svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.mb-seen{background:#00d98b;color:#04120c}
.mb-maybe{background:#00d6e6;color:#04121a}.mb-maybe svg{fill:currentColor;stroke-width:1.5}
.mb-no{background:#ff2b6e;color:#fff}
@media (max-width:600px){
 .card{border-radius:11px}
 .cinfo{padding:5px 7px 7px}
 .mbadge{top:6px;inset-inline-end:6px;width:20px;height:20px;border-radius:6px}
 .mbadge svg{width:13px;height:13px}
}
.mbadge,.mbadge[class]{inset-inline-end:auto;inset-inline-start:auto;right:7px;left:auto}
@media (max-width:600px){.mbadge,.mbadge[class]{right:6px}}
.unmark{margin:8px 2px 0;font-size:13px;color:#a79fd6}.unmark b{color:#eae6ff}
.unmark .linkbtn{background:none;border:0;padding:0;color:#ff5fa2;font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}
.card .cstar{height:18px;line-height:18px;padding:0 5px;min-width:22px;text-align:center;font-size:10.5px;font-weight:800;border-radius:6px;top:6px}
.card .cstar{justify-content:center}
@media (max-width:600px){.card .cstar{height:17px;line-height:17px;font-size:10px;padding:0 4px;min-width:20px;top:5px}}
/* v24 stacked rating pills + genre line */
.rpills{position:absolute;top:6px;left:6px;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.card .rpills .cstar{position:static;inset:auto}
.card .ctag{inset-inline-start:auto;inset-inline-end:auto;right:6px;left:auto}
.cinfo small.cg{font-size:10px;color:#776eaa;margin-top:1px}
@media (max-width:600px){.rpills{top:5px;left:5px;gap:2px}.cinfo small.cg{font-size:9.5px}}
/* v25: TV tonight tab, type segmented control */
.tab .tl-short{display:none}
@media (max-width:600px){.tab .tl-long{display:none}.tab .tl-short{display:inline}.tab{min-width:52px}}
.seg{display:flex;width:max-content;max-width:calc(100% - 24px);margin:14px auto 2px;padding:3px;gap:2px;border-radius:12px;background:#140f2b;border:1px solid #2c2160;box-shadow:inset 0 1px 0 #ffffff0d}
.seg[hidden]{display:none}
.seg-b{flex:1 1 0;min-width:72px;padding:7px 14px;border:0;border-radius:9px;background:none;color:#a79fd6;font:inherit;font-size:14px;font-weight:700;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s}
.seg-b.on{background:linear-gradient(90deg,#ff2bd6,#a43bff);color:#fff;box-shadow:0 2px 10px #ff2bd655}
@media (max-width:600px){.seg{margin:10px auto 0}.seg-b{min-width:0;padding:7px 12px;font-size:13px}}
.tv-stale{margin:4px 0 12px;padding:10px 14px;border-radius:12px;background:#2a1e10;border:1px solid #ffb34766;color:#ffd38a;font-size:14px}
.tv-pick{display:flex;flex-direction:column;gap:3px;margin:4px 0 16px;padding:12px 14px;border-radius:14px;background:linear-gradient(135deg,#ff2bd622,#a43bff22);border:1.5px solid #ff2bd6aa;box-shadow:0 0 18px #ff2bd633}
.tv-pick b{color:#ffd400;font-size:14px}.tv-pick span{color:#f1edff;font-size:15px;line-height:1.45}
.tv-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}
.tv-ch{background:linear-gradient(180deg,#1a1436,#130e28);border:1.5px solid #ffffff1c;border-radius:14px;overflow:hidden}
.tv-ch h3{display:flex;align-items:center;gap:10px;margin:0;padding:10px 12px;font-size:16px;color:#fff;border-bottom:1px solid #ffffff14;background:#ffffff08}
.tv-ch h3 img{width:28px;height:28px;border-radius:7px;object-fit:contain;background:#fff}
.tv-ch ul{list-style:none;margin:0;padding:4px 0}
.tv-show{display:flex;gap:12px;align-items:flex-start;padding:9px 12px}
.tv-show+.tv-show{border-top:1px solid #ffffff0d}
.tv-show time{flex:none;min-width:46px;padding:2px 0;border-radius:7px;background:#00f0ff1f;color:#00f0ff;font-weight:800;font-size:13px;text-align:center;direction:ltr}
.tv-show b{display:block;color:#eae6ff;font-size:15px}
.tv-show p{margin:2px 0 0;color:#a79fd6;font-size:13px;line-height:1.4}
.tv-show>div{flex:1;min-width:0}
.tv-show.linked{cursor:pointer}.tv-show.linked:hover{background:#ffffff08}
.tv-show.linked b{text-decoration:underline;text-decoration-color:#ff2bd688;text-underline-offset:3px}
.tv-go{flex:none;align-self:center;font-style:normal;color:#ff5fa2;font-size:20px}
.tv-show.hot{background:#ff2bd612}
.tv-show.none{color:#776eaa;font-size:13px}
/* v26: where-to-watch as one block, one item per row */
.wblock{padding:12px;border-radius:14px;background:#120d27;border:1px solid #2c2160}
.wblock h5{margin:0 0 8px!important;color:#eae6ff!important;font-weight:700!important}
.wrows{display:flex;flex-direction:column;gap:6px}
.wrows .wtw{display:flex;flex-direction:column;gap:6px;margin:0!important}
.wrows .wtw-p{width:100%;border-radius:10px;padding:5px 12px 5px 5px!important}
.wrows .wtw-p img{width:30px;height:30px}
.wblock .nets{margin:8px 0 0;gap:6px;font-size:11px;color:#a79fd6}
.wblock .nets+.nets{margin-top:4px}
.wblock .nets small{font-size:11px;color:#8a80bd}
.wblock .net{padding:2px 8px 2px 2px;gap:5px;font-size:11px;background:none;border-color:#2a2058}
.wblock .net img{width:18px;height:18px;border-radius:4px}
.wblock .net img.tl{height:16px;max-width:48px;padding:2px 3px}
.wblock .wtw-src{font-size:11px;color:#6d6499}
/* v28: long-press preview + infinite scroll */
.card{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.card img{-webkit-user-drag:none;pointer-events:none}
#more-wrap{padding:6px 0 30px}
#more-wrap .more{display:none}
.more-spin{display:block;width:26px;height:26px;margin:0 auto;border-radius:50%;border:3px solid #ff2bd633;border-top-color:#ff2bd6;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.pv{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:18px}
.pv[hidden]{display:none}
.pv-bg{position:absolute;inset:0;background:#05030ecc;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.pv-card{position:relative;width:min(420px,100%);max-height:calc(100vh - 36px);overflow:auto;border-radius:18px;background:linear-gradient(180deg,#1d1640,#120d27);border:1.5px solid #ffffff22;box-shadow:0 20px 60px #000c,0 0 0 1px #ff2bd622;animation:pvin .16s ease-out}
@keyframes pvin{from{transform:scale(.94);opacity:0}}
.pv-x{position:absolute;top:10px;left:10px;z-index:2;width:34px;height:34px;border-radius:10px;border:1px solid #ffffff33;background:#0b0820b3;color:#fff;font-size:16px;cursor:pointer}
.pv-poster{display:flex;justify-content:center;padding:18px 18px 0}
.pv-poster img,.pv-poster .noimg{width:62%;max-width:230px;aspect-ratio:2/3;object-fit:cover;border-radius:12px;box-shadow:0 10px 30px #000a}
.pv-poster .noimg{position:static;display:flex}
.pv-info{padding:14px 18px 18px;text-align:center}
.pv-info h3{margin:0;font-size:20px;color:#fff}
.pv-meta{margin-top:4px;color:#a79fd6;font-size:13px}
.pv-rates{display:flex;justify-content:center;gap:8px;margin-top:8px}
.pv-r{padding:3px 10px;border-radius:8px;background:#0b0820;color:#ffd400;font-weight:800;font-size:13px;border:1px solid #ffd40055}
.pv-r.mine{color:#fff;background:linear-gradient(90deg,#ff2bd6,#a43bff);border:0}
.pv-ov{margin:10px 0 0;color:#d8d2f5;font-size:14px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:1.5em}
.pv-btns{display:flex;gap:6px;margin-top:14px}
.pv-btns .sb{flex:1 1 0;min-width:0;padding:9px 4px;font-size:13px}
.pv-full{width:100%;margin-top:10px}
.toast{z-index:90}
.cinfo .cwhy{display:-webkit-box!important;white-space:normal!important;-webkit-line-clamp:2!important;text-overflow:clip!important}
/* v29: settings + backup */
button.av{cursor:pointer;font:inherit;font-weight:700;padding:0}
.pv-info.set{padding-top:26px;text-align:center}
.set-note{color:#bdb2f0;font-size:13px;line-height:1.6;margin:8px 0 14px}
.set-b{display:block;width:100%;margin:8px 0;text-align:center;box-sizing:border-box;cursor:pointer}
.pv-info.set h5{margin:16px 0 8px;color:#fff;font-size:14px}
.bklist{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;max-height:150px;overflow:auto}
.bklist small{color:#a79fd6}
/* v30: tv day switcher + cinema tab */
.tv-days{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:2px 2px 10px;margin:0 0 4px}
.tv-days::-webkit-scrollbar{display:none}
.tv-days .chip{white-space:nowrap}
.tv-days .chip.nodata{opacity:.55;border-style:dashed}
.cin-f{display:flex;flex-direction:column;gap:6px;margin-bottom:10px}
.cin-f .yearsel{align-self:flex-start;max-width:100%}
.cin-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:12px}
.cin-film{background:linear-gradient(180deg,#1a1436,#130e28);border:1.5px solid #ffffff1c;border-radius:16px;padding:10px;display:flex;flex-direction:column;gap:8px}
.cin-top{display:flex;gap:12px;align-items:flex-start}
.cin-poster{flex:none;width:86px;aspect-ratio:2/3;border-radius:12px;overflow:hidden;background:#1a1338;border:1.5px solid #ff2bd655;box-shadow:0 0 12px #a43bff33;position:relative;cursor:pointer}
.cin-poster img{width:100%;height:100%;object-fit:cover;display:block}
.cin-info{display:flex;flex-direction:column;gap:3px;min-width:0;cursor:pointer}
.cin-info b{font-size:16px;color:#fff;line-height:1.25}
.cin-info small{color:#a79fd6;font-size:12.5px}
.cin-info .cin-n{color:#00f0ff}
.cin-row{display:flex;flex-direction:column;gap:5px;border-top:1px solid #ffffff12;padding-top:7px}
.cin-c{color:#ffd38a;font-size:13px;font-weight:600;text-decoration:none}
.cin-ts{display:flex;flex-wrap:wrap;gap:5px}
.cin-t{display:inline-flex;flex-direction:column;align-items:center;padding:4px 9px;border-radius:9px;background:#241a4d;border:1px solid #3a2d75;color:#fff;font-size:14px;font-weight:600;text-decoration:none;line-height:1.15}
.cin-t small{font-size:10px;color:#ff9be9;font-weight:500}
.cin-t.past{opacity:.38}
@media (max-width:700px){.cin-list{grid-template-columns:1fr}}
.wtw-p .wsub{display:block;font-size:11.5px;color:#a79fd6;font-weight:400;margin-top:2px;line-height:1.3}
.wtw-p.checked .wsub{color:#7dffb0}
