

.hero-carousel.cinema-hero {
    --cinema-light: 139, 118, 255;

    --cinema-gutter: var(--hm-gutter, clamp(24px, 5vw, 96px));
    --cinema-card-w: 176px;
    --cinema-dock-bottom: 52px;

    --cinema-content-bottom: calc(var(--cinema-dock-bottom) + var(--cinema-card-w) * 0.5625 + 66px);
    --cinema-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --cinema-fade: linear-gradient(to bottom,
        #000 0%, #000 64%,
        rgba(0, 0, 0, 0.86) 72%, rgba(0, 0, 0, 0.6) 80%,
        rgba(0, 0, 0, 0.33) 88%, rgba(0, 0, 0, 0.12) 95%,
        transparent 100%);
    position: relative;
    width: 100%;
    height: min(920px, 94svh) !important;
    min-height: 720px !important;
    overflow: hidden;
    isolation: isolate;
    background: transparent;
    -webkit-mask-image: none;
    mask-image: none;
}

.cinema-hero .hero-slide {
    align-items: flex-end;
    background: none;
    opacity: 0;
    z-index: 1;
    transform: none;
    will-change: opacity;
    transition: opacity 0s linear 0.95s;
    -webkit-mask-image: none;
    mask-image: none;

    touch-action: pan-y pinch-zoom;
}

.cinema-hero .hero-slide.active {
    opacity: 1;
    z-index: 5;
    transform: none;
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.cinema-hero .hero-slide::before,
.cinema-hero .hero-slide::after { content: none; }

.cinema-hero .cinema-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    -webkit-mask-image: var(--cinema-fade);
    mask-image: var(--cinema-fade);
}

.cinema-hero .cinema-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: 0;
    object-fit: cover;
    object-position: 64% 28%;
    opacity: 0;
    transform: scale(1.04);
    transform-origin: 60% 40%;

    transition: opacity 0.6s ease, transform 0s linear 1s;
}

.cinema-hero .cinema-backdrop[data-loaded="1"] { opacity: 1; }

.cinema-hero .hero-slide.active .cinema-backdrop {
    transform: none;
    transition: opacity 0.6s ease, transform 1.8s var(--cinema-ease);
}

.cinema-hero .cinema-media::before,
.cinema-hero .cinema-media::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.cinema-hero .cinema-media::before {
    background:
        radial-gradient(ellipse 70% 72% at 4% 76%, rgba(6, 7, 13, 0.74) 0%, rgba(6, 7, 13, 0.44) 48%, rgba(6, 7, 13, 0) 82%),
        linear-gradient(90deg, rgba(6, 7, 13, 0.84) 0%, rgba(6, 7, 13, 0.58) 24%, rgba(6, 7, 13, 0.24) 46%, rgba(6, 7, 13, 0) 68%),
        linear-gradient(180deg, rgba(6, 7, 13, 0.55) 0%, rgba(6, 7, 13, 0) 22%);
}

.cinema-hero .cinema-media::after {
    background:
        radial-gradient(ellipse at 14% 72%, rgba(var(--cinema-light), 0.2), transparent 52%),
        linear-gradient(0deg, rgba(6, 7, 13, 0.72) 0%, rgba(6, 7, 13, 0.3) 22%, rgba(6, 7, 13, 0) 46%);
}

.cinema-hero .hero-slide-content {
    position: relative;
    z-index: 10;
    width: min(620px, 50%);
    max-width: 620px;
    padding: 96px 0 var(--cinema-content-bottom);
    margin: 0 0 0 var(--cinema-gutter);
    text-align: left;
    opacity: 1;
    transform: none;
    transition: none;
}

.cinema-hero .hero-slide-content > * {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.18s ease, transform 0s linear 0.2s;
}

.cinema-hero .hero-slide.active .hero-slide-content > * {
    opacity: 1;
    transform: none;
    transition:
        opacity 0.42s ease var(--cinema-delay, 0.2s),
        transform 0.5s var(--cinema-ease) var(--cinema-delay, 0.2s);
}

.cinema-hero .hero-slide-content > :nth-child(2) { --cinema-delay: 0.26s; }
.cinema-hero .hero-slide-content > :nth-child(3) { --cinema-delay: 0.32s; }
.cinema-hero .hero-slide-content > :nth-child(4) { --cinema-delay: 0.38s; }

.cinema-hero .hero-slide.active .hero-slide-logo,
.cinema-hero .hero-slide.active .hero-slide-title,
.cinema-hero .hero-slide.active .hero-slide-desc,
.cinema-hero .hero-slide.active .hero-slide-actions { animation: none; }

.cinema-hero .cinema-title-wrap {
    --logo-unit: 200px;
    --logo-max-w: 500px;
    --logo-max-h: 160px;
    display: flex;
    align-items: flex-end;
    min-height: 0;
    margin-bottom: 18px;
}

.cinema-hero .cinema-title-wrap .hero-slide-logo {
    display: none;
    width: auto;
    height: auto;
    max-width: min(100%, var(--logo-max-w));
    max-height: var(--logo-max-h);
    margin: 0;
    object-fit: contain;
    object-position: left bottom;
    filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.55));
    opacity: 1;
    transform: none;
    transition: none;
}

@supports (width: calc(1px * sqrt(4))) {
    .cinema-hero .cinema-title-wrap .hero-slide-logo[data-fit] {
        width: min(100%, var(--logo-max-w), calc(var(--logo-unit) * sqrt(var(--logo-r))));
        height: min(var(--logo-max-h), calc(var(--logo-unit) / sqrt(var(--logo-r))));
    }
}

.cinema-hero .cinema-title-wrap .hero-slide-logo[data-tone="dark"] {
    filter: brightness(0) invert(1) drop-shadow(0 6px 24px rgba(0, 0, 0, 0.55));
}

.cinema-hero .cinema-title-wrap .hero-slide-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    padding-bottom: 0.06em;
    font-size: clamp(2.6rem, 4.4vw, 4.25rem);
    line-height: 1.04;
    letter-spacing: -0.025em;
    text-wrap: balance;
    opacity: 1;
    transform: none;
    transition: none;
}

.cinema-hero .cinema-title-wrap .hero-slide-title.is-mid { font-size: clamp(2.2rem, 3.4vw, 3.3rem); }
.cinema-hero .cinema-title-wrap .hero-slide-title.is-long { font-size: clamp(1.9rem, 2.7vw, 2.65rem); }

.cinema-hero .cinema-title-wrap[data-title="pending"] .hero-slide-title { visibility: hidden; }
.cinema-hero .cinema-title-wrap[data-title="logo"] .hero-slide-title { display: none; }
.cinema-hero .cinema-title-wrap[data-title="logo"] .hero-slide-logo { display: block; animation: cinemaShow 0.35s ease both; }
.cinema-hero .cinema-title-wrap[data-title="text"] .hero-slide-title { animation: cinemaShow 0.35s ease both; }

@keyframes cinemaShow {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cinema-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 18px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

.cinema-hero .cinema-meta:empty { display: none; }

.cinema-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: -4px;
    padding: 3px 10px 3px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-top-color: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    text-shadow: none;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.cinema-rating i { font-size: 0.68rem; color: #f5c518; }

.cinema-meta-item { position: relative; }

.cinema-meta-item + .cinema-meta-item::before {
    content: '';
    position: absolute;
    left: -10.5px;
    top: calc(50% - 1.5px);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.cinema-hero .cinema-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.cinema-hero .hero-slide-desc {
    max-width: 33em;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.65);
}

.cinema-hero .hero-slide-desc[hidden] { display: none; }

.cinema-hero .cinema-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.cinema-hero .cinema-play.btn-premium {
    height: 52px;
    min-width: 0;
    padding: 0 34px 0 24px;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: var(--btn-bg, var(--primary));
    color: var(--on-primary, #fff);
    font-size: 1rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    box-shadow: 0 12px 34px rgba(var(--primary-rgb), 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.cinema-hero .cinema-play.btn-premium:hover {
    background: var(--btn-bg-hover, var(--primary-bright));
    transform: scale(1.04) translateY(-1px);
    box-shadow: 0 16px 40px rgba(var(--primary-rgb), 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cinema-hero .cinema-play .cinema-play-icon {
    flex: none;
    width: 22px;
    height: 22px;
    margin-left: -2px;
}

.cinema-hero .cinema-round.btn-premium {
    width: 52px !important;
    min-width: 52px;
    height: 52px;
    flex: none;
    padding: 0 !important;
    border-radius: 50%;
    justify-content: center !important;
    color: #fff;
    font-size: 1.02rem !important;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
}

.cinema-hero .cinema-round.btn-premium:hover { transform: translateY(-2px); }

@media (hover: none) {
    .cinema-hero .cinema-play.btn-premium:hover,
    .cinema-hero .cinema-round.btn-premium:hover { transform: none; }
}

.cinema-hero .cinema-wl.btn-premium.active {
    background: rgba(var(--primary-rgb), 0.24);
    border-color: rgba(var(--primary-rgb), 0.55);
    color: var(--primary-soft);
}

.cinema-hero button { font-family: inherit; }

.cinema-hero button:focus-visible { outline: 2px solid var(--primary-tint) !important; outline-offset: 4px; }

.cinema-dock {
    position: absolute;
    z-index: 25;
    left: var(--cinema-gutter);
    right: var(--cinema-gutter);
    bottom: var(--cinema-dock-bottom);
    display: flex;
    align-items: center;
    gap: 20px;
}

.cinema-dock[hidden] { display: none; }

.cinema-hero .cinema-rail {
    --rail-fade-l: 28px;
    --rail-fade-r: 56px;
    position: relative;
    inset: auto;
    transform: none;
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    gap: 12px;
    padding: 12px 6px 10px;
    margin: -12px -6px -10px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 6px;

    overscroll-behavior-x: contain;
    background: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

.cinema-hero .cinema-rail::-webkit-scrollbar { display: none; }

.cinema-hero .cinema-rail[data-edge="start"] {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - var(--rail-fade-r)), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - var(--rail-fade-r)), transparent);
}

.cinema-hero .cinema-rail[data-edge="middle"] {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--rail-fade-l), #000 calc(100% - var(--rail-fade-r)), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 var(--rail-fade-l), #000 calc(100% - var(--rail-fade-r)), transparent);
}

.cinema-hero .cinema-rail[data-edge="end"] {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--rail-fade-l));
    mask-image: linear-gradient(90deg, transparent, #000 var(--rail-fade-l));
}

.cinema-hero .cinema-card,
.cinema-hero .cinema-card.active {
    position: relative;
    flex: 0 0 auto;
    width: var(--cinema-card-w);
    height: auto;
    padding: 3px;
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.25),
        0 10px 28px rgba(0, 0, 0, 0.38);
    color: #fff;
    text-align: left;
    cursor: pointer;
    scroll-snap-align: start;
    opacity: 0.66;
    transform: none;
    transition:
        opacity 0.3s ease,
        transform 0.3s var(--cinema-ease),
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.cinema-hero .cinema-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(148deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 30%, rgba(255, 255, 255, 0) 52%);
    pointer-events: none;
}

.cinema-hero .cinema-card:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

@media (hover: hover) {
    .cinema-hero .cinema-card:hover {
        opacity: 0.94;
        transform: translateY(-2px);
        background: rgba(255, 255, 255, 0.09);
        border-color: rgba(255, 255, 255, 0.22);
        border-top-color: rgba(255, 255, 255, 0.34);
    }
    .cinema-card:hover > img { filter: saturate(0.92) brightness(0.94); }
}

.cinema-hero .cinema-card.active,
.cinema-hero .cinema-card.active:hover {
    opacity: 1;
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(var(--primary-rgb), 0.95);
    border-top-color: rgba(var(--primary-rgb), 0.95);
    box-shadow:
        0 0 0 1px rgba(var(--primary-rgb), 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 14px 32px rgba(0, 0, 0, 0.45);
}

.cinema-card > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    filter: saturate(0.75) brightness(0.8);
    transition: filter 0.3s ease;
}

.cinema-card.active > img { filter: none; }

.cinema-card-shade {
    position: absolute;
    inset: 3px;
    border-radius: 12px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(4, 5, 10, 0) 34%, rgba(4, 5, 10, 0.88) 100%);
}

.cinema-card-title {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 14px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.75);
}

.cinema-card-track {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 8px;
    height: 3px;
    overflow: hidden;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cinema-card.active .cinema-card-track { opacity: 1; }

.cinema-hero .hero-pill-progress {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary-tint, #c4b5fd), var(--primary));
    transform: scaleX(0);
    transform-origin: left center;
    transition: none;
}

.cinema-hero .cinema-card.active .hero-pill-progress {
    animation: cinemaProgress var(--cinema-slide-ms, 9000ms) linear forwards;
}
.cinema-hero.cinema-held .cinema-card.active .hero-pill-progress { animation-play-state: paused; }

@keyframes cinemaProgress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

html.reduce-motion .cinema-hero .cinema-card.active .hero-pill-progress { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
    .cinema-hero .cinema-card.active .hero-pill-progress { animation: none !important; }
}

.cinema-hero[data-paused] .cinema-card.active .hero-pill-progress { opacity: 0.45; }

.cinema-hero .cinema-scroll {
    bottom: 12px;
    z-index: 26;
    width: 44px;
    height: 32px;
    padding: 0;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    animation: none;
    transition: color 0.2s ease, transform 0.25s var(--cinema-ease);
}

.cinema-hero .cinema-scroll:hover {
    color: #fff;
    transform: translateX(-50%) translateY(2px);
}

.cinema-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cinema-count {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
}

.cinema-hero .cinema-pause.btn-premium {
    width: 44px !important;
    min-width: 44px;
    height: 44px;
    font-size: 0.84rem !important;
}

.cinema-pause[hidden] { display: none !important; }

@media (min-width: 993px) {

    html[data-hero-side="right"] .cinema-hero .hero-slide-content {
        display: block;
        margin: 0 var(--cinema-gutter) 0 auto;
        text-align: right;
    }
    html[data-hero-side="right"] .cinema-hero .cinema-media::before {
        background:
            radial-gradient(ellipse 70% 72% at 96% 76%, rgba(6, 7, 13, 0.74) 0%, rgba(6, 7, 13, 0.44) 48%, rgba(6, 7, 13, 0) 82%),
            linear-gradient(270deg, rgba(6, 7, 13, 0.84) 0%, rgba(6, 7, 13, 0.58) 24%, rgba(6, 7, 13, 0.24) 46%, rgba(6, 7, 13, 0) 68%),
            linear-gradient(180deg, rgba(6, 7, 13, 0.55) 0%, rgba(6, 7, 13, 0) 22%);
    }
    html[data-hero-side="right"] .cinema-hero .cinema-media::after {
        background:
            radial-gradient(ellipse at 86% 72%, rgba(var(--cinema-light), 0.2), transparent 52%),
            linear-gradient(0deg, rgba(6, 7, 13, 0.72) 0%, rgba(6, 7, 13, 0.3) 22%, rgba(6, 7, 13, 0) 46%);
    }
    html[data-hero-side="right"] .cinema-hero .cinema-meta,
    html[data-hero-side="right"] .cinema-hero .cinema-actions,
    html[data-hero-side="right"] .cinema-hero .cinema-title-wrap { justify-content: flex-end; }
    html[data-hero-side="right"] .cinema-hero .cinema-title-wrap .hero-slide-logo { object-position: right bottom; }
    html[data-hero-side="right"] .cinema-hero .hero-slide-desc { margin-left: auto; }
}

@media (max-width: 1150px) {
    .cinema-hero .hero-slide-content { width: min(580px, 58%); }
}

@media (max-width: 992px) {
    .hero-carousel.cinema-hero {
        --cinema-card-w: 164px;
        --cinema-dock-bottom: 44px;
        height: 820px !important;
        min-height: 700px !important;
    }

    .cinema-hero .cinema-media::before {
        background:
            linear-gradient(0deg, rgba(6, 7, 13, 0.92) 14%, rgba(6, 7, 13, 0.76) 34%, rgba(6, 7, 13, 0.32) 56%, rgba(6, 7, 13, 0) 72%),
            linear-gradient(90deg, rgba(6, 7, 13, 0.6) 0%, rgba(6, 7, 13, 0.24) 45%, rgba(6, 7, 13, 0) 75%),
            linear-gradient(180deg, rgba(6, 7, 13, 0.5) 0%, rgba(6, 7, 13, 0) 20%);
    }
    .cinema-hero .hero-slide-content {
        display: block;
        width: min(560px, calc(100% - 2 * var(--cinema-gutter)));
        padding: 96px 0 var(--cinema-content-bottom) !important;
        text-align: left;
    }
    .cinema-hero .cinema-title-wrap {
        --logo-unit: 180px;
        --logo-max-w: 420px;
        --logo-max-h: 140px;
        justify-content: flex-start;
    }
    .cinema-hero .cinema-title-wrap .hero-slide-logo {
        max-width: min(100%, var(--logo-max-w)) !important;
        max-height: var(--logo-max-h) !important;
    }
    .cinema-hero .cinema-title-wrap .hero-slide-title { font-size: clamp(2.4rem, 6.4vw, 3.4rem) !important; text-align: left; }
    .cinema-hero .cinema-title-wrap .hero-slide-title.is-mid { font-size: clamp(2.1rem, 5.2vw, 2.8rem) !important; }
    .cinema-hero .cinema-title-wrap .hero-slide-title.is-long { font-size: clamp(1.8rem, 4.2vw, 2.3rem) !important; }
    .cinema-hero .cinema-meta,
    .cinema-hero .cinema-actions { justify-content: flex-start; }
    .cinema-hero .hero-slide-desc { -webkit-line-clamp: 2; }
}

@media (max-width: 768px) {
    .cinema-hero .cinema-play.btn-premium {
        height: 48px;
        padding: 0 28px 0 20px !important;
        font-size: 0.92rem !important;
    }
    .cinema-hero .cinema-round.btn-premium {
        width: 48px !important;
        min-width: 48px;
        height: 48px;
    }
    .cinema-hero .cinema-pause.btn-premium {
        width: 40px !important;
        min-width: 40px;
        height: 40px;
    }
}

@media (max-width: 600px) {
    .hero-carousel.cinema-hero {

        --cinema-gutter: var(--hm-gutter, 16px);
        --cinema-card-w: 136px;
        --cinema-dock-bottom: 14px;

        --cinema-content-bottom: calc(var(--cinema-dock-bottom) + var(--cinema-card-w) * 0.5625 + 80px);
        --cinema-fade: linear-gradient(to bottom, #000 0%, #000 82%, rgba(0, 0, 0, 0.55) 91%, transparent 100%);
        height: 780px !important;

        height: clamp(600px, 92svh, 780px) !important;
        min-height: 0 !important;
    }
    .cinema-hero .cinema-backdrop {
        inset: 0 0 auto 0;
        height: 70%;
        object-position: 60% 22%;
        -webkit-mask-image: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, 0.55) 80%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, 0.55) 80%, transparent 100%);
    }
    .cinema-hero .cinema-media::before {
        background:
            linear-gradient(0deg, rgba(6, 7, 13, 0.94) 28%, rgba(6, 7, 13, 0.62) 46%, rgba(6, 7, 13, 0) 72%),
            linear-gradient(180deg, rgba(6, 7, 13, 0.45) 0%, rgba(6, 7, 13, 0) 22%);
    }
    .cinema-hero .cinema-media::after { background: radial-gradient(ellipse at 50% 64%, rgba(var(--cinema-light), 0.2), transparent 52%); }

    .cinema-hero .hero-slide-content {
        display: block;
        width: calc(100% - 2 * var(--cinema-gutter));
        max-width: none;
        margin: 0 var(--cinema-gutter);
        padding: 0 0 var(--cinema-content-bottom) !important;
        text-align: center;
    }
    .cinema-hero .cinema-title-wrap {
        --logo-unit: 148px;
        --logo-max-w: 300px;
        --logo-max-h: 104px;
        justify-content: center;
        margin-bottom: 14px;
    }
    .cinema-hero .cinema-title-wrap .hero-slide-logo {
        max-width: min(82%, var(--logo-max-w)) !important;
        max-height: var(--logo-max-h) !important;
        object-position: center bottom;
    }
    .cinema-hero .cinema-title-wrap .hero-slide-title { font-size: 2.05rem !important; text-align: center; }
    .cinema-hero .cinema-title-wrap .hero-slide-title.is-mid { font-size: 1.75rem !important; }
    .cinema-hero .cinema-title-wrap .hero-slide-title.is-long { font-size: 1.45rem !important; }
    .cinema-hero .cinema-meta { justify-content: center; gap: 4px 16px; font-size: 0.78rem; margin-bottom: 0; }
    .cinema-rating { font-size: 0.72rem; }
    .cinema-hero .hero-slide-desc { display: none; }
    .cinema-hero .cinema-actions { justify-content: center; margin-top: 18px; gap: 10px; }

    .cinema-dock {
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .cinema-controls {
        order: -1;
        justify-content: space-between;
        padding: 0 var(--cinema-gutter);
    }
    .cinema-hero .cinema-rail {
        --rail-fade-l: 18px;
        --rail-fade-r: 36px;
        flex: none;
        gap: 10px;
        margin: -10px 0 -8px;
        padding: 10px var(--cinema-gutter) 8px;
        scroll-padding-inline: var(--cinema-gutter);
    }
    .cinema-hero .cinema-card,
    .cinema-hero .cinema-card.active { padding: 3px; border-radius: 13px; }
    .cinema-card > img,
    .cinema-card-shade { border-radius: 10px; }
    .cinema-card-title { left: 11px; right: 11px; bottom: 13px; font-size: 0.7rem; }
    .cinema-card-track { left: 11px; right: 11px; bottom: 8px; }

    .cinema-hero .cinema-scroll { display: none; }
}

@media (max-width: 380px) {
    .hero-carousel.cinema-hero { --cinema-card-w: 124px; }
}

@media (orientation: landscape) and (max-height: 520px) {
    .hero-carousel.cinema-hero {
        --cinema-card-w: 112px;
        --cinema-dock-bottom: 14px;
        --cinema-content-bottom: calc(var(--cinema-dock-bottom) + var(--cinema-card-w) * 0.5625 + 34px);
        height: 100vh !important;
        height: 100svh !important;
        min-height: 320px !important;
    }
    .cinema-hero .hero-slide-content {
        width: min(460px, 58%);
        padding: 72px 0 var(--cinema-content-bottom) !important;
    }
    .cinema-hero .cinema-title-wrap {
        --logo-unit: 112px;
        --logo-max-w: 260px;
        --logo-max-h: 60px;
        margin-bottom: 10px;
    }
    .cinema-hero .cinema-title-wrap .hero-slide-title { font-size: 1.75rem !important; }
    .cinema-hero .cinema-title-wrap .hero-slide-title.is-mid { font-size: 1.5rem !important; }
    .cinema-hero .cinema-title-wrap .hero-slide-title.is-long { font-size: 1.3rem !important; }
    .cinema-hero .cinema-meta { gap: 4px 16px; margin-bottom: 0; font-size: 0.78rem; }
    .cinema-hero .hero-slide-desc { display: none; }
    .cinema-hero .cinema-actions { margin-top: 12px; gap: 10px; }
    .cinema-hero .cinema-play.btn-premium {
        height: 44px;
        padding: 0 24px 0 18px !important;
        font-size: 0.88rem !important;
    }
    .cinema-hero .cinema-round.btn-premium {
        width: 44px !important;
        min-width: 44px;
        height: 44px;
    }
    .cinema-dock { gap: 12px; }
    .cinema-card-title { left: 10px; right: 10px; bottom: 11px; font-size: 0.68rem; }
    .cinema-card-track { left: 10px; right: 10px; bottom: 7px; }

    .cinema-hero .cinema-scroll { display: none; }
}

html.no-gpu .cinema-hero .cinema-card,
html.no-gpu .cinema-hero .cinema-round.btn-premium,
html.no-gpu .cinema-rating {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

html.no-gpu .cinema-hero .cinema-card { background: rgba(24, 25, 38, 0.9); }
html.no-gpu .cinema-hero .cinema-card.active { background: rgba(30, 31, 46, 0.95); }
html.no-gpu .cinema-hero .cinema-round.btn-premium { background: rgba(28, 29, 42, 0.88); }
html.no-gpu .cinema-rating { background: rgba(28, 29, 42, 0.85); }

html.no-gpu .cinema-card > img { filter: none; transition: none; }
html.no-gpu .cinema-hero .cinema-card:not(.active) > img { opacity: 0.8; }

html.no-gpu .cinema-hero .cinema-card:hover,
html.no-gpu .cinema-hero .cinema-card.active,
html.no-gpu .cinema-hero .cinema-play.btn-premium:hover,
html.no-gpu .cinema-hero .cinema-round.btn-premium:hover { transform: none; }

html.no-gpu .cinema-hero .hero-slide { transform: none !important; transition: opacity 0s linear 0.95s !important; }
html.no-gpu .cinema-hero .hero-slide.active { transform: none !important; transition: opacity 0.9s ease !important; }

html.no-gpu .cinema-hero .cinema-backdrop,
html.no-gpu .cinema-hero .hero-slide.active .cinema-backdrop { transform: none; transition: opacity 0.5s ease; }

html.no-gpu .cinema-hero .hero-slide-content > *,
html.no-gpu .cinema-hero .hero-slide.active .hero-slide-content > * { transform: none; }

html.no-gpu .cinema-hero .cinema-rail[data-edge] { -webkit-mask-image: none; mask-image: none; }

html.reduce-motion .cinema-hero .hero-slide { transform: none !important; transition: opacity 0s linear 0.6s !important; }
html.reduce-motion .cinema-hero .hero-slide.active { transform: none !important; transition: opacity 0.6s ease !important; }

html.reduce-motion .cinema-hero .cinema-backdrop,
html.reduce-motion .cinema-hero .hero-slide.active .cinema-backdrop {
    transform: none !important;
    transition: opacity 0.4s ease !important;
}

html.reduce-motion .cinema-hero .hero-slide-content > * {
    transform: none !important;
    transition: opacity 0.15s ease !important;
}

html.reduce-motion .cinema-hero .hero-slide.active .hero-slide-content > * {
    transform: none !important;
    transition: opacity 0.3s ease 0.15s !important;
}

html.reduce-motion .cinema-hero .cinema-card,
html.reduce-motion .cinema-card > img { transition: none; transform: none; }

html.reduce-motion .cinema-hero .cinema-scroll { animation: none; }

@media (prefers-reduced-motion: reduce) {
    .cinema-hero .hero-slide { transform: none !important; transition: opacity 0s linear 0.6s !important; }
    .cinema-hero .hero-slide.active { transform: none !important; transition: opacity 0.6s ease !important; }
    .cinema-hero .cinema-backdrop,
    .cinema-hero .hero-slide.active .cinema-backdrop { transform: none !important; transition: opacity 0.4s ease !important; }
    .cinema-hero .hero-slide-content > * { transform: none !important; transition: opacity 0.15s ease !important; }
    .cinema-hero .hero-slide.active .hero-slide-content > * { transform: none !important; transition: opacity 0.3s ease 0.15s !important; }
    .cinema-hero .cinema-card,
    .cinema-card > img { transition: none; transform: none; }
    .cinema-hero .cinema-scroll { animation: none; }
}

html.no-ambient .cinema-hero .hero-slide { --cinema-light: 0, 0, 0 !important; }
