/* Public cinema experience. Admin retains its existing workspace. */
body.cinema{--max:100%;--gutter:clamp(20px,4vw,84px);--radius:12px;--bg:#101013;--panel:#1b1b20;--soft:#25252c;--text:#f7f7fa;--muted:#aaaab7;--accent:#ed2339;--accent2:#ed2339;background:var(--bg);color:var(--text);font-family:Vazir,Tahoma,sans-serif}
.cinema *{min-width:0}
.cinema :focus-visible{outline:2px solid var(--accent);outline-offset:5px}
.cinema .topbar{position:sticky;inset:0 0 auto;display:flex;width:100%;height:88px;padding:0 var(--gutter);gap:30px;margin:0;border-radius:0;border:0;border-bottom:1px solid #ffffff12;background:var(--bg);box-shadow:none;z-index:50}
.cinema .header-utility,.cinema .brand-copy small{display:none}
.cinema .brand-mark{width:40px;height:40px;box-shadow:none!important;transform:none!important}
.cinema .brand-copy b{font-size:1.5rem;letter-spacing:-1px}
.cinema .topbar nav{display:flex;gap:23px;padding:0;margin:0;border:0;border-radius:0;background:none;backdrop-filter:none;white-space:nowrap;font-size:.87rem}
.cinema .topbar nav a{padding:10px 0;color:var(--muted)}
.cinema .topbar nav a:hover,.cinema .topbar nav a[aria-current=page]{color:var(--text)}
.cinema .topbar nav a[aria-current=page]{box-shadow:0 2px 0 var(--accent)}
.cinema .search{width:220px;margin-inline-start:auto;background:var(--soft);border:0;border-radius:8px}
.cinema .search input{font-size:.76rem}
.cinema .user-nav{font-size:.82rem;gap:16px;white-space:nowrap}
.cinema .button,.cinema button.primary{background:var(--accent);border-radius:6px;box-shadow:none;color:#fff;padding:12px 24px}
.cinema .button:hover,.cinema button.primary:hover{filter:brightness(1.12);transform:translateY(-2px)}
.cinema .ghost{border-radius:6px;background:#ffffff12;color:inherit;border:1px solid #ffffff35}
.cinema .hero{width:100%;max-width:none;margin:0;min-height:660px;height:min(780px,82vh);padding:0 var(--gutter);background:var(--hero) center 30%/cover;isolation:isolate;align-items:center}
.cinema .hero:before{z-index:-1;background:linear-gradient(270deg,#101013f5 0%,#101013b0 40%,#10101320 80%),linear-gradient(0deg,var(--bg),transparent 50%)}
.cinema .hero-frame{width:100%;max-width:none;margin:0;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:7vw;align-items:center}
.cinema .hero-content{width:auto;max-width:650px;margin:0;padding:0}
.cinema .hero-content h1{font-size:clamp(2.6rem,4.5vw,5.2rem);line-height:1.4;letter-spacing:-2px;margin:14px 0 6px;text-shadow:none}
.cinema .hero-content h2{font-size:1rem;letter-spacing:.1em;color:#c7c7d2;font-weight:400}
.cinema .hero-content p{font-size:1rem;line-height:2.1;max-width:570px;color:#c7c7d2;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.cinema .hero .eyebrow{font-size:.8rem;color:#fff;display:inline-flex;align-items:center;gap:10px}
.cinema .hero .eyebrow:before{content:"";width:25px;height:2px;background:var(--accent)}
.cinema .hero-trust{display:none}
.cinema .hero-poster{transform:none;border:0;border-radius:12px;box-shadow:0 28px 60px #0006;width:100%;display:block}
.cinema .hero-poster>span{width:54px;height:54px}
.cinema .meta{flex-wrap:wrap;font-size:.85rem;gap:18px;margin:20px 0}
.cinema .hero .meta{color:#d1d1d9}
.cinema .actions{margin-top:28px;flex-wrap:wrap}
.cinema .shelf,.cinema .content-wrap,.cinema .plans-hero{width:auto;max-width:none;margin:54px var(--gutter)}
.cinema .section-head{gap:20px;align-items:center;margin-bottom:24px}
.cinema .section-head h2{font-size:1.4rem;letter-spacing:-.6px;border:0;padding:0}
.cinema .section-head a{font-size:.8rem}
.cinema .poster-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:22px}
.cinema .poster-card{transform:none!important;opacity:1!important}
.cinema .poster-img{border-radius:10px;box-shadow:none;aspect-ratio:2/3}
.cinema .poster-img img{transition:transform .35s}
.cinema .poster-card:hover .poster-img{transform:translateY(-5px);box-shadow:0 15px 35px #0004}
.cinema .poster-card:hover img{transform:scale(1.04)}
.cinema .poster-info h3{font-size:.94rem;margin-top:14px}
.cinema .poster-info>div{font-size:.75rem}
.cinema .quality{font-size:.65rem;padding:4px 9px;border-radius:4px}
.cinema .shelf{border:0;padding:0}
.cinema .shelf .poster-grid{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:calc((100% - 110px)/6);overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:7px 0 18px;scrollbar-width:thin;scrollbar-color:var(--soft) transparent}
.cinema .shelf .poster-card{scroll-snap-align:start}
.cinema .reveal-ready,.cinema.reveal-ready .shelf,.cinema.reveal-ready .plan,.cinema.reveal-ready .title-content-grid>*{opacity:1;transform:none}
.cinema .title-hero{display:block;min-height:640px;padding:42px var(--gutter) 65px;background:linear-gradient(270deg,#0d0d11f5,#0d0d11b0),var(--backdrop) center/cover;color:#f7f7fa}
.cinema .title-layout{grid-template-columns:230px minmax(0,1fr) 110px;gap:45px;align-items:center}
.cinema .title-poster{width:100%;transform:none;border:0;border-radius:10px}
.cinema .title-copy h1{font-size:clamp(2rem,3.5vw,4rem);line-height:1.5}
.cinema .title-copy p{font-size:1rem;line-height:2.1;max-width:850px;color:#d1d1dc}
.cinema .title-copy{filter:none}
.cinema .title-score{position:static;border-radius:12px}
.cinema .title-content-grid{grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:28px}
.cinema .panel,.cinema .download-box,.cinema .auth-card,.cinema .stat,.cinema .plan{background:var(--panel);border:1px solid var(--line,#ffffff12);border-radius:12px;box-shadow:none}
.cinema .title-facts{border-inline-start:0}
.cinema .plans-hero{min-height:0;padding:0;grid-template-columns:1.2fr 1fr;gap:60px}
.cinema .plans-hero:before{display:none}
.cinema .plans-hero h1{font-size:clamp(2.3rem,4vw,4rem);line-height:1.5}
.cinema .plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.cinema .plan{display:block;padding:32px;transform:none}
.cinema .plan.featured{border-color:var(--accent);background:var(--panel);box-shadow:inset 0 3px var(--accent)}
.cinema .plan-index{position:absolute;top:20px;left:24px;font-size:3.5rem}
.cinema .plan-buy{display:grid;text-align:right;margin-top:32px}
.cinema .plans-note{flex-wrap:wrap;text-align:center}
.cinema .archive-head{padding-bottom:28px;border-bottom:1px solid var(--line,#ffffff15);align-items:center}
.cinema .archive-head h1{font-size:2.5rem;margin:4px 0}
.cinema .filters input{width:220px}
.cinema .filters input,.cinema .filters select,.cinema .field input,.cinema .field textarea{border-color:var(--line,#ffffff20)}
.cinema .auth-card{margin:70px auto;padding:36px;width:min(480px,calc(100% - 40px))}
.cinema .site-footer{width:auto;max-width:none;margin:100px 0 0;padding:55px var(--gutter);border-radius:0;background:var(--panel);border:0;border-top:1px solid var(--line,#ffffff12);grid-template-columns:1.5fr .7fr 1fr;font-size:.85rem}
.cinema .site-footer:before{display:none}
.cinema .trust-placeholder,.cinema .enamad-badge{background:none;border-color:var(--line,#ffffff20);border-radius:8px}
.cinema .footer-support{background:none;padding:0}
.cinema .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:1800px){.cinema .hero{height:820px}.cinema .poster-grid{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media(max-width:1200px){.cinema .topbar{gap:20px}.cinema .topbar nav{gap:16px}.cinema .search{display:none}.cinema .user-nav{margin-inline-start:auto}.cinema .hero-frame{grid-template-columns:1fr 240px}.cinema .poster-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.cinema .shelf .poster-grid{grid-auto-columns:calc((100% - 66px)/4)}.cinema .title-layout{grid-template-columns:200px 1fr}.cinema .title-score{display:none}}
@media(max-width:760px){.cinema{--gutter:20px}.cinema .topbar{height:72px;padding:0 20px;gap:14px}.cinema .brand-copy b{font-size:1.25rem}.cinema .topbar nav,.cinema .user-nav{display:none}.cinema .mobile-menu{display:block;margin-inline-start:auto}.cinema.nav-open .topbar nav{display:grid}.cinema .hero{height:auto;min-height:610px;padding:48px var(--gutter)}.cinema .hero-frame{grid-template-columns:1fr;gap:0}.cinema .hero-content{max-width:100%}.cinema .hero-content h1{font-size:2.7rem;letter-spacing:-1px}.cinema .hero-poster{display:none}.cinema .hero:before{background:linear-gradient(0deg,var(--bg),#10101385 75%),linear-gradient(270deg,#101013b0,transparent)}.cinema .shelf,.cinema .content-wrap,.cinema .plans-hero{margin:35px var(--gutter)}.cinema .shelf .poster-grid{grid-auto-columns:42%;gap:14px}.cinema .poster-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cinema .section-head h2{font-size:1.15rem}.cinema .section-head a{font-size:.72rem}.cinema .title-hero{padding:28px var(--gutter)}.cinema .title-layout{display:grid;grid-template-columns:105px minmax(0,1fr);gap:20px;align-items:start}.cinema .title-copy{display:block}.cinema .title-copy h1{font-size:1.7rem}.cinema .title-copy p{display:block;font-size:.87rem;line-height:1.9}.cinema .title-actions{flex-wrap:wrap}.cinema .title-content-grid,.cinema .plans,.cinema .plans-hero{grid-template-columns:1fr;gap:22px}.cinema .title-copy .meta{gap:8px;font-size:.7rem}.cinema .title-copy .chips{display:none}.cinema .title-copy .button,.cinema .title-copy .ghost{padding:8px 12px;font-size:.8rem}.cinema .archive-head{display:grid}.cinema .filters{display:grid;grid-template-columns:1fr 1fr;width:100%}.cinema .filters input{width:100%;grid-column:1/-1}.cinema .filters select{width:100%}.cinema .site-footer{grid-template-columns:1fr;gap:32px;padding:38px 20px}.cinema .form-grid{grid-template-columns:1fr}.cinema .plan{padding:26px}.cinema .hero .actions .button,.cinema .hero .actions .ghost{font-size:.86rem;padding:11px 17px}}
@media(prefers-reduced-motion:reduce){.cinema *{transition:none!important;scroll-behavior:auto!important}}

/* MAGIC MOVIES — luminous discovery, split composition */
body.cinema.theme-neon[class*="route-title-"] .title-hero{width:100%;max-width:none;margin:0;padding:42px var(--gutter);border-radius:0;border:0}
body.cinema.theme-neon[class*="route-title-"] .title-content-grid{width:auto;max-width:none;margin:40px var(--gutter)}
@media(max-width:780px){body.cinema.theme-neon[class*="route-title-"] .title-hero{padding:28px var(--gutter)}body.cinema.theme-neon[class*="route-title-"] .title-content-grid{grid-template-columns:minmax(0,1fr)}}
.cinema.theme-neon{--bg:#0e0b1b;--panel:#19152b;--soft:#262039;--accent:#a78bfa;--accent2:#a78bfa;--muted:#b2aac9;--radius:20px}
.cinema.theme-neon .topbar{border-bottom:1px solid #a78bfa25;background:#0e0b1bf5}
.cinema.theme-neon .brand-copy b{color:#ddd0ff}
.cinema.theme-neon .button,.cinema.theme-neon button.primary{border-radius:999px;color:#181025}
.cinema.theme-neon .ghost{border-radius:999px}
.cinema.theme-neon .hero{min-height:670px;height:auto;padding-block:65px;background:radial-gradient(ellipse at 20% 45%,#6948a64d,transparent 55%),#0e0b1b}
.cinema.theme-neon .hero:before{display:none}
.cinema.theme-neon .hero-frame{grid-template-columns:minmax(0,1fr) minmax(280px,36%);gap:8vw}
.cinema.theme-neon .hero-poster{width:100%;max-width:440px;justify-self:center;aspect-ratio:4/5;border-radius:150px 150px 28px 28px;border:1px solid #c4b5fd66;box-shadow:20px 20px 0 #a78bfa12,0 0 100px #a78bfa22}
.cinema.theme-neon .hero-content h1{font-size:clamp(2.7rem,4.2vw,5rem);color:#f0eaff}
.cinema.theme-neon .hero .eyebrow{color:#c4b5fd}
.cinema.theme-neon .shelf{padding:26px;border:1px solid #a78bfa1c;background:#161222;border-radius:24px}
.cinema.theme-neon .poster-img{border-radius:16px}
.cinema.theme-neon .section-head h2{color:#e9ddff}
.cinema.theme-neon .title-hero{background:linear-gradient(270deg,#0e0b1bf5,#1e153abf),var(--backdrop) center/cover}
.cinema.theme-neon .plan{border-radius:24px}.cinema.theme-neon .plan.featured{box-shadow:0 0 0 1px #a78bfa,0 20px 60px #a78bfa15}
@media(max-width:760px){.cinema.theme-neon .hero{padding-top:35px;min-height:0}.cinema.theme-neon .hero-frame{display:flex;flex-direction:column-reverse;gap:40px}.cinema.theme-neon .hero-poster{display:block;width:180px;aspect-ratio:4/5;border-radius:90px 90px 18px 18px}.cinema.theme-neon .hero-content{text-align:center}.cinema.theme-neon .hero .meta,.cinema.theme-neon .hero .actions{justify-content:center}.cinema.theme-neon .shelf{padding:18px;margin-inline:12px}.cinema.theme-neon .hero-content h1{font-size:2.4rem}}

/* Resolve legacy theme constraints on full-width public layouts. */
body.cinema .hero{width:100%;max-width:none;margin:0;border-radius:0}
body.cinema .hero-frame{height:auto;direction:rtl}
body.cinema .topbar .user-nav{position:static;margin-inline-start:auto}
body.cinema .topbar .search{margin-inline-start:auto}
body.cinema .title-hero{width:100%;max-width:none;margin:0;border-radius:0;border:0;box-shadow:none}
body.cinema .title-content-grid{width:auto;max-width:none;margin-inline:var(--gutter)}
body.cinema .plan-index{position:absolute;top:20px;left:24px;color:var(--text);opacity:.09}
body.cinema .plan.featured{color:var(--text)}
body.cinema .plans-hero h1{font-family:Vazir,Tahoma,sans-serif}
@media(max-width:780px){
 body.cinema .title-content-grid{width:auto;max-width:none;grid-template-columns:minmax(0,1fr)}
 body.cinema .title-content-grid .title-facts,body.cinema .title-content-grid .download-box{grid-column:1;grid-row:auto}
 body.cinema .title-hero{min-height:0;padding:28px var(--gutter)}
 body.cinema .title-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
 body.cinema .title-poster{width:150px;margin:0 auto;grid-column:auto;grid-row:auto}
 body.cinema .title-copy{display:block;text-align:center}
 body.cinema .title-copy p{text-align:right;max-width:none}
 body.cinema .title-actions,body.cinema .title-copy .meta{justify-content:center}
 body.cinema .title-copy .chips{display:none}
 body.cinema .title-copy>p{display:block;-webkit-line-clamp:unset;overflow:visible}
}

