@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Noto+Sans+JP:wght@400;500;600;700;800;900&display=swap');
:root{--bg:#090a0f;--bg2:#12131b;--pane:#171820;--pane2:#1c1e29;--line:#292b36;--muted:#8f91a1;--white:#f7f7f9;--accent:#fb4861;--accent2:#ff8465;--radius:20px;--max:1180px;color-scheme:dark;font-family:'DM Sans','Noto Sans JP',system-ui,-apple-system,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--white);min-height:100vh;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}img{max-width:100%}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #ff8493;outline-offset:3px}p,h1,h2,h3{margin:0}h1,h2,h3{letter-spacing:-.03em}svg{flex-shrink:0}.shell{width:min(calc(100% - 64px),var(--max));margin:0 auto}.sitehead{height:80px;position:sticky;top:0;z-index:60;background:rgba(9,10,15,.83);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.06)}.headerinner{height:100%;display:flex;align-items:center;gap:34px}.brand{display:flex;align-items:center;gap:10px;background:none;border:0;color:var(--white);padding:0;letter-spacing:-.06em;font-size:22px;font-weight:900;white-space:nowrap}.mark{width:33px;height:33px;border:2px solid var(--accent);border-radius:11px;display:grid;place-items:center;box-shadow:0 0 32px rgba(251,72,97,.12)}.mark svg{color:var(--accent);width:20px}.brand em{font-style:normal;color:var(--accent)}.navlinks{display:flex;gap:28px;align-items:center;flex:1}.navlink{border:0;background:none;font-size:13px;font-weight:700;color:#999aa7;padding:12px 0;position:relative}.navlink.active,.navlink:hover{color:#fff}.navlink.active:after{position:absolute;content:'';height:2px;bottom:3px;left:0;right:0;background:var(--accent);border-radius:3px}.headeractions{display:flex;align-items:center;gap:14px;margin-left:auto}.iconbtn{width:39px;height:39px;border-radius:13px;border:1px solid var(--line);background:#161720;color:var(--white);display:grid;place-items:center}.iconbtn:hover{border-color:#666}.avatarbtn{width:35px;height:35px;background:linear-gradient(135deg,#f77072,#7a274b);color:#fff;border-radius:12px;border:0;display:grid;place-items:center;font-weight:800}.headadmin{font-size:12px;font-weight:800;color:#c7c4d0;background:#181923;border:1px solid var(--line);padding:9px 13px;border-radius:100px}.headadmin:hover{color:#fff;border-color:#9d6371}.mobile-nav{display:none}
.main{padding-bottom:90px}.subtle{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:.17em;font-weight:900;text-transform:uppercase;color:var(--accent);display:flex;align-items:center;gap:8px}.eyebrow:before{content:'';width:17px;height:2px;background:var(--accent)}.sectiontop{display:flex;align-items:end;justify-content:space-between;margin-bottom:20px;gap:12px}.sectiontitle{font-size:25px;font-weight:900;letter-spacing:-.035em}.viewall{display:inline-flex;align-items:center;gap:6px;color:#acadb8;border:0;background:none;font-size:12px;font-weight:700;white-space:nowrap}.viewall:hover{color:#fff}.welcome{padding-top:37px}.welcome .eyebrow{margin-bottom:16px}.welcome h1{font-size:clamp(35px,5vw,57px);line-height:1.2;letter-spacing:-.055em;font-weight:900}.welcome h1 .hilite{color:var(--accent)}.welcome>p{margin-top:12px;color:#a5a6b5;font-size:14px;line-height:1.9}.hero{margin-top:33px;border-radius:27px;height:432px;position:relative;isolation:isolate;overflow:hidden;background:#222330}.hero .cinema-art{position:absolute;inset:0}.hero::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,7,12,.96) 0%,rgba(7,8,12,.7) 42%,rgba(7,8,12,.08) 100%);z-index:-1}.herocontent{height:100%;width:53%;display:flex;flex-direction:column;justify-content:center;padding:0 60px;position:relative}.hero .tag{margin-bottom:20px}.herocontent h2{font-size:clamp(39px,4.8vw,65px);font-weight:900;line-height:1.25;letter-spacing:-.065em}.hero-desc{font-size:14px;line-height:1.9;color:#dcdae1;margin-top:18px;max-width:390px}.herometa{display:flex;gap:12px;margin-top:18px;color:#ddd8df;font-size:12px;font-weight:700}.herometa span:not(:first-child):before{content:'•';margin-right:12px;color:#d7d6db}.heroactions{display:flex;gap:10px;align-items:center;margin-top:28px}.btn{border:0;display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:12px;min-height:44px;padding:0 19px;font-size:13px;font-weight:800;white-space:nowrap;transition:transform .15s,border-color .15s,background .15s}.btn:hover{transform:translateY(-1px)}.btn-primary{color:white;background:var(--accent)}.btn-primary:hover{background:#ff6379}.btn-dark{color:white;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.12)}.btn-soft{color:#ddd;background:#242631;border:1px solid #343640}.btn-outline{color:#fff;background:transparent;border:1px solid #41434f}.btn-danger{color:#ff9fa9;background:#44232b;border:1px solid #7c3443}.btn-small{font-size:12px;padding:0 13px;min-height:35px;border-radius:9px}.tag{display:inline-flex;align-items:center;gap:7px;max-width:max-content;background:rgba(251,72,97,.16);border:1px solid rgba(251,72,97,.35);color:#ff9ca9;padding:6px 10px;border-radius:7px;font-size:10px;font-weight:900;letter-spacing:.1em}.tag .dot{width:6px;height:6px;border-radius:50%;background:currentColor}.hero-index{position:absolute;right:20px;bottom:20px;background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.15);backdrop-filter:blur(8px);border-radius:20px;padding:7px 12px;color:#eee;font-size:11px;letter-spacing:.12em}.curved-lines{position:absolute;width:500px;height:500px;border:1px solid rgba(255,255,255,.16);border-radius:50%;right:-35px;top:-94px;transform:rotate(-18deg)}.curved-lines:before,.curved-lines:after{content:'';position:absolute;border:1px solid rgba(255,255,255,.09);border-radius:50%;inset:26px}.curved-lines:after{inset:68px}.cinema-art{position:relative;overflow:hidden;background:linear-gradient(130deg,var(--art-a,#422d55),var(--art-b,#15142a))}.cinema-art:before{content:'';position:absolute;width:80%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.36),rgba(255,255,255,0) 70%);right:-25%;top:-28%;mix-blend-mode:soft-light}.cinema-art .art-disc{position:absolute;width:48%;aspect-ratio:1;border-radius:50%;background:linear-gradient(135deg,rgba(255,255,255,.38),rgba(255,255,255,.015) 65%);top:16%;right:10%;box-shadow:0 3px 90px rgba(0,0,0,.23),inset -18px -20px 28px rgba(0,0,0,.3)}.cinema-art .art-disc:after{content:'';position:absolute;inset:12%;border-radius:50%;border:1px solid rgba(255,255,255,.22)}.cinema-art .art-orb{position:absolute;background:linear-gradient(135deg,rgba(255,255,255,.13),rgba(255,255,255,0));width:48%;height:65%;right:22%;top:40%;transform:rotate(-29deg);border-radius:60% 35% 50% 20%;filter:blur(6px)}.cinema-art .art-letter{position:absolute;font-family:Georgia,serif;font-weight:800;line-height:1;color:rgba(255,255,255,.17);font-size:clamp(90px,13vw,200px);right:1%;bottom:-10%;user-select:none}.cinema-art .art-texture{position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent,transparent 2px,rgba(0,0,0,.035) 3px)}.cinema-art .art-uploaded{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.art-navy{--art-a:#1f3e59;--art-b:#080e23}.art-rose{--art-a:#82394c;--art-b:#1f162a}.art-purple{--art-a:#613774;--art-b:#18102b}.art-amber{--art-a:#9a592c;--art-b:#291823}.art-forest{--art-a:#2d5c55;--art-b:#0c1f26}.art-blue{--art-a:#304a90;--art-b:#13162f}.art-red{--art-a:#a53742;--art-b:#260d23}.art-slate{--art-a:#526377;--art-b:#141925}
.section{margin-top:49px}.poster-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:17px}.poster-card{min-width:0;cursor:pointer}.poster-img{width:100%;aspect-ratio:3/4.15;border-radius:14px;position:relative;overflow:hidden;background:#272735}.poster-img .cinema-art{position:absolute;inset:0}.poster-img:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 27%,rgba(5,5,10,.12) 55%,rgba(5,5,10,.89) 100%);pointer-events:none}.poster-img .art-letter{font-size:90px}.poster-overlay{position:absolute;z-index:1;bottom:13px;left:13px;right:13px}.poster-overlay .micro{font-size:9px;letter-spacing:.16em;color:#ffc6c9;font-weight:800;text-transform:uppercase;margin-bottom:5px}.poster-overlay h3{font-size:17px;font-weight:900;letter-spacing:-.04em;line-height:1.35}.poster-card:hover .poster-img{box-shadow:0 0 0 2px rgba(251,72,97,.6);transform:translateY(-3px)}.poster-img{transition:transform .17s,box-shadow .17s}.poster-caption{display:flex;justify-content:space-between;align-items:center;gap:4px;margin-top:10px}.poster-caption>span{font-size:11px;color:#9d9eaa}.poster-caption .mini-heart{background:none;border:0;padding:2px;color:#999}.mini-heart.active{color:var(--accent)}.pill{padding:5px 9px;font-size:10px;font-weight:800;color:#c1c1cc;background:#242531;border-radius:7px}.genrebar{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:19px}.genrebtn{border:1px solid var(--line);background:#171820;border-radius:100px;color:#b5b5c1;font-size:12px;font-weight:700;padding:10px 16px}.genrebtn.active{background:#fff;color:#161620;border-color:#fff}.trend-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.trenditem{height:110px;position:relative;overflow:hidden;background:#1a1b27;border:1px solid var(--line);border-radius:15px;display:flex;align-items:center;gap:14px;padding:14px;cursor:pointer}.trenditem:hover{border-color:#6e5261}.trendnum{font-size:39px;font-weight:900;color:#424351;line-height:1}.trendcover{height:80px;width:63px;flex-shrink:0;border-radius:9px;overflow:hidden;position:relative}.trendcover .cinema-art{height:100%}.trendtitle{font-size:14px;font-weight:900;margin-bottom:7px}.trendinfo{color:#9798a5;font-size:11px}.trendarrow{margin-left:auto;color:#8c8e9a}.emptystate{border:1px dashed #42434e;border-radius:18px;text-align:center;padding:45px 20px;color:#b8b8c4}.emptystate .emptyicon{display:grid;place-items:center;margin:0 auto 15px;width:55px;height:55px;border-radius:50%;background:#242530}.emptystate p{font-size:14px;margin-top:7px;color:#9394a3;line-height:1.8}.notice{background:#191925;border:1px solid #363341;border-radius:12px;padding:14px 16px;color:#b6b2c1;font-size:12px;line-height:1.8}.notice strong{color:#fff}.footer{padding:30px 0 50px;margin-top:80px;color:#777884;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:12px}.footerlogo{font-weight:900;color:#ccc;letter-spacing:-.04em}.crumb{display:flex;align-items:center;gap:9px;color:#9899a6;font-size:12px;margin:30px 0}.crumb button{border:0;background:none;color:#a8a8b4;padding:0}.detail-layout{display:grid;grid-template-columns:300px 1fr;gap:40px;margin-top:22px}.detailcover{border-radius:21px;aspect-ratio:3/4.1;overflow:hidden;position:relative}.detailcover .cinema-art{height:100%}.detailhead{padding-top:18px}.detailhead h1{font-size:clamp(32px,4vw,50px);line-height:1.3;margin:18px 0}.detailcopy{color:#b6b6c2;font-size:14px;line-height:2;max-width:650px}.chips{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.detailstats{display:flex;gap:17px;color:#999aa7;font-size:12px;margin:20px 0 26px}.detailsubtitle{font-weight:900;font-size:20px;margin:45px 0 17px}.episode-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.episode{border-radius:14px;border:1px solid var(--line);padding:13px 13px;display:flex;gap:14px;align-items:center;background:#14151c;text-align:left;color:#fff;width:100%;cursor:pointer}.episode:hover{border-color:#6e5667;background:#1b1b26}.episode-num{width:47px;height:52px;border-radius:10px;background:#262736;display:grid;place-items:center;font-size:18px;font-weight:900;flex-shrink:0}.episode-title{font-weight:800;font-size:13px;margin-bottom:7px}.episode-description{font-size:11px;color:#9496a5;line-height:1.6}.episode-status{margin-left:auto;font-size:10px;color:#ffabbe;white-space:nowrap}.episode-status.ready{color:#6fd1b7}.pagehead{padding:40px 0 25px}.pagehead h1{font-size:36px;margin-bottom:7px}.pagehead p{font-size:13px;color:#9697a5;line-height:1.9}.searchbox{display:flex;align-items:center;gap:10px;border-radius:14px;background:#1b1c26;border:1px solid #333440;padding:0 17px;height:54px;margin:0 0 25px}.searchbox svg{color:#8d8e9c}.searchbox input{border:0;outline:0!important;background:none;flex:1;color:white;width:100%;font-size:14px}.searchbox input::placeholder{color:#777887}.searchbox button{background:none;border:0;color:#8d8e9c}.all-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px 16px}.backrow{display:flex;align-items:center;gap:10px;margin-top:26px}.backlink{border:0;background:none;color:#c3c3ca;font-size:12px;font-weight:700;display:inline-flex;align-items:center;gap:6px;padding:5px 0}.player-layout{display:grid;grid-template-columns:minmax(300px,410px) 1fr;align-items:start;gap:50px;padding-top:15px}.playerframe{height:min(77vh,735px);aspect-ratio:9/16;max-width:100%;border-radius:23px;background:#09090d;position:relative;overflow:hidden;border:1px solid #30303c;box-shadow:0 26px 100px rgba(0,0,0,.4)}.playerframe video{width:100%;height:100%;object-fit:contain;background:#000}.playerfallback{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:35px;background:radial-gradient(circle at 52% 18%,#392837 0%,#1a1728 45%,#0b0c13 100%)}.playerfallback .giant-play{height:70px;width:70px;border-radius:50%;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);display:grid;place-items:center;margin-bottom:25px}.playerfallback h3{font-size:21px;line-height:1.5}.playerfallback p{font-size:12px;line-height:1.8;color:#aaa9b6;margin-top:9px}.playerfallback .watermark{position:absolute;top:22px;left:25px;font-weight:900;letter-spacing:-.05em}.playerfallback .watermark b{color:var(--accent)}.playerframe video:not([hidden])+.playerfallback{display:none}.playerframe video[hidden]{display:none}.player-side h1{font-size:36px;line-height:1.35;margin:14px 0 12px}.player-side>p{font-size:13px;color:#9c9ba8;line-height:2;margin-bottom:26px}.episode-choices{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px;max-width:570px}.episode-chip{height:44px;min-width:56px;padding:0 12px;border-radius:11px;background:#1e1f29;color:#c2c2cd;border:1px solid #333440;font-size:12px;font-weight:800}.episode-chip.selected{background:var(--accent);border-color:var(--accent);color:white}.episode-chip.missing:after{content:'•';color:#a7a7b3;margin-left:4px}.playercontrols{display:flex;gap:10px;margin-top:28px;flex-wrap:wrap}
.admin-header{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:30px 0 26px}.admin-header h1{font-size:35px;margin:10px 0 6px}.admin-header p{font-size:12px;color:#aaaab4;line-height:1.7}.adminbadge{font-size:11px;border:1px solid #584048;border-radius:100px;color:#ff9cac;background:#2b1d27;padding:7px 11px;font-weight:800}.statsgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:27px}.stat{background:#171820;border:1px solid #282a35;border-radius:15px;padding:19px}.statlabel{font-size:11px;color:#9698a6;margin-bottom:13px}.statvalue{font-size:27px;font-weight:900}.statfoot{font-size:10px;color:#90919d;margin-top:6px}.adminpanel{border-radius:17px;border:1px solid #292b36;overflow:hidden;background:#12131a}.admintop{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px;border-bottom:1px solid #2b2d39}.admintop h2{font-size:18px}.admintop p{font-size:11px;color:#8f91a1;margin-top:7px}.adminrow{display:grid;grid-template-columns:60px 1fr auto;align-items:center;gap:15px;padding:14px 20px;border-top:1px solid #252731}.adminrow:first-of-type{border-top:0}.adminrowimg{width:60px;height:73px;border-radius:8px;position:relative;overflow:hidden}.adminrowimg .cinema-art{height:100%}.adminrowtitle{font-weight:800;font-size:14px;margin-bottom:8px}.adminrowinfo{display:flex;gap:10px;align-items:center;color:#91929f;font-size:11px;flex-wrap:wrap}.status-live{color:#77d0b5}.status-draft{color:#e6b972}.rowactions{display:flex;gap:7px;flex-wrap:wrap;justify-content:end}.outlinebox{background:#151720;border:1px dashed #41424f;border-radius:14px;padding:17px;color:#a7a7b5;font-size:12px;line-height:1.8}.tiny{font-size:11px;color:var(--muted)}.upfile{width:100%;border:1px dashed #5a5060;border-radius:13px;padding:20px;text-align:center;cursor:pointer;background:#171922}.upfile:hover{background:#1e202b}.filehint{font-size:11px;color:#9697a6;margin-top:6px}.uploadprogress{font-size:11px;color:#b3b3c0;margin-top:6px}.insettitle{display:flex;align-items:center;justify-content:space-between;margin:33px 0 15px}.insettitle h2{font-size:20px}.modeTabs{display:flex;gap:4px;padding:4px;border-radius:12px;background:#161720;width:max-content;margin-bottom:22px}.modeTabs button{border:0;background:none;color:#aaaabd;border-radius:9px;font-size:12px;font-weight:800;padding:11px 17px}.modeTabs button.active{color:white;background:#323340}
#overlay{position:fixed;inset:0;z-index:100;pointer-events:none}#overlay.visible{pointer-events:auto}.modalbackdrop{background:rgba(0,0,0,.75);backdrop-filter:blur(7px);position:absolute;inset:0;display:grid;place-items:center;padding:17px}.modal{background:#171820;border:1px solid #343640;border-radius:21px;width:min(100%,540px);max-height:min(88vh,900px);overflow-y:auto;box-shadow:0 30px 130px rgba(0,0,0,.55)}.modalhead{padding:23px 24px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #30323d}.modalhead h2{font-size:21px}.modalhead button{border:0;background:#292b37;color:white;width:32px;height:32px;border-radius:9px;font-size:18px}.modalbody{padding:22px 24px 24px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.formfield{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}.formfield label{font-size:11px;font-weight:800;color:#c3c3d0}.formfield input,.formfield select,.formfield textarea{width:100%;padding:12px 13px;background:#20222e;border:1px solid #3d3e4b;border-radius:10px;color:#f7f7fa;font-size:13px;outline:0}.formfield textarea{min-height:90px;resize:vertical;line-height:1.7}.formfield input[type=file]{font-size:11px}.formfield input::placeholder,.formfield textarea::placeholder{color:#747482}.formfield input:focus,.formfield textarea:focus,.formfield select:focus{border-color:var(--accent)}.modal-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:5px}.switch{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:12px;color:#c9c9d2;margin-bottom:15px}.switch input{accent-color:var(--accent)}.admin-note{margin-top:25px}.top-alert{margin:30px 0 0}.showMore{margin-top:22px;text-align:center}#toast{position:fixed;bottom:90px;left:50%;transform:translateX(-50%) translateY(20px);z-index:120;background:#f7f7f9;color:#181820;padding:13px 20px;border-radius:11px;box-shadow:0 12px 55px #0008;font-size:13px;font-weight:700;opacity:0;pointer-events:none;transition:.2s;min-width:170px;text-align:center}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.boot{height:100vh;display:flex;align-items:center;justify-content:center;gap:11px;color:#c4c4cf;font-size:13px}.loader{height:18px;width:18px;border-radius:50%;border:2px solid #3b3c4a;border-top-color:var(--accent);animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1000px){.poster-row,.all-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.trend-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.herocontent{width:65%;padding:0 35px}}
@media(max-width:700px){:root{--max:100%}.shell{width:calc(100% - 32px)}.sitehead{height:65px}.headerinner{gap:9px}.brand{font-size:20px}.mark{width:30px;height:30px}.navlinks,.headadmin{display:none}.headeractions{gap:8px}.avatarbtn{width:33px;height:33px}.iconbtn{width:33px;height:33px;border:none;background:transparent}.main{padding-bottom:120px}.mobile-nav{display:grid;position:fixed;bottom:0;left:0;right:0;z-index:70;grid-template-columns:repeat(5,1fr);padding:9px 6px calc(9px + env(safe-area-inset-bottom));background:rgba(18,19,27,.96);border-top:1px solid #33333d;backdrop-filter:blur(20px)}.mobile-nav button{background:none;border:0;color:#848695;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:9px;font-weight:800;padding:5px 2px}.mobile-nav button.active{color:var(--accent)}.mobile-nav svg{width:21px;height:21px}.welcome{padding-top:27px}.welcome .eyebrow{margin-bottom:12px}.welcome h1{font-size:34px;line-height:1.28}.welcome>p{font-size:12px;margin-top:10px}.hero{height:425px;margin-top:25px;border-radius:19px}.hero::after{background:linear-gradient(0deg,rgba(6,7,12,.94),rgba(8,8,14,.54) 58%,rgba(8,8,14,.1))}.hero .cinema-art .art-disc{width:95%;right:-25%;top:-5%}.hero .cinema-art .art-letter{font-size:155px;right:-5%;bottom:12%}.herocontent{padding:0 21px 25px;width:100%;justify-content:end}.herocontent h2{font-size:38px}.hero .tag{margin-bottom:11px}.hero-desc{margin-top:10px;font-size:12px;line-height:1.75;max-width:100%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.herometa{font-size:10px;margin-top:12px}.heroactions{margin-top:17px}.hero-index{right:15px;top:17px;bottom:auto}.section{margin-top:34px}.sectiontitle{font-size:20px}.sectiontop{margin-bottom:17px}.poster-row{display:flex;overflow-x:auto;gap:13px;scroll-snap-type:x mandatory;scrollbar-width:none;padding:3px 0 5px;margin-right:-16px}.poster-row::-webkit-scrollbar{display:none}.poster-card{width:143px;flex:0 0 143px;scroll-snap-align:start}.poster-img{border-radius:12px}.poster-overlay{left:10px;bottom:11px;right:7px}.poster-overlay h3{font-size:14px}.poster-caption{margin-top:8px}.genrebar{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none;margin-right:-16px;padding-right:16px}.genrebar::-webkit-scrollbar{display:none}.genrebtn{white-space:nowrap;font-size:11px;padding:9px 13px}.trend-grid{grid-template-columns:1fr;gap:9px}.trenditem{height:90px}.trendcover{height:66px;width:53px}.footer{margin-top:45px;padding-bottom:35px}.crumb{margin:22px 0}.detail-layout{grid-template-columns:110px 1fr;gap:16px;margin-top:10px}.detailcover{border-radius:11px}.detailhead{padding:0}.detailhead h1{font-size:25px;margin:8px 0}.detailcopy{font-size:12px;line-height:1.75;margin-top:22px;grid-column:1/-1}.detailhead .eyebrow{font-size:9px}.detailhead .eyebrow:before{width:9px}.chips{margin:9px 0;gap:5px}.pill{font-size:9px}.detailstats{font-size:10px;gap:10px;margin:10px 0}.detailhead .btn{min-height:36px;font-size:11px;padding:0 11px;margin-top:4px}.detailsubtitle{font-size:18px;margin:32px 0 15px}.episode-list{grid-template-columns:1fr}.episode{min-height:70px}.pagehead{padding:28px 0 18px}.pagehead h1{font-size:26px}.pagehead p{font-size:12px}.all-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.all-grid .poster-card{width:100%}.all-grid .poster-overlay h3{font-size:16px}.searchbox{margin-bottom:19px}.player-layout{display:flex;flex-direction:column;align-items:center;gap:22px}.playerframe{height:auto;width:min(100%,390px);aspect-ratio:9/13.5;border-radius:17px}.player-side{width:100%}.player-side h1{font-size:24px;margin:8px 0}.player-side>p{font-size:12px}.playercontrols{margin-top:18px}.admin-header{margin:26px 0 22px;align-items:start}.admin-header h1{font-size:26px}.adminbadge{white-space:nowrap;font-size:9px}.admin-header .btn{min-height:37px;padding:0 9px;font-size:11px}.statsgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat{padding:14px}.statvalue{font-size:24px}.admintop{padding:16px;align-items:start}.admintop h2{font-size:16px}.admintop .btn{font-size:10px;padding:0 8px}.adminrow{grid-template-columns:45px 1fr;gap:10px;padding:12px}.adminrowimg{height:62px;width:45px}.adminrowtitle{font-size:12px}.adminrowinfo{font-size:10px}.rowactions{grid-column:2;justify-content:start}.rowactions .btn{font-size:10px;padding:0 8px;min-height:32px}.modal{max-height:90vh;border-radius:17px}.modalhead{padding:16px}.modalbody{padding:17px}.formgrid{grid-template-columns:1fr;gap:0}.formfield{margin-bottom:12px}.footer{font-size:10px}#toast{bottom:90px;max-width:calc(100% - 40px)}.modeTabs{width:100%}.modeTabs button{flex:1}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* The watch view uses its own controls so taps and swipes share one surface. */
.player-layout { grid-template-columns: minmax(0, 410px) minmax(0, 1fr); }
.playerframe {
  width: min(100%, 410px);
  height: auto;
  aspect-ratio: 9 / 16;
  isolation: isolate;
  background: #08080c;
}
.playerframe:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.playerframe [hidden] { display: none !important; }
.player-media, .video-gesture-surface { position: absolute; inset: 0; }
.player-media { overflow: hidden; pointer-events: none; }
.playerframe video { display: block; }
.playerfallback { padding: 0; }
.playerfallback .cinema-art {
  position: absolute;
  inset: 0;
  animation: preview-motion 8s ease-in-out infinite alternate paused;
}
.playerframe[data-playing='true'] .playerfallback .cinema-art { animation-play-state: running; }
@keyframes preview-motion { to { transform: scale(1.13); } }

.video-gesture-surface {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  color: white;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.player-play-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid #ffffff55;
  background: #101017b3;
  backdrop-filter: blur(8px);
}
.playerframe[data-playing='true'] .player-play-icon { opacity: 0; }
.video-gesture-surface:focus-visible { outline: 2px solid white; outline-offset: -4px; }
.video-gesture-surface:focus-visible .player-play-icon { opacity: 1; }

.watch-top, .watch-bottom {
  position: absolute;
  inset-inline: 0;
  pointer-events: none;
}
.watch-top {
  top: 0;
  padding: 14px 16px 32px;
  display: flex;
  justify-content: space-between;
  background: linear-gradient(#050509a8, transparent);
}
.watch-button {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid #ffffff37;
  border-radius: 50px;
  background: #101017db;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.watch-list { padding-inline: 12px; }
.watch-button:disabled { opacity: .38; cursor: default; }
.watch-button:focus-visible, .watch-seek:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.watch-bottom {
  bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 8px;
  align-items: end;
  padding: 50px 16px 16px;
  background: linear-gradient(transparent, #060609e8 48%, #060609);
}
.watch-details { min-width: 0; }
.watch-status { font-size: 11px; color: #ffb6c4; font-weight: 800; margin-bottom: 7px; }
.watch-status:empty { display: none; }
.watch-series { font-weight: 900; font-size: clamp(17px, 5vw, 25px); overflow-wrap: anywhere; }
.watch-details h1 { margin: 4px 0 0; font-size: 14px; color: #fff; line-height: 1.5; overflow-wrap: anywhere; }
.watch-details h1 span { color: #e0dce8; margin-inline-start: 5px; }
.watch-tools { display: flex; flex-wrap: wrap; justify-content: end; gap: 4px; }
.watch-seek { grid-column: 1 / -1; pointer-events: auto; width: 100%; height: 25px; accent-color: var(--accent); }
.gesture-hint { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 6px; font-size: 11px; color: #dedbe4; }
.gesture-touch { display: none; }
.player-side .sectiontop h2 { font-size: 18px; }
.playerframe[data-slide='next'] .player-media { --slide-offset: 14%; animation: episode-in .24s ease-out; }
.playerframe[data-slide='previous'] .player-media { --slide-offset: -14%; animation: episode-in .24s ease-out; }
@keyframes episode-in {
  from { transform: translateY(var(--slide-offset)); opacity: .5; }
  to { transform: translateY(0); opacity: 1; }
}
@media (any-pointer: coarse) {
  .gesture-touch { display: inline; }
  .gesture-mouse { display: none; }
}
@media (max-width: 700px), (pointer: coarse) and (max-height: 500px) {
  .watch-active > .sitehead, .watch-active > .mobile-nav { display: none; }
  .watch-page { width: 100%; padding: 0 0 max(28px, env(safe-area-inset-bottom)); }
  .watch-page .player-layout { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 0; }
  .watch-page .playerframe {
    width: 100%;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    min-height: 260px;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .watch-top {
    padding-top: max(12px, env(safe-area-inset-top));
    padding-inline: max(14px, env(safe-area-inset-left)) max(14px, env(safe-area-inset-right));
  }
  .watch-bottom {
    padding-bottom: max(14px, env(safe-area-inset-bottom));
    padding-inline: max(14px, env(safe-area-inset-left)) max(14px, env(safe-area-inset-right));
  }
  .watch-page .player-side, .watch-page .footer { width: min(calc(100% - 32px), 570px); margin-inline: auto; }
  .watch-page .player-side { padding-top: 24px; }
}

.admin-login { max-width: 420px; padding: 24px; }
.admin-header-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
