:root{color-scheme:light;--bg:#f7f6f3;--surface:#fff;--surface2:#eeede9;--ink:#252629;--muted:#686b68;--line:#e2e2dc;--accent:#c44931;--on-accent:#fff;--accent-wash:#fff0e9;--radius:20px;--shadow:0 12px 40px #27242008}
:root[data-theme=dark]{color-scheme:dark;--bg:#151619;--surface:#202226;--surface2:#292c30;--ink:#f1f0ec;--muted:#a0a29f;--line:#33363b;--accent:#ff876f;--on-accent:#251a16;--accent-wash:#3c2925;--shadow:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent }button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button{color:inherit;border:0;background:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:3px}svg{width:22px;height:22px;vertical-align:middle;flex:none}.header{height:94px;max-width:1280px;margin:auto;padding:0 36px;display:flex;align-items:center;gap:40px}.brand{display:flex;align-items:center;gap:12px;font-size:25px;font-weight:800;line-height:1.2;letter-spacing:1px}.brand small{display:block;font-size:10px;letter-spacing:2.5px;font-weight:500;color:var(--muted);margin-top:6px}.brand-mark{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:var(--accent);color:var(--on-accent);font-size:22px;box-shadow:0 5px 14px #eb664d25}.header nav{display:flex;gap:8px;margin-left:auto}.header nav a{padding:9px 20px;color:var(--muted);font-weight:600;border-radius:100px}.header nav a.active{background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}.icon-button{width:44px;height:44px;display:inline-grid;place-items:center;border-radius:50%;background:var(--surface)}.icon-button:hover{background:var(--surface2)}main{max-width:1208px;margin:auto;padding:20px 0 80px;min-height:70vh}.page-top{display:flex;align-items:flex-end;gap:16px;margin-bottom:28px}.page-top h1{font-size:30px;line-height:1.25;margin:0;letter-spacing:-1px}.page-top p{margin:8px 0 0;color:var(--muted);font-size:13px}.page-top .right{margin-left:auto}.eyebrow{font-size:11px;font-weight:750;letter-spacing:2px;color:var(--accent);margin-bottom:9px}.chips{display:flex;gap:8px;overflow:auto;scrollbar-width:none;white-space:nowrap}.chips button{padding:8px 20px;border-radius:100px;color:var(--muted);border:1px solid transparent}.chips button.active{background:var(--ink);color:var(--bg)}.chips button:hover{border-color:var(--line)}.hero-wrap{position:relative;margin:22px 0 32px}.hero{height:300px;border-radius:var(--radius);overflow:hidden;display:flex;background:#20252e;color:#fff;position:relative;touch-action:pan-y}.hero-image{position:absolute;inset:0 0 0 35%;width:65%;height:100%;object-fit:cover;object-position:center 28%}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#171a20 5%,#171a20e8 36%,#171a2030 83%)}.hero-copy{position:relative;z-index:1;padding:36px 42px;max-width:60%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.hero-copy .tag{color:#f6b5a7;background:#ffffff0d;border:1px solid #ffffff16;padding:3px 9px;border-radius:6px;font-size:11px}.hero h2{font-size:34px;line-height:1.2;margin:12px 0 8px;letter-spacing:-.6px}.hero p{color:#c2c5ca;font-size:13px;margin:0 0 20px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;color:var(--on-accent);background:var(--accent);padding:11px 19px;border-radius:11px;font-weight:700}.primary:hover{filter:brightness(1.04)}.secondary{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);padding:9px 15px;border-radius:10px;background:var(--surface)}.hero-controls{position:absolute;z-index:2;right:16px;bottom:16px;display:flex;gap:6px}.hero-controls button{color:#fff;background:#ffffff13;border:1px solid #ffffff24;width:34px;height:34px;border-radius:50%}.hero-controls svg{width:16px;height:16px}.hero-dots{position:absolute;z-index:2;left:42px;bottom:16px;display:flex;gap:6px}.hero-dots button{width:6px;height:6px;background:#ffffff55;border-radius:8px;padding:0}.hero-dots button.active{width:20px;background:var(--accent)}.section{margin-top:32px}.section-head{display:flex;align-items:center;gap:16px;margin-bottom:18px}.section-head h2{font-size:21px;letter-spacing:-.4px;margin:0}.section-head small{color:var(--muted);font-size:12px}.section-head button{margin-left:auto;color:var(--muted);font-size:12px}.grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:25px 18px}.card{display:block;text-align:left;padding:0;width:100%;min-width:0}.poster{position:relative;aspect-ratio:2/3;background:var(--surface2);overflow:hidden;border-radius:13px;isolation:isolate}.poster img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.card:hover .poster img{transform:scale(1.04)}.poster-fallback{position:absolute;inset:0;display:grid;place-items:center;color:var(--muted);padding:20px;text-align:center;font-size:13px;z-index:-1}.poster img.broken{display:none}.rating{position:absolute;right:8px;top:8px;font-size:11px;font-weight:750;color:#ffe2a2;background:#151619b5;padding:3px 6px;border-radius:5px;backdrop-filter:blur(6px)}.rating.unrated{display:inline-flex;align-items:center;justify-content:center;width:max-content;min-width:0;max-width:calc(100% - 16px);height:auto;min-height:0;padding:4px 7px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px;color:#fff;font-weight:500}.poster-caption{position:absolute;bottom:0;left:0;right:0;padding:25px 10px 8px;background:linear-gradient(transparent,#0009);color:#fff;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card h3{font-size:14px;line-height:1.45;margin:10px 0 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700}.card p{font-size:11px;margin:0;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resume-row{display:flex;gap:14px;overflow:auto;scrollbar-width:none}.resume-card{flex:0 0 290px;display:flex;align-items:center;text-align:left;gap:12px;padding:12px 16px;background:var(--surface);border:1px solid var(--line);border-radius:14px}.resume-card img{width:37px;height:50px;object-fit:cover;border-radius:5px}.resume-card strong{display:block;font-size:13px;max-width:190px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resume-card small{font-size:11px;color:var(--muted)}.resume-card svg{margin-left:auto;color:var(--accent);width:18px}.search-shell{max-width:780px;margin:15px auto 40px}.search-box{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);padding:9px 10px 9px 18px;border-radius:16px;box-shadow:var(--shadow)}.search-box svg{color:var(--muted)}.search-box input{background:none;border:0;min-width:0;width:100%;color:var(--ink);padding:8px 0;outline:none}.search-box .primary{padding:9px 20px;font-size:14px;white-space:nowrap}.search-modes{display:flex;align-items:center;gap:6px;margin-bottom:16px}.search-modes button{padding:7px 17px;color:var(--muted);border-radius:9px}.search-modes button.active{color:var(--ink);background:var(--surface);font-weight:700}.filters{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:20px 0}.filters select{color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:7px 26px 7px 12px;font-size:12px;max-width:160px}.subtle{color:var(--muted);font-size:12px}.suggestions{display:flex;gap:8px;flex-wrap:wrap}.suggestions button{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:6px 12px;font-size:12px}.empty{padding:65px 24px;text-align:center;color:var(--muted)}.empty svg{width:38px;height:38px;margin-bottom:10px;opacity:.65}.empty h2{margin:0 0 7px;color:var(--ink);font-size:19px}.empty p{margin:0 0 20px;font-size:13px}.empty .primary{font-size:13px}.notice{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:12px 16px;font-size:12px;color:var(--muted);margin:16px 0}.notice.error{border-color:#ee826944;color:var(--accent)}.loading{display:inline-flex;align-items:center;gap:9px;color:var(--muted)}.spinner{border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;width:17px;height:17px;display:inline-block;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.skeleton{background:linear-gradient(100deg,var(--surface2) 35%,var(--surface) 50%,var(--surface2) 65%);background-size:220% 100%;animation:pulse 1.5s ease infinite;aspect-ratio:2/3;border-radius:13px}@keyframes pulse{to{background-position:-220% 0}}.pan-list{display:grid;gap:12px}.pan-card{padding:18px 22px;border:1px solid var(--line);border-radius:13px;background:var(--surface);display:flex;gap:15px;align-items:center}.pan-card h3{font-size:15px;margin:0 0 6px}.pan-card p{font-size:12px;color:var(--muted);margin:0}.pan-card>div{flex:1;min-width:0}.pan-card a{font-size:12px;white-space:nowrap}.back{display:inline-flex;gap:6px;align-items:center;color:var(--muted);font-size:13px;margin:0 0 22px;padding:0}.detail-grid{display:grid;grid-template-columns:1fr 300px;gap:28px;align-items:start}.watch-main{min-width:0}.stage{position:relative;aspect-ratio:16/9;overflow:hidden;background:#0c0d10;border-radius:17px;color:#fff;isolation:isolate;display:grid;place-items:center}.stage video{position:absolute;width:100%;height:100%;object-fit:contain;background:#0c0d10}.stage-idle{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center;z-index:1;background:radial-gradient(ellipse at center,#25282f 0,#111217 80%)}.stage-idle strong{font-size:20px}.stage-idle p{font-size:12px;color:#a8abb2;max-width:370px;margin:0}.stage-idle button{margin-top:4px}.stage-idle.hidden{display:none}.player-controls{position:absolute;bottom:0;left:0;right:0;padding:45px 14px 10px;background:linear-gradient(transparent,#000b);z-index:3;transition:opacity .2s;display:none}.stage.playing .player-controls{display:block}.stage.quiet .player-controls{opacity:0;pointer-events:none}.timeline{width:100%;height:14px;display:flex;align-items:center;margin-bottom:3px}.timeline input{width:100%;accent-color:var(--accent);height:14px;cursor:pointer;touch-action:none;background:transparent;margin:0}.player-row{display:flex;gap:7px;align-items:center;font-size:11px}.player-row button{height:33px;min-width:32px;border-radius:6px;color:#fff;padding:0 6px;font-size:11px}.player-row button:hover{background:#ffffff19}.player-row svg{width:19px;height:19px}.player-row .time{font-variant-numeric:tabular-nums;color:#d7d8dc;font-size:10px;white-space:nowrap}.player-row .spacer{flex:1}.player-row select{color:#fff;background:#202126;border:0;font-size:11px;max-width:78px;padding:5px;border-radius:6px}.stage:fullscreen{width:100vw;height:100dvh;aspect-ratio:auto;border-radius:0;background:#000}.stage:fullscreen .player-controls{padding-left:max(24px,env(safe-area-inset-left));padding-right:max(24px,env(safe-area-inset-right));padding-bottom:max(12px,env(safe-area-inset-bottom))}.stage:fullscreen video{height:100%;width:100%}.watch-title{display:flex;gap:16px;align-items:start;margin:22px 0 9px}.watch-title h1{font-size:26px;line-height:1.25;margin:0;letter-spacing:-.4px}.watch-title .favorite{margin-left:auto;padding:7px 10px;color:var(--muted);border:1px solid var(--line);border-radius:9px;font-size:12px;white-space:nowrap}.watch-title .favorite.active{color:var(--accent);border-color:var(--accent)}.watch-title .favorite svg{width:16px}.metadata{color:var(--muted);font-size:12px;display:flex;align-items:center;flex-wrap:wrap;gap:9px}.detail-score{color:var(--accent);font-weight:750}.synopsis{font-size:13px;line-height:1.9;color:var(--muted);margin:20px 0;white-space:pre-line}.synopsis.collapsed{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.people{font-size:12px;line-height:2;color:var(--muted)}.watch-aside{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:20px;max-height:780px;overflow:auto}.aside-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.aside-heading h2{font-size:15px;margin:0}.aside-heading button{font-size:11px;color:var(--accent);padding:3px}.source-note{font-size:11px;color:var(--muted);margin:0 0 12px}.source-list{display:grid;gap:7px}.source-row{width:100%;display:flex;gap:10px;text-align:left;border:1px solid var(--line);border-radius:10px;padding:9px 11px;align-items:center}.source-row.active{border-color:var(--accent);background:var(--accent-wash)}.source-row>div{flex:1;min-width:0}.source-row strong{display:block;font-size:12px}.source-row small{font-size:10px;color:var(--muted)}.source-row .signal{font-size:10px;color:var(--muted);white-space:nowrap}.source-row.failed{opacity:.55}.source-row svg{width:16px;color:var(--accent)}.episodes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;max-height:380px;overflow:auto}.episodes button{padding:7px 3px;background:var(--surface2);border-radius:7px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:36px}.episodes button.active{background:var(--accent);color:var(--on-accent)}.episode-tools{display:flex;align-items:center;gap:8px;margin:20px 0 10px}.episode-tools strong{font-size:13px}.episode-tools button{margin-left:auto;color:var(--muted);font-size:11px}.episode-search{width:100%;padding:7px 10px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:var(--bg);font-size:12px;margin-bottom:10px}.account-wrap{max-width:450px;margin:35px auto}.panel{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:30px;box-shadow:var(--shadow)}.panel h1{font-size:26px;margin:0 0 7px;line-height:1.3}.panel>p{font-size:13px;color:var(--muted);margin:0 0 23px}.form-field{display:block;font-size:12px;font-weight:600;margin-top:17px}.form-field input{display:block;width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);margin-top:6px;outline:none}.form-message{font-size:12px;color:var(--accent);min-height:24px;margin:12px 0}.form-submit{width:100%}.text-button{color:var(--accent);font-size:12px;padding:8px 0}.account-stat{display:flex;gap:30px;padding:20px 0;border-bottom:1px solid var(--line);margin-bottom:20px}.account-stat strong{display:block;font-size:23px}.account-stat small{color:var(--muted);font-size:11px}.account-actions{display:grid;gap:12px}.account-actions button{justify-content:center}.bottom-nav{display:none}dialog{color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:18px;max-width:480px;width:calc(100% - 32px);padding:22px;max-height:80dvh;overflow:auto}dialog::backdrop{background:#0008;backdrop-filter:blur(4px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.dialog-top h2{margin:0;font-size:18px}.dialog-top .icon-button{background:var(--surface2);width:32px;height:32px}#toast{position:fixed;z-index:100;left:50%;bottom:30px;transform:translate(-50%,15px);opacity:0;pointer-events:none;transition:.2s;color:var(--bg);background:var(--ink);border-radius:10px;padding:10px 17px;font-size:12px;max-width:90vw;box-shadow:0 5px 30px #0002}#toast.show{opacity:1;transform:translate(-50%,0)}.more-row{display:flex;justify-content:center;margin:30px 0}.row-list{display:grid;gap:9px}.history-row{display:flex;align-items:center;gap:15px;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:12px}.history-row .resume-card{border:0;padding:0;background:none;flex:1}.history-row>button{color:var(--muted);font-size:11px}
@media(min-width:1440px){main{max-width:1240px}.header{max-width:1312px}}
@media(max-width:1280px){main{padding-left:36px;padding-right:36px}}
@media(max-width:1000px){.grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:20px 14px}.detail-grid{grid-template-columns:1fr 265px;gap:20px}.hero-copy{max-width:70%}.hero h2{font-size:31px}.header{gap:16px}.header nav a{padding:8px 14px}.watch-aside{padding:16px}.player-row{gap:2px}}
@media(max-width:760px){.header{height:79px;padding:0 22px;gap:12px}.brand{font-size:23px}.brand-mark{width:39px;height:39px;border-radius:12px}.header nav{display:none}#theme{margin-left:auto;width:38px;height:38px;background:none}main{padding:17px 22px 110px}.page-top{margin-bottom:20px}.page-top h1{font-size:25px}.page-top p{font-size:11px}.eyebrow{font-size:10px;margin-bottom:7px}.chips{gap:3px}.chips button{font-size:12px;padding:7px 17px}.hero-wrap{margin:17px 0 26px}.hero{height:224px;border-radius:16px}.hero-image{left:25%;width:75%}.hero:after{background:linear-gradient(90deg,#171a20 2%,#171a20d5 35%,#171a2010 100%)}.hero-copy{padding:20px 23px;max-width:88%}.hero h2{font-size:26px;margin:9px 0 6px;max-width:90%}.hero p{font-size:10px;margin-bottom:13px;max-width:85%}.hero-copy .tag{font-size:9px}.hero-copy .primary{font-size:11px;padding:8px 13px;border-radius:8px}.hero-copy svg{width:14px;height:14px}.hero-dots{left:24px;bottom:13px}.hero-controls{right:13px;bottom:12px;gap:5px}.hero-controls button{width:27px;height:27px}.hero-controls svg{width:13px}.section{margin-top:28px}.section-head{margin-bottom:15px}.section-head h2{font-size:19px}.section-head small{font-size:10px}.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:21px 12px}.poster{border-radius:10px}.rating{right:6px;top:6px;padding:2px 5px;font-size:10px}.rating.unrated{font-size:8px}.card h3{font-size:12px;margin-top:8px}.card p{font-size:10px}.poster-caption{font-size:9px;padding:22px 7px 6px}.bottom-nav{display:flex;position:fixed;z-index:10;bottom:0;left:0;right:0;background:var(--surface);border-top:1px solid var(--line);justify-content:space-around;padding:8px 10px max(8px,env(safe-area-inset-bottom))}.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:2px;width:70px;font-size:9px;color:var(--muted);padding:4px;border-radius:12px}.bottom-nav svg{width:21px;height:21px}.bottom-nav a.active{color:var(--accent);background:var(--accent-wash)}#toast{bottom:100px}.search-shell{margin-top:4px;margin-bottom:28px}.search-box{padding:7px 7px 7px 13px;border-radius:12px;gap:9px}.search-box .primary{padding:8px 16px;font-size:12px}.search-box input{font-size:14px}.search-modes{margin-bottom:14px}.search-modes button{font-size:12px}.filters{gap:8px}.filters select{padding:6px 19px 6px 9px;font-size:11px}.detail-grid{display:flex;flex-direction:column;gap:23px}.watch-main,.watch-aside{width:100%}.stage{border-radius:12px}.stage-idle strong{font-size:16px}.stage-idle p{font-size:10px}.stage-idle .primary{font-size:11px;padding:9px 15px}.stage-idle .spinner{width:20px;height:20px}.stage-idle{gap:8px}.watch-title h1{font-size:23px}.watch-title{margin-top:19px}.metadata{font-size:11px;gap:7px}.synopsis{font-size:12px;margin:16px 0}.watch-aside{padding:18px;max-height:none}.source-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.source-row{padding:9px;gap:5px}.source-row strong{font-size:11px}.source-row .signal{font-size:9px}.source-row small{font-size:9px}.episodes{grid-template-columns:repeat(6,minmax(0,1fr))}.episodeDialog .episodes{grid-template-columns:repeat(5,minmax(0,1fr))}.player-controls{padding:35px 8px 5px}.player-row svg{width:16px;height:16px}.player-row button{padding:0 4px;min-width:27px;height:29px;font-size:10px}.player-row .time{font-size:9px}.player-row select{max-width:58px;font-size:10px;padding:3px}.player-row{gap:1px}.stage:fullscreen .player-row{gap:10px}.stage:fullscreen .player-row button{min-width:40px;height:40px;font-size:12px}.stage:fullscreen .player-row svg{width:22px;height:22px}.stage:fullscreen .player-controls{padding-top:50px}.stage:fullscreen .time{font-size:12px}.back{margin-bottom:17px}.account-wrap{margin:14px auto}.panel{padding:25px}.panel h1{font-size:24px}.pan-card{padding:15px;gap:10px;flex-wrap:wrap}.pan-card h3{font-size:13px}.pan-card p{font-size:10px}.pan-card .secondary{font-size:10px;padding:7px 12px}.history-row{padding:10px}.resume-card{flex-basis:270px;padding:10px 13px}.page-top .secondary{font-size:11px;padding:7px 10px}}
@media(max-width:380px){main{padding-left:16px;padding-right:16px}.header{padding:0 16px}.grid{gap:18px 10px}.hero h2{font-size:23px}.player-row .time{font-size:8px}.player-row button{min-width:25px}.episodes{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.player-options{border-top:1px solid #ffffff14;margin-top:3px;gap:10px;min-height:28px}.player-options button{padding:0 9px}.stage:fullscreen .player-options{max-width:680px;margin:4px auto 0}.stage.quiet .player-options{pointer-events:none}

.search-status{margin:14px 0;min-height:20px}.search-status:empty{display:none}.build-version{font-size:11px;margin:22px 0 0}

/* Optional filters keep the default search focused on posters and matches. */
.search-advanced{margin:0 0 18px;font-size:12px;color:var(--muted)}.search-advanced summary{cursor:pointer;min-height:40px;width:max-content;display:flex;align-items:center;gap:8px;padding:8px 13px;background:var(--surface);border:1px solid var(--line);border-radius:9px}.search-advanced summary:after{content:'⌄';margin-left:10px}.search-advanced[open] summary{color:var(--accent)}.search-advanced .filters{margin:12px 0}.search-advanced .text-button{padding:7px 12px}.search-advanced #filterCount:empty{display:none}.search-status{line-height:1.8}.notice .text-button{margin-left:8px}button:focus-visible{outline-offset:3px}

@media(min-width:761px) and (max-width:1100px){.header{padding-left:28px;padding-right:28px}main{padding-left:28px;padding-right:28px}.grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:22px 14px}.detail-grid{grid-template-columns:minmax(0,1fr) 270px;gap:22px}}
@media(min-width:1401px){.header,main{max-width:1360px}}
