*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#080910;color:#fff;font-family:'Plus Jakarta Sans',system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.55}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button,input,textarea,select{font:inherit}.app-shell{min-height:100vh;background:radial-gradient(circle at 15% 0%,rgba(255,0,217,.11),transparent 30%),radial-gradient(circle at 85% 15%,rgba(47,109,255,.14),transparent 35%),#080910}.site-header{position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:24px;padding:18px 5vw;background:rgba(8,9,16,.82);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.06)}.brand{display:flex;align-items:center;gap:14px;font-weight:900;font-size:20px;white-space:nowrap}.site-logo-box{width:50px;height:50px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(135deg,var(--accent2),var(--accent));box-shadow:0 10px 30px rgba(47,109,255,.25);font-weight:900;font-style:italic}.site-logo-img{width:50px;height:50px;border-radius:16px;object-fit:cover}.desktop-nav{display:flex;gap:24px;font-size:14px;font-weight:800;color:#c7c8d2}.desktop-nav a:hover{color:#fff}.top-search{margin-left:auto;width:min(330px,34vw);height:46px;display:flex;align-items:center;background:#14141d;border:1px solid rgba(255,255,255,.08);border-radius:14px;overflow:hidden}.top-search input{width:100%;height:100%;background:transparent;border:0;color:#fff;padding:0 16px;outline:0}.top-search button{width:52px;height:100%;background:transparent;border:0;color:#9ca0b4;font-size:24px}.menu-toggle{display:none;border:0;background:#23232b;color:#fff;border-radius:18px;width:54px;height:54px;font-size:26px}.mobile-menu{display:none;position:fixed;top:86px;right:5vw;z-index:60;min-width:210px;padding:14px;border:1px solid rgba(255,255,255,.08);background:#13131b;border-radius:22px;box-shadow:0 24px 70px rgba(0,0,0,.45)}.mobile-menu.open{display:grid}.mobile-menu a{padding:13px 14px;border-radius:14px;color:#d5d5df;font-weight:800}.mobile-menu a:hover{background:#1e1e28;color:#fff}main{width:min(1220px,92vw);margin:0 auto;padding:34px 0 80px}.hero-slider{position:relative;margin:10px 0 56px;border-radius:36px;overflow:hidden;border:1px solid rgba(255,255,255,.08);background:#14141d;box-shadow:0 35px 90px rgba(0,0,0,.45)}.hero-stage{position:relative;min-height:520px}.hero-slide{position:absolute;inset:0;display:grid;grid-template-columns:340px 1fr;gap:52px;align-items:center;padding:54px;background:linear-gradient(90deg,rgba(8,9,16,.94),rgba(8,9,16,.73)),var(--hero-bg) center/cover;opacity:0;pointer-events:none;transition:.45s ease}.hero-slide.active{opacity:1;pointer-events:auto}.hero-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(8,9,16,.98),transparent 35%,rgba(8,9,16,.25));pointer-events:none}.hero-poster,.hero-copy{position:relative;z-index:2}.hero-poster img{height:370px;width:280px;object-fit:cover;border-radius:28px;border:1px solid rgba(255,255,255,.16);box-shadow:0 22px 55px rgba(0,0,0,.6)}.pill-glow{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(135deg,var(--accent),#a63fff);padding:10px 18px;border-radius:999px;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;box-shadow:0 12px 30px rgba(255,0,217,.28)}.hero-copy h1{margin:24px 0 14px;font-size:clamp(34px,4vw,64px);line-height:1.05;max-width:760px;letter-spacing:-.05em}.hero-copy p{font-weight:700;color:#c9c8d1;max-width:650px}.hero-stats{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:16px;margin:26px 0;max-width:560px}.hero-stats span,.info-grid-mini div{background:rgba(0,0,0,.42);border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:16px 20px}.hero-stats small,.info-grid-mini small{display:block;color:#9da0ad;font-size:12px;font-weight:800}.hero-stats b,.info-grid-mini b{font-size:21px}.btn-primary,.btn-muted,.play-wide{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:20px;padding:15px 24px;background:linear-gradient(135deg,var(--accent2),var(--accent));color:#fff;font-weight:900;box-shadow:0 12px 34px rgba(255,0,217,.24)}.btn-muted{background:#171720;border:1px solid rgba(255,255,255,.08);color:#aeb0bc;box-shadow:none}.disabled{opacity:.42;pointer-events:none}.hero-arrow{position:absolute;z-index:4;top:50%;transform:translateY(-50%);width:52px;height:52px;border:1px solid rgba(255,255,255,.12);border-radius:50%;background:rgba(8,9,16,.55);color:#fff;font-size:34px}.hero-arrow.prev{left:22px}.hero-arrow.next{right:22px}.hero-thumbs{position:absolute;z-index:5;left:50%;bottom:24px;transform:translateX(-50%);display:flex;gap:10px;max-width:72%;overflow:auto;padding:8px 12px;background:rgba(8,9,16,.45);border:1px solid rgba(255,255,255,.08);border-radius:22px}.hero-thumb{border:2px solid transparent;border-radius:14px;background:transparent;padding:0;overflow:hidden;flex:0 0 auto}.hero-thumb img{width:52px;height:70px;object-fit:cover}.hero-thumb.active{border-color:var(--accent)}.content-section{margin:42px 0}.section-head{display:flex;align-items:center;gap:16px;margin-bottom:22px}.section-head h2{font-size:24px;text-transform:uppercase;letter-spacing:.02em;margin:0}.section-head.compact{justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.08);padding-bottom:20px}.section-line{height:2px;flex:1;background:linear-gradient(90deg,var(--accent),transparent)}.anime-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px}.anime-card{min-width:0;display:block}.poster-wrap{display:block;aspect-ratio:2/3;border-radius:18px;overflow:hidden;background:#15151f;border:1px solid rgba(255,255,255,.06);box-shadow:0 18px 45px rgba(0,0,0,.35)}.anime-card img{width:100%;height:100%;object-fit:cover;transition:.35s ease}.anime-card:hover img{transform:scale(1.06)}.anime-card strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:12px;min-height:44px;font-size:14px;line-height:1.35}.card-badges{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:8px}.badge,.mini-type{font-size:11px;font-weight:900;padding:4px 7px;border-radius:7px;background:#20202b;color:#bfc2cc;border:1px solid rgba(255,255,255,.08)}.badge.hot{background:rgba(255,0,217,.2);border-color:rgba(255,0,217,.45);color:#ff7cec}.badge.blue{background:rgba(47,109,255,.18);border-color:rgba(47,109,255,.42);color:#95b4ff}.trend-list{display:grid;gap:13px}.trend-row{position:relative;overflow:hidden;display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:16px;min-height:74px;padding:0 22px;border-radius:15px;background:#14141d;border:1px solid rgba(255,255,255,.06)}.trend-row:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#14141d 15%,rgba(20,20,29,.86),rgba(20,20,29,.3)),var(--bg) right center/cover;opacity:.55}.trend-row>*{position:relative}.trend-num{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#0d0d14;border:1px solid rgba(255,255,255,.12);font-weight:900}.trend-title{font-weight:900}.trend-meta{color:#b7bac6;font-size:13px}.release-list{display:grid;gap:4px}.release-row{display:grid;grid-template-columns:56px 1fr;gap:16px;align-items:center;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.05)}.release-row img{width:50px;height:50px;object-fit:cover;border-radius:50%;border:1px solid rgba(255,255,255,.08)}.release-row strong{display:block;font-size:14px}.release-row small{display:block;color:#8f93a3;font-weight:800;margin-top:4px}.anime-carousel{display:flex;overflow:auto;gap:18px;scroll-snap-type:x mandatory;padding-bottom:10px}.anime-carousel .anime-card{width:190px;flex:0 0 auto;scroll-snap-align:start}.detail-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:320px 1fr;gap:44px;align-items:center;border:1px solid rgba(255,255,255,.08);border-radius:36px;padding:48px;background:linear-gradient(90deg,rgba(8,9,16,.96),rgba(8,9,16,.78)),var(--detail-bg) center/cover;box-shadow:0 30px 90px rgba(0,0,0,.4)}.detail-poster img{width:290px;aspect-ratio:2/3;object-fit:cover;border-radius:30px;border:1px solid rgba(255,255,255,.12);box-shadow:0 24px 60px rgba(0,0,0,.5)}.kicker{display:block;color:#ff68ea;text-transform:uppercase;letter-spacing:.18em;font-size:14px;font-weight:900}.detail-info h1{font-size:clamp(38px,5vw,72px);letter-spacing:-.06em;line-height:1;margin:18px 0}.tag-row{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.tag-row span{padding:9px 16px;border-radius:999px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.12);font-weight:900;color:#f2f2f6}.synopsis{color:#d5d5df;font-size:18px;max-width:850px}.play-wide{width:min(100%,580px);border-radius:999px;margin:20px 0;font-size:20px}.info-grid-mini{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:24px}.panel-card{margin:38px 0;padding:34px;border:1px solid rgba(255,255,255,.08);border-radius:30px;background:#13131a;box-shadow:0 18px 55px rgba(0,0,0,.24)}.count-pill{background:#20202b;border:1px solid rgba(255,255,255,.09);border-radius:12px;padding:10px 14px;color:#c9ccd8;font-weight:900}.episode-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:14px}.episode-grid a{height:72px;display:grid;place-items:center;border-radius:16px;background:#1a1a24;border:1px solid rgba(255,255,255,.07);font-weight:900;font-size:20px}.episode-grid a:hover,.episode-grid a.active{background:linear-gradient(135deg,var(--accent2),var(--accent));color:#fff}.watch-topbar{display:flex;align-items:center;gap:20px;margin-bottom:24px}.round{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:#171720;border:1px solid rgba(255,255,255,.1);font-size:24px}.login-pill{margin-left:auto;background:#171720;border:1px solid rgba(255,255,255,.1);border-radius:999px;padding:12px 22px;font-weight:900}.watch-info-card{position:relative;overflow:hidden;display:grid;grid-template-columns:190px 1fr;gap:26px;align-items:center;margin-bottom:28px;padding:28px;border-radius:30px;background:linear-gradient(90deg,rgba(21,21,29,.96),rgba(21,21,29,.82)),var(--watch-bg) center/cover;border:1px solid rgba(255,255,255,.08)}.watch-info-card>*{position:relative;z-index:1}.watch-info-card img{width:170px;height:210px;object-fit:cover;border-radius:22px}.watch-info-card h1{font-size:38px;margin:18px 0 6px}.watch-info-card p{color:#a7aab8;font-weight:800}.info-btn{display:inline-flex;margin-left:12px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.12);padding:9px 16px;border-radius:999px;font-weight:900}.player-card{overflow:hidden;border-radius:28px;background:#000;border:1px solid rgba(255,255,255,.08);box-shadow:0 24px 80px rgba(0,0,0,.45);aspect-ratio:16/9}.player-card iframe{width:100%;height:100%;border:0;background:#000}.player-empty{height:100%;display:grid;place-items:center;color:#b9bcc8;font-weight:900}.episode-nav-card{display:flex;justify-content:space-between;gap:18px;margin:26px 0;padding:24px;border-radius:26px;background:#12121a;border:1px solid rgba(255,255,255,.06)}.episode-nav-card a,.episode-nav-card span{min-width:230px}.details-under-player h2{font-size:42px;margin:0 0 10px}.details-under-player h3{color:var(--accent);margin:0 0 14px}.server-list{display:grid;gap:16px}.server-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-radius:18px;background:#1a1a23;border:1px solid rgba(255,255,255,.08)}.server-row.active{border-color:rgba(255,0,217,.6);box-shadow:0 0 0 1px rgba(255,0,217,.25) inset}.server-row small{display:block;color:#8e92a2;font-weight:900;text-transform:uppercase}.server-row b{font-size:20px}.server-row em{font-size:32px;color:#8f93a4;font-style:normal}.page-title{margin:20px 0 28px}.page-title h1{font-size:48px;letter-spacing:-.04em;margin:0}.page-title p{color:#a8abb8;font-weight:800}.search-page-form{display:flex;gap:12px;margin:22px 0 34px}.search-page-form input{flex:1;background:#15151d;border:1px solid rgba(255,255,255,.08);color:#fff;border-radius:18px;padding:0 20px}.genre-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.genre-grid a{display:flex;justify-content:space-between;gap:20px;padding:22px;border-radius:20px;background:#15151d;border:1px solid rgba(255,255,255,.08)}.genre-grid small{color:#9ca0ae}.pagination{display:flex;justify-content:center;gap:12px;margin:36px 0}.pagination a,.pagination span{padding:12px 18px;border-radius:14px;background:#15151d;border:1px solid rgba(255,255,255,.08);font-weight:900}.empty-state{display:grid;place-items:center;text-align:center;gap:8px;min-height:170px;padding:30px;border-radius:24px;background:#14141d;border:1px dashed rgba(255,255,255,.16);color:#a7aab8}.empty-state b{font-size:28px;color:#fff}.site-footer{text-align:center;color:#6e7280;font-weight:800;padding:40px 0 90px;border-top:1px solid rgba(255,255,255,.06)}.bottom-nav{display:none}
@media(max-width:1020px){.desktop-nav{display:none}.menu-toggle{display:block}.top-search{order:3;width:100%;margin:0}.site-header{flex-wrap:wrap}.hero-slide{grid-template-columns:240px 1fr;gap:32px;padding:34px}.hero-poster img{width:230px;height:330px}.anime-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.detail-hero{grid-template-columns:1fr}.detail-poster img{margin:auto}.info-grid-mini{grid-template-columns:repeat(2,1fr)}.episode-grid{grid-template-columns:repeat(5,1fr)}.genre-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){body{font-size:15px}.site-header{position:sticky;padding:18px 24px;gap:16px}.brand span{font-size:28px}.site-logo-box,.site-logo-img{width:62px;height:62px;border-radius:20px}.menu-toggle{margin-left:auto;width:60px;height:60px;border-radius:22px}.top-search{height:76px;border-radius:28px;background:#15151d}.top-search input{font-size:24px;padding-left:26px}.top-search button{width:122px;border-radius:26px;margin-right:10px;height:56px;background:linear-gradient(135deg,var(--accent2),var(--accent));color:#fff;font-size:0}.top-search button:after{content:'Cari';font-size:22px;font-weight:900}main{width:100%;padding:0 0 120px}.hero-slider{border-radius:0;border-left:0;border-right:0;margin:0 0 28px}.hero-stage{min-height:780px}.hero-slide{grid-template-columns:1fr;text-align:left;padding:34px 28px 145px;align-content:start;background:linear-gradient(0deg,rgba(8,9,16,.97),rgba(8,9,16,.62)),var(--hero-bg) center/cover}.hero-poster img{width:64vw;height:auto;max-height:420px;margin:0 auto 18px;border-radius:26px}.hero-copy h1{font-size:44px}.hero-stats{grid-template-columns:1fr 1fr;gap:10px}.hero-thumbs{max-width:96%;bottom:18px}.hero-arrow{display:none}.content-section,.panel-card,.page-title,.search-page-form{margin-left:24px;margin-right:24px}.anime-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.anime-card strong{font-size:13px}.trend-row{grid-template-columns:38px 1fr;min-height:70px}.trend-meta{grid-column:2}.release-row{grid-template-columns:54px 1fr}.detail-hero{border-radius:0;border-left:0;border-right:0;padding:34px 28px 44px;text-align:left;min-height:calc(100vh - 170px);align-content:start}.detail-poster img{width:58vw;border-radius:28px}.detail-info h1{font-size:45px}.tag-row span{font-size:14px;padding:9px 14px}.synopsis{font-size:20px;line-height:1.75}.play-wide{height:72px;font-size:20px}.info-grid-mini{grid-template-columns:1fr 1fr}.panel-card{padding:24px;border-radius:26px}.episode-grid{grid-template-columns:repeat(3,1fr);gap:12px}.episode-grid a{height:78px}.watch-topbar{position:sticky;top:0;z-index:40;padding:16px 24px;margin:0 -0 22px;background:#0b0c13;border-bottom:1px solid rgba(255,255,255,.07)}.watch-info-card{margin-left:24px;margin-right:24px;grid-template-columns:120px 1fr;padding:20px;border-radius:26px}.watch-info-card img{width:112px;height:150px;border-radius:18px}.watch-info-card h1{font-size:28px}.info-btn{margin:10px 0 0}.player-card{margin:0 24px;border-radius:22px}.episode-nav-card{margin:20px 24px;padding:18px}.episode-nav-card a,.episode-nav-card span{min-width:0;flex:1;padding:14px 10px;font-size:14px;text-align:center}.server-row{padding:18px}.server-row b{font-size:18px}.genre-grid{grid-template-columns:1fr;margin:0 24px}.page-title h1{font-size:42px}.bottom-nav{position:fixed;left:20px;right:20px;bottom:18px;z-index:70;display:grid;grid-template-columns:repeat(5,1fr);gap:4px;padding:12px;border-radius:28px;background:#0d0818;border:1px solid rgba(255,255,255,.12);box-shadow:0 18px 60px rgba(0,0,0,.55)}.bottom-nav a{display:grid;gap:3px;place-items:center;color:#b8bbc7;font-size:12px;font-weight:900}.bottom-nav span{font-size:22px}.bottom-nav a.active{color:#fff}.site-footer{display:none}}
@media(max-width:420px){.brand span{font-size:22px}.hero-copy h1,.detail-info h1{font-size:36px}.anime-grid{gap:14px}.panel-card{margin-left:16px;margin-right:16px}.content-section{margin-left:16px;margin-right:16px}.watch-info-card,.player-card,.episode-nav-card{margin-left:16px;margin-right:16px}.episode-grid{grid-template-columns:repeat(2,1fr)}}
/* NGM update: pilihan server dibuat fleksibel horizontal saat ruang cukup */
.horizontal-server-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}.horizontal-server-list .server-row{min-height:86px}.muted{color:#9ca0ae;font-weight:800}
@media(max-width:720px){.horizontal-server-list{grid-template-columns:1fr}.watch-info-card .pill-glow{font-size:10px;padding:8px 12px}.watch-info-card p{font-size:13px}.details-under-player h2{font-size:32px}}

/* v2.2 Professional responsive scale: lebih rapi, tidak kebesaran di mobile */
:root{--container:1180px;--radius-card:22px}body{font-size:clamp(14px,1.05vw,16px);line-height:1.62}.app-shell{overflow-x:hidden}main{max-width:var(--container)}.site-header{max-width:1240px;margin-inline:auto}.brand span{font-size:clamp(18px,2vw,25px);letter-spacing:-.035em}.desktop-nav a{font-size:14px}.header-account{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border-radius:999px;background:#171720;border:1px solid rgba(255,255,255,.08);font-weight:900;color:#fff}.header-account:hover{background:#20202b}.hero-copy h1{font-size:clamp(30px,3.6vw,52px);line-height:1.08}.hero-copy p{font-size:15px;max-width:640px}.hero-stats span{padding:16px 18px}.hero-stats small{font-size:11px}.hero-stats b{font-size:16px}.btn-primary,.btn-muted,.play-wide,.auth-submit{letter-spacing:.01em}.section-head h2,.content-section h2{font-size:clamp(20px,2.2vw,26px)}.anime-card strong{font-size:14px;line-height:1.35}.badge,.mini-type{font-size:10px}.trend-row{min-height:74px}.trend-title{font-size:14px}.release-row b{font-size:14px}.page-title h1{font-size:clamp(30px,3.5vw,44px)}.detail-info h1{font-size:clamp(32px,4.5vw,56px);line-height:1.06}.synopsis{font-size:clamp(15px,1.4vw,18px);line-height:1.75}.tag-row span{font-size:13px}.info-grid-mini div{padding:20px}.info-grid-mini b{font-size:21px}.watch-info-card h1{font-size:clamp(24px,3vw,36px);line-height:1.15}.details-under-player h2{font-size:clamp(26px,3vw,40px)}.details-under-player h3{font-size:clamp(16px,2vw,22px)}.server-row b{font-size:16px}.episode-grid a{font-size:18px}.auth-wrap{min-height:62vh;display:grid;place-items:center;padding:30px 16px 70px}.auth-card{width:min(440px,100%);display:grid;gap:15px;background:linear-gradient(180deg,rgba(23,23,33,.98),rgba(15,15,24,.98));border:1px solid rgba(255,255,255,.09);border-radius:26px;padding:28px;box-shadow:0 24px 75px rgba(0,0,0,.35)}.auth-kicker{color:var(--accent);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.12em}.auth-card h1{margin:0;font-size:30px;letter-spacing:-.04em}.auth-card p{margin:0;color:#a5a8b7;font-weight:700}.auth-card label{display:grid;gap:8px}.auth-card label span{font-weight:900;color:#daddE7}.auth-card label em{font-style:normal;color:#8d91a2;font-size:12px}.auth-card input{height:50px;border:1px solid rgba(255,255,255,.1);border-radius:15px;background:#1a1a25;color:#fff;padding:0 15px;outline:0}.auth-submit{height:52px;border:0;border-radius:15px;background:linear-gradient(135deg,var(--accent2),var(--accent));color:#fff;font-weight:900;cursor:pointer}.auth-error{padding:12px 14px;border-radius:14px;background:rgba(255,55,88,.14);border:1px solid rgba(255,55,88,.3);color:#ffc5ce;font-weight:800}.auth-links{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap}.auth-links a{color:#dfe2ef;font-weight:900}.auth-hint{color:#8e92a2;text-align:center}.profile-wrap{padding:26px 16px 80px}.profile-card{display:flex;align-items:center;gap:18px;max-width:780px;margin:0 auto 18px;padding:24px;border-radius:26px;background:#15151f;border:1px solid rgba(255,255,255,.08)}.profile-avatar{width:66px;height:66px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(135deg,var(--accent2),var(--accent));font-size:28px;font-weight:900}.profile-card h1{font-size:32px;margin:4px 0;letter-spacing:-.04em}.profile-card p{color:#a1a5b4;margin:0;font-weight:800}.profile-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:18px 0}.compact-profile-note{max-width:780px;margin-inline:auto}.mobile-menu a:last-child{color:#fff;background:rgba(255,255,255,.06)}
@media(max-width:1020px){.header-account{margin-left:auto}.menu-toggle{margin-left:0}.hero-slide{grid-template-columns:210px 1fr;gap:26px}.hero-poster img{width:210px;height:300px}.anime-grid{gap:18px}}
@media(max-width:720px){body{font-size:14px}.site-header{padding:14px 16px;gap:12px}.site-logo-box,.site-logo-img{width:46px;height:46px;border-radius:15px}.brand span{font-size:20px}.header-account{display:none}.menu-toggle{width:46px;height:46px;border-radius:16px;font-size:22px}.top-search{height:52px;border-radius:18px}.top-search input{font-size:15px;padding-left:16px}.top-search button{width:78px;height:40px;border-radius:14px;margin-right:6px}.top-search button:after{font-size:15px}.mobile-menu{left:16px;right:16px}.hero-slider{margin-top:8px;border-radius:24px;border-left:1px solid rgba(255,255,255,.07);border-right:1px solid rgba(255,255,255,.07);overflow:hidden}.hero-stage{min-height:0}.hero-slide{min-height:560px;grid-template-columns:1fr;padding:24px 18px 96px;align-content:start}.hero-poster img{width:min(48vw,185px);height:auto;max-height:278px;margin:0 auto 6px;border-radius:22px}.pill-glow,.kicker{font-size:11px}.hero-copy h1{font-size:29px;line-height:1.12;margin:12px 0 8px;letter-spacing:-.045em}.hero-copy p{font-size:14px;line-height:1.55}.hero-stats{grid-template-columns:repeat(3,1fr);gap:8px}.hero-stats span{padding:12px}.hero-stats b{font-size:14px}.hero-stats small{font-size:10px}.btn-primary{min-height:46px;padding:12px 18px;font-size:14px}.hero-thumbs{bottom:14px;gap:8px}.hero-thumb{width:44px;height:44px;border-radius:13px}.content-section,.panel-card,.page-title,.search-page-form{margin-left:16px;margin-right:16px}.content-section{margin-top:34px}.section-head{margin-bottom:16px}.section-head h2,.content-section h2{font-size:21px}.anime-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.poster-wrap{border-radius:15px}.anime-card strong{font-size:12px;line-height:1.34;margin-top:8px}.card-badges{gap:4px}.badge,.mini-type{font-size:9px;padding:3px 5px}.trend-row{grid-template-columns:32px 1fr;min-height:62px;padding:10px 12px;border-radius:15px}.trend-no{width:28px;height:28px;font-size:12px}.trend-title{font-size:13px}.release-row{grid-template-columns:46px 1fr;padding:9px 0}.release-row img{width:42px;height:42px}.release-row b{font-size:12.5px}.detail-hero{min-height:0;padding:26px 18px 32px;border-radius:24px;margin:8px 0 20px}.detail-poster img{width:min(52vw,210px);border-radius:22px;margin:0 auto 8px}.detail-info h1{font-size:31px;line-height:1.12;margin:10px 0}.tag-row{gap:8px}.tag-row span{font-size:12px;padding:8px 11px}.synopsis{font-size:15px;line-height:1.65}.play-wide{height:54px;font-size:16px;border-radius:18px}.info-grid-mini{gap:10px}.info-grid-mini div{padding:15px;border-radius:18px}.info-grid-mini small{font-size:12px}.info-grid-mini b{font-size:17px}.panel-card{padding:18px;border-radius:22px}.episode-grid{grid-template-columns:repeat(4,1fr);gap:10px}.episode-grid a{height:58px;font-size:16px;border-radius:14px}.watch-topbar{padding:12px 16px;margin-bottom:16px}.watch-topbar b{font-size:15px;max-width:40vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.round{width:42px;height:42px}.login-pill{min-height:40px;padding:0 14px;font-size:13px}.watch-info-card{margin-left:16px;margin-right:16px;grid-template-columns:82px 1fr;padding:14px;border-radius:22px}.watch-info-card img{width:82px;height:110px;border-radius:15px}.watch-info-card h1{font-size:22px;margin:10px 0 6px}.watch-info-card p{font-size:12px;line-height:1.5}.info-btn{font-size:12px;padding:8px 12px}.player-card{margin:0 16px;border-radius:18px}.episode-nav-card{margin:16px;padding:14px;border-radius:20px}.episode-nav-card a,.episode-nav-card span{font-size:13px;border-radius:14px}.server-row{padding:14px 15px;border-radius:16px}.server-row small{font-size:10px}.server-row b{font-size:14px}.server-row em{font-size:22px}.details-under-player h2{font-size:26px}.details-under-player h3{font-size:17px}.page-title h1{font-size:29px}.genre-grid{margin-left:16px;margin-right:16px}.bottom-nav{left:12px;right:12px;bottom:12px;padding:10px;border-radius:22px}.bottom-nav a{font-size:10.5px}.bottom-nav span{font-size:18px}.auth-wrap{padding:22px 16px 120px;place-items:start center}.auth-card{padding:22px;border-radius:22px}.auth-card h1{font-size:26px}.profile-card{align-items:flex-start;padding:18px;border-radius:22px}.profile-avatar{width:54px;height:54px;border-radius:18px;font-size:22px}.profile-card h1{font-size:26px}.profile-actions{padding:0 16px}.profile-actions .btn-primary,.profile-actions .btn-muted{flex:1;justify-content:center}.site-footer{display:none}}
@media(max-width:420px){.brand span{font-size:18px}.hero-copy h1,.detail-info h1{font-size:27px}.anime-grid{gap:11px}.episode-grid{grid-template-columns:repeat(3,1fr)}.hero-stats{grid-template-columns:1fr 1fr}.watch-info-card{grid-template-columns:74px 1fr}.watch-info-card img{width:74px;height:100px}.watch-info-card h1{font-size:20px}}


/* v2.3 Hero banner full image + watch button fix */
.hero-slider{width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);margin-top:-12px;border-radius:0 0 34px 34px;border-left:0;border-right:0}
.hero-stage{min-height:620px}
.hero-slide{display:block;padding:0;background:var(--hero-bg) center center/cover no-repeat}
.hero-slide:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,9,16,.95) 0%,rgba(8,9,16,.78) 34%,rgba(8,9,16,.55) 58%,rgba(8,9,16,.68) 100%);z-index:0}
.hero-slide:after{background:linear-gradient(180deg,rgba(8,9,16,.16),rgba(8,9,16,.2) 18%,rgba(8,9,16,.88) 100%)}
.hero-inner{position:relative;z-index:2;max-width:min(1240px,92vw);margin:0 auto;min-height:620px;display:grid;grid-template-columns:280px minmax(0,1fr);align-items:end;gap:48px;padding:112px 0 150px}
.hero-copy{max-width:720px}
.hero-copy h1{max-width:780px}
.hero-copy p{margin:0}
.hero-stats{margin:24px 0 0;max-width:560px}
.hero-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:22px}
.hero-actions .btn-primary,.hero-actions .btn-muted{min-height:52px;padding:14px 22px}
.hero-poster{align-self:end}
.hero-poster img{width:280px;height:390px;object-fit:cover}
.hero-arrow{top:auto;bottom:112px;transform:none;background:rgba(8,9,16,.72);backdrop-filter:blur(10px)}
.hero-thumbs{left:50%;bottom:28px;max-width:min(760px,72vw);padding:10px 14px;background:rgba(8,9,16,.55);backdrop-filter:blur(12px)}
.hero-thumb img{width:56px;height:76px}
@media(max-width:1020px){
  .hero-inner{max-width:min(1240px,94vw);grid-template-columns:220px minmax(0,1fr);gap:28px;padding:104px 0 148px;min-height:590px}
  .hero-poster img{width:220px;height:312px}
  .hero-copy h1{font-size:clamp(30px,4vw,46px)}
}
@media(max-width:720px){
  .hero-slider{margin-top:-16px;border-radius:0 0 26px 26px}
  .hero-stage{min-height:0}
  .hero-slide{min-height:0}
  .hero-slide:before{background:linear-gradient(180deg,rgba(8,9,16,.45) 0%,rgba(8,9,16,.72) 35%,rgba(8,9,16,.94) 100%)}
  .hero-inner{grid-template-columns:1fr;gap:12px;min-height:640px;padding:92px 18px 118px;align-items:start;max-width:100%}
  .hero-poster{justify-self:start}
  .hero-poster img{width:min(44vw,180px);height:auto;max-height:250px}
  .hero-copy{max-width:none}
  .hero-copy h1{font-size:29px;margin:10px 0 8px}
  .hero-copy p{max-width:none}
  .hero-stats{grid-template-columns:repeat(3,1fr);gap:8px;max-width:none}
  .hero-stats span{padding:12px 10px}
  .hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .hero-actions .btn-primary,.hero-actions .btn-muted{width:100%;min-height:46px;padding:12px 14px;border-radius:16px;font-size:14px}
  .hero-arrow{bottom:88px;width:42px;height:42px;font-size:28px}
  .hero-arrow.prev{left:14px}.hero-arrow.next{right:14px}
  .hero-thumbs{left:16px;right:16px;transform:none;bottom:14px;max-width:none;justify-content:flex-start}
  .hero-thumb img{width:44px;height:60px}
}
@media(max-width:420px){
  .hero-inner{min-height:610px;padding:86px 14px 114px}
  .hero-copy h1{font-size:26px}
  .hero-stats{grid-template-columns:1fr 1fr}
  .hero-actions{grid-template-columns:1fr}
  .hero-poster img{width:min(48vw,165px)}
}


/* v2.4 Transparent header + modern auth buttons + cleaner hero */
body.page-home main{width:100%;max-width:none;padding-top:0}
body.page-home .site-header{position:fixed;left:0;right:0;top:0;z-index:80;max-width:none;margin:0;padding:22px 5vw;background:linear-gradient(180deg,rgba(7,8,16,.62),rgba(7,8,16,.16) 72%,transparent);border-bottom:0;backdrop-filter:blur(8px)}
body.page-home .site-header .brand,body.page-home .site-header .desktop-nav a{color:#fff}
body.page-home .top-search{background:rgba(13,14,24,.45);border-color:rgba(255,255,255,.1);backdrop-filter:blur(16px)}
.auth-actions{display:flex;align-items:center;gap:12px;margin-left:12px}
.btn-signin,.btn-signup{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:16px;font-size:14px;font-weight:900;transition:.25s ease}
.btn-signin{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);color:#fff;backdrop-filter:blur(14px);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.btn-signin:hover{background:rgba(255,255,255,.14)}
.btn-signup{background:linear-gradient(135deg,#7a5cff,var(--accent));color:#fff;border:1px solid rgba(255,255,255,.08);box-shadow:0 18px 40px rgba(136,80,255,.28)}
.btn-signup:hover{transform:translateY(-1px);box-shadow:0 22px 44px rgba(136,80,255,.34)}
.member-link{max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.page-home .hero-slider{margin-top:0;border-radius:0;overflow:hidden;background:none;border:0;box-shadow:none}
.page-home .hero-stage{min-height:700px}
.page-home .hero-slide{background:var(--hero-bg) center center/cover no-repeat}
.page-home .hero-slide:before{background:linear-gradient(90deg,rgba(8,9,16,.9) 0%,rgba(8,9,16,.72) 34%,rgba(8,9,16,.35) 58%,rgba(8,9,16,.62) 100%)}
.page-home .hero-slide:after{background:linear-gradient(180deg,rgba(6,7,14,.18) 0%,rgba(6,7,14,.24) 20%,rgba(6,7,14,.84) 100%)}
.page-home .hero-inner{min-height:700px;max-width:min(1280px,94vw);padding:150px 0 132px;align-items:center}
.page-home .hero-copy{padding-top:18px}
.page-home .hero-poster img{width:280px;height:400px;border-radius:26px;box-shadow:0 26px 60px rgba(0,0,0,.45)}
.page-home .hero-actions{margin-top:18px}
.page-home .hero-stats{margin-top:20px}
.page-home .hero-arrow{bottom:108px}
.page-home .hero-thumbs{bottom:22px;border-radius:24px}
@media(max-width:1100px){
  body.page-home .site-header{padding:18px 4vw}
  .auth-actions{gap:10px}
  .btn-signin,.btn-signup{min-height:42px;padding:0 15px}
  .page-home .hero-inner{grid-template-columns:240px minmax(0,1fr);gap:28px;min-height:660px;padding:144px 0 128px}
  .page-home .hero-poster img{width:240px;height:342px}
}
@media(max-width:860px){
  .desktop-nav,.auth-actions{display:none}
  body.page-home .site-header{padding:16px}
}
@media(max-width:720px){
  body.page-home .site-header{background:linear-gradient(180deg,rgba(7,8,16,.78),rgba(7,8,16,.24) 72%,transparent);padding:14px 16px}
  body.page-home .top-search{display:none}
  .mobile-menu{top:76px}
  .page-home .hero-slider{border-radius:0 0 24px 24px}
  .page-home .hero-stage{min-height:0}
  .page-home .hero-inner{min-height:650px;padding:88px 18px 118px;align-items:end}
  .page-home .hero-poster{justify-self:start}
  .page-home .hero-poster img{width:min(42vw,172px);height:auto;max-height:238px}
  .page-home .hero-copy{padding-top:0}
  .page-home .hero-copy h1{font-size:clamp(26px,8vw,36px);max-width:none}
  .page-home .hero-copy p{font-size:14px}
  .page-home .hero-stats{grid-template-columns:repeat(3,1fr)}
  .page-home .hero-arrow{bottom:84px}
}
@media(max-width:420px){
  .page-home .hero-inner{padding:84px 14px 112px;min-height:620px}
  .page-home .hero-stats{grid-template-columns:1fr 1fr}
}


/* v2.5 Hero slider without small thumbnails */
.hero-thumbs{display:none!important}
.page-home .hero-inner{padding-bottom:86px}
.page-home .hero-arrow{top:50%;bottom:auto;transform:translateY(-50%)}
.page-home .hero-arrow.prev{left:28px}.page-home .hero-arrow.next{right:28px}
.hero-actions{margin-bottom:0}
@media(max-width:720px){
  .page-home .hero-inner{padding-bottom:64px;min-height:600px}
  .page-home .hero-arrow{top:auto;bottom:28px;transform:none}
  .page-home .hero-arrow.prev{left:16px}.page-home .hero-arrow.next{right:16px}
}
@media(max-width:420px){
  .page-home .hero-inner{padding-bottom:72px;min-height:580px}
}


/* v2.6 Mobile hero/banner visibility fix */
.page-home .hero-slider{display:block!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:1!important}
.page-home .hero-stage{display:block!important;position:relative!important;overflow:hidden!important}
.page-home .hero-slide.active{display:block!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important}
.page-home .hero-slide{overflow:hidden!important}
@media(max-width:720px){
  body.page-home main{padding-top:0!important}
  body.page-home .site-header{position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:80!important}
  body.page-home .hero-slider{display:block!important;margin:0 0 26px!important;width:100vw!important;min-height:520px!important;border-radius:0 0 26px 26px!important;overflow:hidden!important;background:#10111a!important}
  body.page-home .hero-stage{min-height:520px!important;height:520px!important}
  body.page-home .hero-slide{position:absolute!important;inset:0!important;min-height:520px!important;background-position:center top!important;background-size:cover!important}
  body.page-home .hero-slide:not(.active){opacity:0!important;pointer-events:none!important}
  body.page-home .hero-slide:before{background:linear-gradient(180deg,rgba(8,9,16,.26) 0%,rgba(8,9,16,.58) 42%,rgba(8,9,16,.94) 100%)!important}
  body.page-home .hero-slide:after{background:linear-gradient(90deg,rgba(8,9,16,.78),rgba(8,9,16,.18) 52%,rgba(8,9,16,.55))!important}
  body.page-home .hero-inner{display:grid!important;grid-template-columns:1fr!important;align-content:end!important;justify-items:start!important;min-height:520px!important;height:520px!important;padding:92px 18px 76px!important;gap:10px!important;max-width:100%!important}
  body.page-home .hero-poster{display:none!important}
  body.page-home .hero-copy{display:block!important;position:relative!important;z-index:3!important;width:100%!important;max-width:100%!important;padding:0!important}
  body.page-home .pill-glow{font-size:10px!important;padding:8px 13px!important;margin-bottom:8px!important}
  body.page-home .hero-copy h1{display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important;font-size:clamp(27px,8.2vw,38px)!important;line-height:1.08!important;margin:8px 0!important;letter-spacing:-.055em!important;max-width:94%!important}
  body.page-home .hero-copy p{font-size:13px!important;line-height:1.5!important;margin:0 0 10px!important;max-width:92%!important;color:#e2e3ec!important}
  body.page-home .hero-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;width:100%!important;margin:12px 0 0!important;max-width:100%!important}
  body.page-home .hero-stats span{padding:10px 9px!important;border-radius:14px!important;background:rgba(0,0,0,.36)!important;backdrop-filter:blur(10px)!important}
  body.page-home .hero-stats small{font-size:9px!important}
  body.page-home .hero-stats b{font-size:13px!important}
  body.page-home .hero-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;width:100%!important;margin-top:12px!important}
  body.page-home .hero-actions .btn-primary,body.page-home .hero-actions .btn-muted{min-height:44px!important;padding:10px 12px!important;border-radius:14px!important;font-size:13px!important}
  body.page-home .hero-arrow{width:40px!important;height:40px!important;bottom:20px!important;top:auto!important;transform:none!important;background:rgba(10,10,18,.62)!important;z-index:6!important}
  body.page-home .hero-arrow.prev{left:18px!important}body.page-home .hero-arrow.next{right:18px!important}
  body.page-home .content-section:first-of-type{margin-top:24px!important}
}
@media(max-width:420px){
  body.page-home .hero-slider,body.page-home .hero-stage,body.page-home .hero-slide,body.page-home .hero-inner{min-height:500px!important;height:500px!important}
  body.page-home .hero-inner{padding:86px 14px 74px!important}
  body.page-home .hero-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.page-home .hero-actions{grid-template-columns:1fr!important}
}


/* v2.7 Mobile long-title scaling + right-aligned menu */
.hero-title{overflow-wrap:anywhere;word-break:break-word;text-wrap:balance}
.menu-toggle{margin-left:auto;flex:0 0 auto}
@media(max-width:860px){
  .site-header,.page-home .site-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
  .brand{flex:1 1 auto;min-width:0;max-width:calc(100% - 74px)}
  .brand span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .menu-toggle{display:grid;place-items:center;margin-left:auto;align-self:center}
}
@media(max-width:720px){
  body.page-home .site-header, .site-header{padding:14px 16px!important}
  .brand{gap:12px;font-size:16px}
  .site-logo-box,.site-logo-img{width:46px;height:46px;border-radius:16px}
  .menu-toggle{width:54px;height:54px;border-radius:18px}
  body.page-home .hero-copy h1.hero-title{font-size:clamp(24px,7.2vw,34px)!important;line-height:1.08!important;max-width:96%!important}
  body.page-home .hero-copy h1.hero-title.medium-title{font-size:clamp(22px,6.6vw,31px)!important;line-height:1.06!important;max-width:98%!important}
  body.page-home .hero-copy h1.hero-title.long-title{font-size:clamp(18px,5.8vw,27px)!important;line-height:1.08!important;max-width:100%!important;-webkit-line-clamp:4!important}
}
@media(max-width:420px){
  body.page-home .hero-copy h1.hero-title{font-size:clamp(22px,7vw,30px)!important}
  body.page-home .hero-copy h1.hero-title.medium-title{font-size:clamp(20px,6.4vw,27px)!important}
  body.page-home .hero-copy h1.hero-title.long-title{font-size:clamp(17px,5.4vw,23px)!important;line-height:1.1!important;-webkit-line-clamp:4!important}
  .brand{font-size:15px;max-width:calc(100% - 68px)}
  .site-logo-box,.site-logo-img{width:44px;height:44px}
  .menu-toggle{width:52px;height:52px;font-size:24px}
}


/* v2.8 Compact watch server grid and grouped download */
.compact-server-panel .section-head{margin-bottom:18px}
.server-grid-compact{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.server-chip{min-height:58px;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:16px;background:#1a1a24;border:1px solid rgba(255,255,255,.09);color:#dfe2ef;font-weight:900;transition:.2s ease;box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.server-chip span{width:18px;height:18px;display:grid;place-items:center;border-radius:50%;background:var(--accent);font-size:10px;color:#fff;line-height:1}
.server-chip b{font-size:16px;line-height:1;white-space:nowrap}
.server-chip:hover,.server-chip.active{background:linear-gradient(135deg,var(--accent2),var(--accent));border-color:transparent;color:#fff;box-shadow:0 14px 35px rgba(255,0,217,.18)}
.server-chip:hover span,.server-chip.active span{background:rgba(255,255,255,.22)}
.download-panel .section-head{margin-bottom:18px}
.download-box{border:1px solid rgba(255,255,255,.08);border-radius:24px;background:rgba(4,5,11,.55);padding:18px;display:grid;gap:18px}
.download-select-title{min-height:62px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:0 18px;border-radius:18px;background:#1a1a24;border:1px solid rgba(255,255,255,.08);font-weight:900}
.download-select-title span{color:#38a7ff;font-size:24px}.download-select-title b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.download-select-title em{font-style:normal;color:#a8adbc;font-size:24px}
.download-group{display:grid;gap:12px;padding-top:2px}
.download-group+.download-group{border-top:1px solid rgba(255,255,255,.07);padding-top:18px}
.download-quality-badge{width:max-content;display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:10px;border:1px solid rgba(56,167,255,.8);background:rgba(56,167,255,.08);color:#38a7ff;font-size:14px;font-weight:900;letter-spacing:.04em}
.download-provider-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.download-provider{min-height:48px;display:flex;align-items:center;justify-content:center;gap:10px;border-radius:13px;background:#171720;border:1px solid rgba(255,255,255,.08);color:#d9dce8;font-weight:900}
.download-provider span{color:#8f97aa}.download-provider b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.download-provider:hover{border-color:rgba(56,167,255,.65);color:#fff;background:#1e1f2b}
@media(max-width:720px){
  .compact-server-panel{padding:16px!important}
  .server-grid-compact{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .server-chip{min-height:44px;border-radius:12px;gap:5px}
  .server-chip span{width:15px;height:15px;font-size:8px}
  .server-chip b{font-size:12px}
  .download-panel{padding:16px!important}
  .download-box{padding:12px;border-radius:20px;gap:14px}
  .download-select-title{min-height:54px;border-radius:15px;padding:0 12px;gap:10px}
  .download-select-title span,.download-select-title em{font-size:19px}
  .download-select-title b{font-size:14px}
  .download-quality-badge{font-size:12px;padding:7px 10px}
  .download-provider-grid{grid-template-columns:1fr;gap:8px}
  .download-provider{min-height:45px;border-radius:12px;font-size:13px}
}
@media(max-width:380px){
  .server-grid-compact{gap:6px}
  .server-chip b{font-size:11px}
}


/* v2.9 watch header row, smaller episodes, dedup download view, admin font/footer controls */
body{font-size:calc(16px * var(--font-scale,1))}
.watch-mode-row{display:flex;align-items:center;gap:10px;flex-wrap:nowrap;margin-bottom:10px}
.watch-mode-row .pill-glow,.watch-mode-row .info-btn{white-space:nowrap;margin:0}
.watch-mode-row .pill-glow{padding:9px 15px;font-size:12px;letter-spacing:.04em}
.watch-mode-row .info-btn{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border-radius:999px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.16);font-weight:900;color:#fff;padding:0 14px}
.episode-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.episode-grid a{height:50px!important;min-height:0!important;border-radius:14px!important;font-size:15px!important;padding:0!important}
.site-footer{display:grid;gap:6px;text-align:center;color:#828694;font-weight:800;padding:42px 16px 120px}
.site-footer small{display:block;color:#666b7b;font-size:12px;font-weight:700}
.download-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.download-provider{min-height:44px!important}
@media(max-width:720px){
  .watch-info-card{grid-template-columns:80px minmax(0,1fr)!important;align-items:center!important}
  .watch-mode-row{gap:7px;margin-bottom:8px;max-width:100%;overflow:hidden}
  .watch-mode-row .pill-glow{font-size:9px!important;padding:7px 10px!important;letter-spacing:.02em}
  .watch-mode-row .info-btn{font-size:10px!important;min-height:31px;padding:0 9px!important;flex:0 0 auto}
  .watch-info-card h1{font-size:20px!important;line-height:1.15!important;margin:8px 0 5px!important}
  .watch-info-card p{font-size:11px!important;line-height:1.45!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .episode-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important}
  .episode-grid a{height:46px!important;border-radius:12px!important;font-size:14px!important}
  .download-box{max-height:none!important;overflow:visible!important}
  .download-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .download-provider{min-height:42px!important;font-size:12px!important;border-radius:12px!important;padding:0 8px!important}
  .download-provider span{font-size:12px!important}
  .download-quality-badge{font-size:11px!important;padding:6px 9px!important}
}
@media(max-width:420px){
  .watch-info-card{grid-template-columns:72px minmax(0,1fr)!important}
  .watch-mode-row{gap:6px}
  .watch-mode-row .pill-glow{font-size:8.5px!important;padding:6px 8px!important}
  .watch-mode-row .info-btn{font-size:9.5px!important;padding:0 8px!important;min-height:29px}
  .episode-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:7px!important}
  .episode-grid a{height:42px!important;font-size:13px!important;border-radius:11px!important}
  .download-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .download-provider{font-size:11.5px!important;min-height:40px!important}
}


/* v3.0 Admin configurable mobile bottom navigation */
@media(max-width:720px){
  .bottom-nav{
    grid-template-columns:repeat(var(--mobile-nav-count,5),minmax(0,1fr))!important;
    gap:3px!important;
  }
  .bottom-nav a{
    min-width:0!important;
    overflow:hidden!important;
  }
  .bottom-nav .nav-icon{
    font-size:18px!important;
    line-height:1!important;
  }
  .bottom-nav .nav-label{
    font-size:10.5px!important;
    line-height:1.1!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .bottom-nav a.active .nav-icon,
  .bottom-nav a.active .nav-label{
    color:#fff!important;
  }
}
@media(max-width:380px){
  .bottom-nav{left:10px!important;right:10px!important;padding:9px 8px!important}
  .bottom-nav .nav-label{font-size:9.5px!important}
  .bottom-nav .nav-icon{font-size:17px!important}
}
