/* Cinema visual layer. Data, streaming and cache remain in the existing application. */
:root{--accent:#f0162f!important;--accent2:#b90c25!important;--accent-rgb:240,22,47!important;--accent-glow:rgba(240,22,47,.28)!important;--accent-soft:rgba(240,22,47,.14)!important;--accent-border:rgba(240,22,47,.5)!important;--cinema-red:#f0162f;--cinema-line:rgba(255,255,255,.13);color-scheme:dark}
body{font-family:Arial,Helvetica,sans-serif;background:#080808!important;color:#f5f5f5}
body:before{background:radial-gradient(ellipse at 0 100%,#35070d 0,transparent 34%),#080808!important}
body:after{display:none!important}
*{box-sizing:border-box}a,button,input{ -webkit-tap-highlight-color:transparent}
:focus-visible{outline:2px solid #ff4054!important;outline-offset:4px}
body .app-header{height:72px;padding:0 30px;background:rgba(9,9,9,.95);border-bottom:1px solid var(--cinema-line);box-shadow:none}
body .hd-brand-name{background:none;-webkit-text-fill-color:#fff;font-size:23px;letter-spacing:-1px}
body .hd-brand img{object-fit:contain;border-radius:0;width:40px;height:40px}
.cinema-search{display:flex;align-items:center;gap:12px;width:min(490px,42vw);height:42px;border:1px solid #373333;border-radius:30px;padding:0 16px;background:linear-gradient(110deg,#191919,#291719)}
.cinema-search input{background:none;border:0;outline:none;color:#fff;width:100%;font:inherit;font-size:13px}
.cinema-search button{border:0;background:none;color:#fff;cursor:pointer;font-size:22px;padding:0}
body .hd-avatar,body .hd-avatar-ph{width:40px;height:40px;background:#3b0a11;border-color:#574449}
body .app-shell--premium{padding:22px 26px;min-height:calc(100vh - 72px)}
body.page-fit .app-shell--premium{height:calc(100dvh - 72px);max-height:calc(100dvh - 72px);padding:16px}
body .btn,body .play-btn{border-radius:6px;letter-spacing:0;font-weight:700}
body .btn-primary,body .play-btn{background:linear-gradient(110deg,#ff2037,#be0c22);box-shadow:0 5px 22px #e5091433;border:1px solid #ff253c}
body .btn-dark{background:#101010b8;border:1px solid #ffffff4d;box-shadow:none}
body .hero-banner{min-height:360px;border-radius:7px;margin:0 0 24px;border:1px solid #46151b;box-shadow:none;background:#13070a}
body .hero-banner__bg{background-position:center 30%}
body .hero-tmdb-panel .hero-banner__bg:after{background:linear-gradient(90deg,#080808ed,rgba(8,8,8,.55) 40%,transparent 80%),linear-gradient(0deg,#080808,transparent 40%)}
body .hero-banner__content{padding:36px;max-width:590px}
body .hero-tmdb-panel h1{font-size:clamp(30px,3.5vw,58px);font-weight:900;text-transform:uppercase;letter-spacing:-1.5px;line-height:1.02}
body .hero-desc{font-size:14px;line-height:1.5;max-width:420px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
body .eyebrow{color:#ff3b50;letter-spacing:4px;font-size:11px;background:none;border:0;padding:0}
body .hero-rating{border-radius:5px;font-size:12px}
body .section-head.inline{margin-bottom:10px}
body .section-head.inline h2{font-size:17px;letter-spacing:1.4px;text-transform:uppercase;border-left:3px solid var(--accent);padding-left:10px}
body .vermais-link{border:0;background:none;color:#ff263e;font-size:12px;padding:4px}
body .content-section{margin-bottom:24px}
body .content-carousel{gap:10px;padding:3px 0 10px}
body .poster-card--premium{min-width:148px;max-width:148px;border:1px solid #343434;border-radius:5px;background:#0c0e10;overflow:hidden;transition:transform .2s,border-color .2s;box-shadow:none}
body .poster-card__frame{border-radius:0;background:#111;box-shadow:none}
body .poster-card__frame:before{background:linear-gradient(0deg,#080a0d66,transparent 50%)}
body .poster-card--premium img{height:202px;border-radius:0!important;border:0;object-fit:cover}
body .poster-card--premium:hover{transform:translateY(-3px);border-color:var(--accent);box-shadow:0 7px 24px #0008}
body .poster-card--premium:hover img{transform:none;filter:brightness(1.1)}
body .poster-card--premium h3{font-size:12px;line-height:1.4;margin:9px 8px 10px;letter-spacing:.4px;color:#eee}
body .poster-badge{border-radius:4px;padding:3px 6px;left:6px;top:6px;font-size:10px}
body .streaming-section{margin-bottom:22px}
body .streaming-carousel{gap:10px;padding:0 0 8px}
body .streaming-card{width:138px;height:68px;border-radius:6px;background:linear-gradient(130deg,#1d1b1b,#101010);padding:12px 18px}
body .cat-shell,body .ch-shell,body .sp-shell{background:#0a0a0a;border:1px solid #2c2526;border-radius:10px;grid-template-columns:270px minmax(0,1fr)}
body .cat-sidebar,body .ch-sidebar,body .sp-sidebar{background:linear-gradient(160deg,#121010,#0b0b0b);border-color:#302326}
body .cat-sidebar-head,body .ch-sidebar-head,body .sp-sidebar-head{padding:20px 16px 14px}
body .cat-search,body .ch-search,body .sp-search{border-radius:7px;background:#ffffff08;border-color:#ffffff20}
body .cat-item,body .sp-cat-item{border-radius:5px;font-size:12px;padding:11px 12px;font-weight:500}
body .cat-item.on,body .ch-tab.on,body .sp-cat-item.on{background:linear-gradient(95deg,#6d0b16,#230b0e);border-color:#df152b;color:#fff;box-shadow:inset 3px 0 #ff1f38}
body .cat-item__count,body .sp-cat-count{background:#ffffff08;color:#aaa;border-radius:4px}
body .cat-stage-head,body .sp-stage-head{padding:17px 20px;background:#101010;border-color:#ffffff12}
body .cat-stage-head h1,body .sp-stage-head h1{font-size:17px;border-left:3px solid var(--accent);padding-left:10px}
body .cat-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:14px}
body .cat-grid .poster-card{width:100%;min-width:0;max-width:none}
body .cat-grid .poster-card img{height:auto;aspect-ratio:2/3}
.cinema-catalog-hero{position:relative;min-height:260px;display:flex;align-items:center;isolation:isolate;overflow:hidden;margin-bottom:24px;border:1px solid #482128;border-radius:6px;background:#160b0d}
.cinema-catalog-hero>img{position:absolute;inset:0 0 0 auto;width:65%;height:100%;object-fit:cover;object-position:50% 25%;z-index:-2;opacity:.8}
.cinema-catalog-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#12090b 15%,#12090bd9 42%,transparent 90%);z-index:-1}
.cinema-catalog-copy{padding:28px;max-width:65%}.cinema-catalog-copy h2{font-size:clamp(24px,2.8vw,42px);line-height:1.08;text-transform:uppercase;margin:14px 0 20px;letter-spacing:-1px}
.cinema-catalog-copy .btn{display:inline-flex;text-decoration:none;padding:12px 20px;font-size:13px}
body .ch-shell{gap:18px;border:0;background:none;grid-template-columns:320px minmax(0,1fr)}
body .ch-sidebar{border:1px solid #33272a;border-radius:10px}
body .ch-stage{border:1px solid #33272a;border-radius:10px;background:#0a0a0a;overflow:hidden}
body .ch-info-bar{background:#151011;border-top:1px solid #45232a}
body .ch-player-wrap{background:#030303}
body .ch-tab{border-radius:6px;padding:10px 0}
body .ch-ch-item{border-radius:6px}
body .sp-card,body .premium-box,body .player-info-card{background:linear-gradient(135deg,#191516,#0c0c0c);border:1px solid #35282a;border-radius:10px;box-shadow:none}
body .details-content{background:linear-gradient(90deg,#080808d9,#08080880)}
body .details-poster img,body .related-card img,body .episode-row{border-radius:6px}
body .site-footer{background:#080808;border-top:1px solid #ffffff12}
@media(min-width:1101px){
 body:not(.auth-body){padding-left:224px}
 body .app-header{padding-left:28px}
 body .hd-brand{position:fixed;left:20px;top:22px;width:190px;gap:8px;z-index:52}
 body .hd-brand-name{font-size:20px;overflow:hidden;text-overflow:ellipsis}
 body .hd-nav{position:fixed;left:0;top:0;bottom:0;width:224px;padding:100px 14px 28px;display:flex;flex-direction:column;align-items:stretch;gap:7px;border-right:1px solid #4d141c;background:linear-gradient(150deg,#0a0809 60%,#37070d);z-index:51;overflow:auto}
 body .hd-nav a{padding:13px 16px;min-height:45px;border-radius:7px;font-size:13px;font-weight:500;border:1px solid transparent}
 body .hd-nav a:before{content:'◇';font-size:22px;width:27px;color:#bbb}
 body .hd-nav a:nth-child(1):before{content:'⌂'}body .hd-nav a:nth-child(2):before{content:'▣'}body .hd-nav a:nth-child(3):before{content:'▷'}body .hd-nav a:nth-child(4):before{content:'▤'}body .hd-nav a:nth-child(5):before{content:'☆'}body .hd-nav a:nth-child(6):before{content:'ϟ'}body .hd-nav a:nth-child(7):before{content:'○'}
 body .hd-nav a.on{background:linear-gradient(110deg,#a00b1c,#300b10);border-color:#d5172c;box-shadow:-4px 0 18px #e5091426}
 body .hd-nav a.on:before{color:#fff}
 body .hd-nav a:nth-child(7){margin-top:24px;border-top:1px solid #ffffff16}
 body .cinema-search{margin-right:auto}
 body .app-header>div:first-child{position:absolute}
}
@media(min-width:861px) and (max-width:1100px){body .hd-nav a{padding:8px;font-size:12px}.cinema-search{width:190px}.hd-user-info{display:none!important}.hd-brand-name{font-size:17px!important}.app-header{gap:14px!important;padding:0 16px!important}}
@media(max-width:860px){body .app-header{height:64px;padding:0 16px;position:sticky}.cinema-search{display:none}body .app-shell--premium{padding:14px}body.page-fit .app-shell--premium{height:calc(100dvh - 64px);max-height:calc(100dvh - 64px);padding:8px}body .hd-drawer{background:linear-gradient(155deg,#171012,#080808);border-right-color:#551823}body .hero-banner{display:flex!important;min-height:300px}body .hero-banner__content{padding:24px}body .hero-tmdb-panel h1{font-size:32px}body .hero-desc{font-size:13px}body .ch-shell{grid-template-columns:245px minmax(0,1fr);gap:10px}}
@media(max-width:700px){body .cat-shell,body .sp-shell,body .ch-shell{grid-template-columns:1fr}body .cat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}body .cat-grid .poster-card img{height:auto!important;aspect-ratio:2/3}body .poster-card--premium img{border-radius:0!important}body .poster-card--premium .poster-card__frame{border-radius:0!important}body .poster-card--premium h3{font-size:10px;margin:7px 6px}body .section-head.inline h2{font-size:14px;letter-spacing:.5px}body .content-carousel .poster-card{min-width:125px;max-width:125px}body .content-carousel .poster-card img{height:176px}body .streaming-card{width:115px;height:58px}body .hero-banner{min-height:290px}body .hero-banner__content{padding:22px;max-width:100%}body .hero-tmdb-panel h1{font-size:30px}.cinema-catalog-hero{min-height:220px}.cinema-catalog-copy{padding:18px;max-width:83%}.cinema-catalog-copy h2{font-size:25px}.cinema-catalog-copy .eyebrow{font-size:9px;letter-spacing:2px}body .cat-stage-head span{font-size:11px}body .ch-sidebar{border-radius:7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(min-width:1101px){
 body:has(.cat-shell) .hd-nav{bottom:auto;height:438px;padding-top:92px;gap:3px;background:#0b0809}
 body:has(.cat-shell) .hd-nav a{min-height:37px;padding:8px 14px}
 body:has(.cat-shell) .hd-nav a:nth-child(7){margin-top:8px}
 body .cat-shell{grid-template-columns:minmax(0,1fr);border:0;border-radius:0}
 body .cat-sidebar{position:fixed;left:0;top:438px;bottom:0;width:224px;z-index:51;border-top:1px solid #ffffff19;border-right:1px solid #4d141c;background:linear-gradient(155deg,#0b0809 50%,#35080e)}
 body .cat-sidebar-head{padding:14px 14px 10px}
 body .cat-sidebar-head h2{font-size:13px;text-transform:uppercase;letter-spacing:2px;color:#aca0a3}
 body .cat-item{font-size:12px;padding:9px 10px}
 body .cat-grid-wrap{padding:16px 8px}
}
body .app-header{backdrop-filter:none;-webkit-backdrop-filter:none}
body.page-fit .app-shell--premium>.mob-cat-bar,body.page-fit .app-shell--premium>.sp-mob-bar{flex:0 0 auto}
body.page-fit .app-shell--premium>.mob-cat-modal-bg,body.page-fit .app-shell--premium>.sp-mob-modal-bg{flex:none}
@media(max-width:700px){body.page-fit .cat-stage{min-height:0;height:100%}body.page-fit .cat-shell{min-height:0!important}.cinema-catalog-hero{min-height:190px;margin-bottom:16px}}
.hd-brand:not(:has(img)):before,.auth-copy .brand:not(:has(img)):before,.auth-mobile-logo:not(:has(img)):before{content:'';display:inline-block;flex-shrink:0;width:29px;height:34px;background:linear-gradient(140deg,#ff7882,#f0162f 45%,#8d0012);clip-path:polygon(0 0,100% 50%,0 100%,0 73%,52% 50%,0 26%)}
@media(min-width:1101px){body .hd-brand-name{font-size:17px;letter-spacing:-.6px}}
@media(max-width:860px){body .hd-brand-name{font-size:15px;white-space:nowrap;letter-spacing:-.4px}body .hd-brand{gap:7px;max-width:65%}body .hd-brand:before{width:23px!important;height:27px!important}}
/* Desktop navigation requested at the top; category filters remain beside the catalog. */
@media(min-width:861px){
 body:not(.auth-body){padding-left:0}
 body .app-header{display:flex;gap:18px;padding:0 22px;height:72px}
 body .app-header>div:first-child{position:static;flex-shrink:0}
 body .hd-brand{position:static;inset:auto;width:auto;max-width:none;transform:none;gap:8px}
 body .hd-brand-name{font-size:18px;letter-spacing:-.5px}
 body .hd-nav,body:has(.cat-shell) .hd-nav{position:static;inset:auto;width:auto;height:auto;padding:0;display:flex;flex-direction:row;align-items:center;gap:3px;border:0;background:none;overflow:visible;flex-shrink:0}
 body .hd-nav a,body:has(.cat-shell) .hd-nav a{padding:9px 11px;min-height:37px;font-size:12px;border:1px solid transparent;border-radius:6px}
 body .hd-nav a:before{display:none}
 body .hd-nav a:nth-child(7),body:has(.cat-shell) .hd-nav a:nth-child(7){margin-top:0;border-top:1px solid transparent}
 body .hd-nav a.on{border-color:var(--accent-border)!important}
 body .cinema-search{width:clamp(170px,21vw,390px);min-width:120px;margin-left:auto;margin-right:0}
 body .hd-user{margin-left:auto}
 body .cat-shell{grid-template-columns:240px minmax(0,1fr);border:1px solid #302326;border-radius:9px}
 body .cat-sidebar{position:static;inset:auto;width:auto;height:auto;z-index:auto;background:linear-gradient(155deg,#110c0f,#0b0b0b);border-top:0;border-right:1px solid #302326}
 body .cat-sidebar-head{padding:18px 14px 12px}
 body .cat-grid-wrap{padding:16px}
}
@media(min-width:861px) and (max-width:1400px){body .cinema-search{display:none}body .hd-user-info{display:none}body .app-header{gap:14px}body .hd-brand-name{font-size:16px}}
@media(min-width:861px) and (max-width:1050px){body .hd-nav a,body:has(.cat-shell) .hd-nav a{padding:8px 7px;font-size:11px}body .app-header{padding:0 14px;gap:10px}body .hd-brand img{width:30px;height:30px}}
@media(min-width:861px){body .app-header{height:72px!important}}
