
    :root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#171f2d;background:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--ink:#171f2d;--muted:#8490a4;--line:#e9edf3;--soft:#f5f7fa;--card:#f6f8fb;--brand:#1c2634;--accent:#f6b834;--max:1320px}
    *{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px}body.modal-open{overflow:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a8b7d2;outline-offset:3px}img{display:block;max-width:100%}.container{max-width:calc(var(--max) + 48px);padding:0 24px;margin:0 auto}.muted{color:var(--muted)}.small{font-size:12px}.text-link{background:none;border:0;font-size:13px;color:#364356;padding:8px 0;font-weight:500}.text-link:hover{color:#0061b8}.btn{min-height:38px;padding:0 18px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);font-size:13px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;transition:background .18s,opacity .18s}.btn:hover{background:#f1f4f8}.btn-dark{background:var(--ink);color:#fff;border-color:var(--ink)}.btn-dark:hover{background:#364357}.btn-soft{background:var(--soft);border-color:var(--soft)}.btn-icon{width:38px;min-width:38px;padding:0;font-size:18px}.eyebrow{color:#b8c2cd;font-size:10px;font-weight:750;letter-spacing:.25em;text-transform:uppercase}.site-header{background:#fff;position:sticky;z-index:30;top:0;border-bottom:1px solid #f3f5f8}.header-inner{display:flex;align-items:center;gap:34px;min-height:65px}.logo{font-weight:850;letter-spacing:-1.45px;font-size:27px;line-height:1;white-space:nowrap}.header-nav,.auth-actions{display:flex;align-items:center;gap:27px}.header-nav a{font-size:13px;font-weight:540;color:#334054;white-space:nowrap}.header-nav a:hover,.header-nav a.active{color:#111826}.header-search{flex:1;min-width:130px;position:relative;margin-left:auto}.search-field{height:37px;display:flex;align-items:center;gap:11px;background:#f5f7fa;border:1px solid #f0f2f7;padding:0 14px;border-radius:7px;transition:box-shadow .2s}.search-field:focus-within{background:#fff;box-shadow:0 0 0 3px #edf3fb}.search-field svg{flex:none;color:#62738a}.search-field input{width:100%;border:0;outline:0;background:transparent;color:var(--ink);font-size:12px}.search-field input::placeholder{color:#8491a4}.auth-actions{gap:20px;margin-left:8px}.auth-actions .btn{min-width:135px}.mobile-menu{display:none}.suggestions{position:absolute;z-index:40;top:calc(100% + 8px);left:0;right:0;min-width:280px;background:#fff;border:1px solid var(--line);box-shadow:0 17px 50px #19273b1b;border-radius:11px;padding:8px}.suggestion{width:100%;display:flex;align-items:center;gap:12px;padding:7px;border:0;border-radius:7px;background:white;text-align:left}.suggestion:hover{background:var(--soft)}.suggestion img{width:39px;height:53px;object-fit:cover;border-radius:4px}.suggestion strong{display:block;font-size:13px}.suggestion small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.suggestion-footer{display:block;font-size:12px;padding:10px;color:#526077;text-align:center;border-top:1px solid var(--line)}.mobile-drawer{display:none}.main{min-height:calc(100vh - 170px)}.page{padding-top:24px}.section{margin-top:26px}.section-title{font-size:25px;letter-spacing:-.85px;font-weight:790;line-height:1.2;margin:0}.section-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px}.section-subtitle{font-size:12px;color:#8290a5;margin:4px 0 0}.crumbs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:#738098;font-size:11px;margin:2px 0 22px}.crumbs a:hover{color:#111826}.crumbs .sep{color:#aeb7c6}.hero{height:196px;border-radius:11px;overflow:hidden;position:relative;background:#14202d url('assets/hero.webp') center/cover;color:white;display:flex;align-items:center;justify-content:center;text-align:center}.hero::before{content:"";inset:0;position:absolute;background:linear-gradient(90deg,transparent 5%,#10192333 32%,#15202b50 47%,transparent 80%);pointer-events:none}.hero-content{position:relative;z-index:1;display:grid;justify-items:center;gap:9px}.hero h1{margin:0;font-size:clamp(30px,4vw,56px);letter-spacing:.045em;font-weight:600;line-height:1.03}.hero .hero-caption{font-size:11px;font-weight:700;color:#d7dde4;letter-spacing:.3em;text-transform:uppercase}.hero .btn{margin-top:1px}.hero-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);border:0;background:white;border-radius:50%;width:33px;height:33px;font-size:24px;line-height:1;color:#243246;display:grid;place-items:center;box-shadow:0 3px 15px #0002}.hero-arrow.prev{left:10px}.hero-arrow.next{right:10px}.hero-dots{position:absolute;z-index:2;bottom:9px;left:50%;transform:translateX(-50%);display:flex;gap:6px}.hero-dots button{border:0;width:5px;height:5px;padding:0;background:#ffffff80;border-radius:6px}.hero-dots button.active{width:15px;background:white}.movie-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:19px 17px}.movie-grid.grid-6{grid-template-columns:repeat(6,minmax(0,1fr));gap:24px 20px}.film-card{display:block;min-width:0;position:relative;cursor:pointer}.poster-box{aspect-ratio:2/3;overflow:hidden;background:#e5eaf1;border-radius:6px;position:relative}.poster-box img{width:100%;height:100%;object-fit:fill;transition:transform .2s}.film-card:hover .poster-box img{transform:scale(1.035)}.film-card:hover .card-title{color:#1764a7}.card-title{font-size:12px;font-weight:700;line-height:1.35;margin:7px 0 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-meta{font-size:11px;color:#8490a5;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.quality-float{position:absolute;top:7px;left:7px;background:#17212ddc;color:#fff;font-size:10px;padding:4px 6px;border-radius:4px}.rating-float{position:absolute;bottom:6px;right:6px;background:#171d26e6;color:#fff;font-size:11px;font-weight:700;padding:4px 7px;border-radius:4px}.rating-float b{color:#ffbf43}.card-heart{position:absolute;z-index:2;right:7px;top:7px;width:29px;height:29px;border:0;border-radius:50%;background:#101b2de0;color:#fff;font-size:18px;line-height:1;opacity:0;transition:opacity .16s}.film-card:hover .card-heart,.card-heart:focus-visible,.card-heart.is-saved{opacity:1}.card-heart.is-saved{color:#ffc75d}.section-head.controls-head{align-items:end}.inline-controls{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px}.select{height:37px;min-width:124px;border:1px solid #e3e8f0;background:#fff;border-radius:6px;color:#273447;padding:0 32px 0 12px;font-size:12px;outline:none;appearance:none;background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%234a5870" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="m6 9 6 6 6-6"/%3E%3C/svg%3E');background-repeat:no-repeat;background-position:right 10px center}.select:focus{border-color:#9cb0ca}.intro{background:#f6f8fb;border-radius:9px;padding:16px 23px;margin:32px 0 0}.intro h2{font-size:18px;letter-spacing:-.4px;margin:0 0 7px}.intro p{margin:0;color:#708099;font-size:12px;line-height:1.7}.site-footer{margin:36px auto 0;padding:15px 0 21px;border-top:1px solid #f1f3f7}.footer-inner{display:flex;align-items:center;gap:32px}.footer-inner .logo{font-size:23px}.footer-nav{display:flex;flex-wrap:wrap;gap:25px;font-size:11px;color:#5c6980}.footer-nav a:hover{color:var(--ink)}.footer-copy{font-size:10px;color:#8a96a8;line-height:1.4;margin-left:auto;text-align:right}.footer-icon{margin-left:auto;display:flex;gap:14px}.footer-icon a{font-weight:800}.footer-icon+.footer-copy{margin-left:0}.genre-hero{display:flex;gap:24px;align-items:start;justify-content:space-between;margin-bottom:25px}.genre-hero h1,.page-title{font-size:32px;line-height:1.15;letter-spacing:-1.1px;font-weight:800;margin:0 0 9px}.genre-hero p{font-size:13px;color:#8490a5;line-height:1.6;max-width:850px;margin:0}.result-count{font-size:12px;color:#8b96a7;white-space:nowrap;margin-top:10px}.catalog-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:25px;align-items:start}.filter-panel{background:#f7f9fc;padding:17px;border-radius:9px}.filter-header{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:750;margin-bottom:11px}.filter-group{padding:16px 0;border-bottom:1px solid #e4e9f1}.filter-group:last-child{border-bottom:0;padding-bottom:0}.filter-group:first-of-type{padding-top:0}.filter-label{font-size:12px;font-weight:800;margin-bottom:10px}.segmented{display:flex;flex-wrap:wrap;gap:5px}.segmented button{padding:8px 12px;border-radius:7px;background:#fff;color:#67748a;border:1px solid #e4e9f1;font-size:11px}.segmented button.active{background:#1c2634;color:white;border-color:#1c2634}.year-range{display:grid;grid-template-columns:1fr 1fr;gap:8px}.year-range .select,.filter-panel .select{width:100%;min-width:0}.check-row{display:flex;align-items:center;gap:9px;font-size:12px;margin:9px 0;color:#526178;cursor:pointer}.check-row input{accent-color:#1c2634;width:16px;height:16px;margin:0}.filter-panel .text-link{color:#4773a3;font-size:12px}.catalog-tools{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 18px;min-height:38px}.filter-chips{display:flex;flex-wrap:wrap;gap:8px}.chip{background:#f5f7fa;border:0;border-radius:8px;color:#4a5668;padding:10px 13px;font-size:12px;display:inline-flex;gap:12px;align-items:center}.chip:hover{background:#e9eef6}.catalog-tools .select{min-width:200px}.mobile-filter-toggle{display:none}.pagination{display:flex;justify-content:center;gap:8px;margin:30px 0}.page-num{min-width:34px;height:36px;background:#f5f7fa;border:1px solid transparent;border-radius:7px;color:#435066;font-size:12px}.page-num.active{background:#1c2634;color:#fff}.page-num:hover:not(.active){background:#e9edf3}.empty{padding:48px 20px;background:var(--soft);border-radius:10px;text-align:center}.empty strong{font-size:16px}.empty p{font-size:12px;color:var(--muted)}.film-layout{display:grid;grid-template-columns:242px minmax(0,1fr);gap:17px 24px;align-items:start}.detail-poster{grid-row:1/span 3;min-width:0;overflow:hidden;border-radius:7px;background:#122233}.detail-poster img{width:100%;height:100%;aspect-ratio:1/2;object-fit:cover}.film-top{display:grid;grid-template-columns:minmax(280px,1.12fr) minmax(270px,1fr);gap:24px}.film-top h1{margin:0;font-size:29px;letter-spacing:-1px;line-height:1.15}.original-title{color:#9ca7b7;font-size:14px;margin:3px 0 12px}.meta-list{display:grid;grid-template-columns:80px 1fr;gap:6px 0;margin:0;font-size:12px;line-height:1.35}.meta-list dt{color:#9ba7b9}.meta-list dd{margin:0;color:#445268}.meta-list dd a:hover{text-decoration:underline}.film-description{font-size:12px;line-height:1.65;color:#4b596d}.film-description p{margin:10px 0}.film-description .quote{margin-top:12px;color:#9aa8ba;border-left:3px solid #e3e9f1;padding-left:15px;font-style:italic}.film-top-right{display:flex;flex-direction:column;align-items:stretch}.detail-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.big-rating{font-size:22px;font-weight:800;white-space:nowrap}.big-rating span{color:var(--accent);margin-right:6px}.big-rating small{color:#9ba7b8;font-size:10px;font-weight:400;margin-left:7px}.player-wrap{min-width:0}.tabs{display:flex;align-items:center;gap:5px}.tab{border:0;background:transparent;color:#5d6980;padding:10px 16px;font-size:12px;border-radius:7px;font-weight:600}.tab.active{background:#f3f5f9;color:#1c2634}.video-frame{position:relative;border-radius:7px;overflow:hidden;background:#101923;aspect-ratio:4.1/1;margin-top:8px}.video-frame video{display:none;position:absolute;inset:0;width:100%;height:100%;background:#0a0f16;object-fit:contain}.video-cover{position:absolute;inset:0;width:100%;height:100%;border:0;background:#07132118 url('assets/player-background.webp') center/cover;display:grid;place-items:center;color:white}.video-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 65%,#050d16b4)}.video-cover span{width:58px;height:58px;display:grid;place-items:center;background:#ffffffed;border-radius:50%;color:#202936;font-size:25px;position:relative;z-index:2;padding-left:4px}.player-note{color:#8490a5;font-size:11px;padding:7px 2px 0;line-height:1.5}.rate-panel{display:flex;align-items:center;gap:22px;padding:12px 17px;background:#f6f8fb;border-radius:7px;min-height:43px}.rate-panel strong{font-size:12px}.stars{display:flex;gap:2px}.stars button{border:0;background:none;color:#bdc5d1;font-size:24px;padding:0 1px;line-height:1}.stars button.selected,.stars button:hover{color:#ffb62f}.rate-panel .small{margin-left:auto}.below-film{margin-top:24px}.comments-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}.comment{padding:6px 10px 9px 0;min-width:0}.comment+.comment{border-left:1px solid var(--line);padding-left:20px}.comment-head{display:flex;align-items:center;gap:8px;margin-bottom:9px}.mini-avatar{height:30px;width:30px;min-width:30px;display:grid;place-items:center;border-radius:50%;background:#233246;color:white;font-weight:750;font-size:12px}.comment-name{font-size:11px;font-weight:750}.comment-time{font-size:10px;color:#9aa7b6}.comment-text{font-size:11px;line-height:1.5;color:#586679;margin:0 0 9px}.comment-foot{display:flex;gap:13px;font-size:11px;color:#71809a}.comment-foot button{border:0;background:none;color:inherit;padding:0}.comment-form{display:flex;gap:10px;align-items:center;margin-top:12px}.comment-form input{flex:1;min-width:0;height:38px;border:1px solid #e1e7f0;background:#f7f9fc;border-radius:7px;padding:0 13px;font-size:12px}.comment-form .btn{min-width:120px}.profile-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:30px;align-items:stretch}.profile-main-info{display:flex;gap:25px;align-items:center;min-width:0}.profile-main-info>div{min-width:0}.avatar-lg{width:150px;height:150px;border-radius:13px;object-fit:cover;background:#1d2b38;flex:none}.profile-main-info h1{font-size:30px;font-weight:820;letter-spacing:-1.1px;margin:0 0 5px}.online{font-size:12px;color:#8490a5}.online::before{content:"";display:inline-block;width:7px;height:7px;background:#1abc80;border-radius:50%;margin-right:6px}.bio{font-size:13px;color:#75839a;line-height:1.45;margin:13px 0}.profile-stats{display:flex;align-items:center;flex-wrap:wrap;gap:13px;font-size:11px;color:#697991}.profile-stats span{display:inline-flex;align-items:center;gap:6px}.summary-card{min-width:0;background:#f7f9fc;border-radius:11px;padding:20px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:22px}.stats-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.stat{min-width:0;padding:1px 12px;border-right:1px solid #dde4ee}.stat:first-child{padding-left:0}.stat:last-child{border-right:0}.stat strong{display:block;font-size:21px;letter-spacing:-.6px}.stat span{display:block;font-size:11px;color:#8895a8;margin-top:4px;white-space:nowrap}.summary-quote{margin-top:21px;color:#98a4b5;font-style:italic;font-size:12px;line-height:1.5}.profile-summary .btn{width:100%;margin:0 0 10px}.profile-body{display:grid;grid-template-columns:minmax(0,1fr) 355px;gap:24px;margin-top:27px}.profile-body>div:first-child{min-width:0}.profile-tabs{max-width:100%;min-width:0;background:#f6f8fb;display:flex;gap:6px;padding:5px 10px;border-radius:8px;overflow:auto}.profile-tabs button{font-size:12px;color:#708099;background:none;border:0;padding:10px 14px;white-space:nowrap;border-bottom:2px solid transparent}.profile-tabs button.active{color:#182333;border-bottom-color:#182333;font-weight:750}.profile-section{margin-top:19px}.profile-section .movie-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.profile-side{display:grid;gap:15px;align-content:start}.side-box{border:1px solid #e4eaf3;border-radius:9px;padding:15px}.side-box h3{margin:0 0 10px;font-size:17px;letter-spacing:-.4px}.side-row{display:flex;align-items:center;min-height:42px;border-bottom:1px solid #ebeff5;gap:10px;font-size:12px}.side-row:last-child{border-bottom:0}.side-row .side-symbol{font-size:17px;width:21px;color:#31445f}.side-row button{width:100%;display:flex;justify-content:space-between;align-items:center;background:none;border:0;padding:0;color:#4b5970;font-size:11px;text-align:left}.side-row button:hover{color:#111}.toggle{width:33px;height:19px;min-width:33px;border:0;border-radius:19px;background:#cbd4e1;position:relative;transition:background .2s}.toggle::before{content:"";width:13px;height:13px;position:absolute;top:3px;left:3px;border-radius:50%;background:white;transition:transform .2s}.toggle.on{background:#1b2634}.toggle.on::before{transform:translateX(14px)}.plus-box{background:#f7f9fc;border:0}.plus-box p{font-size:12px;color:#8490a5;line-height:1.5;margin:7px 0 14px}.progress{height:3px;background:#e5eaf3;border-radius:4px;margin:7px 0 8px;overflow:hidden}.progress span{height:100%;display:block;background:#1b2634}.watch-time{font-size:11px;color:#8290a6}.profile-section .section-title{font-size:24px}.toast{position:fixed;z-index:80;bottom:25px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#1c2634;color:white;padding:12px 20px;max-width:calc(100vw - 32px);text-align:center;border-radius:9px;box-shadow:0 15px 35px #1b2c3f35;font-size:13px;transition:transform .25s,opacity .25s}.toast.show{opacity:1;transform:translate(-50%,0)}.modal-backdrop{position:fixed;inset:0;z-index:60;background:#0d1726a1;display:grid;place-items:center;padding:18px}.modal{background:#fff;width:min(100%,440px);max-height:calc(100dvh - 36px);overflow:auto;border-radius:14px;padding:24px;box-shadow:0 20px 65px #0002}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:15px}.modal h2{font-size:23px;letter-spacing:-.6px;margin:0}.modal p{font-size:12px;color:#8190a3;line-height:1.6}.modal .close{border:0;background:#f4f6f9;width:30px;height:30px;border-radius:50%;font-size:20px;display:grid;place-items:center}.form-label{display:block;font-size:12px;font-weight:680;margin:15px 0 6px}.form-input{width:100%;height:42px;border:1px solid #e1e7f0;border-radius:7px;padding:0 12px;color:#1c2634;background:#fafbfc;font-size:13px}.form-input:focus{background:#fff;border-color:#8fa6bf;outline:0}.modal textarea.form-input{height:95px;padding:11px;resize:vertical}.modal .btn{width:100%;margin-top:18px}.modal .modal-switch{display:block;border:0;background:none;width:100%;margin-top:13px;font-size:12px;color:#607b9a}.modal-note{background:#f5f7fa;border-radius:8px;padding:10px 12px;color:#718098;font-size:11px;line-height:1.5;margin-top:14px}.skip-link{position:absolute;top:-50px;left:20px;background:#fff;color:#111;padding:10px;z-index:99}.skip-link:focus{top:10px}.hidden{display:none!important}
    @media(max-width:1180px){.header-inner{gap:21px}.header-nav{gap:16px}.auth-actions{gap:10px}.header-search{min-width:120px}.movie-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.movie-grid.grid-6{grid-template-columns:repeat(5,minmax(0,1fr))}.profile-section .movie-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.profile-body{grid-template-columns:minmax(0,1fr) 300px}.summary-card{grid-template-columns:1fr}.summary-card>div:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.summary-card>div:first-child{min-width:0}.summary-card .btn{min-width:0;padding:0 6px;white-space:normal;text-align:center}.profile-summary .btn{margin:0}.footer-inner{gap:19px}.footer-nav{gap:15px}}
    @media(max-width:900px){.container{padding:0 20px}.header-inner{gap:15px;min-height:62px}.header-nav,.auth-actions{display:none}.mobile-menu{display:inline-flex}.header-search{margin-left:auto;max-width:420px}.mobile-drawer{display:flex;flex-wrap:wrap;gap:6px;padding-bottom:12px}.mobile-drawer a{font-size:12px;background:#f6f8fb;padding:10px 12px;border-radius:7px}.movie-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.movie-grid.grid-6{grid-template-columns:repeat(4,minmax(0,1fr))}.catalog-layout{grid-template-columns:210px minmax(0,1fr);gap:18px}.film-layout{grid-template-columns:180px minmax(0,1fr);gap:15px}.film-top{grid-template-columns:1fr;gap:8px}.film-description{line-height:1.48}.film-top-right{display:grid;grid-template-columns:1fr auto;gap:12px}.film-description{grid-column:1/-1}.profile-summary{grid-template-columns:1fr}.profile-body{grid-template-columns:minmax(0,1fr) 260px}.profile-section .movie-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stats-list{max-width:550px}.site-footer{margin-top:28px}.footer-nav{display:none}}
    @media(max-width:650px){.container{padding:0 15px}.logo{font-size:23px}.header-inner{gap:10px}.header-search{max-width:none}.search-field{padding:0 10px}.search-field input{font-size:11px}.hero{height:170px}.hero h1{font-size:32px}.hero .hero-caption{font-size:8px}.hero .btn{min-height:34px}.section-title{font-size:23px}.section-head.controls-head{display:block}.inline-controls{justify-content:flex-start;margin-top:13px}.inline-controls .select{flex:1;min-width:calc(50% - 5px)}.movie-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 10px}.movie-grid.grid-6{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 10px}.poster-box{aspect-ratio:2/3}.card-title{font-size:12px}.intro{padding:16px}.genre-hero{display:block;margin-bottom:17px}.genre-hero h1,.page-title{font-size:28px}.result-count{margin-top:9px}.catalog-layout{display:block}.filter-panel{display:none;margin-bottom:17px}.filter-panel.open{display:block}.mobile-filter-toggle{display:inline-flex}.catalog-tools{flex-wrap:wrap;gap:10px}.catalog-tools .select{min-width:0;flex:1}.film-layout{grid-template-columns:125px minmax(0,1fr);gap:15px}.detail-poster{grid-row:auto}.detail-poster img{aspect-ratio:1/1.55;object-fit:cover}.film-top{display:contents}.film-top-left{min-width:0}.film-top h1{font-size:22px}.meta-list{grid-template-columns:57px 1fr;gap:5px;font-size:11px}.meta-list dd{overflow-wrap:anywhere}.film-top-right{display:contents}.detail-actions{grid-column:1/-1}.film-description{grid-column:1/-1;font-size:12px}.player-wrap,.rate-panel{grid-column:1/-1}.video-frame{aspect-ratio:16/9}.below-film{margin-top:20px}.comments-grid{grid-template-columns:1fr;gap:7px}.comment+.comment{border-left:0;border-top:1px solid var(--line);padding:12px 0 5px}.comment-form .mini-avatar{display:none}.comment-form .btn{min-width:0}.rate-panel{gap:10px;flex-wrap:wrap}.rate-panel .small{flex:1 0 100%;margin-left:0}.profile-summary{gap:17px}.profile-main-info{gap:16px;align-items:start}.avatar-lg{width:95px;height:106px}.profile-main-info h1{font-size:25px}.profile-stats{font-size:10px}.bio{font-size:12px}.summary-card{padding:14px;gap:13px}.stats-list{gap:0}.stat{padding:0 7px}.stat strong{font-size:19px}.stat span{font-size:10px}.summary-quote{margin-top:15px}.profile-body{display:flex;flex-direction:column}.profile-side{grid-template-columns:1fr}.profile-section .movie-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.footer-inner{gap:15px}.footer-copy{font-size:9px}.footer-icon{gap:9px}}
    @media(max-width:390px){.movie-grid,.movie-grid.grid-6,.profile-section .movie-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero h1{font-size:28px}.header-search input::placeholder{color:transparent}.hero{height:155px}.film-layout{grid-template-columns:105px minmax(0,1fr)}.film-top h1{font-size:20px}.meta-list{grid-template-columns:53px 1fr;font-size:10px}.detail-poster img{aspect-ratio:1/1.5}.profile-stats{gap:5px}.stat strong{font-size:17px}.stat span{font-size:9px;white-space:normal}.footer-inner .logo{font-size:19px}}
    @media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
  
/* Production extensions */
.catalog-shell{display:grid;grid-template-columns:245px minmax(0,1fr);gap:24px}.filter-panel,.admin-card{background:#f5f6f8;padding:20px;border-radius:12px}.filters label{font-size:13px;font-weight:600;display:block;margin:12px 0 6px}.filters select,.filters input,.form-input,.form-control{display:block;width:100%;padding:11px 13px;background:#fff;border:1px solid #e4e8ee;border-radius:8px;color:#182131}.filters .btn{margin-top:16px}.site-actions{display:flex;align-items:center;gap:15px}.detail-flex{display:grid;grid-template-columns:270px 1fr;gap:26px}.detail-poster{width:100%;border-radius:8px}.detail-player{width:100%;aspect-ratio:16/9;border:0;border-radius:9px;background:#151c29}.detail-description{line-height:1.75;color:#56637d}.comment{padding:15px 0;border-bottom:1px solid #eef0f4}.comment textarea{width:100%;min-height:85px;border:1px solid #e2e6ed;padding:12px;border-radius:8px}.form-layout{max-width:540px;margin:auto}.notice{padding:14px 18px;border-radius:8px;background:#f3f5f8;margin:16px 0}.page-top{margin:26px 0 20px}.page-top h1{font-size:32px;margin-bottom:8px}.link-button{border:0;background:none;color:#526583;cursor:pointer}.pagination{display:flex;gap:7px;margin:30px 0;justify-content:center;flex-wrap:wrap}.pagination a,.pagination span{padding:9px 13px;background:#f1f2f5;border-radius:6px}.pagination .current{background:#171f2d;color:white}.rank-row{display:flex;align-items:center;gap:18px;background:#f6f7f9;padding:12px;border-radius:9px;margin:9px 0}.rank-row img{height:90px;width:60px;object-fit:cover;border-radius:5px}.rank-num{font-size:24px;min-width:35px;font-weight:700}.chip{display:inline-block;padding:6px 9px;background:#f0f2f5;border-radius:7px;font-size:12px}.editor-table{width:100%;border-collapse:collapse}.editor-table td,.editor-table th{text-align:left;border-bottom:1px solid #e7e9ee;padding:10px}.editor-table a{color:#45618a}.admin-layout{display:grid;grid-template-columns:200px 1fr;gap:24px}.admin-nav a{display:block;padding:12px;margin-bottom:4px;background:#f3f5f8;border-radius:8px}.admin-nav a:hover{background:#e9edf3}.admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.admin-grid strong{font-size:30px}.flash{padding:14px;background:#e8f4ee;color:#145d38;border-radius:8px;margin:14px 0}.search-field input{width:100%}.hero{background-image:url('/assets/hero.webp')}.section{margin-bottom:32px}.movie-grid{gap:19px}.poster-box img{object-fit:cover}.text-area{min-height:140px}.footer-copy{font-size:11px}.tag-row{display:flex;gap:8px;flex-wrap:wrap}.tag-row a{background:#eff1f5;padding:7px 11px;border-radius:6px}.site-header{background:white}.intro{margin-top:36px}.admin-card p{line-height:1.5}.muted{color:#7887a1}.quality-mark{position:absolute;top:7px;left:7px;padding:5px 7px;background:#141c26c9;color:#fff;border-radius:5px;font-size:11px}.poster-box{position:relative}.rate-mark{position:absolute;right:6px;bottom:7px;background:#111a23e0;border-radius:6px;color:white;padding:4px 7px;font-size:12px}.site-error{max-width:650px;margin:80px auto;text-align:center}.profile-links{display:flex;gap:15px;margin:20px 0}.profile-links a{padding:11px 15px;background:#f1f3f5;border-radius:8px}.checkrow{display:flex;align-items:center;gap:9px}.checkrow input{width:auto}.hidden{display:none!important}@media(max-width:800px){.catalog-shell,.detail-flex,.admin-layout{grid-template-columns:1fr}.filter-panel{padding:14px}.admin-grid{grid-template-columns:1fr 1fr}.header-search{max-width:100%}.detail-poster{max-width:260px}.page-top h1{font-size:27px}}

/* Baskino: readable homepage description, consistent footer and admin editor */
.home-seo{padding:25px 28px;margin:38px 0 14px;background:#f6f8fb;border-radius:10px}
.home-seo h2{font-size:20px;line-height:1.35;margin:0 0 14px;color:#131b29}
.home-seo p{font-size:13px;line-height:1.85;color:#66758c;margin:0 0 14px}
.home-seo p:last-child{margin-bottom:0}
.site-footer{display:block;clear:both;width:100%;visibility:visible;margin-top:35px}
.footer-inner{min-height:60px}
.admin-seo-editor{display:block!important;width:100%;height:auto!important;min-height:440px;padding:14px;line-height:1.65;resize:vertical}
@media(max-width:700px){.home-seo{padding:20px 17px}.home-seo h2{font-size:19px}.home-seo p{font-size:13px}.footer-inner{flex-wrap:wrap;gap:12px}.footer-copy{margin-left:0}}

/* Consistent header search icon and in-place action feedback */
.search-field .search-clear{appearance:none;border:0;background:transparent;display:grid;place-items:center;padding:5px;margin-left:auto;color:#62738a;border-radius:5px;flex-shrink:0;cursor:pointer}
.search-field .search-clear[hidden]{display:none!important}
.search-field .search-clear:hover{background:#e7ebf1;color:#172334}
.search-field .search-clear svg{display:block}
.search-field input::-webkit-search-cancel-button{display:none}
.action-status{font-size:12px;color:#426350;line-height:1.5;margin-top:9px;min-height:0}
.action-status:empty{display:none}
.action-status[data-error="1"]{color:#b23d3d}
form[data-ajax-action] button:disabled{opacity:.65;cursor:wait}


/* Baskino custom dropdowns: no browser-native dark option popup. */
.b-select{position:relative;display:inline-block;vertical-align:middle;min-width:155px;max-width:100%;font-size:13px}
.filters .b-select,.admin-card .b-select,.admin-layout .b-select{display:block;width:100%}
.b-select select{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;padding:0!important;margin:0!important;border:0!important;overflow:hidden!important}
.b-select-trigger{width:100%;min-height:40px;display:flex;align-items:center;gap:12px;justify-content:space-between;text-align:left;background:#f4f6f9;color:#192233;padding:10px 13px;border:0;border-radius:8px;font:inherit;cursor:pointer;transition:background .15s,box-shadow .15s}
.b-select-trigger:hover{background:#e9edf3}
.b-select-trigger:focus-visible{outline:2px solid #b1c3dd;outline-offset:2px}
.b-select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.b-select-chevron{color:#66778f;line-height:0;flex:none;transition:transform .15s}
.b-select.is-open .b-select-chevron{transform:rotate(180deg)}
.b-select-menu{display:none;position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:1100;max-height:270px;overflow-y:auto;overscroll-behavior:contain;background:#fff;padding:6px;border-radius:10px;box-shadow:0 12px 40px rgba(23,31,45,.16);border:1px solid #ebeff5}
.b-select.is-open .b-select-menu{display:block}
.b-select-option{display:block;width:100%;padding:10px 11px;margin:0;border:0;border-radius:6px;text-align:left;background:transparent;color:#28354a;font:inherit;line-height:1.3;cursor:pointer}
.b-select-option:hover,.b-select-option:focus-visible{background:#edf1f6;outline:none}
.b-select-option.selected{background:#f1f4f8;font-weight:650;color:#111b2b}
.b-select-option:disabled{opacity:.4;cursor:not-allowed}
.b-select-trigger:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:650px){.b-select{max-width:100%}.b-select-menu{max-height:240px}}

/* Baskino responsive redesign 2026-10 */
:root{--baskino-ink:#161f2e;--baskino-muted:#74839b}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:auto}body{min-width:320px;overflow-x:hidden}
.container{width:min(100%,1450px);margin-inline:auto}
.movie-grid,.movie-grid.grid-6,.profile-section .movie-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px 18px;min-width:0}
.film-card,.film-card a,.poster-box{min-width:0}.poster-box{overflow:hidden;border-radius:9px;aspect-ratio:2/3}.poster-box img{width:100%;height:100%;object-fit:cover;transition:filter .2s}.film-card:hover .poster-box img{filter:brightness(1.07)}
.card-title{line-height:1.35;margin-top:9px}.card-meta{line-height:1.5}
.baskino-carousel{position:relative;overflow:hidden;isolation:isolate;border-radius:13px;margin:14px 0 34px;min-height:315px;background:linear-gradient(105deg,#111b29,#344456);color:#fff}
.baskino-slides{position:relative;height:315px}.baskino-slide{position:absolute;inset:0;opacity:0;visibility:hidden;pointer-events:none;background-image:linear-gradient(90deg,rgba(8,15,25,.92) 0%,rgba(8,15,25,.68) 47%,rgba(8,15,25,.13) 100%),var(--slide-image);background-position:center,center 40%;background-size:cover;transition:opacity .45s ease,visibility .45s}.baskino-slide.is-active{opacity:1;visibility:visible;pointer-events:auto}
.baskino-slide-copy{position:absolute;inset:auto auto 48px 5%;width:min(560px,83%)}.baskino-kicker{letter-spacing:.14em;font-size:11px;color:#d4dce5}.baskino-slide h2{font-size:clamp(31px,4vw,55px);line-height:1.06;margin:13px 0}.baskino-slide p{font-size:14px;line-height:1.55;max-width:460px;color:#e6eaf1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.baskino-slide .btn{display:inline-flex;gap:12px;background:white;color:#111e2d;border:0;margin-top:8px}
.baskino-carousel-controls{position:absolute;z-index:2;right:23px;bottom:17px;display:flex;align-items:center;gap:13px}.baskino-carousel-controls>button{width:32px;height:32px;display:grid;place-items:center;border:0;background:#fffdfd;border-radius:8px;color:#17202b;cursor:pointer;font-size:25px}.baskino-carousel-dots{display:flex;gap:7px}.baskino-carousel-dots button{border:0;width:7px;height:7px;border-radius:50%;background:#ffffff66;padding:0;cursor:pointer}.baskino-carousel-dots button[aria-current=true]{background:#fff;width:20px;border-radius:5px}
.watch-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:18px 0}.watch-actions form{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}.watch-actions .action-status{flex-basis:100%;font-size:12px}.watch-actions .btn{white-space:nowrap}.comment textarea:focus,.form-input:focus{outline:2px solid #b9c7dc;outline-offset:1px}
.profile-cover{background:linear-gradient(110deg,#f0f3f7,#f8f9fb);border-radius:16px;margin:25px 0 32px;padding:30px;display:grid;grid-template-columns:110px minmax(0,1fr) auto;align-items:center;gap:25px}.profile-avatar{width:110px;aspect-ratio:1;display:grid;place-items:center;border-radius:12px;background:#1b2636;color:#fff;font-size:50px;font-weight:750}.profile-eyebrow{font-size:10px;letter-spacing:1.8px;color:#8492a5}.profile-identity h1{font-size:34px;line-height:1.15;margin:8px 0}.profile-identity p{color:#718098;margin:0 0 10px}.profile-count{display:inline-block;background:#fff;border-radius:7px;padding:7px 11px;font-size:12px}.profile-controls{display:flex;flex-direction:column;align-items:stretch;gap:9px}.profile-controls .btn{min-width:170px;text-align:center}.profile-controls form{margin:0}.profile-controls button{width:100%}.profile-tab-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px}
@media(max-width:1150px){.movie-grid,.movie-grid.grid-6,.profile-section .movie-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.profile-cover{grid-template-columns:95px minmax(0,1fr)}.profile-controls{grid-column:1/-1;flex-direction:row}.profile-avatar{width:95px}}
@media(max-width:920px){.movie-grid,.movie-grid.grid-6,.profile-section .movie-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 13px}.detail-flex{grid-template-columns:195px minmax(0,1fr)}.baskino-slides,.baskino-carousel{min-height:270px}.baskino-slides{height:270px}}
@media(max-width:700px){.movie-grid,.movie-grid.grid-6,.profile-section .movie-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 11px}.detail-flex{grid-template-columns:130px minmax(0,1fr);gap:15px}.detail-flex>section{min-width:0}.detail-flex .page-top h1{font-size:24px;overflow-wrap:anywhere}.detail-flex .detail-poster{width:100%}.detail-player{aspect-ratio:16/9}.baskino-carousel{margin:12px 0 25px;border-radius:10px;min-height:260px}.baskino-slides{height:260px}.baskino-slide-copy{inset:auto auto 52px 20px;width:calc(100% - 40px)}.baskino-slide h2{font-size:30px}.baskino-slide p{font-size:12px;max-width:85%}.baskino-carousel-controls{right:15px;bottom:10px}.profile-cover{padding:18px;gap:14px;grid-template-columns:64px minmax(0,1fr)}.profile-avatar{width:64px;font-size:32px}.profile-identity h1{font-size:23px}.profile-controls{flex-wrap:wrap}.profile-controls .btn{min-width:0}.profile-tab-head{align-items:flex-start;flex-direction:column}}
@media(max-width:430px){.movie-grid,.movie-grid.grid-6,.profile-section .movie-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}.baskino-slide h2{font-size:27px}.baskino-slide p{max-width:94%}.watch-actions{align-items:stretch}.watch-actions form{width:100%}.profile-identity p{overflow-wrap:anywhere}.profile-controls>*{flex:1 1 100%}}
@media(prefers-reduced-motion:reduce){.baskino-slide,.poster-box img{transition:none}}

/* Baskino movie detail — responsive full-width layout */
.watch-page{min-width:0;margin:12px 0 34px}.watch-heading{margin:14px 0 24px;min-width:0}.watch-overline{display:block;margin-bottom:10px;color:#7b899e;font-size:12px;font-weight:650;letter-spacing:.035em}.watch-heading h1{font-size:clamp(29px,3.2vw,45px);line-height:1.13;letter-spacing:-.035em;margin:0;color:#171f2d;overflow-wrap:break-word}.watch-heading h1 span{color:#7a889a;font-weight:500}.watch-original{font-size:15px;color:#8290a6;margin:10px 0 0}.watch-overview{display:grid;grid-template-columns:minmax(180px,260px) minmax(0,1fr);align-items:start;gap:32px;min-width:0}.watch-poster-col{min-width:0}.watch-poster{width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;border-radius:12px;background:#f0f2f6}.watch-main-col{min-width:0}.watch-badges{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:24px}.watch-badges>span{background:#f2f4f7;color:#48566d;border-radius:8px;padding:9px 12px;font-size:13px;font-weight:600}.watch-badges .watch-rating{color:#1a2433;font-weight:750}.watch-rating small{font-size:11px;color:#8995a6;font-weight:450;padding-left:6px}.watch-facts{margin:0;display:grid;gap:13px}.watch-facts>div{display:grid;grid-template-columns:108px minmax(0,1fr);gap:14px;font-size:14px;line-height:1.55;min-width:0}.watch-facts dt{color:#8491a4}.watch-facts dd{margin:0;color:#263144;overflow-wrap:break-word}.watch-synopsis{margin-top:24px;max-width:850px}.watch-synopsis h2{font-size:18px;line-height:1.3;margin:0 0 10px}.watch-synopsis p{color:#556277;font-size:14px;line-height:1.75;margin:0;overflow-wrap:break-word}.watch-player-section{margin-top:28px;min-width:0}.watch-section-title{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:14px}.watch-section-title h2{font-size:clamp(21px,2.4vw,29px);line-height:1.25;margin:0;overflow-wrap:break-word}.watch-section-title>p{color:#8a96a7;font-size:12px}.watch-player-box{width:100%;aspect-ratio:16/9;background:#070a10;border-radius:12px;overflow:hidden}.watch-player-box .detail-player{display:block;border:0;border-radius:0;width:100%;height:100%;aspect-ratio:auto}.watch-controls{border-radius:12px;background:#f4f6f9;padding:14px 16px;gap:16px;margin:14px 0 0;display:flex;align-items:center;justify-content:flex-start}.watch-controls form{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0}.watch-controls form label{font-size:13px;color:#65758b}.watch-controls select{min-width:74px;max-width:100px}.watch-controls .btn{height:40px}.watch-favorite{font-weight:700}.watch-login-note{background:#f3f5f8;padding:14px 18px;border-radius:9px}.watch-login-note a{font-weight:700;text-decoration:underline}.watch-related{margin-top:34px}.watch-related .movie-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:17px}.watch-related .film-card{min-width:0}.watch-comments{margin-top:30px}.watch-comments .section-title{margin-bottom:12px}.watch-comment-form{border:0;padding:10px 0}.watch-comment-form textarea{display:block;min-height:110px;max-width:100%;resize:vertical}.watch-comment-form button{margin-top:10px}.watch-page .b-select{max-width:100%}
@media(max-width:1050px){.watch-overview{grid-template-columns:220px minmax(0,1fr);gap:24px}.watch-related .movie-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.watch-page{margin-top:6px}.watch-heading{margin:12px 0 18px}.watch-heading h1{font-size:clamp(25px,6vw,34px)}.watch-heading h1 span{white-space:nowrap}.watch-overview{grid-template-columns:110px minmax(0,1fr);gap:15px}.watch-poster{border-radius:9px}.watch-badges{margin:0 0 13px;gap:6px}.watch-badges>span{font-size:11px;padding:6px 8px}.watch-rating small{display:none}.watch-facts{gap:7px}.watch-facts>div{display:block;font-size:12px;line-height:1.4}.watch-facts dt{display:inline;margin-right:5px}.watch-facts dd{display:inline}.watch-synopsis{grid-column:1/-1;margin-top:13px}.watch-main-col{display:contents}.watch-player-section{margin-top:22px}.watch-section-title h2{font-size:21px}.watch-related .movie-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 10px}.watch-controls{flex-wrap:wrap;padding:12px;gap:10px}.watch-controls form{width:100%;justify-content:flex-start;gap:9px}.watch-controls form:first-child .btn{width:100%}.watch-comments{margin-top:25px}}
@media(max-width:440px){.watch-overview{grid-template-columns:100px minmax(0,1fr);gap:13px}.watch-heading h1{font-size:27px}.watch-original{font-size:13px}.watch-facts>div{font-size:11.5px}.watch-synopsis{margin-top:16px}.watch-synopsis p{font-size:13px}.watch-related .movie-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}.watch-section-title h2{font-size:19px}.watch-controls form:last-of-type{display:grid;grid-template-columns:auto 80px minmax(0,1fr);gap:8px}.watch-controls .btn{min-width:0;padding:0 10px}}
/* Keep poster beside metadata, then allow the description to span phone width. */
@media(max-width:700px){.watch-overview{display:flow-root}.watch-poster-col{float:left;width:112px;margin:0 15px 12px 0}.watch-main-col{display:block}.watch-synopsis{clear:both;padding-top:6px}.watch-badges{display:flex}.watch-facts{display:grid}}
@media(max-width:440px){.watch-poster-col{width:102px;margin-right:13px}}

/* Consistent, contained hero layout at every breakpoint. */
.baskino-carousel{height:clamp(270px,28vw,380px);min-height:0;overflow:hidden;position:relative;margin-top:10px}
.baskino-slides{height:100%;min-height:0;position:relative}
.baskino-slide{height:100%;min-height:0;background-image:linear-gradient(90deg,rgba(10,16,26,.92) 0%,rgba(10,16,26,.65) 36%,rgba(10,16,26,.12) 100%),var(--slide-image);background-position:center center;background-size:cover}
.baskino-slide-copy{inset:0 auto 0 clamp(20px,5vw,68px);width:min(550px,65%);height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:16px 0 44px;box-sizing:border-box}
.baskino-slide h2{margin:9px 0;max-width:100%;font-size:clamp(24px,3.1vw,44px);line-height:1.13;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere}
.baskino-slide p{margin:6px 0;max-width:100%;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.baskino-slide .btn{flex-shrink:0;margin-top:13px}
.baskino-carousel-controls{bottom:16px;right:20px}
.suggestions[hidden]{display:none!important}
.header-search{position:relative}
.header-search .suggestions{top:calc(100% + 7px);max-height:min(440px,70vh);overflow-y:auto;z-index:100}
.suggestions .suggestion{display:flex;text-decoration:none;align-items:center;min-height:64px}
.suggestions .suggestion img{width:40px;height:54px;object-fit:cover;flex:none}
@media(max-width:700px){.baskino-carousel{height:280px;min-height:0}.baskino-slides{height:100%;min-height:0}.baskino-slide-copy{left:18px;width:min(80%,350px);padding:12px 0 40px}.baskino-slide h2{font-size:clamp(23px,5.7vw,31px);-webkit-line-clamp:3}.baskino-slide p{font-size:12px;-webkit-line-clamp:2}.baskino-carousel-controls{bottom:11px;right:12px}.header-search .suggestions{position:absolute;left:0;right:0;min-width:min(310px,88vw)}}
@media(max-width:380px){.baskino-carousel{height:260px}.baskino-slide h2{font-size:23px}.baskino-slide-copy{width:82%;left:15px}.baskino-slide .btn{font-size:12px;padding:0 12px;min-height:34px}.baskino-carousel-controls>button{width:28px;height:28px}}

/* Stable poster/card hover: no movement, scaling or brightness shift. */
.film-card:hover .poster-box img,.film-card:focus-within .poster-box img,.poster-box:hover img{transform:none!important;filter:none!important;}
.film-card .poster-box img{transition:none!important;}
.film-card:hover,.poster-box:hover{transform:none!important;}

/* Standalone, non-threaded movie comments */
.watch-comments{max-width:100%;min-width:0}.watch-comment-list{display:grid;gap:12px;margin:18px 0 22px}.baskino-comment{display:block;min-width:0;padding:19px 21px;background:#f6f7f9;border:0;border-radius:12px}.baskino-comment-header{display:flex;align-items:center;gap:11px}.baskino-comment-avatar{flex:0 0 38px;width:38px;height:38px;border-radius:10px;background:#e8ebf1;color:#1b2433;display:grid;place-items:center;font-weight:750}.baskino-comment-header strong{display:block;font-size:14px;color:#1b2433}.baskino-comment-header time{display:block;margin-top:3px;color:#8995a6;font-size:12px}.baskino-comment-body{font-size:14px;line-height:1.65;color:#273245;margin:13px 0 12px;overflow-wrap:anywhere}.baskino-comment-reactions{display:flex;align-items:center;gap:8px}.baskino-comment-reactions form{margin:0}.comment-reaction{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#fff;border:0;border-radius:8px;padding:8px 12px;color:#617086;font:inherit;font-size:13px;cursor:pointer;transition:background .15s,color .15s}.comment-reaction:hover,.comment-reaction.is-active{background:#e4eaf3;color:#152033}.comment-reaction.is-disabled{cursor:default}.watch-comment-form{display:flex;flex-direction:column;gap:12px;background:#f6f7f9;border-radius:12px;padding:16px}.watch-comment-form textarea{width:100%;min-height:104px;resize:vertical;border:0;border-radius:8px;padding:14px;background:#fff;line-height:1.5}.watch-comment-form .btn{align-self:flex-start}.baskino-comment-reactions .action-status{font-size:12px;color:#566985}@media(max-width:600px){.baskino-comment{padding:14px}.watch-comment-form{padding:12px}.baskino-comment-body{font-size:13px}.watch-comment-form .btn{max-width:100%;white-space:normal}}

/* Responsive header search suggestions: stay inside the viewport */
html,body{max-width:100%;overflow-x:clip}
.site-header,.header-inner,.header-search,.header-search form,.search-field{min-width:0}
.header-search{position:relative;z-index:60}
.header-search form{min-width:0;width:100%}
.header-search .search-field{width:100%;max-width:100%;display:flex;align-items:center}
.header-search input[name="q"]{width:100%;min-width:0;flex:1}
.header-search .suggestions{position:absolute;top:calc(100% + 8px);left:0;right:0;width:auto;min-width:0;max-width:100%;max-height:min(440px,62dvh);overflow-y:auto;overflow-x:hidden;box-sizing:border-box;z-index:150;background:#fff;border:1px solid #e9edf3;border-radius:12px;box-shadow:0 18px 35px rgba(15,25,40,.11)}
.header-search .suggestions[hidden]{display:none!important}
.header-search .suggestion{display:flex;gap:12px;align-items:center;min-width:0;width:100%;padding:9px 12px;box-sizing:border-box}
.header-search .suggestion img{width:42px;height:57px;flex:none;object-fit:cover;border-radius:6px}
.header-search .suggestion span{min-width:0;flex:1;overflow:hidden}
.header-search .suggestion strong,.header-search .suggestion small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.header-search .suggestion-footer{display:block;text-align:center;white-space:normal;overflow-wrap:anywhere}
@media(max-width:700px){
 .site-header .header-inner{min-width:0;display:flex;align-items:center;flex-wrap:nowrap;gap:10px}
 .site-header .logo{flex:none;white-space:nowrap}
 .site-header .header-search{flex:1 1 0;width:0;min-width:0}
 .site-header .search-field{min-width:0}
 .site-header .header-search input[name="q"]{font-size:14px}
 .site-header .header-search .suggestions{left:auto;right:0;width:min(390px,calc(100vw - 24px));max-width:calc(100vw - 24px);min-width:0}
 .site-header .header-search .suggestion{gap:9px;padding:9px}
 .site-header .header-search .suggestion img{width:38px;height:52px}
 .site-header .header-search .suggestion strong{font-size:13px}
 .site-header .header-search .suggestion small{font-size:11px}
}
@media(max-width:390px){.site-header .header-inner{gap:7px}.site-header .logo{font-size:clamp(20px,6vw,28px)}.site-header .header-search .suggestions{width:min(350px,calc(100vw - 20px));max-width:calc(100vw - 20px)}}
/* Admin comment editor */
.admin-comment-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 20px}
.admin-comment-tabs a{padding:9px 12px;border-radius:8px;background:#f3f5f8;color:#64748b;text-decoration:none}
.admin-comment-tabs a[aria-current="page"]{background:#18212f;color:#fff}
.admin-comment-card{border:1px solid #e6ebf2;border-radius:12px;padding:18px;margin:0 0 14px;background:#fff;min-width:0}
.admin-comment-heading{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:14px;flex-wrap:wrap}
.admin-comment-heading small{color:#8b98ac}
.admin-comment-edit{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,220px);gap:14px;min-width:0}
.admin-comment-edit label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#59677b;min-width:0}
.admin-comment-edit label:nth-of-type(2){grid-column:1/-1}
.admin-comment-edit .form-input,.admin-comment-edit .select{width:100%;max-width:100%;box-sizing:border-box}
.admin-comment-buttons{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px}
.admin-comment-delete{color:#a33131}
@media(max-width:650px){.admin-comment-card{padding:13px}.admin-comment-edit{grid-template-columns:minmax(0,1fr)}.admin-comment-edit label:nth-of-type(2),.admin-comment-buttons{grid-column:1}.admin-comment-buttons .btn{flex:1 1 auto}}

/* 2026-10-09 — player and voting controls: responsive and non-clipping */
.watch-player-section,.watch-player-box,.watch-controls,.watch-controls form{min-width:0;max-width:100%;box-sizing:border-box}
.watch-player-box{position:relative;width:100%;aspect-ratio:16/9;height:auto;margin-inline:auto;overflow:hidden;border-radius:12px;background:#000}
.watch-player-box iframe.detail-player{display:block;position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none;border:0;transform:none;object-fit:contain}
.watch-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:14px;margin-top:14px;border-radius:12px;overflow:visible}
.watch-controls form{min-width:0;width:100%;margin:0}
.watch-controls form:first-child .watch-favorite{max-width:100%}
.watch-controls form:last-of-type{display:grid;grid-template-columns:minmax(0,1fr) 92px auto;align-items:center;gap:12px;min-width:0}
.watch-controls form:last-of-type label{min-width:0;white-space:normal}
.watch-controls form:last-of-type select{min-width:0;width:100%;max-width:100%;height:42px}
.watch-controls form:last-of-type .btn{min-width:0;min-height:42px;padding:8px 18px;white-space:nowrap}
@media(max-width:700px){
 .watch-player-section{width:100%;min-width:0}
 /* Embedded players can need more vertical space than a strict 16:9 box for their own UI. */
 .watch-player-box{aspect-ratio:auto;height:clamp(250px,66vw,410px);min-height:250px;border-radius:11px;overflow:hidden}
 .watch-player-box iframe.detail-player{width:100%!important;height:100%!important}
 .watch-controls{display:grid!important;grid-template-columns:minmax(0,1fr);gap:12px;padding:12px;align-items:stretch}
 .watch-controls form{width:100%!important;max-width:100%;display:flex;min-width:0;margin:0;align-items:stretch}
 .watch-controls form:first-child .watch-favorite{width:100%;min-height:46px}
 .watch-controls form:last-of-type{display:grid!important;grid-template-columns:minmax(0,1fr) 88px;gap:10px;align-items:center}
 .watch-controls form:last-of-type label{grid-column:1;grid-row:1;min-width:0;margin:0;font-size:13px}
 .watch-controls form:last-of-type select,.watch-controls form:last-of-type .b-select{grid-column:2;grid-row:1;width:100%!important;min-width:0;max-width:100%;box-sizing:border-box}
 .watch-controls form:last-of-type .btn{grid-column:1/-1;grid-row:2;width:100%;min-height:44px;margin:0}
 .watch-controls .action-status{max-width:100%;overflow-wrap:anywhere}
}
@media(max-width:380px){.watch-player-box{height:260px;min-height:260px}.watch-controls form:last-of-type{grid-template-columns:minmax(0,1fr) 80px}}

/* Horizontal poster rail: uses each movie's own poster; no shared backdrop. */
.baskino-poster-carousel{margin:16px 0 36px;min-width:0;max-width:100%}
.baskino-poster-shell{position:relative;min-width:0;padding:16px 44px 10px;background:#f5f6f8;border-radius:14px}
.baskino-poster-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 6*16px)/7);gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;min-width:0;padding:2px 0 10px}
.baskino-poster-track::-webkit-scrollbar{display:none}
.baskino-rail-card{display:block;min-width:0;scroll-snap-align:start;color:#192130;text-decoration:none;overflow:hidden}
.baskino-rail-image{display:block;position:relative;aspect-ratio:2/3;overflow:hidden;border-radius:9px;background:#e5e8ef}
.baskino-rail-image img{display:block;width:100%;height:100%;object-fit:cover;transform:none!important;transition:none!important;filter:none!important}
.baskino-rail-card:hover .baskino-rail-image img{transform:none!important;filter:none!important}
.baskino-rail-title{display:block;margin-top:9px;font-weight:700;font-size:13px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.baskino-rail-meta{display:block;margin-top:2px;font-size:11px;color:#8793a7}
.baskino-rail-quality{position:absolute;right:7px;bottom:7px;background:#192331e8;color:#fff;padding:4px 6px;border-radius:5px;font-size:10px;max-width:calc(100% - 14px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.baskino-rail-arrow{position:absolute;z-index:2;top:39%;display:grid;place-items:center;width:36px;height:46px;padding:0;border:0;border-radius:9px;background:#fff;color:#202b3d;box-shadow:0 3px 18px #17243914;cursor:pointer}
.baskino-rail-prev{left:4px}.baskino-rail-next{right:4px}.baskino-rail-arrow:disabled{opacity:.25;cursor:default}
@media(max-width:1200px){.baskino-poster-track{grid-auto-columns:calc((100% - 5*14px)/6);gap:14px}}
@media(max-width:900px){.baskino-poster-track{grid-auto-columns:calc((100% - 3*13px)/4);gap:13px}}
@media(max-width:600px){.baskino-poster-carousel{margin:12px 0 26px}.baskino-poster-shell{padding:12px 8px 8px;border-radius:11px}.baskino-poster-track{grid-auto-columns:calc((100% - 2*10px)/2.45);gap:10px;scroll-padding-left:2px}.baskino-rail-title{font-size:12px}.baskino-rail-arrow{width:30px;height:34px;top:35%;background:#ffffffed}.baskino-rail-prev{left:1px}.baskino-rail-next{right:1px}}
@media(prefers-reduced-motion:reduce){.baskino-poster-track{scroll-behavior:auto}}
