:root{color-scheme:dark;--bg:#0b0c10;--panel:#12141b;--line:#252832;--ink:#f4f4f6;--muted:#9699aa;--amber:#ffa665;--mint:#9cf5dc;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink)}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}a{color:inherit;text-decoration:none}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--amber);outline-offset:4px}button{color:inherit;border:0}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}[hidden]{display:none!important}.icon{display:inline-flex;width:20px;height:20px;flex-shrink:0}.icon svg{width:100%;height:100%;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden;white-space:nowrap}.site-header{height:88px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 5%;border-bottom:1px solid var(--line);background:#0b0c10ed;position:relative;z-index:3}.brand{display:flex;gap:12px;align-items:center;font-size:16px;font-weight:850;letter-spacing:2.5px}.brand-mark{display:grid;place-items:center;width:40px;height:40px;background:var(--mint);color:#0b0c10;border-radius:12px;font-size:24px;letter-spacing:0}.brand small{display:block;font-size:8px;font-weight:500;color:var(--muted);letter-spacing:1.6px;margin-top:5px}.site-header nav{display:flex;gap:8px;align-items:center}.site-header nav a{padding:11px 17px;border-radius:8px;font-size:13px;color:#aaaebe;font-weight:550}.site-header nav a.active{background:#22232b;color:var(--ink)}.site-header nav a:hover{color:var(--ink);background:#191b23}.nav-star{color:var(--mint);margin-right:5px}.nav-play{font-size:10px;color:var(--amber);margin-right:5px}.account-link{border:1px solid var(--line);border-radius:9px;padding:10px 16px;display:flex;gap:9px;align-items:center;font-size:13px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:650;color:var(--muted);line-height:1.7}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--mint);margin-right:6px}.home-page{max-width:1420px;margin:auto;padding:68px 5% 50px}.home-intro{margin-bottom:40px}.home-intro h1{font-size:clamp(36px,4.4vw,64px);font-weight:700;letter-spacing:-2.5px;line-height:1.12;margin:15px 0 21px}.home-intro h1 em{font-style:normal;color:var(--mint)}.home-intro>p:last-child{font-size:15px;color:var(--muted);line-height:1.8}.service-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.service-card{position:relative;min-height:435px;overflow:hidden;border:1px solid #303438;border-radius:20px;padding:25px 29px;isolation:isolate;transition:transform .25s,border-color .25s;background:var(--panel)}.service-card:hover{transform:translateY(-4px)}.ai-card{background:radial-gradient(ellipse at 82% 37%,#183b3a 0%,#111f23 43%,#10191e 72%)}.ai-card:hover{border-color:#69b4a4}.anime-card{background:#312426}.anime-card:hover{border-color:#b58468}.service-top{display:flex;justify-content:space-between;position:relative;z-index:2;align-items:center}.service-label{display:flex;gap:9px;align-items:center;font-size:11px;letter-spacing:1.7px;font-weight:700}.ai-card .service-label{color:var(--mint)}.anime-card .service-label{color:#ffcfb1}.round-arrow{display:grid;place-items:center;width:32px;height:32px;border:1px solid #ffffff24;border-radius:50%;font-size:19px}.service-copy{position:relative;z-index:2;padding-top:94px;max-width:370px}.service-copy>p{font-size:9px;letter-spacing:2px;color:#b2c6c9;margin-bottom:15px}.service-copy h2{font-size:38px;letter-spacing:-1.4px;line-height:1.17;margin-bottom:17px;font-weight:650}.service-copy>span{font-size:13px;line-height:1.6;color:#b2b6c1;display:block}.service-copy>strong{font-size:13px;display:flex;gap:14px;align-items:center;margin-top:27px;font-weight:600}.ai-card .service-copy>strong{color:var(--mint)}.anime-card .service-copy>strong{color:#ffbf91}.anime-art{position:absolute;inset:0;z-index:-2;background:linear-gradient(115deg,#37232a,#766359)}.anime-art img{position:absolute;right:0;top:0;width:62%;height:100%;object-fit:cover;object-position:center 20%;filter:saturate(.8);transition:transform 1s}.anime-card:hover .anime-art img{transform:scale(1.04)}.anime-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#171419 0%,#171419cf 36%,#17141938 86%),linear-gradient(0deg,#171419 0%,transparent 65%)}.ai-art{width:285px;height:285px;position:absolute;right:-16px;top:58px;opacity:.85}.ai-orbit{position:absolute;border:1px solid #78e7d62e;border-radius:50%;inset:13px}.orbit-two{inset:43px;border-style:dashed;transform:rotate(-25deg)}.ai-core{position:absolute;inset:81px;display:grid;place-items:center;font-size:71px;color:#b2ffeb;background:radial-gradient(circle,#75e9cd24,transparent 70%);border:1px solid #8becd53d;border-radius:32px;transform:rotate(12deg);box-shadow:0 0 70px #75efcf18}.orbit-node{position:absolute;border-radius:50%;width:8px;height:8px;background:var(--mint);box-shadow:0 0 18px #8eebd8}.node-one{top:48px;right:40px}.node-two{bottom:32px;left:37px;width:4px;height:4px}.ai-coordinate{position:absolute;right:42px;bottom:0;font:9px monospace;color:#6caf9f;letter-spacing:2px}.home-discover{margin-top:53px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:22px}.section-heading h2{font-size:25px;font-weight:600;letter-spacing:-.6px;margin-top:6px}.section-heading>a{font-size:12px;color:var(--muted)}.poster-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:27px 18px}.poster-card{min-width:0}.poster-open{width:100%;text-align:left;padding:0;background:none;display:block}.poster-art{position:relative;aspect-ratio:2/2.95;overflow:hidden;border-radius:12px;background:linear-gradient(140deg,#272a39,#1d1f27);border:1px solid #ffffff08}.poster-art>img{width:100%;height:100%;object-fit:cover;transition:transform .3s,filter .3s}.poster-open:hover .poster-art>img{transform:scale(1.04);filter:brightness(.75)}.poster-overlay{position:absolute;inset:0;display:grid;place-items:center;background:#0001;opacity:0;transition:opacity .2s}.poster-overlay .icon{width:42px;height:42px;background:var(--amber);border-radius:50%;padding:10px;color:#17120e}.poster-open:hover .poster-overlay,.poster-open:focus-visible .poster-overlay{opacity:1}.poster-rating{position:absolute;top:9px;left:9px;background:#15161ce8;padding:5px 7px;font-size:10px;border:1px solid #ffffff1f;border-radius:6px}.poster-rating span{color:#ffbf70;margin-right:4px}.poster-ongoing{position:absolute;bottom:9px;left:9px;background:#111c16de;border:1px solid #608a6c;padding:4px 6px;color:#b8e3c1;font-size:9px;border-radius:5px}.poster-card h3{font-size:13px;line-height:1.45;font-weight:580;margin-top:11px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.poster-meta{display:flex;justify-content:space-between;gap:8px;margin-top:7px;font-size:10px;color:var(--muted);line-height:1.5}.poster-footer{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted);gap:5px;margin-top:8px}.poster-footer button{background:transparent;padding:4px;color:var(--muted)}.poster-footer button.saved{color:var(--amber)}.poster-footer .icon{width:16px;height:16px}.watch-progress{height:3px;background:#34343e;position:absolute;bottom:0;left:0;right:0}.watch-progress span{height:100%;display:block;background:var(--amber)}.source-caption{font-size:10px;color:#777b8d;line-height:1.7;margin-top:24px}.home-bottom{border:1px solid var(--line);border-radius:14px;margin-top:36px;display:flex;align-items:center;gap:18px;padding:23px}.home-bottom>.icon{width:26px;height:26px;color:#7aafdd}.home-bottom strong{font-size:13px;font-weight:550}.home-bottom p{font-size:12px;color:var(--muted);margin-top:5px}.home-bottom a{margin-left:auto;font-size:12px;white-space:nowrap}.site-footer{max-width:1420px;margin:auto;padding:28px 5%;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:24px;font-size:10px;color:#818595;line-height:1.6}.site-footer>span:first-child{letter-spacing:1.4px}.footer-dot{color:var(--mint);padding:0 8px}.site-footer>div{display:flex;gap:23px}.anime-page{display:grid;grid-template-columns:220px minmax(0,1fr);max-width:1720px;margin:auto;min-height:80vh}.anime-sidebar{padding:37px 22px;border-right:1px solid var(--line)}.sidebar-title{display:flex;gap:13px;align-items:center;font-size:23px;line-height:1.2;letter-spacing:-.7px;margin-bottom:34px}.sidebar-title>.icon{width:35px;height:35px;border-radius:11px;padding:9px;background:#ffa66518;color:var(--amber)}.sidebar-title strong{font-weight:700}.sidebar-label{font-size:8px;letter-spacing:1.6px;color:#747887;margin:18px 12px 11px}.side-item{display:flex;align-items:center;gap:11px;background:transparent;color:#a4a7b5;padding:12px 13px;width:100%;font-size:12px;text-align:left;border-radius:8px;margin:3px 0}.side-item .icon{width:18px;height:18px}.side-item:hover{background:#1a1c23;color:var(--ink)}.side-item.active{background:#ffa66513;color:var(--amber)}.side-count,.external-arrow{margin-left:auto;font-size:10px}.side-count{background:#ffffff10;border-radius:5px;padding:2px 5px}.sidebar-divider{height:1px;background:var(--line);margin:23px 8px}.watch-preference{border:1px solid #6e584333;background:linear-gradient(135deg,#201b17,#12151c);border-radius:12px;margin-top:47px;padding:19px}.watch-preference>span{font-size:8px;letter-spacing:1.5px;color:var(--muted)}.watch-preference>strong{display:block;font-size:35px;letter-spacing:-1.6px;font-weight:500;color:var(--amber);margin:9px 0}.watch-preference>strong span{font-size:23px;color:#ce8860}.watch-preference p,.library-notice{font-size:10px;line-height:1.8;color:#9496a5}.library-notice{padding:18px 9px}.anime-content{padding:36px 37px 52px;min-width:0}.anime-topbar{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:28px}.anime-topbar h1{font-size:27px;letter-spacing:-.8px;font-weight:600;margin-top:6px}.search{display:flex;align-items:center;border:1px solid var(--line);padding:0 13px;background:#161821;border-radius:10px;width:330px;gap:10px;flex-shrink:0;height:43px}.search>.icon{color:var(--muted);width:17px;height:17px}.search input{min-width:0;width:100%;border:0;background:none;color:var(--ink);font-size:12px;outline:none}.search button{border:1px solid #383b46;color:var(--muted);background:none;border-radius:4px;font-size:12px}.anime-hero{position:relative;isolation:isolate;height:360px;border-radius:17px;overflow:hidden;background:#2a2533;margin-bottom:32px;border:1px solid #ffffff12}.anime-hero>img{position:absolute;right:0;top:0;width:66%;height:100%;object-fit:cover;object-position:50% 28%;z-index:-2}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#191922 6%,#191922e8 36%,#19192252 77%),linear-gradient(0deg,#191922b8,transparent 70%);z-index:-1}.hero-copy{padding:33px 35px;width:65%;height:100%}.hero-badges{display:flex;gap:8px;margin-bottom:17px}.pill{font-size:8px;font-weight:600;letter-spacing:1px;border:1px solid #ffffff2f;border-radius:5px;padding:5px 8px;background:#17192291}.pill.orange{color:#ffd1b0;border-color:#b47b4d63;background:#cd99531a}.hero-copy h2{font-size:clamp(26px,2.7vw,39px);line-height:1.08;letter-spacing:-1.1px;max-width:560px;font-weight:650;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hero-meta{display:flex;gap:15px;margin:12px 0;font-size:10px;color:#b4b0be}.hero-copy>p{font-size:12px;line-height:1.7;color:#b3aebd;max-width:440px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hero-buttons{display:flex;gap:10px;margin-top:20px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:8px;padding:12px 17px;font-size:12px;font-weight:600;min-height:41px}.primary .icon,.secondary .icon{width:16px;height:16px}.orange-button{background:var(--amber);color:#1c140e}.orange-button:hover{background:#ffbc8b}.secondary{background:#17192290;border:1px solid #45424d;color:#dedce5}.secondary:hover{background:#30303b}.hero-caption{position:absolute;bottom:21px;right:20px;letter-spacing:1.5px;font-size:8px;color:#d6c9c9}.catalog-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:29px 0 22px}.catalog-controls h2{font-size:20px;letter-spacing:-.4px;font-weight:580}.catalog-controls>div:first-child{display:flex;gap:12px;align-items:center}.catalog-controls>div:first-child>span{font-size:10px;color:var(--muted);background:#1b1d26;padding:4px 7px;border-radius:6px}.filter-controls{display:flex;gap:9px}select{background:#161821;border:1px solid var(--line);color:#bbbcca;border-radius:7px;padding:10px 12px;font-size:11px;max-width:180px}.catalog-notice{border:1px solid #574b3a;background:#251d15;border-radius:9px;padding:15px;font-size:12px;line-height:1.7;color:#e9c8a5;margin:15px 0}.catalog-notice button{color:var(--amber);background:none;font-size:12px;margin-left:10px;text-decoration:underline}.catalog-pagination{display:flex;justify-content:center;align-items:center;gap:28px;margin-top:35px}.catalog-pagination>span{color:var(--muted);font-size:12px}.empty-state{border:1px dashed var(--line);border-radius:13px;text-align:center;padding:60px 20px;color:var(--muted)}.empty-state>.icon{width:32px;height:32px;color:var(--amber);margin:auto auto 15px}.empty-state h3{font-size:19px;color:var(--ink);font-weight:500}.empty-state p{font-size:12px;line-height:1.8;margin:12px 0 20px}.mobile-tabs{display:none}.skeleton .poster-art{background:linear-gradient(110deg,#191b24 25%,#252833 48%,#191b24 71%);background-size:200% 100%;animation:shimmer 1.7s ease infinite}.skeleton h3{height:12px;width:75%;background:#20222a;border-radius:4px}.watch-dialog{padding:0;border:1px solid #343741;border-radius:16px;background:#101218;color:var(--ink);width:min(1380px,95vw);max-width:95vw;max-height:94dvh;overflow-y:auto}.watch-dialog::backdrop{background:#050609dd;backdrop-filter:blur(7px)}.watch-header{display:flex;align-items:start;justify-content:space-between;padding:24px 27px;gap:15px;border-bottom:1px solid var(--line)}.watch-header h2{font-size:23px;font-weight:550;line-height:1.3;letter-spacing:-.5px;margin-top:6px}.watch-header p{font-size:11px;color:var(--muted);margin-top:7px}.icon-button{display:grid;place-items:center;width:35px;height:35px;border:1px solid var(--line);background:#191b24;border-radius:8px;flex-shrink:0;color:#c6c7d2}.watch-layout{display:grid;grid-template-columns:minmax(0,1fr) 252px}.watch-main{min-width:0;padding:22px}.video-stage{background:#050506;position:relative;aspect-ratio:16/9;border-radius:10px;overflow:hidden;display:grid;place-items:center}.video-stage video{width:100%;height:100%;background:#050506;object-fit:contain;display:block}.skip-intro{position:absolute;right:16px;bottom:58px;background:#1c1d26e8;border:1px solid #858998;border-radius:7px;padding:11px;color:white;font-size:12px}.player-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:13px 0}.player-bar>div{display:flex;align-items:center;gap:9px}.player-bar strong{font-size:11px;font-weight:550}.quality-dot{width:5px;height:5px;border-radius:50%;background:var(--amber)}#videoResolution{font-size:10px;color:var(--muted)}.player-bar select{padding:8px;font-size:10px}.player-bar .icon-button{height:31px;width:31px}.player-bar .icon{width:16px;height:16px}.player-notice{font-size:11px;line-height:1.7;color:#b4b7c6;min-height:18px;margin:6px 0 15px}.episode-navigation{display:flex;justify-content:space-between;gap:12px}.watch-description{margin-top:27px;padding-top:23px;border-top:1px solid var(--line)}.watch-actions{display:flex;justify-content:space-between;align-items:center;gap:15px}.watch-actions h3{font-size:16px;font-weight:550}.watch-description>p{font-size:12px;line-height:1.9;color:#a9adbd;margin:14px 0;white-space:pre-line}.genre-chips{display:flex;gap:7px;flex-wrap:wrap}.genre-chips span{border:1px solid var(--line);color:#aaaebb;border-radius:5px;padding:6px 8px;font-size:10px}.alternate-sources{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin-top:23px;padding-top:19px;border-top:1px solid var(--line);font-size:11px}.alternate-sources>span{color:var(--muted)}.alternate-sources>a{color:#c3c6d4}.alternate-sources>p{flex-basis:100%;font-size:10px;line-height:1.7;color:#797e91;margin-top:-4px}.episode-panel{border-left:1px solid var(--line);padding:23px 18px;background:#14161d}.episode-heading{display:flex;justify-content:space-between;align-items:center}.episode-heading h3{font-size:14px;font-weight:550}.episode-heading span{font-size:10px;color:var(--muted)}.autonext{display:flex;align-items:center;gap:7px;font-size:10px;color:#9fa3b3;margin:15px 0 21px}.autonext input{accent-color:var(--amber)}.episode-list{display:grid;gap:8px;max-height:64dvh;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#3a3d48 transparent}.episode-button{display:flex;align-items:center;gap:10px;text-align:left;background:#1d1f29;border:1px solid #30313d;border-radius:8px;padding:11px;color:#bfc2d1}.episode-button.active{background:#3a291e;border-color:#9d693f;color:#ffd6b6}.episode-number{display:grid;place-items:center;width:25px;height:25px;border-radius:5px;background:#ffffff08;font-size:11px;flex-shrink:0}.episode-copy strong{font-size:11px;display:block;font-weight:550}.episode-copy small{font-size:9px;color:#9b9dac;display:block;margin-top:5px}.episode-quality{margin-left:auto;font-size:8px;color:#cba37d;flex-shrink:0}.watch-dialog.cinema{width:98vw;max-width:98vw}.watch-dialog.cinema .watch-layout{grid-template-columns:1fr}.watch-dialog.cinema .episode-panel{border-left:0;border-top:1px solid var(--line)}.watch-dialog.cinema .episode-list{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));max-height:200px}.hub-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#252733;border:1px solid #474c5e;border-radius:9px;padding:14px 22px;font-size:12px;max-width:90vw;color:var(--ink);z-index:20;box-shadow:0 10px 45px #0005}.site-footer a:hover{color:var(--ink)}@keyframes shimmer{to{background-position:-200% 0}}
@media(min-width:1600px){.anime-content .poster-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.anime-hero{height:400px}.hero-copy{padding-top:43px}}@media(max-width:1220px){.poster-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.home-posters{grid-template-columns:repeat(6,minmax(0,1fr))}.anime-page{grid-template-columns:195px minmax(0,1fr)}.anime-sidebar{padding:30px 15px}.anime-content{padding:30px 25px}.hero-copy{width:78%}.hero-copy h2{font-size:31px}.anime-hero{height:350px}.search{width:280px}.home-intro{margin-bottom:32px}.service-copy h2{font-size:34px}.ai-art{right:-65px;top:63px}.service-card{min-height:420px}.home-posters .poster-card h3{font-size:12px}}@media(max-width:980px){.anime-sidebar{display:none}.anime-page{display:block}.poster-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.home-posters{grid-template-columns:repeat(4,minmax(0,1fr))}.home-posters .poster-card:nth-child(n+5){display:none}.mobile-tabs{display:flex;gap:6px;overflow-x:auto;margin:24px 0 15px;scrollbar-width:none}.mobile-tabs button{padding:10px 13px;border-radius:8px;color:var(--muted);background:#171922;font-size:11px;white-space:nowrap}.mobile-tabs button.active{background:#35271e;color:var(--amber)}.watch-layout{grid-template-columns:minmax(0,1fr) 220px}.watch-main{padding:16px}.watch-header{padding:20px}.watch-header h2{font-size:20px}.home-page{padding-top:42px}}@media(max-width:760px){.site-header{height:76px;padding:0 22px;gap:14px;flex-wrap:wrap}.brand small{font-size:7px}.site-header nav{gap:0}.site-header nav a{font-size:11px;padding:10px}.site-header nav a:first-child{display:none}.site-header .account-link{padding:8px}.account-link>span:last-child{display:none}.service-grid{gap:17px;grid-template-columns:1fr}.service-card{min-height:358px;padding:23px 26px}.service-copy{padding-top:60px}.service-copy h2{font-size:34px}.ai-art{right:12px;top:42px;opacity:.7}.service-copy>span{max-width:260px}.service-copy>strong{margin-top:22px}.anime-art img{width:57%}.home-page{padding:40px 22px}.home-intro h1{font-size:42px;letter-spacing:-1.7px}.home-intro>p:last-child{font-size:13px}.home-intro .eyebrow{font-size:8px}.poster-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 14px}.anime-content{padding:27px 22px}.anime-topbar{align-items:stretch;flex-direction:column;gap:18px;margin-bottom:22px}.search{width:100%;flex-shrink:1}.anime-topbar h1{font-size:27px}.anime-hero{height:335px}.hero-copy{width:88%;padding:27px 24px}.hero-copy h2{font-size:30px}.hero-copy>p{max-width:340px}.hero-caption{font-size:6px;bottom:12px}.catalog-controls{gap:15px;flex-direction:column;align-items:stretch;margin-top:24px}.catalog-controls h2{font-size:20px}.filter-controls{justify-content:space-between}.filter-controls select{max-width:none;width:50%}.watch-layout{grid-template-columns:1fr}.episode-panel{border-left:0;border-top:1px solid var(--line)}.episode-list{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));max-height:225px}.episode-panel{padding:19px}.watch-description{margin-top:20px}.watch-dialog{width:96vw;max-width:96vw;max-height:96dvh;border-radius:12px}.watch-header{padding:16px}.watch-header h2{font-size:19px}.watch-header .eyebrow{font-size:8px}.video-stage{border-radius:7px}.home-bottom{padding:19px;flex-wrap:wrap;gap:12px}.home-bottom>div{flex:1}.home-bottom a{margin-left:37px}.site-footer{padding:26px 22px;flex-wrap:wrap}.site-footer>span:last-child{display:none}.home-discover{margin-top:36px}.section-heading h2{font-size:23px}.section-heading>a{font-size:10px}}@media(max-width:480px){.brand{font-size:13px;gap:9px;letter-spacing:2px}.brand-mark{width:33px;height:33px;border-radius:10px;font-size:20px}.brand small{font-size:6px;letter-spacing:1px}.site-header{padding:0 16px;gap:8px;height:69px}.site-header nav a{font-size:10px;padding:9px 7px}.nav-star,.nav-play{display:none}.account-link{border:0}.site-header .account-link .icon{width:17px;height:17px}.home-page{padding:33px 17px}.home-intro h1{font-size:36px;letter-spacing:-1.4px}.home-intro>p:last-child{font-size:12px}.service-card{border-radius:14px;min-height:344px;padding:21px 23px}.service-copy{padding-top:65px}.service-copy h2{font-size:33px}.ai-art{right:-65px;top:42px;opacity:.65}.service-copy>p{font-size:8px}.service-copy>span{font-size:11px}.service-copy>strong{font-size:11px}.service-top .service-label{font-size:9px}.service-top .icon{width:17px;height:17px}.anime-art img{width:74%}.poster-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 15px}.home-posters{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.home-posters .poster-card:nth-child(n+4){display:none}.home-posters .poster-card h3{font-size:10px;line-height:1.5}.home-posters .poster-meta{font-size:8px}.poster-rating{font-size:9px;padding:4px 5px;left:7px;top:7px}.poster-ongoing{font-size:7px;left:7px;bottom:7px;padding:3px 5px}.anime-content{padding:24px 17px}.anime-hero{height:335px;border-radius:13px}.anime-hero>img{width:80%}.hero-shade{background:linear-gradient(90deg,#191922f5,#191922c4 45%,#19192268),linear-gradient(0deg,#191922,transparent)}.hero-copy{width:100%;padding:25px 22px}.hero-copy h2{font-size:28px;max-width:280px}.hero-copy>p{font-size:11px;max-width:275px}.hero-caption{display:none}.hero-meta{font-size:9px;margin:12px 0}.hero-buttons{gap:8px;margin-top:19px}.hero-buttons .primary,.hero-buttons .secondary{font-size:11px;padding:11px 12px}.catalog-controls h2{font-size:19px}.filter-controls select{font-size:10px;padding:10px 9px}.anime-topbar h1{font-size:26px}.source-caption{font-size:9px}.player-bar{flex-wrap:wrap;gap:9px}.player-bar select{font-size:11px}.episode-navigation .primary,.episode-navigation .secondary{font-size:10px;padding:10px 11px}.watch-main{padding:10px}.watch-header h2{font-size:17px}.watch-header p{font-size:10px}.watch-actions .secondary{padding:9px 12px;font-size:10px}.watch-description>p{font-size:11px}.episode-panel{padding:16px}.alternate-sources{gap:12px}.site-footer>div{gap:15px;font-size:9px}.site-footer>span:first-child{font-size:9px}.watch-dialog.cinema{max-width:98vw}.home-bottom strong{font-size:12px}.home-bottom p{font-size:10px;line-height:1.6}.section-heading h2{font-size:21px}.section-heading .eyebrow{font-size:8px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.site-header .nav-play{width:12px;height:12px;vertical-align:middle}.round-arrow .icon{width:17px;height:17px}.section-heading>a,.home-bottom>a{display:flex;align-items:center;gap:8px}.section-heading>a .icon,.home-bottom>a .icon{width:14px;height:14px}
@media(max-width:360px){.site-header{height:auto;min-height:70px;padding:13px 16px;gap:10px}.site-header .brand{margin-right:auto}.site-header .account-link{order:2}.site-header nav{order:3;flex-basis:100%;justify-content:center}.site-header nav a:first-child{display:block}.site-header nav a{flex:1;text-align:center}.home-intro h1{font-size:33px}}
/* Anime pages follow the supplied YummyAnime reference: light cards, coral tabs,
   poster-and-facts overview, a real inline player, and episode buttons above it. */
body[data-page="anime"]{color-scheme:light;--bg:#ececec;--panel:#f7f8fa;--line:#d4d4d4;--ink:#292929;--muted:#808080;--amber:#ff6065;--mint:#ff6065;background:var(--bg);color:var(--ink);font-family:"Segoe UI",Arial,sans-serif}
body[data-page="anime"] .site-header{height:100px;padding:12px 30px;gap:20px;background:#f1f1f1;border-bottom:0;box-shadow:0 3px 8px #0002}
body[data-page="anime"] .brand-mark{width:64px;height:64px;background:#ff6065;color:white;border-radius:7px;font-size:38px}
body[data-page="anime"] .brand{gap:13px;font-size:20px;letter-spacing:0;font-weight:500}
body[data-page="anime"] .brand small{font-size:10px;color:#767676}
body[data-page="anime"] .site-header nav{gap:8px;margin:0}
body[data-page="anime"] .site-header nav a{color:#333;font-size:13px;font-weight:600;border-radius:5px;padding:10px 12px}
body[data-page="anime"] .site-header nav a.active{background:#ff6065;color:white}
body[data-page="anime"] .account-link{border-color:#d3d3d3;background:#e4e4e4;color:#333;border-radius:6px}
.header-anime-search{display:flex;align-items:center;width:280px;min-width:120px;max-width:30vw;background:#dfdfdf;border:1px solid #cecece;border-radius:6px}
.header-anime-search input{width:100%;min-width:0;border:0;background:transparent;color:#333;padding:11px 12px;font-size:13px;outline:none}
.header-anime-search button{padding:8px;background:transparent;color:#444}
body[data-page="anime"] .anime-page{display:block;max-width:1500px;padding:25px 30px 45px}
.anime-browse{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:20px}
body[data-page="anime"] .anime-sidebar{grid-column:2;grid-row:1;padding:20px;background:#f7f8fa;border:0;border-radius:12px;align-self:start;box-shadow:0 3px 8px #0002}
body[data-page="anime"] .anime-content{grid-column:1;grid-row:1;padding:0}
body[data-page="anime"] .sidebar-title{font-size:22px;color:#333}
body[data-page="anime"] .sidebar-title .icon{color:#ff6065}
body[data-page="anime"] .sidebar-title strong{color:#ff6065}
body[data-page="anime"] .side-item{color:#333;font-size:13px;background:transparent;border-radius:6px}
body[data-page="anime"] .side-item.active{color:#ff6065;background:#ffe8e9}
body[data-page="anime"] .side-count{background:#ff6065;color:white}
body[data-page="anime"] .sidebar-label{color:#888}
body[data-page="anime"] .watch-preference{border-color:#ddd;background:#f0f0f0}
body[data-page="anime"] .watch-preference strong{color:#ff6065}
body[data-page="anime"] .catalog-header{margin-bottom:18px}
body[data-page="anime"] .catalog-header h1{font-size:28px;letter-spacing:-.02em;color:#333}
body[data-page="anime"] .anime-search{border-color:#d1d1d1;background:#dfdfdf}
body[data-page="anime"] input,body[data-page="anime"] select{color:#333;background:#dfdfdf;border-color:#d0d0d0;color-scheme:light}
body[data-page="anime"] input::placeholder{color:#777}
body[data-page="anime"] .anime-hero{height:260px;margin-bottom:20px;background:#f7f8fa;border:0;border-radius:12px;box-shadow:0 3px 8px #0002}
body[data-page="anime"] .anime-hero:before{background:linear-gradient(90deg,#f7f8fa 0%,#f7f8faf5 42%,#f7f8fa80 73%,transparent)}
body[data-page="anime"] .hero-copy{padding:24px;max-width:78%}
body[data-page="anime"] .hero-copy h2{font-size:26px;color:#292929;text-shadow:none}
body[data-page="anime"] .hero-copy p{color:#5a5a5a;max-width:560px}
body[data-page="anime"] .hero-copy .eyebrow{color:#ff6065}
body[data-page="anime"] .hero-meta{color:#888}
body[data-page="anime"] .hero-caption{display:none}
body[data-page="anime"] .primary{background:#ff6065;color:white;border-radius:6px;border:1px solid #ff6065}
body[data-page="anime"] .secondary{background:#e4e4e4;color:#333;border:1px solid #cecece;border-radius:6px}
body[data-page="anime"] .catalog-controls{padding:15px;background:#f7f8fa;border-radius:10px;margin-bottom:18px;flex-wrap:wrap;box-shadow:0 2px 6px #0001}
body[data-page="anime"] .catalog-controls h2{font-size:18px}
body[data-page="anime"] .poster-grid{gap:15px}
body[data-page="anime"] .poster-art{border-radius:7px;background:#d9d9d9;border-color:#d7d7d7}
body[data-page="anime"] .poster-card h3{font-size:13px;color:#333;font-weight:600}
body[data-page="anime"] .poster-meta,body[data-page="anime"] .poster-footer{color:#777}
body[data-page="anime"] .poster-footer button{background:#e0e0e0;color:#777;border-radius:5px}
body[data-page="anime"] .poster-footer button.saved{color:#ff6065}
body[data-page="anime"] .mobile-tabs{background:#f8f8f8;border-color:#d3d3d3}
body[data-page="anime"] .mobile-tabs button{color:#666}
body[data-page="anime"] .mobile-tabs button.active{background:#ff6065;color:white}
body[data-page="anime"] .site-footer{border-color:#d5d5d5;color:#777;background:#e7e7e7}
.detail-breadcrumb{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 16px;color:#888;font-size:12px}
.detail-back{background:transparent;color:#ff6065;padding:5px 0;font-size:13px;font-weight:600}
.title-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px}
.title-main{min-width:0}
.title-overview,.title-statistics,.title-help,.related-panel{border-radius:12px;background:#f7f8fa;box-shadow:0 3px 8px #0002;overflow:hidden}
.title-overview{padding:15px;margin-bottom:12px;scroll-margin-top:20px}
.title-summary{display:grid;grid-template-columns:minmax(0,1fr) 264px;gap:22px}
.title-copy{min-width:0}
.title-copy h1{font-size:29px;line-height:1.25;color:#272727;letter-spacing:-.02em;font-weight:700;margin:3px 0 8px}
.title-english{font-size:14px;color:#8b8b8b;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.title-rating{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:10px 0;font-size:14px;color:#858585}
.title-rating>span:first-child{color:#32c77d;font-size:25px;font-weight:700}
.title-rating small{font-size:12px}
.detail-quality{margin-left:8px;border:1px solid #dedede;border-radius:5px;padding:3px 7px;font-size:11px}
.title-facts{display:grid;grid-template-columns:170px minmax(0,1fr);gap:9px 15px;font-size:14px;line-height:1.3;margin:12px 0 15px}
.title-facts dt{font-weight:600;color:#929292}
.title-facts dd{margin:0;font-weight:600;color:#333}
.title-facts #detailYear{color:#ff6065}
.detail-genres{display:flex;flex-wrap:wrap;gap:5px}
.detail-genres span{font-size:11px;font-weight:500;border:1px solid #a7a7a7;border-radius:8px;padding:3px 8px;color:#333}
.title-status{display:inline-flex;border:1px solid #29cd76;border-radius:7px;padding:2px 7px;font-size:12px;font-weight:500}
.title-poster{min-width:0}
.title-poster img{width:100%;aspect-ratio:2/2.8;object-fit:cover;border-radius:9px 9px 0 0;background:#ddd}
.title-poster button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:35px;background:#dfdfdf;border-radius:0 0 9px 9px;color:#777;font-size:12px}
.title-poster button[aria-pressed="true"]{color:#ff6065;background:#ffe8e9}
.title-description{margin:18px 0 2px;font-size:14px;line-height:1.5;white-space:pre-line;color:#333}
.title-sidebar{display:grid;gap:12px;align-content:start}
.anime-brand-card{min-height:210px;padding:25px;background:linear-gradient(140deg,#ff777c,#f4545d);color:white;border-radius:12px;box-shadow:0 3px 8px #0002;position:relative;overflow:hidden}
.anime-brand-card:after{content:"S";font-weight:800;font-size:170px;position:absolute;right:0;bottom:-50px;color:#ffffff17;pointer-events:none}
.anime-brand-card>span{font-size:11px;letter-spacing:.2em;font-weight:700}
.anime-brand-card strong{display:block;font-size:31px;margin:12px 0 7px;letter-spacing:-.03em}
.anime-brand-card p{font-size:13px;line-height:1.5;max-width:220px;margin-bottom:22px}
.anime-brand-card a{font-size:12px;font-weight:650;border-bottom:1px solid #ffffff88;padding-bottom:3px}
.title-statistics h2,.title-help h2{font-size:14px;font-weight:500;text-align:center;margin:0;padding:17px 10px;border-bottom:3px solid #ff6065}
.title-statistics dl{display:grid;grid-template-columns:1fr auto;gap:12px;margin:18px 15px;font-size:13px}
.title-statistics dd{margin:0;font-variant-numeric:tabular-nums}
.title-statistics p{font-size:12px;color:#888;line-height:1.5;border-top:1px solid #ddd;margin:0 15px;padding:14px 0}
.title-help p{font-size:13px;line-height:1.6;color:#777;padding:15px}
.title-help button,.title-help a{display:block;width:100%;text-align:left;background:transparent;font-size:12px;color:#ff6065;padding:12px 15px;border-top:1px solid #ddd}
.related-panel{margin-top:14px;padding:15px}
.related-panel h2{font-size:18px;font-weight:600;margin-bottom:18px}
body[data-page="anime"] #relatedGrid{grid-template-columns:repeat(5,minmax(0,1fr))}
body[data-page="anime"] .watch-dialog[open]{position:static;inset:auto;display:block;width:100%;max-width:100%;max-height:none;overflow:visible;background:#f7f8fa;color:#333;border:0;border-radius:12px;padding:0;margin:0;box-shadow:0 3px 8px #0002}
body[data-page="anime"] .watch-dialog:not([open]){display:none}
body[data-page="anime"] .watch-header{display:none}
.watch-tabs{display:flex;gap:0;align-items:stretch;border-bottom:3px solid #ff6065;overflow-x:auto;border-radius:12px 12px 0 0}
.watch-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;background:transparent;padding:16px 18px;font-size:12px;color:#333}
.watch-tabs button.active{background:#ff6065;color:white}
body[data-page="anime"] .watch-layout{display:flex;flex-direction:column}
body[data-page="anime"] .watch-main{padding:0 15px 15px}
body[data-page="anime"] .episode-panel{order:-1;border:0;background:transparent;padding:12px 15px 10px}
body[data-page="anime"] .episode-heading{display:inline-flex;align-items:center;gap:10px;margin:0 20px 8px 0}
body[data-page="anime"] .episode-heading h3{font-size:12px;color:#888;font-weight:500}
body[data-page="anime"] .episode-heading span{font-size:11px;color:#888}
body[data-page="anime"] .autonext{display:inline-flex;font-size:12px;color:#777;margin-bottom:8px}
body[data-page="anime"] .episode-list{display:flex;flex-wrap:wrap;gap:5px;max-height:145px;overflow-y:auto}
body[data-page="anime"] .episode-button{position:relative;display:flex;justify-content:center;align-items:center;min-width:49px;min-height:40px;padding:9px 11px;background:#dfdfdf;color:#333;border:0;border-top:3px solid transparent;border-radius:6px;text-align:center}
body[data-page="anime"] .episode-button.active{border-top-color:#32c77d;background:#d3d3d3;color:#333;box-shadow:none}
body[data-page="anime"] .episode-button.has-intro:before{position:absolute;content:"";left:2px;top:9px;width:4px;height:15px;background:#bd88dd;border-radius:2px}
body[data-page="anime"] .episode-copy,body[data-page="anime"] .episode-quality{display:none}
body[data-page="anime"] .episode-number{width:auto;height:auto;background:transparent;border:0;color:#333;font-size:14px}
body[data-page="anime"] .video-stage{border-radius:9px;aspect-ratio:16/9;background:#000;overflow:hidden}
body[data-page="anime"] .video-stage video{display:block;width:100%;height:100%;max-height:none;object-fit:contain}
body[data-page="anime"] .player-bar{margin:12px 0;font-size:12px}
body[data-page="anime"] .player-bar select{min-width:80px;background:#e1e1e1;color:#333;border:1px solid #ccc}
body[data-page="anime"] .icon-button{background:#dfdfdf;color:#666;border-color:#ccc}
body[data-page="anime"] .player-notice{font-size:12px;color:#888;line-height:1.5}
body[data-page="anime"] .watch-description{margin-top:18px;border-color:#ddd}
body[data-page="anime"] #watchDescription,body[data-page="anime"] #watchGenres{display:none}
body[data-page="anime"] .watch-actions h3{font-size:14px;font-weight:500}
body[data-page="anime"] .alternate-sources a{color:#ff6065}
body[data-page="anime"] .alternate-sources p{color:#888}
body[data-page="anime"] .watch-dialog.cinema{width:100%;max-width:100%}
body[data-page="anime"] .watch-dialog.cinema .episode-panel{border:0}
body[data-page="anime"] .watch-dialog.cinema .episode-list{display:flex;max-height:145px}
body[data-page="anime"] .skeleton .poster-art{background:#ddd}
body[data-page="anime"] .hub-toast{background:#333;color:white;border-color:#555}
@media(min-width:1650px){body[data-page="anime"] .site-header{padding-inline:max(30px,calc((100vw - 1440px)/2))}}
@media(max-width:1150px){body[data-page="anime"] .site-header{gap:12px;padding-inline:20px}.header-anime-search{width:220px}.title-layout{grid-template-columns:minmax(0,1fr) 250px}.title-summary{grid-template-columns:minmax(0,1fr) 210px;gap:15px}.title-copy h1{font-size:25px}.title-facts{grid-template-columns:130px minmax(0,1fr);font-size:13px;gap:8px 10px}body[data-page="anime"] .site-header nav a{padding:9px;font-size:11px}body[data-page="anime"] .brand{font-size:16px}body[data-page="anime"] .brand-mark{width:46px;height:46px;font-size:28px}}
@media(max-width:950px){.title-layout{grid-template-columns:minmax(0,1fr)}.title-sidebar{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:8px;gap:12px}.anime-brand-card{padding:18px;min-height:0}.anime-brand-card strong{font-size:23px}.title-statistics dl{font-size:12px;gap:10px;margin:15px 12px}.anime-browse{grid-template-columns:minmax(0,1fr)}body[data-page="anime"] .anime-sidebar{display:none}body[data-page="anime"] .site-header{flex-wrap:wrap;height:auto;gap:12px;padding:12px 20px}.header-anime-search{flex:1;max-width:none;order:3;width:100%}body[data-page="anime"] .site-header nav{margin-left:auto}body[data-page="anime"] .catalog-header h1{font-size:24px}}
@media(max-width:600px){body[data-page="anime"] .site-header{padding:10px 12px;gap:8px}body[data-page="anime"] .brand{font-size:14px;gap:8px}body[data-page="anime"] .brand-mark{width:36px;height:36px;font-size:23px}body[data-page="anime"] .brand small{font-size:7px}body[data-page="anime"] .site-header nav{gap:0}body[data-page="anime"] .site-header nav a{font-size:10px;padding:8px 7px}body[data-page="anime"] .site-header nav a[data-nav="home"]{display:none}body[data-page="anime"] .account-link{padding:8px;border:0}body[data-page="anime"] .account-link>span:last-child{display:none}.header-anime-search{order:4;flex-basis:100%;height:36px}body[data-page="anime"] .anime-page{padding:16px 12px 30px}.title-overview{padding:12px}.title-summary{grid-template-columns:minmax(0,1fr) 112px;gap:12px}.title-copy h1{font-size:19px;margin-top:0}.title-english{font-size:11px;white-space:normal;line-height:1.4;max-height:45px}.title-rating{gap:5px;margin:7px 0}.title-rating>span:first-child{font-size:19px}.title-rating small{font-size:9px}.detail-quality{margin-left:0;font-size:9px}.title-poster img{border-radius:6px 6px 0 0}.title-poster button{font-size:10px;gap:5px;min-height:33px}.title-poster .icon{width:14px;height:14px}.title-facts{grid-template-columns:92px minmax(0,1fr);grid-column:1/-1;font-size:11px;gap:7px 9px;margin:10px 0 0}.detail-genres span{padding:2px 5px;font-size:9px}.title-status{font-size:10px}.title-description{font-size:12px;line-height:1.6;margin-top:14px}.title-sidebar{grid-template-columns:1fr}.title-sidebar .anime-brand-card,.title-sidebar .title-help{display:none}.title-statistics{margin-top:0}.title-statistics h2{padding:12px;font-size:12px}.title-statistics dl{grid-template-columns:1fr auto;gap:9px;font-size:12px}.watch-tabs button{font-size:10px;padding:13px 11px}.watch-tabs .icon{width:15px;height:15px}body[data-page="anime"] .episode-panel{padding:10px}body[data-page="anime"] .episode-button{min-width:37px;min-height:36px;padding:6px 10px}body[data-page="anime"] .watch-main{padding:0 10px 12px}body[data-page="anime"] .player-bar{gap:6px}body[data-page="anime"] .player-bar>div{gap:6px}body[data-page="anime"] #videoResolution{font-size:9px}body[data-page="anime"] .player-bar .icon-button{width:31px;height:31px;padding:7px}body[data-page="anime"] #relatedGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.related-panel{padding:12px}.related-panel h2{font-size:15px}body[data-page="anime"] .anime-hero{height:245px}body[data-page="anime"] .hero-copy{padding:18px;max-width:90%}body[data-page="anime"] .hero-copy h2{font-size:22px}body[data-page="anime"] .catalog-controls{padding:12px;gap:10px}body[data-page="anime"] .catalog-controls h2{font-size:15px}body[data-page="anime"] .filter-controls{width:100%;display:flex}body[data-page="anime"] .poster-grid{gap:11px}.detail-breadcrumb{font-size:10px}.detail-back{font-size:12px}}
@media(prefers-reduced-motion:reduce){body[data-page="anime"] *{scroll-behavior:auto!important}}
/* The reference's mobile page puts the poster above the title and keeps navigation at hand. */
.anime-mobile-dock,.jump-player{display:none}
@media(max-width:600px){
 body[data-page="anime"]{padding-bottom:60px}
 .title-summary{display:flex;flex-direction:column;gap:15px}
 .title-poster{order:-1;display:flex;align-items:center;flex-direction:column;width:100%;padding:5px 0 0;background:#f1f2f5;border-radius:6px}
 .title-poster img{width:190px;aspect-ratio:2/2.8;object-fit:cover;border-radius:6px}
 .title-poster button{margin-top:10px;width:100%;min-height:36px;border-radius:0 0 6px 6px;font-size:12px}
 .title-poster .icon{width:17px;height:17px}
 .title-copy h1{font-size:25px;line-height:1.3;margin:0 0 8px}
 .title-english{font-size:13px;line-height:1.5;max-height:40px}
 .title-rating{margin:9px 0}.title-rating>span:first-child{font-size:24px}.title-rating small{font-size:11px}.detail-quality{font-size:10px;margin-left:6px}
 .title-facts{grid-template-columns:115px minmax(0,1fr);font-size:13px;gap:8px 10px}.detail-genres span{font-size:11px;padding:3px 6px}.title-status{font-size:12px}
 body[data-page="anime"] .anime-mobile-dock{position:fixed;bottom:0;left:0;right:0;z-index:8;display:flex;align-items:stretch;justify-content:space-around;gap:3px;padding:7px 6px max(7px,env(safe-area-inset-bottom));background:#e3e3e3;border-top:2px solid #ff6065;box-shadow:0 -2px 7px #0002}
 .anime-mobile-dock button,.anime-mobile-dock a{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;flex:1;padding:3px 4px;color:#444;background:transparent;font-size:9px;min-height:39px}
 .anime-mobile-dock button.active{color:#ff6065}.anime-mobile-dock .icon{width:18px;height:18px}
 body[data-page="anime"] .jump-player{display:flex;position:fixed;bottom:75px;left:15px;z-index:7;background:#ff6065;color:white;border-radius:20px;padding:9px 14px;font-size:12px;box-shadow:0 3px 10px #0003}
}
.anime-detail.cinema .title-layout{grid-template-columns:minmax(0,1fr)}
.anime-detail.cinema .title-sidebar,.anime-detail.cinema .title-overview,.anime-detail.cinema .related-panel{display:none}
/* Day and AMOLED share the same layout. Correct contrast applies to the actual
   hero-shade/search elements rather than unused legacy selectors. */
.anime-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;min-height:38px;padding:8px 11px;border:1px solid #ccc;border-radius:6px;background:#e4e4e4;color:#333;font-size:11px;font-weight:600}
.anime-theme-toggle .icon{width:17px;height:17px}
body[data-page="anime"] .search{display:flex;align-items:center;gap:9px;background:#e5e5e5;border:1px solid #ccc;border-radius:7px;color:#656565;padding:8px 11px}
body[data-page="anime"] .search input{min-width:0;width:100%;border:0;outline:none;background:transparent;color:#292929;font-size:12px;padding:4px 0}
body[data-page="anime"] .search button{border-color:#c2c2c2;background:transparent;color:#555}
body[data-page="anime"] .hero-shade{background:linear-gradient(90deg,#f7f8fa 1%,#f7f8faf5 38%,#f7f8fa9c 70%,#f7f8fa15 100%)}
body[data-page="anime"] .hero-copy h2{color:#242424}
body[data-page="anime"] .hero-copy>p{color:#595959}
body[data-page="anime"] .hero-meta{color:#646464}
body[data-page="anime"] .pill{color:#666;background:#f0f0f0;border-color:#d6d6d6}
body[data-page="anime"] .pill.orange{color:#c74247;background:#ffe6e8;border-color:#f4c1c4}
body[data-page="anime"] .poster-rating,body[data-page="anime"] #catalogCount{color:#f5f5f5}
html:not([data-anime-theme="light"]) body[data-page="anime"]{color-scheme:dark;--bg:#000;--panel:#0b0b0d;--line:#28282d;--ink:#f1f1f5;--muted:#a4a4ae;background:#000;color:#f1f1f5}
html:not([data-anime-theme="light"]) body[data-page="anime"] :is(.site-header,.anime-sidebar,.anime-hero,.catalog-controls,.title-overview,.title-statistics,.title-help,.related-panel,.watch-dialog[open],.episode-panel,.mobile-tabs,.anime-mobile-dock){background:#0b0b0d;color:#f1f1f5;border-color:#29292e;box-shadow:none}
html:not([data-anime-theme="light"]) body[data-page="anime"] :is(.anime-sidebar,.anime-hero,.catalog-controls,.title-overview,.title-statistics,.title-help,.related-panel,.watch-dialog[open]){border:1px solid #242428}
html:not([data-anime-theme="light"]) body[data-page="anime"] .site-header{border-bottom:1px solid #242428}
html:not([data-anime-theme="light"]) body[data-page="anime"] :is(.header-anime-search,.search,.search input,.header-anime-search input,select){background:#151518;border-color:#333339;color:#eeeef3}
html:not([data-anime-theme="light"]) body[data-page="anime"] :is(.search input,.header-anime-search input){background:transparent}
html:not([data-anime-theme="light"]) body[data-page="anime"] :is(.search button,.header-anime-search button,.header-anime-search input::placeholder,.search input::placeholder){color:#a5a5b0}
html:not([data-anime-theme="light"]) body[data-page="anime"] :is(.brand,.site-header nav a,.side-item,.sidebar-title,.catalog-header h1,.catalog-controls h2,.poster-card h3,.title-copy h1,.title-facts dd,.watch-tabs button,.watch-actions h3,.hero-copy h2){color:#f1f1f5}
html:not([data-anime-theme="light"]) body[data-page="anime"] :is(.brand small,.sidebar-label,.library-notice,.source-caption,.hero-copy>p,.hero-meta,.poster-meta,.poster-footer,.title-english,.title-rating,.title-facts dt,.title-statistics p,.title-help p,.player-notice,.alternate-sources p,.autonext,.episode-heading h3,.episode-heading span,.mobile-tabs button,.detail-breadcrumb){color:#a4a4ae}
html:not([data-anime-theme="light"]) body[data-page="anime"] :is(.sidebar-title strong,.title-facts #detailYear,.detail-back,.title-help a,.title-help button,.alternate-sources a){color:#ff737a}
html:not([data-anime-theme="light"]) body[data-page="anime"] :is(.site-header nav a.active,.mobile-tabs button.active,.watch-tabs button.active){color:white;background:#f55e66}
html:not([data-anime-theme="light"]) body[data-page="anime"] .side-item.active{color:#ff737a;background:#281215}
html:not([data-anime-theme="light"]) body[data-page="anime"] :is(.secondary,.account-link,.anime-theme-toggle,.icon-button,.poster-footer button,.title-poster button,.episode-button,.watch-preference,.mobile-tabs,.detail-quality){background:#18181d;color:#e1e1e8;border-color:#34343b}
html:not([data-anime-theme="light"]) body[data-page="anime"] .anime-theme-toggle{border-color:#5f3439;color:#ff9ca1;background:#211114}
html:not([data-anime-theme="light"]) body[data-page="anime"] .hero-shade{background:linear-gradient(90deg,#08080b 1%,#08080bf5 36%,#08080b90 72%,#08080b33 100%),linear-gradient(0deg,#08080bbf,transparent 75%)}
html:not([data-anime-theme="light"]) body[data-page="anime"] .hero-copy h2{color:#fff}
html:not([data-anime-theme="light"]) body[data-page="anime"] .hero-copy>p{color:#d2d2db}
html:not([data-anime-theme="light"]) body[data-page="anime"] .hero-meta{color:#c2c2ce}
html:not([data-anime-theme="light"]) body[data-page="anime"] .pill{background:#24242a;color:#dddde4;border-color:#414148}
html:not([data-anime-theme="light"]) body[data-page="anime"] .pill.orange{background:#351519;color:#ffadb2;border-color:#6c3037}
html:not([data-anime-theme="light"]) body[data-page="anime"] .poster-art{background:#151519;border-color:#29292f}
html:not([data-anime-theme="light"]) body[data-page="anime"] .poster-footer button.saved{color:#ff737a}
html:not([data-anime-theme="light"]) body[data-page="anime"] .title-description{color:#dddde5}
html:not([data-anime-theme="light"]) body[data-page="anime"] .detail-genres span{color:#dcdce5;border-color:#4a4a54;background:#17171d}
html:not([data-anime-theme="light"]) body[data-page="anime"] .title-status{color:#64dd9e;border-color:#359e67}
html:not([data-anime-theme="light"]) body[data-page="anime"] :is(.title-poster,.title-poster img){background:#141417}
html:not([data-anime-theme="light"]) body[data-page="anime"] .title-poster button[aria-pressed="true"]{color:#ff9da5;background:#2b1318}
html:not([data-anime-theme="light"]) body[data-page="anime"] .episode-button.active{border-top-color:#53db96;background:#25252d;color:#fff}
html:not([data-anime-theme="light"]) body[data-page="anime"] .episode-number{color:#efeff5}
html:not([data-anime-theme="light"]) body[data-page="anime"] :is(.title-statistics p,.title-help button,.title-help a,.watch-description,.sidebar-divider){border-color:#2c2c32}
html:not([data-anime-theme="light"]) body[data-page="anime"] .player-bar select{background:#19191f;color:#eeeef6;border-color:#3b3b45}
html:not([data-anime-theme="light"]) body[data-page="anime"] .site-footer{background:#050505;border-color:#232328;color:#a4a4af}
html:not([data-anime-theme="light"]) body[data-page="anime"] .anime-mobile-dock{border-top:2px solid #ff6065}
html:not([data-anime-theme="light"]) body[data-page="anime"] :is(.anime-mobile-dock a,.anime-mobile-dock button){color:#dedee8}
html:not([data-anime-theme="light"]) body[data-page="anime"] .anime-mobile-dock button.active{color:#ff7b83}
html:not([data-anime-theme="light"]) body[data-page="anime"] .skeleton .poster-art{background:#16161b}
@media(max-width:600px){body[data-page="anime"] .site-header nav a[data-nav="ai"]{display:none}.anime-theme-toggle{min-height:32px;padding:6px 8px;gap:4px;font-size:10px}.anime-theme-toggle .icon{width:15px;height:15px}}
html:not([data-anime-theme="light"]) body[data-page="anime"] input::placeholder{color:#a5a5b0}
html:not([data-anime-theme="light"]) body[data-page="anime"] :is(.primary,.site-header nav a.active,.mobile-tabs button.active,.watch-tabs button.active){background:#cf3d47;border-color:#cf3d47;color:#fff}
html:not([data-anime-theme="light"]) body[data-page="anime"] .brand-mark{background:#eb505a}

/* Compact source selectors and Shadow's own reference-style video controls. */
.player-source-row{display:flex;align-items:center;gap:5px;margin-bottom:9px;min-width:0}
.player-source{position:relative;flex:1;min-width:0;display:flex;align-items:center}
body[data-page="anime"] .player-source select{width:100%;max-width:none;min-width:0;height:36px;border:1px solid #ccc;border-radius:7px;background:#e5e5e5;color:#333;padding:0 84px 0 9px;font-size:12px;font-weight:600;text-overflow:ellipsis}
.source-count{position:absolute;right:28px;pointer-events:none;font-size:10px;font-weight:700;padding:3px 5px;background:#62686b;color:white;border-radius:4px}
body[data-page="anime"] .player-follow{display:flex;align-items:center;gap:7px;height:36px;padding:0 10px;border-radius:7px;background:#d8d8d8;color:#333;font-size:12px;font-weight:650}
.player-follow .icon{width:16px;height:16px}
body[data-page="anime"] .player-follow[aria-pressed="true"]{background:#276b4d;color:white}
html:not([data-anime-theme="light"]) body[data-page="anime"] :is(.player-source select,.player-follow){background:#1c1f20;color:#ddd;border-color:#343738}
body[data-page="anime"] .episode-heading{margin-bottom:7px}
body[data-page="anime"] .episode-button.has-ending:after{position:absolute;content:"";right:2px;top:9px;width:4px;height:15px;background:#74419c;border-radius:2px}
.episode-progress{position:absolute;bottom:0;left:0;height:4px;background:#c82028;border-radius:0 0 0 5px;pointer-events:none}
body[data-page="anime"] .video-stage{position:relative;isolation:isolate;outline-offset:3px}
.video-controls{position:absolute;z-index:3;left:9px;right:9px;bottom:9px;display:flex;align-items:center;gap:9px;padding:5px 8px;background:#17191bef;border-radius:6px;color:#eee;transition:opacity .2s}
.video-controls:before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:-45px -9px -9px;background:linear-gradient(transparent,#0009);border-radius:6px}
.player-control{display:grid;place-items:center;flex-shrink:0;width:29px;height:29px;padding:4px;background:transparent;color:#eee;border-radius:4px}
.player-control:hover{background:#ffffff24}
.player-control .icon{width:20px;height:20px}
.video-controls .player-play{width:45px;height:33px;background:#0c0e10;border-radius:5px;margin-left:-3px}
.video-controls .player-play .icon{width:24px;height:24px}
.player-time{font-size:10px;line-height:1;flex-shrink:0;font-variant-numeric:tabular-nums;color:#fff}
.video-controls input[type="range"]{padding:0;border:0;min-width:0;appearance:none;-webkit-appearance:none;height:8px;border-radius:0;cursor:pointer;outline-offset:5px}
.video-controls input[type="range"]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:50%;background:#f2f2f2;opacity:0;transition:opacity .15s}
.video-controls input[type="range"]::-moz-range-thumb{width:10px;height:10px;border:0;border-radius:50%;background:#f2f2f2}
.video-controls input[type="range"]:is(:hover,:focus-visible)::-webkit-slider-thumb{opacity:1}
body[data-page="anime"] .video-controls .player-seek{flex:1;background:linear-gradient(to right,#c31c25 0 var(--played,0%),#555a5d var(--played,0%) var(--buffered,0%),#292e30 var(--buffered,0%) 100%)}
body[data-page="anime"] .video-controls .player-volume{width:48px;flex-shrink:0;background:linear-gradient(to right,#c31c25 var(--volume,100%),#45494b var(--volume,100%));clip-path:polygon(0 55%,100% 0,100% 100%,0 100%)}
body[data-page="anime"] .video-controls .player-volume:focus-visible{clip-path:none}
.player-quality{position:relative;flex-shrink:0;display:flex;align-items:center;gap:7px}
body[data-page="anime"] .player-quality select{width:73px;min-width:0;height:30px;padding:3px 13px 3px 4px;font-size:11px;font-weight:700;background:#191b1d;color:#eee;border:0;border-radius:3px}
.hd-badge{position:absolute;right:15px;top:0;font-size:7px;background:#c82028;color:#fff;padding:0 2px;border-radius:2px;pointer-events:none}
.player-center-play{position:absolute;z-index:2;inset:0;margin:auto;width:70px;height:70px;display:grid;place-items:center;border-radius:50%;background:#111b;color:white;box-shadow:0 0 0 1px #ffffff35}
.player-center-play .icon{width:32px;height:32px;margin-left:4px}
.controls-hidden :is(.video-controls,.skip-intro){opacity:0;pointer-events:none}
.controls-hidden{cursor:none}
.controls-hidden:focus-within .video-controls{opacity:1;pointer-events:auto}
.player-settings{position:absolute;z-index:6;right:10px;bottom:53px;width:326px;max-width:calc(100% - 20px);max-height:calc(100% - 64px);overflow:auto;overscroll-behavior:contain;background:#1e2223f7;border:2px solid #707474;border-radius:9px;box-shadow:0 5px 18px #0008;padding:8px 12px;color:#e3e3e3;font-size:12px;text-align:left;scrollbar-width:thin;color-scheme:dark}
.player-settings-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:3px}
.player-settings-heading strong{font-size:12px;color:#aaa;font-weight:500}
.player-setting{display:flex;align-items:center;gap:8px;min-height:33px;cursor:pointer;position:relative}
.player-setting>.icon{width:18px;height:18px;color:#e1e3e4}
.player-setting>span:nth-child(2){flex:1;font-weight:600}
.player-setting input{position:absolute;right:0;width:38px;height:21px;opacity:0;cursor:pointer}
.player-switch{width:38px;height:20px;flex-shrink:0;background:#42484b;border-radius:12px;pointer-events:none;transition:background .15s}
.player-switch:after{content:"";display:block;width:16px;height:16px;margin:2px;border-radius:50%;background:#202627;transition:transform .15s}
.player-setting input:checked+.player-switch{background:#259e6c}
.player-setting input:checked+.player-switch:after{transform:translateX(18px)}
.player-setting input:focus-visible+.player-switch{outline:2px solid #eb8a8f;outline-offset:3px}
.player-settings hr{border:0;border-top:1px solid #414647;margin:7px 0}
.player-settings-action{display:flex;align-items:center;gap:8px;width:100%;min-height:32px;background:none;color:#ddd;font-weight:600;padding:0;text-align:left}
.player-settings-action .icon{width:18px;height:18px}
.player-settings-hint{font-size:10px;color:#b6b8b8;line-height:1.5;margin:6px 0}
.player-clear-history{width:100%;min-height:33px;border-radius:20px;background:#b71620;color:white;font-weight:700;font-size:12px;margin:5px 0}
.player-event-toast{position:absolute;top:12px;left:12px;z-index:4;padding:9px 12px;border-radius:5px;background:#171b1ce8;color:white;font-size:12px;pointer-events:none}
.player-event-panel{font-size:11px;color:var(--anime-muted,#999);margin:9px 0}
.player-event-panel summary{cursor:pointer;display:list-item}
.player-event-panel ol{list-style:none;margin:8px 0;padding:0;max-height:140px;overflow:auto;line-height:1.8}
.native-controls .player-center-play{display:none}
.native-controls .player-quality{margin:6px 0}
.native-controls .player-quality:before{content:"Video sifati";flex:1;font-weight:600}
.embedded-stage{width:100%;aspect-ratio:16/9;background:black;border-radius:9px;overflow:hidden}
.embedded-stage iframe{width:100%;height:100%;display:block;border:0;background:black}
body[data-page="anime"] .filter-controls{flex-wrap:wrap}
body[data-page="anime"] .filter-controls select{max-width:210px}
body[data-page="anime"] .video-quality-note{font-size:11px;color:var(--muted)}
@media(max-width:760px){body[data-page="anime"] .filter-controls #animeSource{width:100%;max-width:none}body[data-page="anime"] .filter-controls select:not(#animeSource){width:calc(50% - 5px);max-width:none}}
body[data-page="anime"] .video-stage:fullscreen{width:100%;height:100%;border-radius:0;aspect-ratio:auto;background:black}
body[data-page="anime"] .video-stage:fullscreen .player-settings{bottom:58px}
@media(min-width:981px){body[data-page="anime"] .anime-detail.cinema .watch-main{padding:0 0 15px}body[data-page="anime"] .anime-detail.cinema .video-stage{border-radius:9px}}
@media(max-width:600px){.player-source-row{flex-wrap:wrap}.player-source{flex-basis:calc(50% - 3px)}body[data-page="anime"] .player-source select{height:34px;padding-left:6px;padding-right:61px;font-size:10px}.source-count{right:20px;font-size:8px;padding:2px 3px}body[data-page="anime"] .player-follow{height:30px;font-size:10px;margin-left:auto}.video-controls{left:5px;right:5px;bottom:5px;gap:5px;padding:4px;flex-wrap:wrap}.video-controls .player-play{width:31px;height:27px;margin-left:0}.video-controls .player-play .icon{width:20px;height:20px}.player-control{width:26px;height:27px}.player-control .icon{width:18px;height:18px}.player-seek{order:-1;flex-basis:100%;height:5px!important}.player-time{font-size:10px}.player-volume{display:none}.player-quality{margin-left:auto}body[data-page="anime"] .player-quality select{width:66px;font-size:10px;height:27px}.player-center-play{width:50px;height:50px}.player-center-play .icon{width:25px;height:25px}.player-settings{right:5px;bottom:45px;max-height:calc(100% - 50px);padding:6px 9px}.player-event-toast{font-size:10px;top:8px;left:8px}.player-setting{min-height:35px}.player-settings .player-settings-heading{position:sticky;top:-6px;background:#1e2223;z-index:1}.video-stage:fullscreen .player-settings{max-height:calc(100% - 70px)}}

/* Shared viewing stays separate from the private account controls. */
.watch-party{margin:20px 0;padding:22px;border:1px solid var(--line,#303039);border-radius:16px;background:var(--panel,#111216);color:var(--ink,#f3f3f5)}
.watch-party h3,.watch-party h2{margin:0}.watch-party p{color:var(--muted,#a8a8b4);line-height:1.6}.party-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.party-count{border:1px solid var(--line,#303039);border-radius:20px;padding:7px 13px;color:var(--mint,#81e7d4);white-space:nowrap}.party-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}body[data-page="anime"] .watch-party input{color-scheme:inherit;background:var(--bg,#08090c);color:var(--ink,#f3f3f5);border:1px solid var(--line,#303039);border-radius:9px;padding:12px;max-width:100%;min-width:0;font:inherit}.party-actions input{flex:1;min-width:120px}.party-participants{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.party-participants span{background:color-mix(in srgb,var(--mint,#81e7d4) 10%,transparent);border:1px solid var(--line,#303039);border-radius:20px;padding:8px 12px;font-size:13px}#partyInviteURL{width:100%;box-sizing:border-box;font-size:13px}#partyJoinForm{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.invite-room{max-width:800px;margin:24px auto}.watch-guest #playerSeek,.watch-guest #playerPlay,.watch-guest #playerCenterPlay{pointer-events:none;opacity:.45}.watch-guest video{pointer-events:none}.watch-guest #playerNativeControls{pointer-events:none}.watch-party button:disabled{opacity:.5;cursor:default}
@media(max-width:600px){.watch-party{padding:16px}.party-actions button{flex:1}.invite-room{margin:12px}.party-actions input{width:100%;flex-basis:100%}}

/* Keep the reference player compact while giving touch inputs a usable hit area. */
@media(pointer:coarse),(max-width:780px){
  .video-controls .player-control{min-width:44px;min-height:44px}
  body[data-page="anime"] .video-controls .player-seek{height:28px!important;background-size:100% 6px;background-position:center;background-repeat:no-repeat}
  .video-controls .player-seek::-webkit-slider-thumb{width:16px;height:16px;opacity:1}
  .video-controls .player-seek::-moz-range-thumb{width:16px;height:16px}
  .player-setting,.player-settings-action,.player-clear-history{min-height:44px}
  .player-settings{bottom:67px;max-height:calc(100% - 75px)}
  body[data-page="anime"] .player-source select,.player-follow{min-height:44px}
}
@media(max-width:600px){
  .player-settings{position:fixed;left:12px;right:12px;bottom:calc(76px + env(safe-area-inset-bottom,0px));width:auto;max-width:none;max-height:calc(var(--shadow-viewport-height,100dvh) - 110px);padding:12px;box-shadow:0 12px 60px #000b}
  .player-settings .player-settings-heading{top:-12px}
}

/* Small refinements to the original coral, poster-first reference layout. */
body[data-page="anime"] .hero-copy{display:flex;flex-direction:column}
body[data-page="anime"] .hero-badges{margin-bottom:12px;flex-shrink:0}
body[data-page="anime"] .hero-copy h2{line-height:1.2;flex-shrink:0}
body[data-page="anime"] .hero-meta{margin:10px 0;flex-shrink:0;flex-wrap:wrap}
body[data-page="anime"] .hero-copy>p{min-height:0;flex:1}
body[data-page="anime"] .hero-buttons{margin-top:12px;flex-shrink:0}
body[data-page="anime"] .search:focus-within,body[data-page="anime"] .header-anime-search:focus-within{outline:2px solid var(--amber);outline-offset:2px}
body[data-page="anime"] .poster-card h3{min-height:2.9em;overflow-wrap:anywhere}
body[data-page="anime"] .poster-open:focus-visible{outline-offset:3px;border-radius:7px}
body[data-page="anime"] .poster-open:hover .poster-art,body[data-page="anime"] .poster-open:focus-visible .poster-art{border-color:var(--amber)}
body[data-page="anime"] .poster-meta>span,body[data-page="anime"] .poster-footer>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[data-page="anime"] .poster-meta>span:first-child{flex-shrink:0}
body[data-page="anime"] .poster-footer button{display:grid;place-items:center;flex-shrink:0;min-width:32px;min-height:32px}
body[data-page="anime"] .poster-footer .icon{width:18px;height:18px}
body[data-page="anime"] .title-facts dd,body[data-page="anime"] .player-notice{overflow-wrap:anywhere}
body[data-page="anime"] .episode-list{padding-bottom:6px;scroll-padding:8px;scrollbar-color:var(--line) transparent}
body[data-page="anime"] .episode-button[aria-current="true"]{font-weight:700}
body[data-page="anime"] .catalog-pagination{gap:clamp(12px,3vw,28px);font-variant-numeric:tabular-nums}
body[data-page="anime"] .catalog-pagination button{min-width:100px}
@media(pointer:coarse),(max-width:780px){
  body[data-page="anime"] .poster-footer button,body[data-page="anime"] .title-poster button{min-width:44px;min-height:44px}
  body[data-page="anime"] .poster-footer:has(button+button){flex-wrap:wrap;gap:6px 3px;justify-content:flex-start}
  body[data-page="anime"] .poster-footer:has(button+button)>span{flex-basis:100%}
  body[data-page="anime"] .anime-mobile-dock a,body[data-page="anime"] .anime-mobile-dock button{min-height:44px}
}

/* Anime Watch: a light touch of glass. Soft colour lights sit behind translucent, blurred panels; the coral accent and layout stay. */
html:not([data-anime-theme="light"]) body[data-page="anime"]{
  background-color:#07070b;background-attachment:fixed;
  background-image:radial-gradient(38% 40% at 8% 22%,rgba(255,96,101,.4),transparent 70%),radial-gradient(34% 36% at 94% 16%,rgba(120,90,255,.38),transparent 70%),radial-gradient(36% 38% at 68% 98%,rgba(60,140,255,.32),transparent 70%)}
html[data-anime-theme="light"] body[data-page="anime"]{
  background-color:#eceef4;background-attachment:fixed;
  background-image:radial-gradient(38% 40% at 8% 22%,rgba(255,96,101,.34),transparent 70%),radial-gradient(34% 36% at 94% 16%,rgba(150,140,255,.36),transparent 70%),radial-gradient(36% 38% at 68% 98%,rgba(90,170,255,.32),transparent 70%)}

html:not([data-anime-theme="light"]) body[data-page="anime"][data-page] :is(.anime-sidebar,.anime-hero,.catalog-controls,.title-overview,.title-statistics,.title-help,.related-panel,.watch-party,.anime-brand-card){
  background:linear-gradient(150deg,rgba(255,255,255,.1),rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.14);border-radius:18px;
  -webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%);
  box-shadow:0 14px 36px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.18)}
html:not([data-anime-theme="light"]) body[data-page="anime"][data-page] .site-header{
  background:rgba(12,12,18,.55);border-bottom:1px solid rgba(255,255,255,.1);
  -webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%)}
html:not([data-anime-theme="light"]) body[data-page="anime"][data-page] :is(.header-anime-search,.search,select,.secondary,.account-link,.anime-theme-toggle,.watch-preference){
  background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.16);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
html:not([data-anime-theme="light"]) body[data-page="anime"][data-page] .poster-art{border-color:rgba(255,255,255,.14);box-shadow:0 10px 26px rgba(0,0,0,.35)}
html:not([data-anime-theme="light"]) body[data-page="anime"][data-page] .side-item.active{background:rgba(245,94,102,.2);box-shadow:inset 0 0 0 1px rgba(245,94,102,.35)}
html:not([data-anime-theme="light"]) body[data-page="anime"][data-page] .site-footer{background:rgba(5,5,8,.5);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}

html[data-anime-theme="light"] body[data-page="anime"][data-page] :is(.anime-sidebar,.anime-hero,.catalog-controls,.title-overview,.title-statistics,.title-help,.related-panel,.watch-party,.anime-brand-card){
  background:linear-gradient(150deg,rgba(255,255,255,.78),rgba(255,255,255,.48));
  border:1px solid rgba(255,255,255,.85);border-radius:18px;
  -webkit-backdrop-filter:blur(22px) saturate(170%);backdrop-filter:blur(22px) saturate(170%);
  box-shadow:0 12px 30px rgba(70,80,140,.14),inset 0 1px 0 #fff}
html[data-anime-theme="light"] body[data-page="anime"][data-page] .site-header{
  background:rgba(255,255,255,.6);border-bottom:1px solid rgba(255,255,255,.8);box-shadow:0 6px 24px rgba(70,80,140,.12);
  -webkit-backdrop-filter:blur(22px) saturate(170%);backdrop-filter:blur(22px) saturate(170%)}
html[data-anime-theme="light"] body[data-page="anime"][data-page] :is(.header-anime-search,.search,select,.anime-theme-toggle,.account-link,.watch-preference){
  background:rgba(255,255,255,.6);border-color:rgba(255,255,255,.9);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
html[data-anime-theme="light"] body[data-page="anime"][data-page] .poster-art{border-color:rgba(255,255,255,.9);box-shadow:0 8px 22px rgba(70,80,140,.18)}
html[data-anime-theme="light"] body[data-page="anime"][data-page] .site-footer{background:rgba(255,255,255,.5);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}

/* Anime Watch glass, stronger: brighter lights, floating pill header, frosted posters and controls. */
html:not([data-anime-theme="light"]) body[data-page="anime"]{
  background-image:radial-gradient(42% 46% at 6% 20%,rgba(255,96,101,.55),transparent 70%),radial-gradient(38% 42% at 96% 12%,rgba(130,100,255,.55),transparent 70%),radial-gradient(42% 46% at 62% 100%,rgba(60,150,255,.5),transparent 70%),radial-gradient(26% 30% at 40% 55%,rgba(255,120,200,.22),transparent 70%)}
html[data-anime-theme="light"] body[data-page="anime"]{
  background-image:radial-gradient(42% 46% at 6% 20%,rgba(255,96,101,.5),transparent 70%),radial-gradient(38% 42% at 96% 12%,rgba(150,140,255,.55),transparent 70%),radial-gradient(42% 46% at 62% 100%,rgba(90,175,255,.5),transparent 70%),radial-gradient(26% 30% at 40% 55%,rgba(255,150,200,.3),transparent 70%)}

html:not([data-anime-theme="light"]) body[data-page="anime"][data-page] :is(.anime-sidebar,.anime-hero,.catalog-controls,.title-overview,.title-statistics,.title-help,.related-panel,.watch-party,.anime-brand-card){
  background:linear-gradient(150deg,rgba(255,255,255,.17),rgba(255,255,255,.05) 50%,rgba(255,255,255,.1));
  border-color:rgba(255,255,255,.24);border-radius:26px;
  -webkit-backdrop-filter:blur(30px) saturate(190%) brightness(1.1);backdrop-filter:blur(30px) saturate(190%) brightness(1.1);
  box-shadow:0 22px 50px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.42),inset 0 -30px 60px rgba(255,255,255,.03)}
html[data-anime-theme="light"] body[data-page="anime"][data-page] :is(.anime-sidebar,.anime-hero,.catalog-controls,.title-overview,.title-statistics,.title-help,.related-panel,.watch-party,.anime-brand-card){
  background:linear-gradient(150deg,rgba(255,255,255,.62),rgba(255,255,255,.28) 55%,rgba(255,255,255,.46));
  border-color:rgba(255,255,255,.95);border-radius:26px;
  -webkit-backdrop-filter:blur(30px) saturate(180%);backdrop-filter:blur(30px) saturate(180%);
  box-shadow:0 20px 44px rgba(70,80,140,.18),inset 0 1px 0 #fff}

/* floating pill header */
body[data-page="anime"][data-page] .site-header{margin:8px 12px 0;border:1px solid rgba(255,255,255,.2);border-radius:999px;height:64px;min-height:64px;padding:6px 18px}
html:not([data-anime-theme="light"]) body[data-page="anime"][data-page] .site-header{background:linear-gradient(150deg,rgba(255,255,255,.15),rgba(255,255,255,.05));box-shadow:0 18px 40px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.35)}
html[data-anime-theme="light"] body[data-page="anime"][data-page] .site-header{background:linear-gradient(150deg,rgba(255,255,255,.75),rgba(255,255,255,.45));border-color:rgba(255,255,255,.95);box-shadow:0 16px 36px rgba(70,80,140,.2),inset 0 1px 0 #fff}
body[data-page="anime"][data-page] .site-header .brand-mark{width:38px;height:38px;border-radius:13px;font-size:23px;box-shadow:0 10px 24px rgba(255,96,101,.5)}
body[data-page="anime"][data-page] .site-header nav a,
body[data-page="anime"][data-page] .header-anime-search,
body[data-page="anime"][data-page] .account-link,
body[data-page="anime"][data-page] .anime-theme-toggle{border-radius:999px}
body[data-page="anime"][data-page] .site-header nav a.active{box-shadow:0 8px 22px rgba(245,94,102,.5),inset 0 1px 0 rgba(255,255,255,.4)}
body[data-page="anime"][data-page] .header-anime-search input{padding-inline:18px}

/* frosted posters, rounded controls and tabs */
body[data-page="anime"][data-page] .poster-art{border-radius:22px;overflow:hidden}
body[data-page="anime"][data-page] .poster-card:hover .poster-art{transform:translateY(-4px);box-shadow:0 22px 44px rgba(245,94,102,.28)}
body[data-page="anime"][data-page] .poster-art{transition:transform .2s,box-shadow .2s}
html:not([data-anime-theme="light"]) body[data-page="anime"][data-page] .poster-rating{background:rgba(10,10,16,.45);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.2)}
body[data-page="anime"][data-page] :is(.search,.search input,select,.secondary,.primary,.orange-button,.pill,.mobile-tabs button,.side-item,.watch-tabs button){border-radius:999px}
body[data-page="anime"][data-page] .search{border-radius:999px;padding-inline:6px}
body[data-page="anime"][data-page] .side-item{border-radius:16px}
body[data-page="anime"][data-page] .primary,
body[data-page="anime"][data-page] .orange-button{box-shadow:0 10px 26px rgba(245,94,102,.42),inset 0 1px 0 rgba(255,255,255,.35)}
html:not([data-anime-theme="light"]) body[data-page="anime"][data-page] .side-item.active{background:linear-gradient(135deg,rgba(245,94,102,.38),rgba(245,94,102,.14));box-shadow:inset 0 0 0 1px rgba(255,255,255,.2),0 8px 22px rgba(245,94,102,.25)}
html[data-anime-theme="light"] body[data-page="anime"][data-page] .side-item.active{background:linear-gradient(135deg,rgba(255,96,101,.28),rgba(255,255,255,.5))}
@media(max-width:900px){body[data-page="anime"][data-page] .site-header{margin:8px;border-radius:26px;height:auto}}

/* Native dropdown lists: the glass select backgrounds are translucent, so give the popup options a solid, readable colour. */
html:not([data-anime-theme="light"]) body[data-page="anime"][data-page] select{color-scheme:dark}
html:not([data-anime-theme="light"]) body[data-page="anime"][data-page] select option,
html:not([data-anime-theme="light"]) body[data-page="anime"][data-page] select optgroup{background:#15151d;color:#f1f1f5}
html[data-anime-theme="light"] body[data-page="anime"][data-page] select{color-scheme:light}
html[data-anime-theme="light"] body[data-page="anime"][data-page] select option,
html[data-anime-theme="light"] body[data-page="anime"][data-page] select optgroup{background:#ffffff;color:#292929}
body[data-page="anime"][data-page] select option:checked{background:#f55e66;color:#fff}
/* The sync agent shares the existing coral and AMOLED palette. */
body[data-page="anime"] .anime-sync{margin:0 0 20px;border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:12px 16px;color:var(--muted);font-size:12px}
body[data-page="anime"] .anime-sync summary{display:flex;align-items:center;gap:8px;cursor:pointer;min-height:24px;list-style:none}
body[data-page="anime"] .anime-sync summary::-webkit-details-marker{display:none}
body[data-page="anime"] .anime-sync summary strong{color:var(--ink);font-size:12px;font-weight:600}
body[data-page="anime"] .anime-sync summary>span:last-child{margin-left:auto;font-size:11px}
body[data-page="anime"] .anime-sync .live-dot{margin:0;flex:none;background:#3bbf99}
body[data-page="anime"] .anime-sync[data-state="waiting"] .live-dot{background:var(--amber)}
body[data-page="anime"] .anime-sync p{margin-top:12px;line-height:1.6}
body[data-page="anime"] .anime-sync dl{display:flex;gap:24px;flex-wrap:wrap;margin:12px 0}
body[data-page="anime"] .anime-sync dd{color:var(--ink);margin:4px 0 0}
body[data-page="anime"] .anime-sync small{display:block;margin-top:12px;line-height:1.5}
body[data-page="anime"] .anime-sync button{min-height:44px;margin-top:8px}
body[data-page="anime"] .anime-sync summary:focus-visible{outline:2px solid var(--amber);outline-offset:4px}
@media(max-width:520px){body[data-page="anime"] .anime-sync{padding:12px}body[data-page="anime"] .anime-sync summary{flex-wrap:wrap;min-height:44px}body[data-page="anime"] .anime-sync summary>span:last-child{margin-left:14px;width:100%}}
@supports(appearance:base-select){
 body[data-page="anime"] .filter-controls select,body[data-page="anime"] .filter-controls select::picker(select){appearance:base-select}
 body[data-page="anime"] .filter-controls select::picker(select){border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--ink);padding:5px;box-shadow:0 8px 24px #0004}
 body[data-page="anime"] .filter-controls option{padding:9px 12px;border-radius:5px;font-size:12px;line-height:1.4}
 body[data-page="anime"] .filter-controls option:checked{background:color-mix(in srgb,var(--amber) 15%,var(--panel));color:var(--ink)}
 body[data-page="anime"] .filter-controls option:hover{background:var(--line)}
 body[data-page="anime"] .filter-controls select::picker-icon{color:var(--muted)}
}

/* Compact chrome and title details; preserve glass surfaces and the full-size video. */
/* Custom player source menus keep tablet browsers from substituting oversized native pickers. */
/* Brightness 95%; the gamma filter maps the 2.2 baseline to the requested 2.4 target. */
body[data-page="anime"] :is(#animeVideo,.embedded-stage iframe){filter:url(#animeGamma) brightness(.95)}
body[data-page="anime"][data-page] .source-menu-trigger{display:flex;align-items:center;gap:7px;width:100%;min-width:0;min-height:36px;padding:6px 9px;border:1px solid #ffffff20;border-radius:7px;background:#ffffff0d;color:var(--ink);font-size:12px;text-align:left}
body[data-page="anime"] .source-menu-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[data-page="anime"] .source-menu-trigger>.icon{width:25px;height:18px;padding-left:7px;border-left:1px solid #ffffff25}
body[data-page="anime"] .source-menu-trigger[aria-expanded="true"]>.icon svg{transform:rotate(180deg)}
body[data-page="anime"] .source-menu-badge{display:inline-flex;align-items:center;gap:3px;flex-shrink:0;padding:2px 4px;border-radius:3px;background:#63686c;color:#fff;font-size:10px;line-height:1.25;font-variant-numeric:tabular-nums}
body[data-page="anime"] .source-menu-badge .icon{width:11px;height:11px;order:-1}
body[data-page="anime"] .source-menu-popup{position:fixed;z-index:50;display:flex;flex-direction:column;padding:8px;border:1px solid #ffffff26;border-radius:10px;background:#17191cf5;color:#eee;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);box-shadow:0 12px 36px #0008;overflow:hidden}
body[data-page="anime"] .source-menu-heading{display:flex;align-items:center;gap:10px;min-height:24px;padding:0 5px 5px;font-size:12px;color:#b7bbc2;flex-shrink:0}
body[data-page="anime"] .source-menu-heading strong{font-weight:600}
body[data-page="anime"] .source-menu-total{margin-left:auto;display:grid;place-items:center;min-width:21px;height:21px;border-radius:50%;background:#f55e66;color:white;font-size:11px}
body[data-page="anime"] .source-menu-search{flex-shrink:0;width:100%;min-height:36px;padding:7px 9px;margin:0 0 5px;border:1px solid #ffffff20;border-radius:5px;background:#ffffff08;color:inherit;font-size:13px}
body[data-page="anime"] .source-menu-search::placeholder{color:#a2a6ae}
body[data-page="anime"] .source-menu-list{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#70747b transparent}
body[data-page="anime"] .source-menu-option{display:block;width:100%;min-height:46px;padding:7px 6px;border-radius:4px;background:transparent;color:inherit;text-align:left}
body[data-page="anime"] .source-menu-option:hover,body[data-page="anime"] .source-menu-option:focus-visible{background:#ffffff0d;outline:1px solid #f55e6670;outline-offset:-1px}
body[data-page="anime"] .source-menu-option[aria-selected="true"]{background:#f55e6618}
body[data-page="anime"] .source-menu-option-line{display:flex;align-items:center;gap:7px;font-size:12px;line-height:1.4}
body[data-page="anime"] .source-menu-option-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[data-page="anime"] .source-menu-option-line>.icon{margin-left:auto;color:#f77c83;width:14px;height:14px}
body[data-page="anime"] .source-menu-meta{display:flex;align-items:center;gap:8px;min-height:13px;margin-top:3px;font-size:10px;color:#aaafb7}
body[data-page="anime"] .source-menu-views{display:inline-flex;align-items:center;gap:4px;min-width:45px;font-variant-numeric:tabular-nums}
body[data-page="anime"] .source-menu-views .icon{width:12px;height:12px}
body[data-page="anime"] .source-menu-track{height:4px;flex:1;border-radius:2px;background:#ffffff0a;overflow:hidden}
body[data-page="anime"] .source-menu-track>span{display:block;height:100%;border-radius:2px;background:#f55e66}
body[data-page="anime"] .source-menu-description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[data-page="anime"] .source-menu-empty{padding:12px 6px;color:#aaafb7;font-size:12px}
body[data-page="anime"][data-page] .watch-tabs{border-radius:8px 8px 0 0}
body[data-page="anime"][data-page] .watch-tabs button{border-radius:7px 7px 0 0;padding:11px 14px;min-height:40px}
html[data-anime-theme="light"] body[data-page="anime"] .source-menu-popup{background:#f7f8faf5;color:#292d33;border-color:#0002;box-shadow:0 12px 36px #0003}
html[data-anime-theme="light"] body[data-page="anime"] .source-menu-trigger{background:#00000005;color:#292d33;border-color:#0002}
html[data-anime-theme="light"] body[data-page="anime"] .source-menu-heading{color:#575c65}
html[data-anime-theme="light"] body[data-page="anime"] .source-menu-search{background:#00000004;border-color:#0002}
html[data-anime-theme="light"] body[data-page="anime"] .source-menu-meta{color:#626872}
html[data-anime-theme="light"] body[data-page="anime"] .source-menu-option:hover{background:#00000008}
html[data-anime-theme="light"] body[data-page="anime"] .source-menu-trigger>.icon{border-color:#0002}
html[data-anime-theme="light"] body[data-page="anime"] .source-menu-track{background:#0000000a}
@media(pointer:coarse),(max-width:640px){
 body[data-page="anime"][data-page] .source-menu-trigger{min-height:44px;font-size:12px;padding:7px}
 body[data-page="anime"] .source-menu-search{min-height:44px}
 body[data-page="anime"] .source-menu-option{min-height:50px}
 body[data-page="anime"][data-page] .watch-tabs button{min-height:44px}
}
body[data-page="anime"][data-page] .site-header{gap:10px}
body[data-page="anime"][data-page] .brand{font-size:16px;gap:9px;letter-spacing:1.5px;flex-shrink:0}
body[data-page="anime"][data-page] .brand small{font-size:8px;letter-spacing:1px;line-height:1.25;max-width:145px}
body[data-page="anime"][data-page] .header-anime-search{flex:1 1 180px;min-width:120px;max-width:280px;height:38px}
body[data-page="anime"][data-page] .site-header nav{flex-shrink:0}
body[data-page="anime"][data-page] .site-header nav a{display:inline-flex;align-items:center;min-height:44px;padding:8px;font-size:12px;white-space:nowrap}
body[data-page="anime"][data-page] .site-header :is(.account-link,.anime-theme-toggle){min-height:44px;padding:8px 10px;font-size:12px;flex-shrink:0}
body[data-page="anime"][data-page] .site-header .lang-picker{flex-shrink:0}
body[data-page="anime"][data-page] .site-header .lang-picker select{min-height:44px;max-width:136px;font-size:11px}
body[data-page="anime"][data-page] .title-layout{grid-template-columns:minmax(0,1fr) 240px;gap:16px}
body[data-page="anime"][data-page] .title-summary{grid-template-columns:minmax(0,1fr) 200px;gap:16px}
body[data-page="anime"][data-page] .title-copy h1{font-size:24px}
body[data-page="anime"][data-page] .title-english{font-size:12px}
body[data-page="anime"][data-page] .title-rating{gap:7px;margin:8px 0}
body[data-page="anime"][data-page] .title-rating>span:first-child{font-size:22px}
body[data-page="anime"][data-page] .title-facts{grid-template-columns:135px minmax(0,1fr);gap:6px 12px;font-size:13px;margin:10px 0}
body[data-page="anime"][data-page] .title-description{font-size:13px;margin-top:12px}
body[data-page="anime"][data-page] .anime-brand-card{min-height:160px;padding:18px}
body[data-page="anime"][data-page] .anime-brand-card strong{font-size:24px;margin:8px 0 6px}
body[data-page="anime"][data-page] .anime-brand-card p{font-size:12px;margin-bottom:14px}
body[data-page="anime"][data-page] .title-statistics h2{font-size:12px;padding:12px 8px}
body[data-page="anime"][data-page] .title-statistics dl{font-size:12px;gap:9px;margin:14px 12px}
@media(max-width:950px){
 body[data-page="anime"][data-page] .site-header{height:auto;padding:8px 12px}
 body[data-page="anime"][data-page] .header-anime-search{flex-basis:100%;max-width:none}
 body[data-page="anime"][data-page] .title-layout{grid-template-columns:minmax(0,1fr)}
 body[data-page="anime"][data-page] .title-summary{grid-template-columns:minmax(0,1fr) 170px}
 body[data-page="anime"][data-page] .title-sidebar{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:640px){
 body[data-page="anime"][data-page] .site-header{display:grid;grid-template-columns:minmax(0,1fr) repeat(3,44px);gap:6px 8px;margin:8px;border-radius:26px}
 body[data-page="anime"][data-page] .site-header nav{display:none}
 body[data-page="anime"][data-page] .brand{grid-column:1;grid-row:1;font-size:14px;gap:7px;letter-spacing:1px;min-width:0}
 body[data-page="anime"][data-page] .brand small{font-size:7px;letter-spacing:.5px}
 body[data-page="anime"][data-page] .site-header .brand-mark{width:32px;height:32px;font-size:21px;border-radius:11px;flex-shrink:0}
 body[data-page="anime"][data-page] .anime-library-menu{grid-column:2;grid-row:1}
 body[data-page="anime"][data-page] .anime-library-menu>summary{justify-content:center;width:44px}
 body[data-page="anime"][data-page] .site-header .anime-theme-toggle{grid-column:3;grid-row:1;justify-content:center;width:44px;font-size:0;gap:0}
 body[data-page="anime"][data-page] .account-link{grid-column:4;grid-row:1;justify-content:center;width:44px}
 body[data-page="anime"][data-page] .account-link>span:last-child{display:none}
 body[data-page="anime"][data-page] .header-anime-search{grid-column:1;grid-row:2;width:100%;min-width:0;height:44px}
 body[data-page="anime"][data-page] .header-anime-search input{min-width:0;padding-inline:10px;font-size:12px}
 body[data-page="anime"][data-page] .lang-picker{grid-column:2/5;grid-row:2;min-width:0}
 body[data-page="anime"][data-page] .lang-picker select{width:100%;max-width:100%;padding-left:6px;padding-right:20px;font-size:10px}
 body[data-page="anime"][data-page] .title-summary{display:flex;flex-direction:column;gap:12px}
 body[data-page="anime"][data-page] .title-poster img{width:144px}
 body[data-page="anime"][data-page] .title-copy h1{font-size:21px}
 body[data-page="anime"][data-page] .title-facts{grid-template-columns:105px minmax(0,1fr);gap:6px 9px;font-size:12px}
 body[data-page="anime"][data-page] .title-sidebar{grid-template-columns:minmax(0,1fr)}
}
