:root{color-scheme:dark;--bg:#08090b;--panel:#121315;--muted:#96979c;--line:#ffffff18;--white:#f5f5f3;--radius:14px;font-family:Manrope,Arial,sans-serif;color:var(--white);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-size:16px;line-height:1.6}body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 70% 0%,#aaa2,transparent 45%);animation:light 20s ease-in-out infinite alternate}body.watching:before{display:none}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid white;outline-offset:5px}button{color:inherit}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.065em;line-height:1.05}h2{font-size:26px;letter-spacing:-1px;font-weight:600}h3{font-size:18px}p{color:#b0b0b6}small{font-size:12px;color:var(--muted)}header{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 5%;position:absolute;top:0;width:100%;z-index:10;background:linear-gradient(#090a0cd9,#090a0c65);backdrop-filter:blur(18px);border-bottom:1px solid #ffffff0c}.logo{font-size:30px;letter-spacing:7px;font-weight:800;line-height:1}.logo span{font-size:11px;vertical-align:top;letter-spacing:0;margin-left:3px}nav{display:flex;gap:34px;align-items:center}nav a{font-size:14px;color:#a3a4a8;position:relative;padding:33px 0}nav a.active{color:white}nav a.active:after{content:"";position:absolute;bottom:20px;left:40%;width:20%;height:2px;background:white}header .right{display:flex;gap:22px;align-items:center}.iconbtn,.textbtn{border:0;background:transparent;padding:7px;color:#c3c3c8;display:inline-flex;align-items:center;gap:8px}.icon{width:20px;height:20px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(145deg,#8c8d8e,#2a2b2d);border:1px solid #ffffff38;display:inline-flex;align-items:center;justify-content:center;font-size:13px;color:white}.hero{min-height:740px;height:85vh;max-height:930px;position:relative;display:flex;align-items:center;isolation:isolate;padding:130px 5% 100px;overflow:hidden}.hero-bg{position:absolute;inset:0;z-index:-3;width:100%;height:100%;object-fit:cover;object-position:center 55%;filter:saturate(.48) brightness(.75)}.hero:before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#08090bf2 0%,#08090b88 40%,#08090b08 80%),linear-gradient(0deg,var(--bg) 1%,transparent 45%,#08090b25)}.hero:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;opacity:.13;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.5' filter='url(%23n)'/%3E%3C/svg%3E")}.hero-copy{max-width:660px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:3px;color:#d3d3d6;display:flex;align-items:center;gap:12px;margin-bottom:28px}.eyebrow:before{content:"";height:1px;width:28px;background:#a2a2a6}.hero h1{font-size:clamp(62px,8vw,116px);font-weight:500;margin:0 0 24px}.hero h1 em{font-family:Georgia,serif;font-weight:400}.meta{display:flex;gap:16px;align-items:center;flex-wrap:wrap;color:#b5b6bb;font-size:13px;margin-bottom:22px}.rating{color:#eee;font-weight:700}.age{border:1px solid #ffffff35;padding:0 5px;font-size:11px;border-radius:3px}.hero-copy p{max-width:445px;line-height:1.8;font-size:15px}.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:30px}.btn{position:relative;overflow:hidden;border:1px solid #ffffff22;border-radius:8px;padding:13px 22px;font-size:14px;font-weight:600;background:#ffffff0c;display:inline-flex;gap:10px;align-items:center;justify-content:center;transition:background .23s,transform .23s,box-shadow .23s;min-height:48px}.btn.primary{background:#f2f2ef;color:#131417;border-color:#eee}.btn:hover{background:#ffffff20;box-shadow:0 0 22px #ffffff0e}.btn.primary:hover{background:white}.btn:after{content:"";position:absolute;inset:-60% -100%;background:linear-gradient(100deg,transparent 45%,#fff4 50%,transparent 55%);transform:translateX(-60%);pointer-events:none}.btn:hover:after{transform:translateX(60%);transition:transform .6s}.btn:active{transform:scale(.97)}.hero-bottom{position:absolute;bottom:48px;left:5%;right:5%;display:flex;justify-content:space-between;align-items:center;font-size:11px;letter-spacing:2px;color:#8e8f96}.dots{display:flex;gap:9px}.dots i{display:block;width:6px;height:6px;border-radius:100%;background:#ffffff38}.dots i:first-child{width:26px;border-radius:9px;background:white}.section{padding:0 5%;margin:24px 0 52px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px;gap:12px}.section-head h2{margin:0}.section-head a,.section-head button{font-size:13px;color:#a7a7ad}.movie-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:22px}.card{min-width:0;position:relative}.poster{aspect-ratio:2/3;position:relative;overflow:hidden;border-radius:10px;background:#1b1c20;border:1px solid #ffffff10;transition:transform .25s,box-shadow .25s}.poster img{width:100%;height:100%;object-fit:cover;filter:saturate(.62) brightness(.7);transition:filter .3s,transform .45s}.poster:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#000b,transparent 65%)}.poster-title{position:absolute;bottom:24px;left:15px;right:15px;z-index:1;font-weight:800;text-align:center;font-size:clamp(20px,2.2vw,34px);line-height:1.03;letter-spacing:-1px;text-transform:uppercase;text-shadow:0 3px 20px #000}.poster-title small{display:block;font-size:8px;font-weight:500;letter-spacing:3px;margin-bottom:10px;color:#eee}.card:hover .poster,.card:focus-within .poster{transform:translateY(-5px);box-shadow:0 0 0 1px #fff4,0 10px 30px #ffffff09}.card:hover img{filter:saturate(1) brightness(.9);transform:scale(1.035)}.card .score{position:absolute;left:10px;top:10px;font-size:11px;background:#0b0b0b96;padding:3px 7px;border-radius:5px;z-index:2;backdrop-filter:blur(8px)}.card .quick{position:absolute;right:8px;top:8px;z-index:3;border-radius:50%;background:#0a0a0ac4;opacity:0;transition:opacity .2s}.card:hover .quick,.card:focus-within .quick{opacity:1}.card h3{font-size:14px;font-weight:600;margin:13px 0 3px}.card .sub{font-size:12px;color:#82838b}.continue-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.continue{position:relative;border:1px solid var(--line);border-radius:10px;overflow:hidden;aspect-ratio:2.7;background:#171719}.continue img{width:100%;height:100%;object-fit:cover;filter:brightness(.45) saturate(.4);transition:filter .2s}.continue:hover img{filter:brightness(.65) saturate(.7)}.continue-info{position:absolute;inset:0;display:flex;align-items:center;padding:22px;gap:16px}.play-circle{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;border:1px solid #ffffff66;flex-shrink:0}.continue h3{margin:0 0 3px;font-size:15px}.progress{height:2px;position:absolute;bottom:0;background:#e7e7e9;left:0}.page{padding:136px 5% 70px;min-height:80vh}.page h1{font-size:52px;font-weight:500;margin-bottom:16px}.kicker{color:#8b8c92;font-size:11px;letter-spacing:2px;margin-bottom:15px}.page-intro{display:flex;align-items:end;justify-content:space-between;margin-bottom:38px;gap:20px}.page-intro p{font-size:14px;margin-bottom:0}.filters{padding:22px;border:1px solid var(--line);border-radius:12px;background:#101113;margin-bottom:30px}.filter-row{display:grid;grid-template-columns:2fr repeat(4,1fr);gap:12px}.field{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#aaaab1}input,select,textarea{background:#191a1e;border:1px solid #ffffff18;border-radius:7px;color:white;padding:12px;min-width:0;width:100%;font-size:14px}textarea{resize:vertical;min-height:88px}.filter-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:18px;gap:12px}.filter-bottom select{width:auto;background:transparent;border:0;padding:5px}.chips{display:flex;gap:8px;flex-wrap:wrap}.chip,.badge{display:inline-flex;border:1px solid #ffffff26;border-radius:30px;padding:4px 10px;font-size:11px;gap:8px;background:#ffffff08;align-items:center}.catalog-grid{row-gap:32px}.empty{text-align:center;border:1px dashed #ffffff24;border-radius:16px;padding:60px 25px;grid-column:1/-1;background:#ffffff02}.empty h2{margin:15px 0 10px}.empty p{max-width:460px;margin:0 auto 20px;font-size:14px}.detail-hero{min-height:650px;height:auto;padding-bottom:70px;padding-top:145px}.detail-layout{display:grid;grid-template-columns:220px 1fr;gap:45px;align-items:center}.detail-poster{width:220px;box-shadow:0 15px 60px #0008}.detail-hero h1{font-size:64px;max-width:720px}.content{max-width:1440px;margin:auto}.player-section{padding-top:20px;scroll-margin-top:30px}.player{aspect-ratio:16/9;background:#020203;border:1px solid #ffffff1f;border-radius:12px;overflow:hidden;position:relative;display:flex;align-items:center;justify-content:center}.player video,.player iframe{width:100%;height:100%;border:0;background:black}.player-idle{padding:30px;text-align:center;max-width:560px}.player-idle .play-circle{margin:0 auto 20px;width:65px;height:65px}.player-idle h2{font-size:23px}.player-idle p{font-size:14px}.notice{padding:14px 18px;border:1px solid var(--line);border-radius:9px;font-size:13px;color:#a4a5ae;background:#ffffff03;margin:16px 0}.cast{display:flex;gap:32px;flex-wrap:wrap}.cast-person{display:flex;align-items:center;gap:12px}.cast-person .avatar{width:48px;height:48px}.cast-person strong{display:block;font-size:14px;font-weight:500}.cast-person small{font-size:12px}.profile-hero{display:flex;gap:24px;align-items:center;margin-bottom:40px}.profile-hero .avatar{width:90px;height:90px;font-size:30px}.profile-hero h1{font-size:38px;margin:0 0 8px}.profile-hero p{margin:0;font-size:14px}.profile-hero .btn{margin-left:auto}.tabs{display:flex;gap:30px;border-bottom:1px solid var(--line);margin:0 0 32px;overflow:auto}.tabs button{background:none;border:0;border-bottom:2px solid transparent;white-space:nowrap;padding:15px 0;color:#888b94;font-size:14px}.tabs button.active{color:white;border-bottom-color:white}.room-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px}.room-sidebar{border:1px solid var(--line);border-radius:12px;background:#101113;display:flex;flex-direction:column;min-height:540px}.room-sidebar h3{padding:20px;margin:0;border-bottom:1px solid var(--line);font-size:14px}.participants{padding:18px;display:flex;align-items:center;gap:10px;font-size:13px;border-bottom:1px solid var(--line)}.chat{flex:1;min-height:200px;padding:18px;max-height:350px;overflow:auto}.chat-note{text-align:center;color:#83858f;font-size:12px;padding:14px 8px;line-height:1.8}.bubble{background:#232427;border-radius:10px 10px 2px 10px;padding:11px 13px;margin:12px 0 0 20px;font-size:13px;overflow-wrap:anywhere}.bubble small{display:block;font-size:10px}.chat-form{padding:15px;display:flex;gap:8px}.chat-form .btn{padding:10px}.room-info{display:flex;justify-content:space-between;gap:15px;margin-top:20px;align-items:center}.theater .room-sidebar,.theater .room-info,.theater .page-intro p{display:none}.theater .room-layout{grid-template-columns:1fr}.theater .page{max-width:1700px;margin:auto}.room-card{padding:22px;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;gap:18px}.room-card .btn{margin-left:auto}.auth-wrap{min-height:80vh;display:grid;place-items:center;padding:140px 20px 70px}.auth-card{max-width:440px;width:100%;padding:35px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(135deg,#1b1c20,#101113)}.auth-card h1{font-size:35px;margin:28px 0 12px}.auth-card p{font-size:14px}.form-stack{display:flex;flex-direction:column;gap:18px}.form-stack .btn{margin-top:8px}.auth-link{text-align:center;font-size:13px;margin-top:22px}.auth-link a{color:white;text-decoration:underline;text-underline-offset:4px}dialog{background:#16171a;color:white;border:1px solid #ffffff30;border-radius:18px;width:min(520px,calc(100% - 30px));padding:30px;box-shadow:0 30px 150px #000a;max-height:90vh;overflow:auto}dialog::backdrop{background:#000a;backdrop-filter:blur(8px)}dialog h2{margin-bottom:12px}dialog p{font-size:14px}dialog .close{position:absolute;right:16px;top:14px}dialog .form-stack{margin-top:25px}.radio-row{display:flex;gap:12px}.radio-row label{padding:14px;background:#222327;border:1px solid var(--line);border-radius:8px;flex:1;cursor:pointer;font-size:13px}.radio-row input{width:auto;margin-right:5px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 0;border-bottom:1px solid var(--line);font-size:14px}.settings-row input{width:20px;height:20px;accent-color:white}footer{margin:45px 5% 0;border-top:1px solid var(--line);padding:35px 0;display:flex;gap:28px;align-items:center;color:#7f8088;font-size:12px}footer .logo{font-size:21px;letter-spacing:5px;color:#ccc}footer .textbtn{margin-left:auto;font-size:12px}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);z-index:100;background:#eee;color:#111;padding:13px 22px;border-radius:10px;box-shadow:0 5px 40px #0008;max-width:90%;font-size:13px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.show{opacity:1;transform:translate(-50%,0)}.skip{position:fixed;left:20px;top:-100px;z-index:100;background:white;color:black;padding:10px}.skip:focus{top:10px}.skeleton{background:linear-gradient(90deg,#18191c,#25262a,#18191c);background-size:200% 100%;animation:shine 1.4s infinite;aspect-ratio:2/3;border-radius:10px}.screen-reader{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@keyframes light{to{opacity:.35;transform:translateX(-10%)}}@keyframes shine{to{background-position:-200% 0}}@media(min-width:1700px){.section,.page,header,footer{padding-left:max(5%,calc((100vw - 1600px)/2));padding-right:max(5%,calc((100vw - 1600px)/2))}}@media(max-width:1100px){.movie-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.movie-grid.home-grid .card:nth-child(n+5){display:none}.hero{min-height:650px}.room-layout{grid-template-columns:minmax(0,1fr) 290px}.filter-row{grid-template-columns:repeat(4,1fr)}.filter-row .field:first-child{grid-column:1/-1}.continue-info{padding:14px}.continue h3{font-size:13px}.continue-grid{gap:14px}.detail-layout{grid-template-columns:180px 1fr;gap:30px}.detail-poster{width:180px}.detail-hero h1{font-size:50px}}@media(max-width:760px){header{height:72px;padding:0 5%;backdrop-filter:blur(10px)}.logo{font-size:23px;letter-spacing:5px}nav{gap:18px}nav a{font-size:12px;padding:25px 0}nav a:first-child{display:none}header .right{gap:7px}header .avatar{width:30px;height:30px}.hero{height:75vh;min-height:650px;padding:130px 6% 100px}.hero h1{font-size:70px}.hero-bg{object-position:64%}.hero:before{background:linear-gradient(90deg,#08090bde,#08090b20),linear-gradient(0deg,#08090b,transparent 90%)}.hero-copy p{font-size:14px;max-width:340px}.hero-bottom{bottom:30px}.eyebrow{font-size:10px;letter-spacing:2px}.section{margin-bottom:38px}.section-head h2{font-size:22px}.section-head a{font-size:11px}.movie-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.movie-grid.home-grid .card:nth-child(n+4){display:none}.poster-title{font-size:22px;bottom:18px;left:7px;right:7px}.poster-title small{font-size:6px;letter-spacing:2px}.card h3{font-size:13px}.card .quick{opacity:1;padding:5px}.continue-grid{grid-template-columns:1fr 1fr}.continue-grid>a:last-child{display:none}.continue{aspect-ratio:2}.continue-info{gap:10px}.continue small{font-size:10px}.play-circle{width:30px;height:30px}.page{padding-top:110px}.page h1{font-size:38px}.page-intro{align-items:start;flex-direction:column}.filter-row{grid-template-columns:1fr 1fr}.filter-bottom{align-items:start;flex-direction:column}.detail-layout{grid-template-columns:1fr}.detail-poster{display:none}.detail-hero h1{font-size:55px}.detail-hero{min-height:570px;padding-bottom:55px}.room-layout{grid-template-columns:1fr}.room-sidebar{min-height:360px}.profile-hero{flex-wrap:wrap}.profile-hero .avatar{width:65px;height:65px;font-size:22px}.profile-hero h1{font-size:28px}.profile-hero .btn{margin-left:0}.tabs{gap:24px}.room-info{align-items:start;flex-direction:column}.room-card{flex-wrap:wrap}.room-card .btn{margin-left:0}.player-idle{padding:20px}.player-idle h2{font-size:18px}.player-idle p{font-size:12px}.player-idle .play-circle{display:none}footer{flex-wrap:wrap;gap:18px}footer .textbtn{margin-left:0}footer small{width:100%}body:before{animation:none}dialog::backdrop{backdrop-filter:none}}@media(max-width:420px){nav{gap:12px}nav a{font-size:11px}.movie-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.movie-grid.home-grid .card:nth-child(3){display:block}.movie-grid.home-grid .card:nth-child(4){display:block}.hero h1{font-size:62px}.actions{gap:9px}.btn{padding:12px 15px;font-size:12px}.continue-grid{grid-template-columns:1fr}.continue-grid>a:nth-child(2){display:none}.continue{aspect-ratio:3}.meta{gap:10px}.poster-title{font-size:25px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.rating-low{color:#ff727b}.rating-mid{color:#ffb15b}.rating-high{color:#65d69a}

.avatar{overflow:hidden;flex-shrink:0}.avatar img{width:100%;height:100%;object-fit:cover;display:block}.profile-contacts{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.profile-contacts:empty{display:none}.profile-contacts a:hover{background:#ffffff18}.avatar-editor{display:flex;gap:18px;align-items:center}.avatar-editor .avatar{width:76px;height:76px;font-size:28px}.avatar-editor>div{min-width:0;flex:1}.avatar-editor input{font-size:12px;padding:8px}.avatar-editor .textbtn{font-size:13px;padding-left:0;display:block}.contact-fields{border:1px solid var(--line);border-radius:10px;padding:18px;display:grid;gap:16px;margin:0;min-width:0}.contact-fields legend{padding:0 8px;font-size:16px}.form-status{font-size:13px;margin:0}.form-status:empty{display:none}
/* Responsive QA fixes: keep player setup and profile forms usable on narrow screens. */
.auth-card{min-width:0}.auth-card h1{overflow-wrap:anywhere}
.player:has(.player-idle){height:auto;min-height:300px;aspect-ratio:auto}
.player-idle{width:100%}
.profile-hero>div{min-width:0}.profile-hero h1,.profile-hero p,.room-card h3,.page-intro h1{overflow-wrap:anywhere}
@media(max-width:1100px){.room-layout{grid-template-columns:1fr}.room-sidebar{min-height:380px}}
@media(max-width:760px){input,select,textarea{font-size:16px}.player:has(.player-idle){min-height:250px}.hero-bottom{gap:16px}.hero-bottom>span:last-child{flex-shrink:0}}
@media(max-width:420px){dialog{padding:22px}.avatar-editor{align-items:flex-start;flex-direction:column}.avatar-editor>div{width:100%}.avatar-editor input{width:100%}.auth-card{padding:25px}.auth-card h1{font-size:30px}.player-idle{padding:22px 16px}}
@media(hover:none){.card .quick{opacity:1}}
@media(max-width:360px){header .right .iconbtn{display:none}header nav{gap:12px}header nav a{white-space:nowrap}header .logo{font-size:21px;letter-spacing:4px}}

.home-hero h1{font-size:clamp(50px,6vw,86px);line-height:1.08;letter-spacing:-.055em;font-weight:500}.home-hero .hero-copy{max-width:540px}.home-hero .hero-copy p{font-size:14px;max-width:360px}.home-hero .meta{gap:13px}.global-chat-trigger{position:absolute;top:113px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;border:1px solid #ffffff28;border-radius:30px;background:#131416b8;backdrop-filter:blur(12px);padding:11px 19px;white-space:nowrap;font-size:14px;transition:background .2s,box-shadow .2s;z-index:2}.global-chat-trigger:hover{background:#242529;box-shadow:0 0 22px #ffffff14}.global-chat-trigger small{font-size:10px;border-left:1px solid #ffffff25;padding-left:12px;color:#b0b0b5}.global-messages{min-height:160px;max-height:32vh;overflow:auto;padding:8px 0 18px}.global-chat-empty{text-align:center;padding:40px 10px;color:#b5b5bb}.global-chat .chat-form{padding:16px 0 0;border-top:1px solid var(--line)}.global-chat h2{margin-bottom:8px}.global-chat .bubble{margin-right:0}.home-hero{padding-top:195px}@media(max-width:760px){.global-chat-trigger{top:95px;backdrop-filter:none}.home-hero{min-height:640px;padding-top:190px}.home-hero h1{font-size:clamp(48px,12vw,70px)}.global-chat-trigger{font-size:13px;padding:10px 16px}.global-chat .chat-form input{width:100%;min-width:0}.global-chat .notice{font-size:12px}.global-messages{min-height:100px;max-height:28vh}}
.chat-drawer{position:absolute;top:110px;left:50%;transform:translateX(-50%);width:min(420px,90%);z-index:4;border:1px solid #ffffff25;border-radius:16px;background:#111215ed;box-shadow:0 14px 50px #0004;backdrop-filter:blur(16px);overflow:hidden}.chat-drawer-toggle{width:100%;border:0;background:transparent;display:flex;align-items:center;justify-content:space-between;padding:15px 18px;gap:14px;font-size:14px}.chat-drawer-toggle:hover{background:#ffffff07}.chat-drawer-toggle:focus-visible{outline-offset:-4px;border-radius:14px}.chat-drawer-title{display:flex;align-items:center;gap:10px}.chat-drawer-title small{font-size:10px;border:1px solid #ffffff25;border-radius:5px;padding:1px 6px}.chat-chevron{width:16px;transition:transform .25s}.is-open .chat-chevron{transform:rotate(180deg)}.chat-preview{padding:0 18px 15px;max-height:100px;opacity:1;transition:max-height .25s,padding .25s,opacity .2s;overflow:hidden}.chat-preview-line{display:flex;gap:9px;font-size:12px;line-height:1.9;min-width:0}.chat-preview-line strong{font-weight:500;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#ddd}.chat-preview-line span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#999ba3}.chat-preview-empty{color:#92949d;font-size:12px;line-height:1.7;display:block}.chat-drawer-expand{display:grid;grid-template-rows:0fr;transition:grid-template-rows .28s ease,opacity .2s;opacity:0}.chat-drawer-inner{min-height:0;overflow:hidden}.is-open .chat-drawer-expand{grid-template-rows:1fr;opacity:1}.is-open .chat-preview{max-height:0;padding-bottom:0;opacity:0}.chat-drawer-body{padding:0 18px 17px}.chat-demo-note{font-size:11px;line-height:1.7;margin:0;border-top:1px solid var(--line);padding-top:12px;color:#90929a}.chat-drawer .global-messages{min-height:100px;max-height:220px;max-height:min(220px,30dvh)}.chat-drawer .chat-form{padding:12px 0 0;border-top:1px solid var(--line)}.chat-drawer .chat-form input{width:100%;min-width:0}.chat-drawer .bubble{margin-left:15px}.home-hero{padding-top:280px}@media(max-width:760px){.chat-drawer{top:92px;backdrop-filter:none}.home-hero{padding-top:270px;height:auto;min-height:720px;padding-bottom:65px}.chat-drawer-toggle{padding:13px 15px}.chat-drawer-body{padding-left:14px;padding-right:14px}.chat-preview{padding-left:15px;padding-right:15px}.chat-drawer .chat-form input{font-size:16px}}
/* Expand the chat panel while preserving the compact preview. */
.chat-drawer{transition:width .28s ease}
.chat-drawer.is-open{width:min(560px,90%)}
.chat-drawer.is-open .global-messages{min-height:180px;max-height:300px;max-height:min(300px,38dvh)}
@media(max-width:760px){.chat-drawer.is-open{width:94%}.chat-drawer.is-open .global-messages{min-height:140px;max-height:260px;max-height:min(260px,32dvh)}}
.chat-drawer-body{position:relative}.emoji-toggle{display:grid;place-items:center;flex-shrink:0;width:40px;min-height:44px;padding:8px;border:1px solid var(--line);border-radius:8px;background:#ffffff06;color:#c8c9ce}.emoji-toggle:hover,.emoji-toggle[aria-expanded=true]{background:#ffffff15;color:white}.chat-emoji-picker{position:absolute;left:18px;bottom:80px;width:min(340px,calc(100% - 36px));padding:12px;border:1px solid #ffffff30;border-radius:12px;background:#1b1c20;box-shadow:0 10px 40px #0009;z-index:5}.chat-emoji-picker[hidden]{display:none}.emoji-picker-heading{display:flex;align-items:center;justify-content:space-between;font-size:13px;padding:0 3px 8px}.emoji-picker-heading .iconbtn{padding:4px}.emoji-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:3px;max-height:210px;overflow:auto}.emoji-option{display:grid;place-items:center;min-width:0;min-height:36px;border:0;border-radius:7px;background:transparent;font-family:'Segoe UI Emoji','Apple Color Emoji','Noto Color Emoji',sans-serif;font-size:23px;padding:3px}.emoji-option:hover,.emoji-option:focus-visible{background:#ffffff18}.chat-drawer .chat-form{gap:8px}.chat-drawer .chat-form>.btn{flex-shrink:0}@media(max-width:420px){.emoji-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.chat-drawer .chat-form{gap:5px}.emoji-toggle{width:34px;padding:5px}.chat-drawer .chat-form>.btn{padding:10px}.chat-drawer .chat-form input{padding:10px 8px}.chat-emoji-picker{bottom:76px}.emoji-option{min-height:36px}}
.chat-emoji-picker{height:min(270px,calc(100% - 90px));display:flex;flex-direction:column;overflow:hidden}.emoji-picker-heading{flex-shrink:0}.emoji-grid{flex:1;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden}.emoji-option{overflow:hidden}
.profile-activity{display:flex;flex-wrap:wrap;gap:16px 32px;margin:18px 0 6px}.profile-activity>div{display:grid;gap:3px}.profile-activity dt{font-size:12px;color:var(--muted)}.profile-activity dd{margin:0;font-size:14px;color:#d8d9de}.profile-activity-note{display:block;max-width:560px;line-height:1.6}@media(max-width:420px){.profile-activity{flex-direction:column;gap:12px}.profile-activity dd{font-size:13px}}
/* Keep the avatar aligned with the name as profile metadata grows. */
.profile-hero>.avatar{align-self:flex-start;margin-top:30px}

.profile-account-actions{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:8px}.profile-account-actions .btn{margin:0}@media(max-width:760px){.profile-account-actions{margin-left:0;align-items:flex-start}}
.password-input-wrap{position:relative;display:flex;align-items:center}.password-input-wrap input{padding-right:50px}.password-eye{position:absolute;right:4px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:6px;background:transparent;color:#b9bac1}.password-eye:hover,.password-eye[aria-pressed=true]{color:white;background:#ffffff0d}.password-confirm-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.password-confirm-actions .btn{min-width:85px}

/* A single, quiet wave on the header wordmark. */
.logo-wave{white-space:nowrap}
.logo-wave .logo-letter{display:inline-block;font-size:inherit;font-weight:inherit;letter-spacing:inherit;vertical-align:baseline;margin:0;transform:translateY(0)}
@keyframes logo-letter-wave{0%,100%{transform:translateY(0)}42%{transform:translateY(-3px)}72%{transform:translateY(.5px)}}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.logo-wave:hover .logo-letter{animation:logo-letter-wave 480ms cubic-bezier(.22,.61,.36,1) both;animation-delay:calc(var(--letter)*45ms)}}
@media(prefers-reduced-motion:no-preference){.logo-wave:focus-visible .logo-letter{animation:logo-letter-wave 480ms cubic-bezier(.22,.61,.36,1) both;animation-delay:calc(var(--letter)*45ms)}}

.auth-privacy-note{font-size:13px;color:var(--muted);margin:0 0 24px;line-height:1.6}

.admin-badge{display:inline-block;font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#c0a6dd;background:rgba(155,119,190,.09);border:1px solid rgba(174,140,208,.28);border-radius:20px;padding:4px 10px;margin:0 0 14px}.admin-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px}.admin-table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}.admin-table th,.admin-table td{text-align:left;padding:16px;border-bottom:1px solid var(--line)}.admin-table th{color:var(--muted);font-weight:500}.admin-pagination{display:flex;align-items:center;gap:16px;margin-top:20px}

.password-settings{border-top:1px solid var(--line);padding-top:24px;margin-top:28px}.password-settings>p{font-size:13px}.password-settings h3{margin-bottom:10px}

.chat-rules-note{display:flex;align-items:center;gap:8px;margin:0 16px 10px;padding:8px 10px;border:1px solid #f0808045;border-radius:8px;background:#e75c5c12;color:#ff9999;font-size:12px;line-height:1.4}.chat-rules-note strong{font-weight:600}.chat-rules-note svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.dm-header-link{position:relative;flex:none}.dm-unread,.dm-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;border-radius:20px;background:#ececf0;color:#151519;font-size:10px;font-weight:700;padding:0 4px}.dm-unread{position:absolute;top:-2px;right:-5px}.dm-unread[hidden]{display:none}.dm-page{width:100%;max-width:1500px;margin:auto;padding-inline:clamp(14px,5vw,75px)}.dm-page h1{font-size:clamp(28px,4vw,48px)}.dm-layout{display:grid;grid-template-columns:310px minmax(0,1fr);height:min(720px,calc(100dvh - 230px));min-height:430px;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#101114}.dm-sidebar{overflow:auto;border-right:1px solid var(--line);padding:20px}.dm-sidebar h2{font-size:16px;margin:25px 0 12px}.dm-search{display:flex;align-items:flex-end;gap:8px}.dm-search .field{flex:1;min-width:0;margin:0;font-size:12px}.dm-search input{min-width:0;width:100%;font-size:12px}.dm-search .btn{padding:12px 10px;font-size:12px}.dm-muted{font-size:12px;line-height:1.6;color:#a9a9b1}.dm-person{display:flex;align-items:center;gap:10px;min-width:0}.dm-person .avatar{flex:none}.dm-person-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dm-user{padding:10px 6px;border-radius:8px;font-size:13px}.dm-user:hover{background:#ffffff09}#dm-people{max-height:220px;overflow:auto;margin-top:12px}.dm-thread{display:block;padding:12px;border:1px solid transparent;border-radius:10px;margin-bottom:6px;transition:background .2s}.dm-thread.active{border-color:#ffffff28;background:#ffffff09}.dm-thread:hover{background:#ffffff0b}.dm-thread p{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:6px 0 0;color:#a8a8b1}.dm-thread .dm-count{margin-left:auto}.dm-conversation{display:flex;flex-direction:column;min-width:0;min-height:0}.dm-peer{display:flex;align-items:center;gap:12px;min-height:73px;padding:18px 24px;border-bottom:1px solid var(--line);font-weight:600}.dm-peer .admin-badge{margin:0;font-size:9px}.dm-log{flex:1;min-height:0;overflow:auto;padding:24px;overscroll-behavior:contain}.dm-empty{display:grid;place-content:center;height:100%;min-height:100px;text-align:center;color:#a8a8b1;font-size:14px;line-height:1.8}.dm-message{width:fit-content;max-width:85%;padding:12px 15px;border-radius:12px;margin-bottom:12px;border:1px solid #ffffff0c;background:#1a1b20;overflow-wrap:anywhere}.dm-message.outgoing{margin-left:auto;background:#272930;border-color:#ffffff17}.dm-message p{white-space:pre-wrap;margin:0;color:#f0f0f2;font-size:14px}.dm-message time{display:block;margin-top:5px;color:#a2a3ab;font-size:10px;text-align:right}.dm-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:14px 24px 18px;border-top:1px solid var(--line)}.dm-compose[hidden]{display:none}.dm-compose textarea{width:100%;min-width:0;resize:vertical;min-height:54px;max-height:140px;font-size:14px}.dm-compose small{grid-column:1/-1;font-size:10px}.dm-conversation>.form-status{margin:0;padding:0 24px;font-size:12px}.dm-conversation>.form-status:empty{display:none}.dm-load-older{display:block;margin:0 auto 16px}.dm-back{display:none}@media(max-width:760px){.dm-layout{grid-template-columns:240px minmax(0,1fr)}.dm-sidebar{padding:12px}.dm-log{padding:16px}.dm-peer{padding:14px}.dm-compose{padding:12px}.dm-peer .admin-badge{display:none}}@media(max-width:600px){.dm-layout{display:block;height:calc(100dvh - 210px);min-height:400px}.dm-sidebar{height:100%;border:0}.dm-conversation{display:none;height:100%}.dm-selected .dm-sidebar{display:none}.dm-selected .dm-conversation{display:flex}.dm-back{display:inline-flex}.dm-message{max-width:92%}.dm-page .page-intro{gap:10px}.dm-page .page-intro h1{margin-bottom:8px}}@media(max-width:520px){header nav a[href="#/profile"]{display:none}header .right{gap:8px}.dm-header-link{width:32px;height:36px;justify-content:center}}

@media(max-width:600px){.dm-layout{height:calc(100dvh - 290px);min-height:360px}}

.profile-public-id{color:var(--muted);font-size:13px;letter-spacing:.04em;margin:0 0 12px}.dm-public-id{display:block;color:var(--muted);font-size:10px;font-weight:400;margin-top:2px}

.dm-profile-link{border-radius:8px;transition:opacity .2s}.dm-profile-link:hover{opacity:.75}.public-profile-hero{margin-top:28px}

.public-collection{margin-top:36px}.public-collection h2 small{margin-left:8px}
.notification-link{position:relative;flex:none}.dm-thread-row{position:relative}.dm-thread-row .dm-thread{padding-right:40px}.dm-hide{position:absolute;right:8px;top:8px;font-size:23px;line-height:1;border-radius:6px}.dm-hide:hover{background:#ffffff18}.dm-friend-button{margin-left:auto;font-size:12px}.notice-card{padding:24px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.notice-card.is-unread{border-left:3px solid #b5a4cb}.notice-card h2{font-size:19px;margin:0}.notice-card .section-head{margin-bottom:12px;flex-wrap:wrap}.notice-card p{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0}.notice-actor{font-weight:600}.notice-admin{margin-top:32px;border-top:1px solid var(--line);padding-top:20px}.notice-admin summary{cursor:pointer;margin-bottom:20px}.notice-admin form{max-width:640px}.notice-card .actions{margin-top:18px}@media(max-width:600px){header .right{gap:5px}.notification-link{width:30px;padding:5px}.dm-peer{gap:8px}.dm-friend-button{padding:4px}.notice-card{padding:16px}}

@media(max-width:360px){header .right .dm-header-link,header .right .notification-link{display:inline-flex}header .right{gap:3px}}

.header-search{display:inline-flex;align-items:center;gap:10px;padding:10px 14px;min-height:42px;border:1px solid #ffffff26;border-radius:8px;background:#ffffff05;color:#a3a4a8;font-size:13px;white-space:nowrap;transition:background .2s,border-color .2s}.header-search:hover{background:#ffffff0d;border-color:#ffffff50;color:#f5f5f3}.header-search .icon{width:17px;height:17px}@media(max-width:1100px){header nav{gap:18px}.header-search{padding:10px}.header-search span{display:none}}@media(max-width:600px){header nav{gap:6px}.header-search{padding:6px;min-height:32px}.header-search .icon{width:16px;height:16px}}@media(max-width:360px){header .logo{font-size:19px;letter-spacing:3px}}

.profile-friend-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.profile-friends{margin-bottom:36px}.profile-friends-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}.profile-friend-card{padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--panel);transition:background .2s}.profile-friend-card:hover{background:#ffffff0b}

.dm-compose{position:relative;grid-template-columns:auto minmax(0,1fr) auto}.dm-compose>.emoji-toggle{align-self:center}.dm-compose .dm-emoji-picker{height:auto;max-height:45dvh;left:12px;bottom:calc(100% + 8px);width:min(340px,calc(100% - 24px))}.dm-compose .emoji-grid{max-height:min(210px,35dvh)}@media(max-width:420px){.dm-compose{gap:6px}.dm-compose>.btn{padding:10px}.dm-compose>.emoji-toggle{width:32px;padding:5px}}

.global-message-author{display:flex;align-items:center;gap:9px;margin-bottom:7px}.global-message-author small{margin:0;min-width:0;overflow-wrap:anywhere}.global-author-avatar{width:28px;height:28px;font-size:11px;flex-shrink:0}.global-message-text{overflow-wrap:anywhere;white-space:pre-wrap}.chat-preview-line .global-author-avatar{width:22px;height:22px;font-size:9px;flex:none}.chat-preview-line>span:last-child{min-width:0}

.global-author-link{color:inherit;text-decoration:none;text-underline-offset:3px}.global-author-link:hover{color:#fff;text-decoration:underline}.global-author-link:focus-visible{outline:2px solid #d8d8df;outline-offset:3px;border-radius:2px}

.message-actions{display:flex;gap:16px;margin-top:8px;flex-wrap:wrap}.message-actions .textbtn,.message-report{font-size:11px;color:#a9a9b3}.dm-message>.message-report{display:block;margin-top:7px}.dm-peer{flex-wrap:wrap}#moderation-reports{margin-top:36px}.admin-table td{vertical-align:top}

.film-comments{width:100%;max-width:none;min-width:0}.film-comments form{margin-bottom:30px}.film-comments textarea{width:100%;resize:vertical;min-height:100px}.film-comment{min-width:0;padding:22px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}.comment-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.comment-heading>.dm-person{min-width:0;flex:1}.comment-heading time{flex-shrink:0;font-size:12px;color:#a3a4ad}.comment-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;margin:18px 0}.comments-rules{color:#c5a3a3;font-size:13px;margin-bottom:20px}#comments-count{font-size:16px;color:#aaa}@media(max-width:600px){.film-comment{padding:16px}.comment-heading{align-items:flex-start;flex-direction:column;gap:8px}.film-comments .actions{flex-wrap:wrap}}

[data-mute-duration][hidden]{display:none}

.admin-search{display:flex;gap:12px;align-items:flex-end;margin-bottom:28px;flex-wrap:wrap}.admin-search .field{flex:1;min-width:min(100%,250px)}.admin-email{overflow-wrap:anywhere;min-width:160px;max-width:260px}@media(max-width:600px){.admin-search .field{flex-basis:100%}}

.security-agent{overflow-wrap:anywhere;font-size:12px}.security-check{display:flex;align-items:flex-start;gap:10px;font-size:13px}.security-check input{width:auto;margin-top:5px}#recovery-result{margin-top:20px}

.admin-news{margin-top:32px}.admin-news form{max-width:800px}.admin-news textarea{resize:vertical;min-height:140px}.admin-news [data-notice-result]:empty{display:none}

.notification-link [data-notice-count]{background:#dca16a;color:#21160e;box-shadow:0 0 0 2px #101114}.notice-card.is-unread{border-left-color:#dca16a}

/* Conversation receipts and touch-friendly communication controls. */
.dm-receipt{display:block;text-align:right;color:#b5b5be;font-size:10px;margin-top:3px}.dm-jump{align-self:center;margin:4px 12px 8px;padding:9px 14px;border:1px solid var(--line);border-radius:20px;background:#202126}.dm-jump[hidden]{display:none}.dm-peer .dm-profile-link{flex:1;min-width:0}.dm-peer .dm-friend-button{margin-left:0}.dm-compose textarea{font-size:16px}.dm-log{overflow-anchor:none}.notice-card .actions{flex-wrap:wrap}.dm-search input{font-size:16px}
@media(max-width:600px){.dm-page .page-intro{margin-bottom:18px}.dm-layout{height:calc(100dvh - 270px);min-height:260px}.dm-peer{padding:10px 12px;gap:8px}.dm-back{min-width:40px;min-height:44px;align-items:center;justify-content:center}.dm-peer .dm-profile-link{flex-basis:calc(100% - 56px)}.dm-peer .dm-friend-button,.dm-peer .textbtn{min-height:36px}.dm-compose{padding:10px 10px max(10px,env(safe-area-inset-bottom))}.dm-compose>.btn,.dm-compose>.emoji-toggle{min-width:44px;min-height:44px}.dm-hide{min-width:36px;min-height:36px}.notice-card .actions .btn{min-height:44px}.dm-log{padding:12px}.dm-message{max-width:92%}.dm-compose small{line-height:1.5}}
@media(min-width:601px) and (max-width:1000px){.dm-layout{grid-template-columns:240px minmax(0,1fr)}.dm-peer .dm-profile-link{flex-basis:100%}.dm-peer .admin-badge{display:none}}

.real-poster img{object-fit:cover}.poster-fallback{display:grid;align-content:center;text-align:center;height:100%;padding:20px;background:linear-gradient(145deg,#34353b,#121216)}.poster-fallback small{display:block;color:#a6a6ad;margin-top:16px}.library-home-loading{padding-top:160px;min-height:70vh}.library-hero-backdrop{position:absolute;inset:0;background-size:cover;background-position:center 25%;filter:blur(20px) saturate(.45);opacity:.3;transform:scale(1.05);pointer-events:none}.media-options{display:flex;align-items:flex-end;flex-wrap:wrap;gap:14px;margin-bottom:20px}.media-options .field{min-width:140px;flex:1;margin:0}.media-options .btn{min-height:46px}#media-play-error{margin:12px 0}.detail-hero h1{overflow-wrap:anywhere}.poster img{width:100%;height:100%}#library-pages{margin-top:28px;justify-content:center}.home-hero{overflow:hidden}.cast-person{min-width:0}.cast-person strong{overflow-wrap:anywhere}@media(max-width:600px){.media-options .field{min-width:110px}.media-options .btn{flex:1}.library-hero-backdrop{filter:none}.detail-hero h1{font-size:clamp(32px,10vw,55px)}}
.library-hero-backdrop{z-index:-3}.home-hero .hero-copy h1{font-size:clamp(38px,5.5vw,80px);overflow-wrap:anywhere}.detail-hero{height:auto;max-height:none}.cast{flex-wrap:wrap;gap:20px}.cast-person{flex:0 1 130px}.media-options select{max-width:100%}@media(min-width:1101px){.filter-row{grid-template-columns:minmax(200px,2fr) repeat(5,minmax(100px,1fr))}}
/* Compact release feature and a roomier shared chat. */
.home-hero{height:auto;min-height:610px;max-height:none;padding:275px 5% 48px;overflow:visible;align-items:flex-start}
.home-hero .library-hero-backdrop{transform:none;clip-path:inset(0)}
.home-hero .hero-copy{max-width:720px}
.home-hero .hero-copy h1{font-size:clamp(34px,4.2vw,60px);margin-bottom:16px;line-height:1.08}
.home-hero .eyebrow{margin-bottom:16px;letter-spacing:2px}
.home-hero .meta{margin-bottom:12px}
.home-hero .hero-copy p{max-width:600px;font-size:14px;line-height:1.65;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin-bottom:0}
.home-hero .actions{margin-top:22px}
.chat-drawer{width:min(560px,90%)}
.chat-drawer.is-open{width:min(760px,90%);max-height:calc(100dvh - 130px);overflow-y:auto}
.chat-drawer-toggle{padding:17px 22px;font-size:15px}
.chat-preview{padding-left:22px;padding-right:22px}
.chat-drawer-body{padding-left:22px;padding-right:22px}
.chat-drawer.is-open .global-messages{height:min(380px,38dvh);min-height:0;max-height:none}
@media(max-width:760px){
 .home-hero{height:auto;min-height:0;max-height:none;padding:260px 5% 36px}
 .home-hero .hero-copy h1{font-size:clamp(30px,7vw,44px)}
 .home-hero .eyebrow{font-size:10px;letter-spacing:1.5px}
 .chat-drawer{width:90%}.chat-drawer.is-open{width:94%;max-height:calc(100dvh - 108px)}
 .chat-drawer-toggle{padding:15px 16px}.chat-preview,.chat-drawer-body{padding-left:16px;padding-right:16px}
 .chat-drawer.is-open .global-messages{height:min(340px,38dvh);min-height:0;max-height:none}
}
@media(prefers-reduced-motion:reduce){.chat-drawer{transition:none}}

/* Keep the release artwork visible behind a readable text gradient. */
.home-hero .library-hero-backdrop{opacity:.72;filter:blur(4px) saturate(.7);background-position:center 30%}
.home-hero:before{background:linear-gradient(90deg,#08090bed 0%,#08090b9c 42%,#08090b1f 100%),linear-gradient(0deg,var(--bg) 0%,transparent 48%)}
@media(max-width:760px){.home-hero .library-hero-backdrop{filter:saturate(.7)}.home-hero:before{background:linear-gradient(90deg,#08090bd9,#08090b70),linear-gradient(0deg,var(--bg),transparent 65%)}}
.watch-room-page{width:100%;max-width:1760px;margin-inline:auto;padding-inline:clamp(16px,5vw,80px)}.watch-room-page h1{font-size:clamp(30px,4vw,56px);overflow-wrap:anywhere}.watch-room-page .room-layout{grid-template-columns:minmax(0,1fr) 340px}.watch-room-page .room-layout>div,.watch-room-page .room-sidebar{min-width:0}.watch-room-page .participants{gap:10px;margin-bottom:12px}.watch-room-page .participants>span:nth-child(2){overflow-wrap:anywhere;min-width:0}.watch-room-page .participants .avatar{flex-shrink:0}.watch-room-page .avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.watch-room-page .chat{height:320px;overflow:auto}.watch-room-page .bubble{overflow-wrap:anywhere}.watch-room-page .chat-form input{min-width:0;width:100%}.watch-room-page .page-intro .actions{margin:0}@media(max-width:950px){.watch-room-page .room-layout{grid-template-columns:minmax(0,1fr)}.watch-room-page .page-intro{align-items:flex-start;flex-direction:column}.watch-room-page .chat{height:260px}}
/* Compact recent films: one quiet, horizontally scrollable row. */
.recent-section{padding-top:24px;padding-bottom:24px}
.recent-section .section-head{margin-bottom:14px;justify-content:flex-start;gap:16px;flex-wrap:wrap}
.recent-section .section-head h2{font-size:18px;letter-spacing:-.35px;margin:0}
.recent-section .section-head>a{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:6px 12px;border:1px solid #ffffff30;border-radius:8px;background:#ffffff08;color:#dedee2;font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap;transition:background .2s,border-color .2s,color .2s}.recent-section .section-head>a .icon{width:16px;height:16px}.recent-section .section-head>a:hover,.recent-section .section-head>a:focus-visible{background:#ffffff14;border-color:#ffffff55;color:#fff}
.recent-strip{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 24px)/3);gap:12px;overflow-x:auto;padding:6px 6px 12px;margin:0 -6px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#ffffff26 transparent}
.recent-item{position:relative;min-width:0;border:1px solid var(--line);border-radius:10px;background:#ffffff02;scroll-snap-align:start;transition:background 200ms,border-color 200ms}
.recent-item:hover,.recent-item:focus-within{background:#ffffff06;border-color:#ffffff32}
.recent-link{display:flex;align-items:center;gap:14px;padding:10px 44px 10px 10px;min-width:0;border-radius:10px}
.recent-link .poster{width:44px;height:66px;min-width:44px;aspect-ratio:2/3;border-radius:5px;overflow:hidden;flex:none;margin:0;filter:saturate(.65)}
.recent-link .poster img{width:100%;height:100%;object-fit:cover}
.recent-link .poster-title,.recent-link .poster small{display:none}
.recent-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.recent-copy strong{font-size:13px;font-weight:500;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.recent-copy small{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.recent-save{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:36px;height:44px;justify-content:center;color:var(--muted)}
.recent-save .icon{width:16px;height:16px}
@media(max-width:1050px){.recent-strip{grid-auto-columns:calc((100% - 12px)/2)}}
@media(max-width:600px){.recent-strip{grid-auto-columns:85%}.recent-section{padding-top:18px;padding-bottom:18px}.recent-link{gap:12px}}
/* Open rooms on the homepage, with an in-flow layout on smaller screens. */
.open-rooms-panel{position:absolute;top:285px;right:5%;width:280px;padding:20px;background:#111214e8;border:1px solid var(--line);border-radius:14px;z-index:2}
.open-rooms-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.open-rooms-heading h2{font-size:16px;letter-spacing:-.3px;margin:0}
.open-rooms-heading>.icon{color:var(--muted);width:17px;height:17px}
.open-rooms-subtitle{font-size:12px;color:var(--muted);margin:3px 0 16px}
#open-rooms-list{max-height:220px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#ffffff26 transparent;padding:5px;margin:-5px}
.open-room-link{display:flex;align-items:center;gap:10px;padding:12px 0;border-top:1px solid var(--line);border-radius:3px;transition:background 200ms}
.open-room-link:hover{background:#ffffff05}
.open-room-link .poster,.open-room-placeholder{flex:none;width:34px;height:51px;min-width:34px;border-radius:4px;margin:0;overflow:hidden}
.open-room-link .poster img{width:100%;height:100%;object-fit:cover}
.open-room-link .poster-title,.open-room-link .poster small{display:none}
.open-room-placeholder{display:grid;place-items:center;background:#ffffff08}
.open-room-copy{min-width:0;flex:1;display:flex;flex-direction:column;line-height:1.5;gap:2px}
.open-room-copy strong,.open-room-copy>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:500}
.open-room-copy>span{font-size:11px;color:#b0b0b6}
.open-room-copy small{font-size:10px;color:var(--muted)}
.open-room-copy .open-room-title{display:flex;align-items:center;gap:7px;overflow:visible}
.open-room-title>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.open-room-indicator{flex:none;width:6px;height:6px;border-radius:50%;background:#78a88a;box-shadow:0 0 5px #78a88a24;animation:room-indicator-pulse 3.2s ease-in-out infinite}
@keyframes room-indicator-pulse{0%,100%{opacity:.5;box-shadow:0 0 3px #78a88a16}50%{opacity:.95;box-shadow:0 0 7px #78a88a40}}
@media(prefers-reduced-motion:reduce){.open-room-indicator{animation:none;opacity:.8}}
.open-room-link>.icon{width:15px;height:15px;flex:none;color:var(--muted)}
.open-rooms-empty p{font-size:13px;margin-bottom:4px}.open-rooms-empty small{display:block;font-size:12px;line-height:1.65}
.open-rooms-empty>a{display:inline-flex;align-items:center;gap:8px;margin-top:12px;font-size:12px}
.room-access{display:grid;gap:10px;border:1px solid var(--line);border-radius:10px;padding:14px}
.room-access legend{padding:0 6px;font-size:13px}.room-access label{display:flex;align-items:center;gap:10px;font-size:13px}.room-access input{width:auto}
@media(min-width:1200px){.home-hero:has(+.open-rooms-panel) .hero-copy{max-width:min(720px,calc(100% - 330px))}}
@media(max-width:1199px){.open-rooms-panel{position:relative;top:auto;right:auto;width:auto;margin:8px 5% 24px}.open-rooms-panel #open-rooms-list{max-height:240px}.open-room-link{padding:12px 4px}.open-rooms-empty{max-width:460px}}
.global-admin-label{display:inline-block;margin-left:6px;color:#c0a6dd;font-size:10px;font-weight:500;letter-spacing:.2px;line-height:1.5;vertical-align:baseline;white-space:nowrap}
.chat-preview-line strong{display:inline-flex;align-items:baseline;min-width:0;max-width:160px;flex-shrink:0}
.chat-preview-line .global-author-link{min-width:0;overflow:hidden;text-overflow:ellipsis}
.chat-preview-line .global-admin-label{flex:none;color:#c0a6dd;overflow:visible}
/* The two public previews share one responsive rail. */
.home-sidebar{position:absolute;top:285px;right:5%;width:280px;display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:16px;z-index:2}
.home-sidebar .open-rooms-panel{position:static;width:auto;min-width:0;margin:0}
.open-rooms-panel #open-rooms-list{max-height:none;overflow:visible}
.open-rooms-panel .open-room-link:nth-child(n+6){display:none}
.public-rooms-toggle{margin-top:12px;font-size:12px;color:var(--muted)}
.public-rooms-toggle[hidden]{display:none}
.recent-comments-panel{padding:20px;background:#111214e8;border:1px solid var(--line);border-radius:14px;min-width:0}
#recent-comments-list{max-height:310px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#ffffff26 transparent;padding:5px;margin:-5px}
.recent-comment-link{display:block;padding:12px 0;border-top:1px solid var(--line);transition:background .2s}
.recent-comment-link:first-child{border-top:0;padding-top:3px}
.recent-comment-link:hover .recent-comment-film{color:var(--white)}
.recent-comment-meta{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted)}
.recent-comment-meta strong{color:#d8d8dc;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.recent-comment-meta time{flex-shrink:0;font-size:10px}
.recent-comment-film{display:block;color:#aaaab2;font-size:11px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:3px 0 5px;transition:color .2s}
.recent-comment-preview{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:12px;line-height:1.65;color:#c7c7cd}
.film-comments{scroll-margin-top:24px}.comment-highlight{outline:1px solid #ffffff65;outline-offset:4px}
@media(min-width:1200px){main:has(>.home-sidebar){position:relative;min-height:940px}main:has(>.home-sidebar)>.section{padding-right:calc(5% + 304px)}.home-hero:has(+.home-sidebar) .hero-copy{max-width:min(720px,calc(100% - 330px))}}
@media(max-width:1199px){.home-sidebar{position:static;width:auto;margin:8px 5% 24px}.recent-comments-panel #recent-comments-list{max-height:280px}}

.recent-comment-content{display:flex;align-items:flex-start;gap:10px;margin-top:7px}.recent-comment-copy{min-width:0;flex:1}.recent-comment-poster{display:flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:48px;border-radius:4px;overflow:hidden;background:#202126;color:var(--muted);border:1px solid var(--line)}.recent-comment-poster img{display:block;width:100%;height:100%;object-fit:cover}.recent-comment-poster .icon{width:14px;height:14px}.recent-comment-copy .recent-comment-film{margin-top:0}

.recent-comment-author{font-weight:600;color:#e0e0e4}.recent-comment-date{display:block;margin-top:5px;font-size:10px;color:var(--muted)}.recent-comment-content{margin-top:0}

.poster-badges{position:absolute;left:8px;right:8px;top:10px;display:flex;align-items:center;gap:4px;z-index:2;pointer-events:none}.card .poster-badges .score{position:static;flex:none;padding:3px 5px}.quality-badge{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:700;line-height:17.6px;padding:3px 5px;border-radius:5px;background:#0b0b0be0}.quality-good{color:#72d6a2}.quality-medium{color:#e7c969}.quality-bad{color:#f17b7b}.quality-unknown{color:#b8b8c0}.card:has(.poster-badges) .quick{top:42px}
.quick-search-wrap{position:relative}.quick-search-panel{position:absolute;right:0;top:calc(100% + 12px);width:390px;max-width:90vw;padding:12px;background:#111214;border:1px solid #ffffff26;border-radius:12px;box-shadow:0 20px 60px #0009;z-index:30}.quick-search-panel[hidden]{display:none}.quick-search-form{display:flex;align-items:center;gap:6px;margin:0 0 8px}.quick-search-field{display:flex;align-items:center;gap:8px;flex:1;min-width:0;padding:9px 10px;border:1px solid #ffffff26;border-radius:7px}.quick-search-field>.icon{flex:none;width:17px;color:var(--muted)}.quick-search-field input{width:100%;min-width:0;border:0;background:transparent;color:var(--white);font-size:13px;outline-offset:3px}.quick-search-results{max-height:min(470px,65vh);overflow-y:auto;scrollbar-width:thin}.quick-search-status{padding:14px 8px;margin:0;font-size:12px;color:var(--muted);line-height:1.6}header nav .quick-search-result{display:flex;align-items:center;gap:12px;padding:10px 8px;border-radius:7px;color:var(--white);transition:background .2s}header nav .quick-search-result:hover,header nav .quick-search-result:focus-visible{background:#ffffff09}.quick-search-result:after{display:none!important}.quick-search-poster{flex:0 0 40px;width:40px}.quick-search-poster .poster{width:40px;height:60px;border-radius:5px}.quick-search-poster .poster-title,.quick-search-poster .poster:after{display:none}.quick-search-copy{flex:1;min-width:0}.quick-search-copy>strong{display:block;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.quick-search-copy>span{display:block;font-size:11px;color:var(--muted);margin-top:3px}.quick-search-copy .quick-search-meta{display:flex;align-items:center;gap:8px}.quick-search-result>.icon{flex:none;width:15px;color:var(--muted)}@media(max-width:760px){.quick-search-panel{position:fixed;top:80px;left:5%;right:5%;width:auto;max-width:none}.quick-search-results{max-height:60vh}header nav .quick-search-result{display:flex}}

.quick-search-panel:not([hidden]){transform-origin:top center;animation:quick-search-reveal 260ms cubic-bezier(.2,.75,.25,1) both}.quick-search-results{transition:opacity 160ms ease}.quick-search-results[aria-busy="true"]{opacity:.6}@keyframes quick-search-reveal{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.quick-search-panel:not([hidden]){animation:none}.quick-search-results{transition:none}}

.comment-emoji-control{position:relative}.comment-emoji-picker{left:0;bottom:calc(100% + 8px);width:min(340px,calc(100vw - 48px));height:auto;max-height:45dvh}.comment-emoji-picker .emoji-grid{max-height:min(210px,35dvh)}

header .logo .logo-tagline{display:block;margin:8px 0 0;font-size:10px;font-weight:400;line-height:1.3;letter-spacing:.35px;color:var(--muted);white-space:nowrap;vertical-align:baseline}@media(max-width:760px){header .logo .logo-tagline{font-size:8px;letter-spacing:.1px;margin-top:6px}}

/* Keep capped containers independent of viewport-wide gutters. */
.room-chat-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-right:18px;border-bottom:1px solid var(--line)}
.room-sidebar .room-chat-heading h3{border-bottom:0;min-width:0}
.room-sound-toggle{font-size:11px;white-space:nowrap;color:var(--muted)}
.room-event{display:flex;align-items:baseline;gap:8px;margin:12px 0;color:#a4a7ae;font-size:11px;line-height:1.65;overflow-wrap:anywhere}
.room-event>span:last-child{min-width:0}
.room-event a{color:#c4c7cd}
.room-event-dot{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#78a88a}
.room-event-leave .room-event-dot{background:#c7767e}
.header-help{flex:none;border:1px solid var(--line);border-radius:9px;padding:7px 11px;background:#ffffff05;color:#dedee2;font-size:12px;transition:background 200ms,border-color 200ms}
.header-help:hover{background:#ffffff0d;border-color:#ffffff35}
@media(max-width:600px){header:has(.header-help){flex-wrap:wrap;height:88px;min-height:88px;row-gap:2px;padding-top:6px;padding-bottom:6px}header:has(.header-help) nav{order:3;width:100%;height:28px;justify-content:center}header:has(.header-help) nav>a{padding:0}header:has(.header-help) .header-search{min-height:26px;padding:4px}header:has(.header-help) .right{gap:5px}.header-help{padding:7px 8px;font-size:11px}}
.admin-delete-user{color:#d9858e}
.admin-delete-confirm{color:#f1c4ca;border-color:#b4576470;background:#a9475420}
.admin-delete-confirm:hover{background:#a9475438}
.profile-likes{display:inline-flex;align-items:center;gap:7px;margin:10px 10px 14px 0;padding:7px 11px;border:1px solid #bb566336;border-radius:10px;background:#bb56630a;color:#e6b5bb;font-size:14px;line-height:1.4;vertical-align:middle;transition:background 200ms,border-color 200ms}
.profile-likes svg{width:19px;height:19px;fill:transparent;stroke:#d96b7a;stroke-width:1.6;transition:fill 200ms}
.profile-likes.is-liked svg{fill:#c9596b}
button.profile-likes:hover{background:#bb56631a;border-color:#bb56637a}
.profile-likes svg.profile-like-pulse{transform-origin:center;animation:profile-like-pulse 280ms ease-out}
@keyframes profile-like-pulse{0%,100%{transform:scale(1)}45%{transform:scale(1.16)}75%{transform:scale(.98)}}
@media(prefers-reduced-motion:reduce){.profile-likes,.profile-likes svg{transition:none}.profile-likes svg.profile-like-pulse{animation:none}}
.watch-room-page .room-message{display:flex;align-items:flex-start;gap:9px}
.watch-room-page .room-message-avatar{width:28px;height:28px;flex:0 0 28px;font-size:11px;margin:0}
.watch-room-page .room-message-body{min-width:0;flex:1;overflow-wrap:anywhere}
.watch-room-page .player{width:100%;aspect-ratio:16/9}.watch-room-page .player:has(.player-idle){min-height:260px;aspect-ratio:16/9}.watch-room-page .page-intro>div{min-width:0}.watch-room-page .page-intro .actions{flex-shrink:0;max-width:100%}.theater .watch-room-page .room-layout{grid-template-columns:minmax(0,1fr)}.theater .watch-room-page{max-width:1920px}
.room-playback-panel{margin-bottom:16px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#111214}.room-playback-options{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}.room-playback-options fieldset{display:flex;flex:1;flex-wrap:wrap;min-width:0;gap:12px;border:0;margin:0;padding:0}.room-playback-options .field{flex:1;min-width:110px;max-width:100%}.room-playback-options select{width:100%;min-width:0;text-overflow:ellipsis}.room-playback-options fieldset:disabled{opacity:.78}.room-playback-status{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:12px;font-size:12px;line-height:1.6;color:#aeb0b6}.room-playback-status [hidden]{display:none}.room-playback-status .textbtn{font-size:12px;flex-shrink:0}@media(max-width:600px){.room-playback-panel{padding:12px}.room-playback-options>.btn{width:100%}.room-playback-options .field{min-width:100px}}
.room-event-sync{color:#8cbaa0}.room-event-sync .room-event-dot{background:#78a88a}
/* Comment votes keep the monochrome palette and remain comfortable on touch screens. */
.comment-votes{display:flex;gap:6px;margin-right:8px}.comment-vote{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;min-width:54px;padding:6px 10px;border:1px solid #ffffff18;border-radius:9px;background:transparent;color:#a6a8ae;cursor:pointer;transition:background .2s,color .2s,border-color .2s}.comment-vote .icon{width:16px;height:16px}.comment-vote-down .icon{transform:rotate(180deg)}.comment-vote:hover,.comment-vote[aria-pressed=true]{background:#ffffff0d;color:#f1f1f2;border-color:#ffffff40}.comment-vote:focus-visible{outline:2px solid #e3e3e6;outline-offset:3px}.comment-vote:disabled{cursor:wait;opacity:.65}.film-comment .message-actions{flex-wrap:wrap;align-items:center;gap:8px}@media(prefers-reduced-motion:reduce){.comment-vote{transition:none}}
.room-guide-open{overflow:hidden}.room-guide{position:fixed;inset:0;margin:0;width:100%;max-width:none;height:100vh;height:100dvh;max-height:none;box-sizing:border-box;border:0;border-radius:0;padding:32px 24px;background:#0c0d0f;overflow-y:auto}.room-guide::backdrop{background:#08090b;backdrop-filter:none}.room-guide-inner{width:min(850px,100%);min-height:100%;margin:auto;display:flex;flex-direction:column;justify-content:center}.room-guide h2{line-height:1.15;font-size:clamp(32px,5vw,56px);letter-spacing:-.04em;margin:12px 0}.room-guide-summary{color:#979aa3;margin:0 0 30px}.room-guide-steps{display:grid;grid-template-columns:1fr 1fr;gap:28px 32px;list-style:none;padding:0;margin:0}.room-guide-steps li{display:flex;gap:14px;min-width:0}.room-guide-steps li>span{color:#686b74;font-size:13px;padding-top:3px}.room-guide-steps h3{font-size:17px;margin:0 0 9px;font-weight:500}.room-guide-steps p{font-size:14px;line-height:1.7;color:#b4b6bd;margin:0}.room-guide-note{font-size:12px!important;line-height:1.7;color:#888b94;margin:28px 0 18px}.room-guide-footer{padding:18px 0 0;border-top:1px solid #ffffff18;display:flex;align-items:center;flex-wrap:wrap;gap:14px;justify-content:space-between}.room-guide-countdown{font-size:12px;color:#979aa3}.room-guide-footer .btn{min-width:120px}.room-guide-error{flex-basis:100%;margin:0;color:#f09c9c}.room-guide .btn:disabled{opacity:.4;cursor:default;pointer-events:none}@media(max-width:600px){.room-guide{padding:28px 22px}.room-guide-inner{justify-content:flex-start}.room-guide-steps{grid-template-columns:1fr;gap:22px}.room-guide h2{font-size:34px}.room-guide-summary{margin-bottom:24px}.room-guide-footer{flex-direction:column;align-items:stretch}.room-guide-footer .btn{width:100%}.room-guide-countdown{text-align:center}}

.auth-card [data-code-status]{margin:18px 0;padding:14px 16px;background:#ffffff05;border-radius:8px;color:#d6d6da;line-height:1.7;white-space:pre-line;overflow-wrap:anywhere}

.player-idle:has([data-watch-login]){margin-inline:auto;text-align:center}.player-idle:has([data-watch-login]) .actions{justify-content:center}

@media(max-width:1100px){.popular-home-grid .card:nth-child(n+9){display:none}}
@media(max-width:760px){.popular-home-grid .card:nth-child(n+7){display:none}}
@media(max-width:420px){.popular-home-grid .card:nth-child(n+5){display:none}}

.player-ad-notice{margin:0 0 16px;color:#e38b8b;font-size:13px;font-weight:500;line-height:1.65;overflow-wrap:anywhere}@media(max-width:600px){.player-ad-notice{font-size:12px;margin-bottom:12px}}

.room-message-meta{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}.room-reply-button{font-size:11px;color:var(--muted);padding:2px 0}.room-reply-button:hover{color:var(--white)}.room-message-quote{border-left:2px solid #9685b5;padding:5px 8px;margin:6px 0;background:#ffffff05;border-radius:0 5px 5px 0}.room-message-quote small,.room-reply-preview small{display:block;color:#b8a9ce}.room-message-quote span,.room-reply-preview span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:12px;color:var(--muted)}.room-reply-preview{display:flex;align-items:center;gap:8px;padding:10px 16px;border-top:1px solid var(--line);flex-shrink:0}.room-reply-preview[hidden]{display:none}.room-reply-preview>div{min-width:0;flex:1}.room-reply-preview .iconbtn{flex-shrink:0;width:32px;height:32px}
/* Expanded room keeps the existing iframe and chat mounted, including playback and drafts. */
html:has(.watch-room-page.room-expanded){overflow:hidden}
.watch-room-page.room-expanded{position:fixed;inset:0;z-index:30;background:var(--bg);width:100%;max-width:none;height:100dvh;min-height:0;padding:16px;display:flex;flex-direction:column;overflow:auto}
.room-expanded .page-intro{flex:none;align-items:center;gap:16px;margin-bottom:14px}
.room-expanded .page-intro h1{font-size:24px;margin-bottom:5px}.room-expanded .page-intro .kicker{display:none}.room-expanded .page-intro .actions{margin-top:0}.room-expanded .page-intro p{font-size:12px}
.watch-room-page.room-expanded .room-layout{grid-template-columns:minmax(0,1fr) clamp(260px,23vw,340px);gap:16px;flex:1;min-height:0}
.room-expanded .room-layout>div{display:flex;flex-direction:column;min-height:0;min-width:0}
.room-expanded .room-playback-panel,.room-expanded .player-ad-notice{flex:none}.room-expanded .room-playback-panel{padding:10px;margin-bottom:10px}
.watch-room-page.room-expanded .player{flex:1;aspect-ratio:auto;min-height:0}.room-expanded .room-layout>div>.notice,.room-expanded .room-layout>div>small{display:none}
.room-expanded .room-sidebar{display:flex;min-height:0;height:100%;overflow:hidden}.room-expanded .room-sidebar .chat{min-height:0;max-height:none;flex:1}.room-expanded .room-sidebar h3,.room-expanded .participants,.room-expanded .room-chat-heading,.room-expanded .chat-form{flex-shrink:0}.room-expanded #room-participants{max-height:120px;overflow:auto;flex-shrink:0}
@media(max-width:760px){.watch-room-page.room-expanded{padding:12px}.room-expanded .page-intro{flex-direction:column;align-items:stretch;gap:8px}.room-expanded .page-intro .actions{gap:8px}.room-expanded .page-intro .btn{padding:10px 12px;font-size:12px}.watch-room-page.room-expanded .room-layout{grid-template-columns:minmax(0,1fr);flex:none;min-height:0}.watch-room-page.room-expanded .player{flex:none;min-height:230px;aspect-ratio:16/9}.room-expanded .room-sidebar{height:55dvh;min-height:320px}}

/* Open film artwork uses the same brightness as a hovered catalog card. */
.detail-poster .poster img{filter:saturate(1) brightness(.9)}

.header-support{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:none;padding:9px 12px;border:1px solid #d68e5366;border-radius:8px;background:#bd75301c;color:#ebba90;font-size:12px;font-weight:600;white-space:nowrap;transition:background .2s,border-color .2s,color .2s}.header-support .icon{width:16px;height:16px}.header-support:hover{background:#bd753033;border-color:#d68e5399;color:#ffd3ad}header:has(.header-support) .right{gap:8px}header:has(.header-support) nav{gap:clamp(10px,1.4vw,22px)}
@media(max-width:1100px){.header-support{padding:8px}.header-support span{display:none}.header-support .icon{width:18px;height:18px}}
@media(max-width:600px){header:has(.header-support) .right{gap:4px}.header-support{padding:6px;min-width:30px;min-height:30px}}

@media(min-width:1101px){header:has(.header-support) .right{padding-right:166px}.header-support{position:absolute;right:18px;top:50%;transform:translateY(-50%)}}

@media(max-width:600px){header:has(.header-support) .header-support{position:absolute;left:5%;right:auto;top:51px;transform:none;min-width:28px;min-height:28px;padding:5px}header:has(.header-support) .right{padding-right:0}}

@media(max-width:760px){header nav>a[href="#/catalog"]{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 12px;border:1px solid #ffffff30;border-radius:7px;background:#ffffff09;color:var(--white);font-size:14px;font-weight:600;line-height:1.4}header nav>a[href="#/catalog"]:hover,header nav>a[href="#/catalog"]:focus-visible{background:#ffffff12;border-color:#ffffff55}header nav>a[href="#/catalog"].active{border-color:#ffffff65;background:#ffffff12}header nav>a[href="#/catalog"]:after{display:none}header .header-search{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:6px 10px;font-size:13px;line-height:1.4}header .header-search::after{content:"Поиск";font-size:13px;color:#d4d4d8}.quick-search-panel{top:102px}}
@media(max-width:600px){header:has(.header-help){height:96px;min-height:96px}header:has(.header-help) nav{height:36px}header:has(.header-help) nav>a[href="#/catalog"]{padding:6px 12px}header:has(.header-help) .header-search{min-height:34px;padding:6px 10px}}
@media(max-width:600px){header:has(.header-support) .header-support{gap:4px}.header-support .icon{width:14px;height:14px}.header-support::after{content:"Boosty";font-size:10px;font-weight:600;line-height:1}}
@media(max-width:600px){header:has(.header-support) nav{padding-left:72px}}
.global-message-time{margin-left:auto;flex:none;color:var(--muted);font-size:10px;white-space:nowrap}.global-message-author{flex-wrap:wrap}.global-message-author>small{flex:1}#global-chat-form .btn{min-width:54px}
/* Mobile navigation reuses the existing controls and unread counters. */
.mobile-bottom-nav{display:none}
@media(max-width:600px){
 header,header:has(.header-help){height:64px;min-height:64px;flex-wrap:nowrap;padding-top:6px;padding-bottom:6px}
 header:has(.header-support){height:88px;min-height:88px;align-items:flex-start;padding-top:12px}
 header>nav{display:none}header:has(.header-support) .right{padding-right:0}
 header:has(.header-support) .header-support{top:51px}
 .mobile-bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:25;padding:7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));border-top:1px solid #ffffff1d;background:#111214f5;box-shadow:0 -5px 25px #0003;gap:2px;transition:padding .2s ease}
 .mobile-bottom-nav .mobile-nav-item{display:flex;position:relative;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%;min-width:0;min-height:48px;height:auto;padding:4px;border:0;border-radius:9px;background:transparent;color:#a3a4ae;font-size:10px;line-height:1.3;white-space:nowrap}
 .mobile-bottom-nav .mobile-nav-item.active,.mobile-bottom-nav .mobile-nav-item:hover,.mobile-bottom-nav .mobile-nav-item:focus-visible{background:#ffffff08;color:#f1f1f3}
 .mobile-bottom-nav .mobile-nav-item:after{display:none}.mobile-bottom-nav .icon{width:21px;height:21px;flex:none}
 .mobile-bottom-nav .mobile-nav-label{display:block;max-height:16px;opacity:1;overflow:hidden;transition:max-height .2s,opacity .15s}
 .mobile-bottom-nav .avatar{width:23px;height:23px;font-size:10px;border-width:1px}
 .mobile-nav-search{min-width:0;position:static}.mobile-bottom-nav .header-search span{display:block}
 .mobile-bottom-nav .dm-unread{top:0;right:calc(50% - 27px);height:16px;min-width:16px;font-size:9px}
 .mobile-nav-compact .mobile-bottom-nav{padding-top:3px;padding-bottom:calc(3px + env(safe-area-inset-bottom))}
 .mobile-nav-compact .mobile-nav-label{max-height:0;opacity:0}.mobile-nav-compact .mobile-nav-item{gap:0;min-height:44px}
 .mobile-bottom-nav .quick-search-panel{position:fixed;top:auto;bottom:calc(76px + env(safe-area-inset-bottom));left:12px;right:12px;width:auto;max-width:none}
 .mobile-bottom-nav .quick-search-results{max-height:45dvh}
 body{padding-bottom:calc(80px + env(safe-area-inset-bottom))}html{scroll-padding-bottom:90px}
 #toast{bottom:calc(88px + env(safe-area-inset-bottom))}
 .watch-room-page.room-expanded{padding-bottom:calc(14px + env(safe-area-inset-bottom))}
}
@media(max-width:600px){.mobile-bottom-nav{bottom:var(--mobile-keyboard-inset,0px)}.mobile-bottom-nav .quick-search-panel{bottom:calc(76px + env(safe-area-inset-bottom) + var(--mobile-keyboard-inset,0px))}.mobile-bottom-nav .quick-search-results{max-height:min(45dvh,calc(var(--mobile-visible-height,100dvh) - 210px))}}

.profile-account-actions [data-account-logout]{color:#ef7373}.profile-account-actions [data-account-logout]:hover,.profile-account-actions [data-account-logout]:focus-visible{color:#ff9696}

@media(max-width:600px){header .header-login,header .header-register{display:none}}

/* Popular films retain two rows; series occupy a separate third row. */

.popular-series-grid .card:nth-child(n+7){display:none}
.home-compact-section{padding-top:28px;padding-bottom:28px}.home-compact-section .section-head{margin-bottom:16px}.home-compact-section h2{font-size:20px;letter-spacing:-.5px}.home-compact-section .home-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 110px)/6 * .92);gap:22px;overflow-x:auto;padding-bottom:12px;scroll-snap-type:x proximity}.home-compact-section .card h3{font-size:14px;margin-top:8px}.home-compact-section .card .sub{font-size:12px}
@media(max-width:1100px){.popular-series-grid .card:nth-child(n+5){display:none}}
@media(max-width:760px){.popular-series-grid .card:nth-child(n+4){display:none}.home-compact-section .home-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 30px)/3 * .92);overflow-x:auto;gap:15px;padding-bottom:12px;scroll-snap-type:x proximity}.home-compact-section .home-grid .card{display:block;scroll-snap-align:start}.home-compact-section{padding-top:20px;padding-bottom:20px}}
@media(max-width:420px){.popular-series-grid .card:nth-child(n+3){display:none}}

.home-compact-section .home-grid .card{display:block}.home-compact-section{margin-bottom:24px}.home-compact-section .poster-badges{left:5px;right:5px;gap:3px}.home-compact-section .poster-badges .quality-badge{font-size:8px}

.home-compact-section{padding-top:0;padding-bottom:0;margin-top:32px;margin-bottom:32px}.home-compact-section .card h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.5;min-height:42px}.home-compact-section .card .sub{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.home-compact-section .movie-grid.home-grid .card:nth-child(n){display:block}

.popular-series-grid,.popular-series-grid-full{margin-top:22px}@media(max-width:1100px){.popular-series-grid,.popular-series-grid-full{margin-top:18px}}@media(max-width:760px){.popular-series-grid,.popular-series-grid-full{margin-top:15px}}

@media(min-width:761px) and (max-width:1100px){.home-compact-section .home-grid{grid-auto-columns:calc((100% - 54px)/4 * .92);gap:18px}}
@media(max-width:420px){.home-compact-section .home-grid{grid-auto-columns:calc((100% - 15px)/2 * .92)}}

.quick-search-spinner{color:#f5f5f3}.quick-search-spinner[hidden]{display:none}

/* Explicit option colors keep the native catalogue dropdown readable on Windows. */
.filters select{color-scheme:dark}
.filters select option,.filters select optgroup{color:#f5f5f3;background-color:#191a1e}

.form-status.registration-check-pending{display:flex;align-items:center;gap:10px;color:#e8c477}
.registration-check-dots{display:inline-flex;align-items:center;gap:5px;flex:none;height:16px}
.registration-check-dots i{display:block;width:5px;height:7px;border-radius:60% 60% 55% 55%;background:currentColor;opacity:.3;animation:registration-check-wave 1.2s ease-in-out infinite}
.registration-check-dots i:nth-child(2){animation-delay:.16s}
.registration-check-dots i:nth-child(3){animation-delay:.32s}
@keyframes registration-check-wave{0%,65%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){.registration-check-dots i{animation:none;opacity:.7}}

.auth-card [data-resend-code]{color:#ee9688;font-variant-numeric:tabular-nums}
.auth-card [data-resend-code]:hover:not(:disabled){color:#ffb3a5}
.auth-card [data-resend-code]:disabled{color:#ee9688;opacity:.7;cursor:default}

.quick-search-field input:focus{outline:none;box-shadow:none}
.quick-search-field:focus-within{border-color:#ffffff40}
.header-search:focus:not(:focus-visible){outline:none}

.cast-person{flex-basis:170px}
.cast-person .avatar{position:relative;flex:none;width:64px;height:64px;overflow:hidden;transition:transform .22s ease}
@media(max-width:600px){.cast-person{flex-basis:calc(50% - 10px);gap:10px}.cast-person strong{font-size:13px}}
.cast-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;image-rendering:auto}
.cast-photo-loaded .cast-photo{opacity:1}
.cast-person .cast-photo-loaded{border-width:0}
.cast-photo-loaded:after{content:"";position:absolute;inset:0;background:#0000002e;pointer-events:none}
.cast-person-link:focus-visible .cast-photo-loaded{transform:scale(1.125)}
@media(hover:hover) and (pointer:fine){.cast-person-link:hover .cast-photo-loaded{transform:scale(1.125)}}
@media(prefers-reduced-motion:reduce){.cast-person .avatar{transition:none;transform:none!important}}

.cast-person-link:hover strong,.cast-person-link:focus-visible strong{text-decoration:underline;text-underline-offset:3px}

.cast-directors{margin-top:26px;margin-bottom:12px}
.cast-director-link:hover,.cast-director-link:focus-visible{text-decoration:underline;text-underline-offset:3px}

@media(max-width:600px){.recent-section .section-head{flex-wrap:nowrap;gap:8px;justify-content:space-between}.recent-section .section-head h2{font-size:15px;letter-spacing:-.4px;min-width:0;line-height:1.35}.recent-section .section-head>a{flex:none;min-height:34px;padding:6px 9px;gap:4px;font-size:11px}.recent-section .section-head>a .icon{width:14px;height:14px}.recent-strip{display:grid;grid-auto-flow:row;grid-template-columns:minmax(0,1fr);grid-auto-columns:auto;gap:8px;overflow-x:visible;padding-bottom:6px;scroll-snap-type:none}.recent-link{gap:10px;padding:8px 40px 8px 8px}.recent-link .poster{width:32px;min-width:32px;height:48px}.recent-copy{flex:1;gap:3px}.recent-copy strong{font-size:12px}.recent-copy small{font-size:10px}}

@media(max-width:360px){.recent-section .section-head{gap:6px}.recent-section .section-head h2{font-size:14px}.recent-section .section-head>a{font-size:10px;padding:6px 8px;gap:3px}}

:is(.home-compact-section .section-head>a,.popular-section .section-head>a[href="#/popular"]){display:inline-flex;align-items:center;justify-content:center;flex:none;gap:7px;min-height:36px;padding:6px 12px;border:1px solid #ffffff30;border-radius:8px;background:#ffffff08;color:#dedee2;font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap;transition:background .2s,border-color .2s,color .2s}:is(.home-compact-section .section-head>a,.popular-section .section-head>a[href="#/popular"]) .icon{width:16px;height:16px},:is(.home-compact-section .section-head>a,.popular-section .section-head>a[href="#/popular"]):focus-visible{background:#ffffff14;border-color:#ffffff55;color:#fff}@media(max-width:600px){:is(.home-compact-section .section-head>a,.popular-section .section-head>a[href="#/popular"]){min-height:34px;padding:6px 9px;gap:4px;font-size:11px}:is(.home-compact-section .section-head>a,.popular-section .section-head>a[href="#/popular"]) .icon{width:14px;height:14px}}

.recent-comment-link[hidden]{display:none}.recent-comments-expand{display:block;width:100%;min-height:36px;margin-top:10px;padding:7px 12px;border:1px solid #ffffff30;border-radius:8px;background:#ffffff08;color:#dedee2;font-size:12px;font-weight:600;transition:background .2s,border-color .2s}.recent-comments-expand:hover,.recent-comments-expand:focus-visible{background:#ffffff14;border-color:#ffffff55;color:#fff}

.recent-comments-dialog h2{font-size:20px;letter-spacing:-.4px;padding-right:24px;margin-bottom:8px}.recent-comments-dialog>p{font-size:12px;margin-bottom:12px}.recent-comments-dialog-list{max-height:min(55vh,440px);overflow-y:auto;padding-right:8px;scrollbar-width:thin;scrollbar-color:#ffffff26 transparent}.recent-comments-dialog-list .recent-comment-preview{-webkit-line-clamp:4}.recent-comments-dialog-list .recent-comment-link:first-child{border-top:0}

dialog:has(.recent-comments-dialog){width:min(960px,calc(100% - 30px))}

.recent-comments-dialog-list{max-height:min(65vh,560px)}
.recent-comments-dialog-list .recent-comment-link{padding:16px 0}
.recent-comments-dialog-list .recent-comment-content{gap:14px}
.recent-comments-dialog-list .recent-comment-poster{flex-basis:44px;width:44px;height:66px}
.recent-comments-dialog-list .recent-comment-film{font-size:13px;margin-bottom:6px}
.recent-comments-dialog-list .recent-comment-preview{font-size:16px;line-height:1.65;color:#dedee2}
.recent-comments-dialog-list .recent-comment-date{font-size:12px;margin-top:7px}
@media(max-width:600px){.recent-comments-dialog-list .recent-comment-preview{font-size:14px}.recent-comments-dialog-list .recent-comment-film{font-size:12px}.recent-comments-dialog-list .recent-comment-date{font-size:11px}.recent-comments-dialog-list .recent-comment-content{gap:10px}.recent-comments-dialog-list .recent-comment-poster{flex-basis:36px;width:36px;height:54px}}

dialog:has(.public-rooms-dialog){width:min(960px,calc(100% - 30px))}
.public-rooms-dialog h2{font-size:20px;letter-spacing:-.4px;padding-right:24px;margin-bottom:8px}
.public-rooms-dialog>p{font-size:12px;margin-bottom:12px}
.public-rooms-dialog-list{max-height:min(65vh,560px);overflow-y:auto;padding-right:8px;scrollbar-width:thin;scrollbar-color:#ffffff26 transparent}
.public-rooms-dialog-list .open-room-link{padding:16px 0;gap:14px}
.public-rooms-dialog-list .open-room-link:first-child{border-top:0}
.public-rooms-dialog-list .open-room-link .poster,.public-rooms-dialog-list .open-room-placeholder{width:44px;height:66px;min-width:44px}
.public-rooms-dialog-list .open-room-title{font-size:16px}
.public-rooms-dialog-list .open-room-copy>span{font-size:13px}
.public-rooms-dialog-list .open-room-copy small{font-size:12px}
@media(max-width:600px){.public-rooms-dialog-list .open-room-link{gap:10px}.public-rooms-dialog-list .open-room-title{font-size:14px}.public-rooms-dialog-list .open-room-copy>span{font-size:12px}.public-rooms-dialog-list .open-room-copy small{font-size:11px}.public-rooms-dialog-list .open-room-link .poster,.public-rooms-dialog-list .open-room-placeholder{width:36px;height:54px;min-width:36px}}
.quick-search-wrap .quick-search-more{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:36px;margin-top:10px;padding:7px 12px;border:1px solid #ffffff30;border-radius:8px;background:#ffffff08;color:#dedee2;font-size:12px;font-weight:600;transition:background .2s,border-color .2s}
.quick-search-wrap .quick-search-more[hidden]{display:none}
.quick-search-wrap .quick-search-more:after{display:none}
.quick-search-wrap .quick-search-more:hover,.quick-search-wrap .quick-search-more:focus-visible{background:#ffffff14;border-color:#ffffff55;color:#fff}
.quick-search-more>.icon{width:15px;height:15px}
.quick-search-more[inert]{opacity:.5}
@media(min-width:1200px){.home-sidebar.home-sidebar-auth{top:205px}}

.user-crown{display:inline-flex;align-items:center;justify-content:center;vertical-align:-3px;width:17px;height:17px;margin-left:6px;color:#ebba90;flex:none;line-height:1}
.user-crown svg{display:block;width:100%;height:100%}
.profile-hero h1 .user-crown{width:28px;height:28px;margin-left:12px;vertical-align:middle}
@media(max-width:600px){.profile-hero h1 .user-crown{width:24px;height:24px;margin-left:9px}}

.user-crown[data-crown-tooltip]{position:relative;cursor:help}
.user-crown[data-crown-tooltip]::after{content:attr(data-crown-tooltip);position:absolute;z-index:10;top:50%;left:calc(100% + 12px);width:230px;max-width:calc(100vw - 40px);padding:11px 14px;border:1px solid #d68e5366;border-radius:10px;background:#17181c;color:#e5dfd3;box-shadow:0 8px 24px #0005;font-family:inherit;font-size:13px;font-weight:500;letter-spacing:normal;line-height:1.5;text-align:left;white-space:normal;pointer-events:none;opacity:0;visibility:hidden;transform:translate(-5px,-50%);transition:opacity .18s ease,transform .18s ease,visibility .18s}
.user-crown[data-crown-tooltip]:hover::after,.user-crown[data-crown-tooltip]:focus::after{opacity:1;visibility:visible;transform:translate(0,-50%)}
.user-crown[data-crown-tooltip]:focus-visible{outline:1px solid #d68e5380;outline-offset:4px;border-radius:4px}
@media(prefers-reduced-motion:reduce){.user-crown[data-crown-tooltip]::after{transition:none}}

.playback-qualities{position:relative;display:inline-flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;column-gap:3px;row-gap:4px}
.playback-quality{display:inline-flex;align-items:center;gap:5px;cursor:help;flex:none}
.playback-quality::after{content:attr(data-quality-tooltip);position:absolute;z-index:12;top:calc(100% + 10px);right:0;width:260px;max-width:calc(100vw - 40px);padding:11px 14px;border:1px solid #ffffff26;border-radius:10px;background:#17181c;color:#dedee2;box-shadow:0 8px 24px #0005;font-size:13px;font-weight:500;letter-spacing:normal;line-height:1.5;text-align:left;white-space:normal;pointer-events:none;opacity:0;visibility:hidden;transform:translateY(-5px);transition:opacity .18s ease,transform .18s ease,visibility .18s}
.playback-quality:hover::after,.playback-quality:focus::after{opacity:1;visibility:visible;transform:translateY(0)}
.playback-quality:focus-visible{outline:1px solid #ffffff60;outline-offset:4px;border-radius:3px}
@media(prefers-reduced-motion:reduce){.playback-quality::after{transition:none}}

.quality-help-icon{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;border:1px solid #ffffff55;border-radius:50%;color:#b7b7bf;font-size:10px;font-weight:600;line-height:1;flex:none;transition:color .18s,border-color .18s}
.playback-quality:hover .quality-help-icon,.playback-quality:focus .quality-help-icon{color:#f0f0f2;border-color:#ffffff99}
@media(prefers-reduced-motion:reduce){.quality-help-icon{transition:none}}

.quick-search-suggestion{margin:4px 0 10px;padding:10px 12px;border:1px solid #ebba9033;border-radius:8px;background:#bd753010;color:#ebc7a8;font-size:12px;line-height:1.5;animation:search-suggestion-in .18s ease-out both}
@keyframes search-suggestion-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.quick-search-suggestion{animation:none}}

.film-kp-link{color:inherit;text-decoration:underline;text-decoration-color:#ffffff40;text-underline-offset:3px;transition:color .18s,text-decoration-color .18s}
.film-kp-link:hover,.film-kp-link:focus-visible{color:#eee;text-decoration-color:#ffffff90}

.poster-badges .quality-badge[data-quality-tooltip]{display:inline-flex;align-items:center;gap:4px;overflow:visible;pointer-events:auto;cursor:help}
.poster-badges .quality-help-icon{width:11px;height:11px;font-size:8px;border-color:currentColor;color:inherit;opacity:.8}
.poster-badges .quality-badge[data-quality-tooltip]::after{content:attr(data-quality-tooltip);position:absolute;z-index:4;top:calc(100% + 7px);left:0;right:0;padding:10px;border:1px solid #ffffff30;border-radius:8px;background:#17181cf5;color:#dedee2;box-shadow:0 6px 18px #0005;font-size:11px;font-weight:500;line-height:1.5;text-align:left;white-space:normal;pointer-events:none;opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .18s ease,transform .18s ease,visibility .18s}
.poster-badges .quality-badge[data-quality-tooltip]:hover::after,.poster-badges .quality-badge[data-quality-tooltip]:focus::after{opacity:1;visibility:visible;transform:translateY(0)}
.poster-badges .quality-badge[data-quality-tooltip]:focus-visible{outline:1px solid #ffffff80;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.poster-badges .quality-badge[data-quality-tooltip]::after{transition:none}}

.recent-comments-pages{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.recent-comments-pages .btn{min-height:40px;padding:8px 15px;font-size:12px}
.recent-comments-pages>span{font-size:12px;color:#b8b8c0;text-align:center}
.recent-comments-pages .btn:disabled{opacity:.35;cursor:default;box-shadow:none}
@media(max-width:600px){.recent-comments-pages{gap:8px}.recent-comments-pages .btn{padding:8px 11px}.recent-comments-pages>span{font-size:11px}}

.giveaway-panel{width:100%;max-width:820px;padding:26px;border:1px solid var(--line);border-radius:16px;background:#101113}.giveaway-panel>p{color:#aaaab3;line-height:1.7}.giveaway-panel h3{margin-top:28px}.giveaway-users{list-style:none;padding:0;margin:0;max-height:440px;overflow:auto}.giveaway-users li{display:flex;justify-content:space-between;gap:20px;padding:13px 2px;border-bottom:1px solid var(--line)}.giveaway-users li span{color:#a9a9b1;white-space:nowrap}.giveaway-users a{overflow-wrap:anywhere}.giveaway-winner:not(:empty){display:flex;flex-direction:column;gap:10px;margin:24px 0;padding:26px;text-align:center;border:1px solid #856345;border-radius:14px;background:#211a14}.giveaway-winner strong{font-size:clamp(24px,5vw,40px);color:#ebba90;overflow-wrap:anywhere}.giveaway-winner small{color:#aaaab3}.giveaway-panel button:disabled{opacity:.5;cursor:default}@media(max-width:600px){.giveaway-panel{padding:18px 14px}.giveaway-panel>[data-giveaway-draw]{width:100%;font-size:12px}.giveaway-winner:not(:empty){padding:22px 12px}}


.giveaway-page{max-width:1500px;margin:auto}.giveaway-heading{margin:25px 0 28px}.giveaway-heading h1{margin:10px 0 0}.giveaway-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,390px);gap:28px;align-items:start}.giveaway-layout .giveaway-panel{max-width:none;min-width:0}.giveaway-layout .giveaway-panel>h2{font-size:23px;margin-top:0}.giveaway-code{position:sticky;top:110px;min-width:0;padding:24px;border:1px solid #614b37;border-radius:16px;background:#151310}.giveaway-code .kicker{color:#c69c75;font-size:10px;letter-spacing:1.4px}.giveaway-code h2{font-size:19px;margin:12px 0 20px}.giveaway-code pre{overflow:auto;padding:18px 14px;border:1px solid #34302a;border-radius:10px;background:#0c0d0f;color:#ebba90;font-size:12px;line-height:1.9;tab-size:2}.giveaway-code code{font-family:Consolas,monospace}.giveaway-code p{font-size:12px;line-height:1.8;color:#aaaab3}.giveaway-chance{margin-top:20px;padding-top:16px;border-top:1px solid #34302a;font-size:13px;color:#ebba90}@media(max-width:900px){.giveaway-layout{grid-template-columns:1fr;gap:18px}.giveaway-code{position:static}}@media(max-width:600px){.giveaway-code{padding:20px 16px}.giveaway-code pre{font-size:11px}.giveaway-heading{margin-top:22px}.giveaway-heading h1{font-size:32px}}

/* This bounded page uses its own gutters, independent of full-width .page gutters. */
.page.giveaway-page{width:calc(100% - 64px);max-width:1440px;padding:140px 0 60px;margin:0 auto;min-width:0}
.giveaway-page .giveaway-layout{width:100%;grid-template-columns:minmax(0,1fr) minmax(0,390px)}
.giveaway-page .giveaway-panel,.giveaway-page .giveaway-code{width:100%;min-width:0}
.giveaway-page [data-giveaway-draw]{max-width:100%;white-space:normal}
@media(max-width:1000px){.giveaway-page .giveaway-layout{grid-template-columns:minmax(0,1fr)}.giveaway-page .giveaway-code{position:static}}
@media(max-width:600px){.page.giveaway-page{width:calc(100% - 32px);padding:110px 0 40px}.giveaway-page .giveaway-users li{gap:12px}}

.giveaway-sidebar{display:flex;flex-direction:column;gap:20px;min-width:0;width:100%}.giveaway-page .giveaway-sidebar .giveaway-code{position:static}.giveaway-history{width:100%;min-width:0;padding:24px;border:1px solid #614b37;border-radius:16px;background:#151310}.giveaway-history h2{font-size:19px;margin:0 0 18px}.giveaway-history h2 small{margin-left:6px}.giveaway-history-empty{font-size:13px;color:#aaaab3;margin:0 0 18px}.giveaway-history-list{list-style:none;padding:0;margin:0 0 18px;max-height:360px;overflow:auto}.giveaway-history-list li{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #ffffff10}.giveaway-place{display:flex;align-items:center;justify-content:center;flex:0 0 30px;height:30px;border-radius:50%;background:#ebba9014;color:#ebba90;font-size:12px}.giveaway-history-list li>div{min-width:0;display:flex;flex-direction:column;gap:3px}.giveaway-history-list a{font-size:14px;overflow-wrap:anywhere}.giveaway-history-list small{font-size:12px;color:#aaaab3}.giveaway-history-note{display:block;color:#8f8b86;font-size:11px}@media(max-width:600px){.giveaway-sidebar{gap:16px}.giveaway-history{padding:20px 16px}}

.community-card-score{position:absolute;top:45px;left:10px;z-index:2;display:inline-flex;align-items:center;gap:5px;background:#17130fee;border:1px solid #c69c7540;border-radius:6px;padding:3px 7px;color:#ebba90;font-size:12px;font-weight:700;pointer-events:none}.community-card-score small{color:#d2b69e;font-size:9px;font-weight:500}.community-rating{margin:18px 0 22px;padding:14px 18px;border:1px solid #ebba9030;border-radius:12px;background:#17130f88;max-width:430px}.community-rating-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px}.community-rating-heading strong{color:#ebba90}.community-rating-heading>span{color:#b9b1a9}.community-stars{display:flex;gap:8px;margin:6px 0}.community-stars button{font-family:Arial,sans-serif;font-size:29px;line-height:1;background:transparent;border:0;padding:5px 3px;color:#5f5a55;min-width:34px;min-height:40px;transition:color .15s,transform .15s}.community-stars button.selected{color:#ebba90}.community-stars button:disabled{opacity:1;cursor:default}.community-stars button:focus-visible{outline-color:#ebba90}.community-rating-bottom{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:11px;color:#aaa29a}.community-rating-bottom .textbtn{font-size:11px;padding:0;color:#b8aaa0}.community-rating [hidden]{display:none}.community-rating [data-rating-status]{font-size:11px;line-height:1.5;margin:6px 0 0}.community-rating [data-rating-status]:empty{display:none}.community-rating [data-rating-status] .textbtn{padding:0;font-size:11px}@media(hover:hover){.community-stars:has(button:not(:disabled):hover) button{color:#5f5a55}.community-stars button:not(:disabled):hover,.community-stars button:not(:disabled):has(~button:hover){color:#f4c79f!important;transform:translateY(-1px)}}@media(max-width:600px){.community-rating{padding:12px 14px;max-width:100%}.community-stars{gap:6px}.community-card-score{top:39px;left:7px;font-size:10px;padding:2px 5px}.community-card-score small{font-size:8px}}

/* Lift the whole badge stacking context above the favorite button, not just its tooltip. */
.card .poster-badges:has(.quality-badge[data-quality-tooltip]:is(:hover,:focus)){z-index:4}

.profile-friends{max-width:640px;margin:20px 0 24px}.profile-friends-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px}.profile-friends-heading h2{font-size:20px;margin:0}.profile-friends-heading h2 small{font-size:12px;margin-left:5px}.profile-friends-all.btn{padding:7px 11px;min-height:34px;font-size:11px;border-color:#ffffff26;background:#ffffff06;white-space:nowrap;gap:7px}.profile-friends-all .icon{width:14px;height:14px}.profile-friends .profile-friends-grid,.profile-friends-dialog .profile-friends-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.profile-friends .profile-friend-card,.profile-friends-dialog .profile-friend-card{min-width:0;padding:10px 12px;gap:10px}.profile-friends .profile-friend-card .avatar,.profile-friends-dialog .profile-friend-card .avatar{width:32px;height:32px;flex:0 0 32px}.profile-friends .dm-person-name,.profile-friends-dialog .dm-person-name{min-width:0;font-size:12px}.profile-friends .dm-public-id,.profile-friends-dialog .dm-public-id{font-size:10px}.profile-friends-empty{margin:0;font-size:12px;color:#96979c}dialog:has(.profile-friends-dialog){width:min(720px,calc(100vw - 32px));max-width:720px}.profile-friends-dialog h2{margin:0 0 20px;font-size:24px}.profile-friends-dialog h2 small{margin-left:6px}.profile-friends-full{max-height:60dvh;overflow:auto;overscroll-behavior:contain;padding:2px}@media(max-width:520px){.profile-friends-heading{gap:8px}.profile-friends-heading h2{font-size:18px}.profile-friends .profile-friend-card{padding:9px 8px;gap:7px}.profile-friends .profile-friend-card .avatar{width:28px;height:28px;flex-basis:28px}.profile-friends .dm-person-name{font-size:11px}.profile-friends-all.btn{font-size:10px;padding:6px 9px}.profile-friends-dialog .profile-friends-grid{grid-template-columns:minmax(0,1fr)}dialog:has(.profile-friends-dialog){padding:26px 18px}}

.profile-friends-heading{justify-content:flex-start;gap:12px;flex-wrap:wrap}.profile-friends .profile-friends-grid{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px}.profile-friends .profile-friend-card{flex:0 1 auto;width:fit-content;max-width:100%;padding:7px 10px;gap:8px}.profile-friends .profile-friend-card .avatar{width:28px;height:28px;flex-basis:28px}.profile-friends .profile-friend-card .dm-person-name{flex:0 1 auto}.profile-friends-all.btn{padding:5px 9px;min-height:30px}@media(max-width:520px){.profile-friends-heading{justify-content:flex-start;gap:10px}.profile-friends .profile-friend-card{padding:7px 9px;gap:7px}}

.profile-friends-strip{display:flex;align-items:flex-start;gap:14px;max-width:100%}.profile-friend-mini{display:flex;flex-direction:column;align-items:center;gap:7px;flex:0 1 80px;min-width:0;max-width:80px;padding:3px 0;color:#bfc0c5;transition:color .18s}.profile-friend-mini .avatar{width:42px;height:42px;flex:none;transition:transform .18s}.profile-friend-nick{font-size:12px;line-height:1.4;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-friend-mini:hover{color:#fff}.profile-friend-mini:hover .avatar{transform:translateY(-2px)}.profile-friends-more{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;flex:0 0 auto;min-width:72px;padding:3px 0;border:0;background:transparent;color:#b5b5bd}.profile-friends-more-count{position:relative;display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:#24252a;color:#dedee4;font-size:12px;box-shadow:5px 0 0 -1px #08090b,7px 0 0 -1px #3a3b41;transition:background .18s}.profile-friends-more>span:last-child{display:flex;align-items:center;gap:4px;font-size:10px;line-height:1.7}.profile-friends-more .icon{width:12px;height:12px}.profile-friends-more:hover{color:#fff}.profile-friends-more:hover .profile-friends-more-count{background:#34353c}@media(max-width:520px){.profile-friends-strip{gap:9px}.profile-friend-mini{flex-basis:64px;max-width:72px}.profile-friend-mini .avatar,.profile-friends-more-count{width:36px;height:36px}.profile-friend-nick{font-size:11px}.profile-friends-more{min-width:64px}.profile-friends-more>span:last-child{font-size:9px}}@media(prefers-reduced-motion:reduce){.profile-friend-mini,.profile-friend-mini .avatar,.profile-friends-more-count{transition:none}.profile-friend-mini:hover .avatar{transform:none}}

.points-profile{margin:0 0 20px}.points-profile-link{display:inline-flex;align-items:center;flex-wrap:wrap;gap:14px;border:1px solid #ebba9033;border-radius:12px;background:#211a1466;padding:12px 16px;font-size:13px}.points-profile-link strong{color:#ebba90;font-weight:600}.points-profile-link .icon{width:16px;height:16px}.points-gift-button>svg{width:20px;height:20px;color:#ebba90}.profile-gifts{margin:22px 0 28px}.profile-gifts-heading{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:12px}.profile-gifts h2{font-size:20px;margin:0}.profile-gifts h2 small{margin-left:5px}.profile-gifts .textbtn{font-size:11px}.profile-gifts-empty{margin:12px 0 0;color:#96979c;font-size:12px}.received-gifts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px}.profile-gifts .received-gifts-grid{max-width:920px}.received-gift{display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid #ffffff16;border-radius:12px;background:#141312;min-width:0}.received-gift>div{display:flex;flex-direction:column;gap:3px;min-width:0}.received-gift strong{font-size:12px;overflow-wrap:anywhere}.received-gift small,.received-gift time{color:#99969a;font-size:10px;overflow-wrap:anywhere}.received-gift small a{color:#cdbba9}.point-gift-art{display:flex;align-items:center;justify-content:center;color:#ebba90;flex:none;width:52px;height:52px;border-radius:16px;background:radial-gradient(circle,#ebba901b,transparent 75%)}.point-gift-art svg{width:42px;height:42px}.points-page{max-width:1400px;margin:auto}.points-page-heading{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:24px 0}.points-page-heading h1{font-size:42px}.points-page-heading p{font-size:14px;max-width:650px}.points-balance-card{display:flex;flex-direction:column;align-items:center;min-width:170px;padding:22px 30px;border:1px solid #ebba9038;border-radius:18px;background:#211a14}.points-balance-card>span{font-size:12px;color:#c6b8aa}.points-balance-card strong{font-size:42px;line-height:1.3;color:#ebba90}.points-balance-card small{color:#c6b8aa}.points-rules{font-size:12px;line-height:1.8;max-width:880px;color:#a6a2a2}.points-achievements{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0 36px}.points-achievement{padding:20px;border:1px solid var(--line);border-radius:14px;background:#121315}.points-achievement.earned{border-color:#ebba9040;background:#1c1712}.achievement-status{font-size:10px;color:#999}.earned .achievement-status{color:#ebba90}.points-achievement h2{font-size:18px;margin:10px 0 6px}.points-achievement p{font-size:12px;margin-bottom:12px}.points-achievement progress{width:100%;height:5px;accent-color:#d5ae87;display:block;margin-bottom:12px}.points-achievement>div{display:flex;justify-content:space-between;gap:10px}.points-achievement strong{font-size:12px;color:#ebba90}.points-gift-catalog{margin:36px 0}.points-gift-catalog>p{font-size:13px;color:#aaa}.point-gift-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;margin:20px 0}.point-gift-option{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;text-align:center;min-width:0;padding:20px 10px;border:1px solid #ffffff1c;border-radius:14px;background:#151413}.point-gift-option strong{font-size:12px;font-weight:600}.point-gift-option small{color:#d1b395;font-size:12px}.point-gift-option .point-gift-art{width:62px;height:62px}.point-gift-option .point-gift-art svg{width:50px;height:50px}.point-gift-option:has(input){cursor:pointer}.point-gift-option:has(input:checked){border-color:#ebba90;background:#2b2118}.point-gift-option:has(input:focus-visible){outline:2px solid #ebba90;outline-offset:3px}.point-gift-option.unavailable{opacity:.4;cursor:default}.point-gift-option input{position:absolute;width:1px;height:1px;opacity:0;padding:0;left:10px;top:10px}.point-gift-confirmation{font-size:13px;line-height:1.7}.points-history{margin:32px 0}.points-history>ul{padding:0;list-style:none}.points-history li{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line);padding:15px 0}.points-history li>div{display:flex;flex-direction:column;gap:5px;min-width:0}.points-history li strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.points-history time{font-size:11px;color:#999}.points-credit,.points-debit{font-size:14px;white-space:nowrap}.points-credit{color:#b7d5b3}.points-debit{color:#d9aaa0}.points-pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:20px;font-size:12px}.points-pagination .btn{padding:8px 12px;font-size:11px}.points-pagination button:disabled{cursor:default}.point-gift-success{text-align:center;padding:16px 0}.point-gift-success .point-gift-art{margin:0 auto 20px;width:84px;height:84px}.point-gift-success .point-gift-art svg{width:64px;height:64px}dialog:has(.point-gift-dialog),dialog:has(.point-gifts-list-dialog){width:min(820px,calc(100vw - 32px));max-width:820px}.point-gift-dialog h2,.point-gifts-list-dialog h2{padding-right:15px}.point-gifts-list-dialog [data-all-point-gifts]{max-height:65dvh;overflow:auto;padding:2px}.point-gift-dialog .form-status{font-size:12px}.point-gift-dialog .textbtn{font-size:12px}.page.points-page{width:calc(100% - 64px);padding:136px 0 60px;max-width:1320px;min-width:0}@media(max-width:900px){.points-achievements{grid-template-columns:repeat(2,minmax(0,1fr))}.points-page-heading h1{font-size:34px}.points-balance-card{min-width:140px;padding:20px}}@media(max-width:600px){.page.points-page{width:calc(100% - 32px);padding:110px 0 40px}.points-page-heading{align-items:stretch;flex-direction:column;gap:14px}.points-page-heading h1{font-size:32px}.points-balance-card{align-items:center;flex-direction:row;justify-content:space-between;gap:12px;padding:14px 18px}.points-balance-card strong{font-size:32px}.points-achievements{gap:10px}.points-achievement{padding:15px 12px}.points-achievement h2{font-size:16px}.points-achievement>div{flex-wrap:wrap}.points-achievement strong{font-size:11px}.received-gifts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.received-gift{flex-direction:column;align-items:flex-start;padding:12px;gap:7px}.received-gift .point-gift-art{width:42px;height:42px}.received-gift .point-gift-art svg{width:34px;height:34px}.point-gift-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.point-gift-option{padding:15px 8px}.point-gift-option strong{font-size:11px}dialog:has(.point-gift-dialog),dialog:has(.point-gifts-list-dialog){padding:28px 18px}.points-profile-link{font-size:12px;gap:10px}.points-history li{gap:12px}.points-history li strong{font-size:12px}}

.home-telegram-link{display:flex;align-items:center;gap:10px;min-width:0;min-height:48px;padding:12px 16px;box-sizing:border-box;border:1px solid var(--line);border-radius:12px;background:#111214e8;color:#e6e6e9;font-size:13px;font-weight:600;text-decoration:none;transition:background .2s,border-color .2s}
.home-telegram-link svg{width:19px;height:19px;flex:none;color:#c6c6cd}.home-telegram-link span{min-width:0}.home-telegram-link .home-telegram-arrow{margin-left:auto;color:var(--muted)}.home-telegram-link:hover{background:#1a1b1e;border-color:#ffffff40}.home-telegram-link:focus-visible{outline:2px solid #d8d8dc;outline-offset:3px}

/* Gifts share the profile header; account actions keep their original column. */
.profile-top-layout{min-width:0}
.profile-hero>.profile-gifts{min-width:0;width:260px;max-width:100%;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;align-self:start}
.profile-hero>.profile-gifts .profile-gifts-heading{gap:8px;margin-bottom:14px;justify-content:space-between}
.profile-hero>.profile-gifts h2{font-size:18px;letter-spacing:-.5px}
.profile-hero>.profile-gifts .received-gifts-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.profile-hero>.profile-gifts .received-gift{flex-direction:column;align-items:flex-start;gap:6px;padding:10px;background:#ffffff03}
.profile-hero>.profile-gifts .point-gift-art{width:40px;height:40px}.profile-hero>.profile-gifts .point-gift-art svg{width:34px;height:34px}
.profile-hero>.profile-gifts>p{font-size:12px;margin-bottom:0}
@media(min-width:1100px){.profile-top-layout>.profile-hero:has(>.profile-gifts){display:grid;grid-template-columns:90px minmax(180px,340px) minmax(180px,260px) minmax(max-content,1fr);align-items:center;gap:24px}.profile-top-layout>.public-profile-hero:has(>.profile-gifts){grid-template-columns:90px minmax(180px,420px) minmax(180px,280px) minmax(0,1fr)}.profile-top-layout .profile-account-actions{justify-self:end}.profile-hero>.profile-gifts{width:100%;padding-top:4px}}
@media(max-width:1099px){.profile-top-layout>.profile-hero{flex-wrap:wrap}.profile-hero>.profile-gifts{margin-left:20px}}
@media(max-width:760px){.profile-hero>.profile-gifts{flex-basis:100%;width:100%;margin:8px 0}.profile-hero>.profile-gifts .received-gifts-grid{max-width:400px}}

/* Public-profile controls use their own row, independent of the gifts column. */
.public-profile-hero>.public-profile-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:10px 12px;min-width:0;width:100%;margin:0;flex:0 0 100%}
.public-profile-hero>.public-profile-actions .btn{margin:0;max-width:100%;white-space:normal;text-align:center}
.public-profile-hero>.public-profile-actions .textbtn{margin:0}
.public-profile-hero>.public-profile-actions .profile-friend-controls{flex-basis:100%;min-width:0}
@media(min-width:1100px){.public-profile-hero>.public-profile-actions{grid-column:2/-1;grid-row:2;justify-self:start}}
@media(min-width:761px) and (max-width:1099px){.public-profile-hero>.public-profile-actions{padding-left:114px}}
@media(max-width:760px){.public-profile-hero>.public-profile-actions{padding-left:0;gap:10px}.public-profile-hero>.public-profile-actions .btn{font-size:12px;padding:10px 12px}}

/* Friend actions lead the profile row; blocking stays at its right edge. */
.public-profile-hero>.public-profile-actions .profile-friend-controls{order:-1;flex:0 1 auto}
.public-profile-hero>.public-profile-actions [data-user-block]{order:10;margin-left:auto;color:#ef8580;border:1px solid #ef858066;border-radius:10px;background:#ef858008;padding:10px 14px;min-height:44px;justify-content:center;transition:background .18s,border-color .18s,color .18s}
.public-profile-hero>.public-profile-actions [data-user-block]:hover{color:#ffaaa5;border-color:#ef8580aa;background:#ef858015}
.public-profile-hero>.public-profile-actions [data-user-block]:focus-visible{outline-color:#ef8580}

.admin-user-actions-dialog{min-width:0}.admin-user-actions-dialog h2{font-size:24px;padding-right:24px}.admin-user-actions-dialog>p{font-size:13px;overflow-wrap:anywhere}.admin-user-action-options{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.admin-user-actions-dialog form[hidden]{display:none}.admin-user-actions-dialog form{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.admin-user-actions-dialog .form-status,.admin-user-actions-dialog .dm-muted{font-size:12px;margin:0}.admin-user-actions-dialog textarea{resize:vertical}

/* Documents are fetched only when opened from About. */
.legal-menu{display:grid;gap:12px;margin-top:24px}.legal-menu .btn{display:flex;justify-content:space-between;gap:16px;text-align:left;white-space:normal}.legal-menu .btn span{color:#aaa;flex:none}
dialog:has(.legal-modal){width:min(880px,calc(100% - 28px));max-height:85dvh;overflow-y:auto;overscroll-behavior:contain}.legal-back{margin:0 0 20px}.legal-document{min-width:0;overflow-wrap:anywhere;color:#ccc;line-height:1.8;font-size:14px}.legal-document h2{color:#f1f1f1;font-size:26px;padding-right:22px}.legal-document h3{color:#eee;font-size:17px;margin:26px 0 10px;line-height:1.5}.legal-document p{color:inherit}.legal-document ul{padding-left:22px}.legal-document li{margin:0 0 10px}.legal-links{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:28px;padding-top:18px;border-top:1px solid #ffffff1c}.legal-links a{font-size:13px;color:#ddd;text-decoration:underline;text-underline-offset:4px;padding:4px 0}.legal-page{padding:32px 5%}.legal-page main{max-width:880px;margin:0 auto 28px}.legal-page>.btn{display:table;margin:0 auto}
@media(max-width:600px){dialog:has(.legal-modal){padding:24px 18px;max-height:86dvh}.legal-document h2{font-size:21px}.legal-document h3{font-size:16px}.legal-document{font-size:13px}.legal-menu .btn{font-size:13px;min-height:48px}.legal-links{display:grid}.legal-page{padding:24px 5%}}

.registration-legal{display:grid;gap:10px;margin:4px 0}.registration-legal-row{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid #ffffff18;border-radius:10px;color:#bdbdc2;line-height:1.6;font-size:12px;cursor:pointer;transition:border-color .2s,background-color .2s,color .2s}.registration-legal-row input[type="checkbox"]{appearance:auto;-webkit-appearance:checkbox;flex:0 0 17px;width:17px;height:17px;min-width:17px;min-height:17px;padding:0;margin:2px 0 0;accent-color:#ddd;cursor:pointer}.registration-legal-row span{min-width:0}.registration-legal-row a{color:#eee;text-decoration:underline;text-underline-offset:3px}.registration-legal-row a:hover{color:#fff}.registration-legal-row:focus-within{border-color:#ffffff55}.registration-legal-row.legal-invalid{border-color:#d8786a;background:#d8786a0e;color:#e5a298;animation:registration-legal-warm .45s ease-out}.registration-legal-row.legal-invalid input{outline:2px solid #d8786a;outline-offset:2px;border-radius:2px}.registration-legal-row input:focus-visible{outline:2px solid #ddd;outline-offset:3px}@keyframes registration-legal-warm{0%,100%{transform:translateX(0)}25%{transform:translateX(-3px);background:#d8786a22}65%{transform:translateX(3px)}}

.media-resume:not([hidden]){display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;margin:12px 0 18px;padding:12px 14px;border:1px solid #ffffff20;border-radius:10px;background:#ffffff04;font-size:13px;color:#ccc}.media-resume>div{display:flex;gap:16px}.media-resume .textbtn{color:#eee;padding:6px 0}.media-resume>small{flex-basis:100%;font-size:11px;color:#999}@media(max-width:600px){.media-resume:not([hidden]){align-items:flex-start;font-size:12px}.media-resume>div{flex-basis:100%}}

/* Keep the lifted poster and its outline inside the horizontal rail clip. */
.home-compact-section .movie-grid.home-grid{padding-top:10px;margin-top:-10px}

/* Main navigation: warm hover highlight, scoped to header links. */
#header nav>a{transition:color .18s ease}
#header nav>a:hover,#header nav>a:focus-visible{color:#edc79c}
@media(prefers-reduced-motion:reduce){#header nav>a{transition:none}}

/* Larger desktop navigation; mobile navigation keeps its own layout. */
@media(min-width:761px){#header>nav{gap:30px}#header>nav>a{font-size:18px;font-weight:500;line-height:1.4;padding:14px 0;white-space:nowrap}#header>nav>a.active:after{bottom:4px}}
@media(min-width:761px) and (max-width:1100px){#header>nav{gap:18px}#header>nav>a{font-size:16px}}

@font-face{font-family:MyKiraOnest;src:url(onest-nav-400.ttf) format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:MyKiraOnest;src:url(onest-nav-600.ttf) format("truetype");font-style:normal;font-weight:600;font-display:swap}
#header>nav>a:is([href="#/"],[href="#/catalog"],[href="#/anime"]){font-family:MyKiraOnest,Manrope,Arial,sans-serif;font-weight:400;letter-spacing:normal}
#header>nav>a:is([href="#/"],[href="#/catalog"],[href="#/anime"]).active{font-weight:600}

/* Shift only Help; keep its original layout slot and all sibling coordinates. */
@media(min-width:761px){#header .right>[data-help-chat]{position:relative;left:calc(max(5vw, (100vw - 1600px)/2) - 18px)}}

/* Warm Help button; visual enlargement preserves the navigation layout slot. */
#header [data-help-chat]{background:#c897551f;border-color:#c99b5c80;color:#edc99a}
#header [data-help-chat]:hover,#header [data-help-chat]:focus-visible{background:#c8975533;border-color:#dfb477;color:#ffdfb1}
@media(min-width:761px){#header [data-help-chat]{transform:scale(1.18);transform-origin:right center}}

/* Enlarge only the top-bar avatar, keeping its existing layout slot. */
@media(min-width:761px){#header>.right>a.avatar{transform:scale(1.222222);transform-origin:center}}

/* Larger cards only in the expanded popular-films collection. */
.popular-section>.catalog-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:32px 24px}
@media(max-width:1100px){.popular-section>.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 18px}}
@media(max-width:760px){.popular-section>.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 15px}}

/* Match the six-column home popular card width, with five cards in the full collection. */
@media(min-width:1101px){.page>.popular-section:has(>.catalog-grid){padding-left:0;padding-right:0}.popular-section>.catalog-grid{width:calc((100% - 110px)/6*5 + 96px);max-width:100%;margin-left:auto;margin-right:auto}}

/* Reference menu sizing: 18px desktop, 16px at 1075px and below. */
#header>nav>a:is([href="#/"],[href="#/catalog"],[href="#/anime"]){font-size:18px;line-height:28px;padding:10px 8px}
@media(min-width:761px){#header>nav{gap:16px}#header>nav>a.active:after{bottom:2px}}
@media(min-width:761px) and (max-width:1280px){#header>nav{gap:8px}}
@media(max-width:1075px){#header>nav>a:is([href="#/"],[href="#/catalog"],[href="#/anime"]){font-size:16px}}
@media(min-width:761px) and (max-width:1075px){#header>nav{gap:7px}}
