/* ==================================================================
 * LikeFilm route bundle: Film details and film subpages
 * Routes: /film/{slug}/ and nested film sections.
 *
 * Extracted from UnityMovie-2.2(49).css. This bundle contains only
 * isolated modern namespaces: sfv3, fcv3, rvv3, stv3, qtv3 and msv3.
 * Shared lfv2 primitives remain in global u.css because they are also
 * used by lists, search, 404 and other routes.
 * ================================================================== */

/* ==================================================================
 * LikeFilm Film V3 — /film/*/
 * Premium first screen, unified section navigation and overview.
 * Scoped to .sfv3-page so legacy film pages remain untouched.
 * ================================================================== */
.sfv3-page {
    --sfv3-surface: #0e1723;
    --sfv3-surface-soft: #111c2a;
    --sfv3-border: rgba(255,255,255,.09);
    --sfv3-border-strong: rgba(255,255,255,.15);
    --sfv3-muted: #94a1b2;
    --sfv3-accent: #f5c518;
    overflow: visible;
    background: transparent;
    border-radius: 0;
}

.sfv3-hero {
    position: relative;
    isolation: isolate;
    min-height: 430px;
    margin: 0 0 18px;
    overflow: hidden;
    border: 1px solid var(--sfv3-border);
    border-radius: 22px;
    background: #070c14;
    box-shadow: 0 28px 70px rgba(0,0,0,.28);
}

.sfv3-hero::before,
.sfv3-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sfv3-hero::before {
    z-index: -2;
    background-repeat: no-repeat;
}

.sfv3-hero::after {
    z-index: -1;
    background:
        linear-gradient(90deg,
            rgba(5,10,17,.99) 0%,
            rgba(5,10,17,.96) 31%,
            rgba(5,10,17,.78) 54%,
            rgba(5,10,17,.34) 77%,
            rgba(5,10,17,.62) 100%),
        linear-gradient(0deg,
            rgba(5,10,17,.82) 0%,
            rgba(5,10,17,.08) 52%,
            rgba(5,10,17,.22) 100%);
}

.sfv3-hero--wallpaper::before {
    background-image: var(--sfv3-hero-wallpaper);
    background-position: center right;
    background-size: cover;
    filter: saturate(.88) brightness(.78);
    transform: scale(1.015);
}

.sfv3-hero--poster-fallback::before {
    inset: -56px;
    background-image: var(--sfv3-hero-poster);
    background-position: 68% 38%;
    background-size: cover;
    filter: blur(36px) saturate(1.16) brightness(.46);
    transform: scale(1.18);
    opacity: .95;
}

.sfv3-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 238px minmax(0, 1fr);
    align-items: center;
    gap: 34px;
    min-height: 430px;
    padding: 34px 42px;
}

.sfv3-hero__poster-wrap {
    align-self: center;
    width: 238px;
    padding: 6px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 17px;
    background: rgba(8,14,23,.60);
    box-shadow: 0 22px 52px rgba(0,0,0,.46);
    backdrop-filter: blur(8px);
}

.sfv3-hero__poster {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 2.86;
    object-fit: cover;
    border-radius: 12px;
}

.sfv3-hero__content {
    min-width: 0;
    max-width: 790px;
}

.sfv3-hero__eyebrow,
.sfv3-section-kicker {
    color: var(--sfv3-accent);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .105em;
    text-transform: uppercase;
}

.sfv3-hero__title {
    max-width: 760px;
    margin: 8px 0 5px;
    color: #fff;
    font-size: clamp(2.35rem, 4.1vw, 4.45rem);
    font-weight: 800;
    line-height: .99;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.sfv3-hero__original {
    margin-top: 10px;
    color: #a9b4c3;
    font-size: 1.02rem;
    font-style: italic;
}

.sfv3-hero__meta,
.sfv3-hero__ratings,
.sfv3-hero__genres,
.sfv3-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.sfv3-hero__meta {
    gap: 7px 0;
    margin-top: 14px;
    color: #d2dae4;
    font-size: .94rem;
}

.sfv3-hero__meta > span {
    display: inline-flex;
    align-items: center;
}

.sfv3-hero__meta > span:not(:last-child)::after {
    content: "";
    width: 4px;
    height: 4px;
    margin: 0 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.32);
}

.sfv3-hero__age {
    min-height: 27px;
    padding: 0 8px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 7px;
    background: rgba(255,255,255,.035);
}

.sfv3-hero__ratings {
    gap: 9px;
    margin-top: 17px;
}

.sfv3-rating {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 11px;
    color: #f7f9fc;
    background: rgba(6,12,20,.68);
    box-shadow: inset 0 1px rgba(255,255,255,.025);
}

.sfv3-rating b {
    font-size: 1.13rem;
}

.sfv3-rating small {
    color: #8f9caf;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.sfv3-rating--accent i {
    color: var(--sfv3-accent);
}

.sfv3-hero__genres {
    gap: 8px;
    margin-top: 13px;
}

.sfv3-hero__genres span {
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;
    color: #c4ceda;
    background: rgba(18,28,42,.60);
    font-size: .82rem;
    font-weight: 650;
}

.sfv3-hero__lead {
    max-width: 680px;
    margin: 16px 0 0;
    color: #d4dbe4;
    font-size: 1rem;
    line-height: 1.58;
}

.sfv3-hero__actions {
    gap: 10px;
    margin-top: 21px;
}

.sfv3-page .sfv3-hero__actions .lfv2-btn {
    min-height: 44px;
}

.sfv3-user-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px 14px;
    max-width: max-content;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,.10);
}

.sfv3-user-rating > span {
    color: #93a0b1;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.sfv3-user-rating #filmRate {
    min-width: 120px;
}

.sfv3-user-rating #rateResponse {
    color: #dbe3ec;
    font-size: .84rem;
}

.sfv3-hero__content > [itemprop="aggregateRating"] {
    margin-top: 8px;
    color: #8190a3;
    font-size: .77rem;
}

.sfv3-section-nav {
    position: sticky;
    top: 68px;
    z-index: 35;
    margin: 0 0 22px;
    padding: 6px;
    border: 1px solid var(--sfv3-border);
    border-radius: 15px;
    background: rgba(9,16,26,.92);
    box-shadow: 0 14px 34px rgba(0,0,0,.22);
    backdrop-filter: blur(15px);
}

.sfv3-section-nav__rail {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.sfv3-section-nav__rail::-webkit-scrollbar {
    display: none;
}

.sfv3-section-nav a {
    flex: 0 0 auto;
    min-height: 39px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #aeb9c8;
    font-size: .88rem;
    font-weight: 700;
    scroll-snap-align: start;
    transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.sfv3-section-nav a:hover {
    color: #fff;
    background: rgba(255,255,255,.055);
}

.sfv3-section-nav a.is-active {
    color: #0b111a;
    background: var(--sfv3-accent);
    box-shadow: 0 8px 22px rgba(245,197,24,.15);
}

.sfv3-shell {
    width: 100%;
}

.sfv3-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.38fr) minmax(330px, .72fr);
    gap: 18px;
    margin-bottom: 28px;
}

.sfv3-story,
.sfv3-details {
    min-width: 0;
    padding: 25px 27px;
    border: 1px solid var(--sfv3-border);
    border-radius: 17px;
    background: linear-gradient(180deg, rgba(15,24,37,.96), rgba(10,18,29,.96));
    box-shadow: 0 16px 38px rgba(0,0,0,.16);
}

.sfv3-story h2 {
    margin: 6px 0 14px;
    color: #f7f9fc;
    font-size: 1.65rem;
    line-height: 1.16;
}

.sfv3-story__text {
    max-width: 780px;
    color: #c2ccd8;
    font-size: 1rem;
    line-height: 1.72;
}

.sfv3-story__text p:first-child {
    margin-top: 0;
}

.sfv3-story__text p:last-child {
    margin-bottom: 0;
}

.sfv3-details__quick {
    margin-top: 10px;
}

.sfv3-details__quick > div {
    display: grid;
    grid-template-columns: minmax(105px, .75fr) minmax(0, 1.25fr);
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,.075);
}

.sfv3-details__quick span {
    color: #7f8da1;
    font-size: .82rem;
}

.sfv3-details__quick strong {
    min-width: 0;
    color: #e7edf4;
    font-size: .9rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.sfv3-details__more {
    margin-top: 13px;
}

.sfv3-details__more summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 10px;
    color: #cbd4df;
    background: rgba(255,255,255,.028);
    font-size: .86rem;
    font-weight: 750;
    cursor: pointer;
    list-style: none;
}

.sfv3-details__more summary::-webkit-details-marker {
    display: none;
}

.sfv3-details__more[open] summary i {
    transform: rotate(180deg);
}

.sfv3-details__more summary i {
    transition: transform .18s ease;
}

.sfv3-details__table {
    margin-top: 10px;
    padding: 4px 12px 10px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 11px;
    background: rgba(5,10,17,.34);
}

.sfv3-details__table .uiStandartVarListWidth30S70 {
    width: 100%;
    margin: 0;
}

.sfv3-details__table .uiStandartVarListWidth30S70 td {
    padding: 9px 0;
    border-color: rgba(255,255,255,.07);
}

.sfv3-details__table .uiStandartVarListName {
    color: #8996a8;
}

.sfv3-details__table .uiStandartVarListVal {
    color: #d3dbe5;
}

.sfv3-anchor,
.sfv3-page [id="where-to-watch"],
.sfv3-page [id="trailer"],
.sfv3-page [id="reviews"],
.sfv3-page [id="filmFacts"] {
    scroll-margin-top: 130px;
}

.sfv3-media {
    min-width: 0;
}

.sfv3-media > .uiMargin:first-child,
.sfv3-media > .uiClear:first-child {
    display: none;
}

.sfv3-media .uiH2,
.sfv3-media > h2,
.sfv3-media > h3 {
    color: #f3f6fa;
}

.sfv3-media .uiMediaOnClickElement,
.sfv3-media .uiMediaOnClickBack {
    border-radius: 16px;
    overflow: hidden;
}


/* Film V3: trailer, cast and streaming sections */
.sfv3-overview {
    align-items: start;
}

.sfv3-details {
    align-self: start;
}

.sfv3-page .sfv3-section-nav__rail > a.is-active,
.sfv3-page .sfv3-section-nav__rail > a.is-active:link,
.sfv3-page .sfv3-section-nav__rail > a.is-active:visited {
    color: #07101b !important;
    background: var(--sfv3-accent) !important;
    box-shadow: 0 8px 22px rgba(245,197,24,.17) !important;
}

.sfv3-section {
    width: 100%;
    min-width: 0;
    margin-top: 30px;
}

.sfv3-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 15px;
}

.sfv3-section-header h2 {
    margin: 5px 0 0;
    color: #f6f8fb;
    font-size: clamp(1.55rem, 2.3vw, 2rem);
    line-height: 1.12;
    letter-spacing: -.025em;
}

.sfv3-section-header p {
    margin: 7px 0 0;
    color: #8896a8;
    font-size: .91rem;
}

.sfv3-trailer-card {
    width: min(100%, 1040px);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    background: #070d15;
    box-shadow: 0 22px 52px rgba(0,0,0,.28);
}

.sfv3-trailer-card .uiClear,
.sfv3-trailer-card + .uiClear {
    display: none;
}

.sfv3-trailer-card .uiMediaOnClickLink {
    display: block;
    width: 100%;
}

.sfv3-trailer-card .uiMediaOnClickElement,
.sfv3-trailer-card .uiMediaOnClickBack {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    border-radius: 0;
}

.sfv3-trailer-card .uiMediaOnClickBack {
    background-position: center !important;
    background-size: cover !important;
}

.sfv3-cast-section {
    margin-top: 32px;
    padding: 0;
}

.sfv3-cast-header {
    align-items: flex-end;
    margin-bottom: 14px;
}

.sfv3-cast-header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sfv3-section-link,
.sfv3-section-link:link,
.sfv3-section-link:visited {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #aeb9c8;
    font-size: .84rem;
    font-weight: 750;
    text-decoration: none;
    transition: color .18s ease;
}

.sfv3-section-link:hover {
    color: var(--sfv3-accent);
}

.sfv3-cast-rail {
    grid-auto-columns: minmax(235px, 278px);
    gap: 11px;
    padding: 2px 1px 8px;
}

.sfv3-page .sfv3-cast-card,
.sfv3-page .sfv3-cast-card:link,
.sfv3-page .sfv3-cast-card:visited {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 86px;
    padding: 10px;
    color: #f5f7fb;
    background: linear-gradient(180deg, rgba(20,30,44,.94), rgba(13,22,34,.94));
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 13px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,.18);
}

.sfv3-page .sfv3-cast-card:hover {
    transform: translateY(-2px);
    border-color: rgba(245,197,24,.34);
    box-shadow: 0 15px 31px rgba(0,0,0,.27);
}

.sfv3-cast-card__avatar {
    display: block;
    width: 64px !important;
    height: 64px !important;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 11px;
    background: #09101a;
}

.sfv3-cast-card__body {
    display: block;
    min-width: 0;
}

.sfv3-cast-card__body strong,
.sfv3-cast-card__body small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sfv3-cast-card__body strong {
    color: #f3f6fa;
    font-size: .93rem;
    line-height: 1.3;
}

.sfv3-cast-card__body small {
    margin-top: 5px;
    color: #91a0b3;
    font-size: .81rem;
    line-height: 1.3;
}

.sfv3-streaming {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    margin-top: 32px;
    padding: 24px 26px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 17px;
    background:
        radial-gradient(circle at 90% 30%, rgba(245,197,24,.09), transparent 31%),
        linear-gradient(180deg, rgba(16,26,40,.97), rgba(10,18,29,.97));
    box-shadow: 0 17px 40px rgba(0,0,0,.19);
}

.sfv3-streaming__copy h2 {
    margin: 5px 0 0;
    color: #f6f8fb;
    font-size: clamp(1.45rem, 2.2vw, 1.9rem);
    line-height: 1.15;
}

.sfv3-streaming__copy p {
    margin: 8px 0 0;
    color: #93a1b3;
    font-size: .92rem;
}

.sfv3-streaming__result {
    min-width: 175px;
}

.sfv3-streaming__button {
    width: 100%;
    min-height: 46px;
    white-space: nowrap;
}

.sfv3-streaming__result .uiStreamingListUI {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sfv3-streaming__result .uiStreamingListUI li {
    margin: 0;
}

.sfv3-streaming__result .uiStreamingListUI a {
    float: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 118px !important;
    min-height: 52px;
    margin: 0 !important;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 11px;
    background: rgba(5,11,19,.62);
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.sfv3-streaming__result .uiStreamingListUI a:hover {
    transform: translateY(-2px);
    border-color: rgba(245,197,24,.38);
    background: rgba(15,25,39,.9);
}

.sfv3-streaming__result .uiStreamingListUI img {
    display: block;
    max-width: 100%;
    max-height: 34px;
    object-fit: contain;
}

@media (max-width: 1040px) {
    .sfv3-hero__inner {
        grid-template-columns: 205px minmax(0, 1fr);
        gap: 27px;
        padding: 30px;
    }

    .sfv3-hero__poster-wrap {
        width: 205px;
    }

    .sfv3-overview {
        grid-template-columns: minmax(0, 1fr) minmax(290px, .72fr);
    }}

@media (max-width: 820px) {
    .sfv3-hero {
        min-height: 390px;
    }

    .sfv3-hero__inner {
        min-height: 390px;
        grid-template-columns: 150px minmax(0, 1fr);
        gap: 22px;
        padding: 25px;
    }

    .sfv3-hero__poster-wrap {
        width: 150px;
        padding: 4px;
        border-radius: 13px;
    }

    .sfv3-hero__poster {
        border-radius: 9px;
    }

    .sfv3-hero__title {
        font-size: clamp(2rem, 6vw, 3.25rem);
    }

    .sfv3-hero__lead {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .sfv3-overview {
        grid-template-columns: 1fr;
    }

    .sfv3-section-nav {
        top: 62px;
    }}

@media (max-width: 620px) {
    .sfv3-hero {
        min-height: 0;
        border-radius: 17px;
    }

    .sfv3-hero::after {
        background:
            linear-gradient(90deg, rgba(5,10,17,.98) 0%, rgba(5,10,17,.88) 54%, rgba(5,10,17,.64) 100%),
            linear-gradient(0deg, rgba(5,10,17,.92) 0%, rgba(5,10,17,.20) 100%);
    }

    .sfv3-hero__inner {
        min-height: 0;
        grid-template-columns: 96px minmax(0, 1fr);
        align-items: start;
        gap: 16px;
        padding: 20px;
    }

    .sfv3-hero__poster-wrap {
        width: 96px;
        padding: 3px;
        border-radius: 10px;
    }

    .sfv3-hero__poster {
        border-radius: 7px;
    }

    .sfv3-hero__eyebrow {
        font-size: .62rem;
    }

    .sfv3-hero__title {
        margin-top: 5px;
        font-size: clamp(1.75rem, 8.5vw, 2.55rem);
        line-height: 1.03;
    }

    .sfv3-hero__original {
        margin-top: 7px;
        font-size: .88rem;
    }

    .sfv3-hero__meta,
    .sfv3-hero__ratings {
        margin-top: 10px;
    }

    .sfv3-hero__genres,
    .sfv3-hero__lead,
    .sfv3-user-rating,
    .sfv3-hero__content > [itemprop="aggregateRating"] {
        grid-column: 1 / -1;
    }

    .sfv3-hero__genres {
        display: none;
    }

    .sfv3-hero__lead {
        margin-top: 12px;
        font-size: .92rem;
        -webkit-line-clamp: 4;
    }

    .sfv3-hero__actions {
        grid-column: 1 / -1;
        gap: 8px;
        margin-top: 16px;
    }

    .sfv3-page .sfv3-hero__actions .lfv2-btn {
        flex: 1 1 auto;
        min-width: 0;
        padding-inline: 12px;
    }

    .sfv3-section-nav {
        top: 56px;
        margin-bottom: 16px;
        border-radius: 13px;
    }

    .sfv3-section-nav a {
        min-height: 37px;
        padding-inline: 12px;
        font-size: .82rem;
    }

    .sfv3-story,
    .sfv3-details {
        padding: 20px;
        border-radius: 14px;
    }

    .sfv3-story h2 {
        font-size: 1.42rem;
    }

    .sfv3-story__text {
        font-size: .95rem;
        line-height: 1.65;
    }}

@media (prefers-reduced-motion: reduce) {
    .sfv3-section-nav a,
    .sfv3-details__more summary i {
        transition: none;
    }}

/* Film V3 responsive section overrides */
@media (max-width: 820px) {
    .sfv3-streaming {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .sfv3-streaming__result .uiStreamingListUI {
        justify-content: flex-start;
    }}

@media (max-width: 620px) {
    .sfv3-section {
        margin-top: 24px;
    }

    .sfv3-section-header {
        align-items: flex-start;
    }

    .sfv3-trailer-card {
        border-radius: 14px;
    }

    .sfv3-cast-header__actions .sfv3-section-link {
        display: none;
    }

    .sfv3-cast-header__actions {
        gap: 8px;
    }

    .sfv3-cast-rail {
        grid-auto-columns: minmax(218px, 82vw);
    }

    .sfv3-streaming {
        padding: 20px;
        border-radius: 14px;
    }

    .sfv3-streaming__result {
        width: 100%;
        min-width: 0;
    }

    .sfv3-streaming__button {
        width: 100%;
    }}

/* Film V3: premium viewer reviews and facts */
.sfv3-page .sfv3-section-nav__rail > a.is-active,
.sfv3-page .sfv3-section-nav__rail > a.is-active:link,
.sfv3-page .sfv3-section-nav__rail > a.is-active:visited {
    color: #f8fafc !important;
    background: rgba(245, 197, 24, .08) !important;
    box-shadow: inset 0 -2px 0 var(--sfv3-accent) !important;
}

.sfv3-reviews,
.sfv3-facts {
    margin-top: 54px;
    scroll-margin-top: 96px;
}

.sfv3-reviews__header,
.sfv3-facts__header {
    margin-bottom: 18px;
}

.sfv3-review-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.sfv3-review-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--sfv3-border);
    border-radius: 17px;
    background:
        linear-gradient(180deg, rgba(17, 28, 42, .94), rgba(11, 20, 32, .96));
    box-shadow: 0 18px 42px rgba(0, 0, 0, .18);
}

.sfv3-review-card--featured {
    grid-column: 1 / -1;
    padding: 22px 24px;
    border-color: rgba(245, 197, 24, .18);
    background:
        radial-gradient(circle at 90% 0%, rgba(245, 197, 24, .055), transparent 34%),
        linear-gradient(180deg, rgba(17, 28, 42, .97), rgba(11, 20, 32, .98));
}

.sfv3-review-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 15px;
}

.sfv3-review-card__score {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 11px;
    border: 1px solid rgba(245, 197, 24, .20);
    border-radius: 11px;
    background: rgba(245, 197, 24, .07);
}

.sfv3-review-card__score i {
    color: var(--sfv3-accent);
}

.sfv3-review-card__score strong {
    color: #f8fafc;
    font-size: 1rem;
}

.sfv3-review-card__score small {
    margin-left: 2px;
    color: var(--sfv3-muted);
    font-size: .72rem;
    font-weight: 700;
}

.sfv3-review-card__head time {
    color: var(--sfv3-muted);
    font-size: .82rem;
    white-space: nowrap;
}

.sfv3-review-card__body {
    color: #dbe4ef;
    font-size: .98rem;
    line-height: 1.66;
}

.sfv3-review-card:not(.sfv3-review-card--featured) .sfv3-review-card__body {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.sfv3-review-card__body p {
    margin: 0;
}

.sfv3-review-card__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.sfv3-review-vote,
.sfv3-review-vote:link,
.sfv3-review-vote:visited {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 10px;
    color: #bdc9d8;
    background: rgba(4, 10, 18, .38);
    font-size: .82rem;
    font-weight: 750;
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.sfv3-review-vote:hover {
    color: #fff;
    border-color: rgba(245, 197, 24, .34);
    background: rgba(245, 197, 24, .07);
    transform: translateY(-1px);
}

.sfv3-review-vote--down {
    width: 38px;
    padding: 0;
}

.sfv3-review-compose {
    margin-top: 14px;
    border: 1px solid var(--sfv3-border);
    border-radius: 15px;
    background: rgba(11, 20, 32, .88);
}

.sfv3-review-compose summary {
    min-height: 50px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #dce6f2;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.sfv3-review-compose summary::-webkit-details-marker {
    display: none;
}

.sfv3-review-compose summary .fa-angle-down {
    margin-left: auto;
    color: var(--sfv3-muted);
    transition: transform .18s ease;
}

.sfv3-review-compose[open] summary .fa-angle-down {
    transform: rotate(180deg);
}

.sfv3-review-compose__body {
    padding: 0 16px 16px;
}

.sfv3-review-compose__body #movieReview {
    width: 100%;
    min-height: 145px;
    resize: vertical;
    padding: 14px 15px;
    color: #f8fafc;
    background: rgba(5, 12, 21, .72);
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 12px;
    outline: none;
    font: inherit;
    line-height: 1.55;
}

.sfv3-review-compose__body #movieReview:focus {
    border-color: rgba(245, 197, 24, .58);
    box-shadow: 0 0 0 3px rgba(245, 197, 24, .08);
}

.sfv3-review-compose__submit {
    margin-top: 12px;
}

.sfv3-fact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.sfv3-fact-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--sfv3-border);
    border-radius: 15px;
    background: linear-gradient(180deg, rgba(18, 27, 40, .92), rgba(12, 20, 31, .96));
}

.sfv3-fact-card__number {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(245, 197, 24, .18);
    border-radius: 12px;
    color: var(--sfv3-accent);
    background: rgba(245, 197, 24, .055);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .06em;
}

.sfv3-fact-card__content {
    min-width: 0;
}

.sfv3-fact-card__text {
    color: #e3ebf5;
    font-size: .94rem;
    line-height: 1.58;
}

.sfv3-fact-card__rating {
    margin-top: 15px;
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.sfv3-fact-card__rating > span {
    display: block;
    margin-bottom: 7px;
    color: var(--sfv3-muted);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.sfv3-fact-card__stars {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.sfv3-fact-card__stars > div {
    display: inline-flex;
    align-items: center;
    gap: 1px;
}

.sfv3-fact-card__stars [id^="filmFactRate"] a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.sfv3-fact-card__stars [id^="filmFactRate"] i {
    padding-right: 1px !important;
    font-size: .92rem !important;
    transition: transform .15s ease, filter .15s ease;
}

.sfv3-fact-card__stars [id^="filmFactRate"] a:hover i {
    transform: translateY(-1px) scale(1.08);
    filter: brightness(1.18);
}

.sfv3-fact-card__stars small {
    color: var(--sfv3-muted);
    font-size: .72rem;
}

.sfv3-facts-more {
    margin-top: 14px;
}

.sfv3-facts-more > summary {
    width: fit-content;
    min-height: 42px;
    margin: 0 auto;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 11px;
    color: #d7e1ed;
    background: rgba(12, 21, 33, .88);
    font-size: .84rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.sfv3-facts-more > summary::-webkit-details-marker {
    display: none;
}

.sfv3-facts-more[open] > summary {
    margin-bottom: 14px;
}

.sfv3-facts-more[open] > summary i {
    transform: rotate(180deg);
}

.sfv3-facts-more > summary i {
    color: var(--sfv3-accent);
    transition: transform .18s ease;
}

@media (max-width: 900px) {
    .sfv3-review-list,
    .sfv3-fact-grid {
        grid-template-columns: 1fr;
    }

    .sfv3-review-card--featured {
        grid-column: auto;
    }}

@media (max-width: 700px) {
    .sfv3-reviews,
    .sfv3-facts {
        margin-top: 38px;
    }

    .sfv3-review-card,
    .sfv3-review-card--featured {
        padding: 17px;
    }

    .sfv3-review-card__body {
        font-size: .93rem;
    }

    .sfv3-review-card:not(.sfv3-review-card--featured) .sfv3-review-card__body {
        -webkit-line-clamp: 7;
    }

    .sfv3-fact-card {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 11px;
        padding: 15px;
    }

    .sfv3-fact-card__number {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .sfv3-fact-card__stars {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }}

/* ==================================================================
 * SimpleFilm V3 — related collections and thematic film rails.
 * Reuses the modern rail markup without affecting legacy pages.
 * ================================================================== */
.sfv3-related-themes,
.sfv3-related-films {
    width: 100%;
    margin-top: 58px;
}

.sfv3-related-themes__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.sfv3-related-themes__head h2 {
    margin: 4px 0 0;
    color: var(--sfv3-text, #f8fafc);
    font-size: clamp(1.35rem, 2.1vw, 1.8rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.025em;
}

.sfv3-related-themes .uiThemeRailShell {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0 0 2px;
}

.sfv3-related-themes .uiThemeScrollContainer {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sfv3-related-themes .uiThemeScrollContainer::-webkit-scrollbar {
    display: none;
}

.sfv3-related-themes .uiThemeScrollContent {
    display: flex;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    min-width: 100%;
}

.sfv3-related-themes .uiThemeSimpleCard {
    position: relative;
    flex: 0 0 calc((100% - 48px) / 5);
    min-width: 0;
    height: 180px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--sfv3-border, rgba(255,255,255,.1));
    border-radius: 15px;
    background: #101926;
    box-shadow: 0 14px 28px rgba(0,0,0,.16);
    scroll-snap-align: start;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.sfv3-related-themes .uiThemeSimpleCard:hover {
    transform: translateY(-3px);
    border-color: rgba(245,197,24,.28);
    box-shadow: 0 20px 38px rgba(0,0,0,.26);
}

.sfv3-related-themes .uiThemeSimpleCard > a {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.sfv3-related-themes .uiThemeSimpleCardPoster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #09111d;
}

.sfv3-related-themes .uiThemeSimpleCardPoster::after {
    content: "";
    position: absolute;
    inset: 24% 0 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(4,9,16,.45) 42%, rgba(4,9,16,.96) 100%);
}

.sfv3-related-themes .uiThemeSimpleCardPoster img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    transition: transform .32s ease, filter .32s ease;
}

.sfv3-related-themes .uiThemeSimpleCard:hover .uiThemeSimpleCardPoster img {
    transform: scale(1.04);
    filter: saturate(1.06);
}

.sfv3-related-themes .uiThemeSimpleCardOverlay {
    position: absolute;
    z-index: 2;
    left: 14px;
    right: 14px;
    bottom: 12px;
    min-width: 0;
}

.sfv3-related-themes .uiThemeSimpleCardCaption {
    position: static;
    display: -webkit-box;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: #f8fafc;
    background: transparent;
    text-align: left;
    text-shadow: 0 2px 12px rgba(0,0,0,.85);
    font-size: .98rem;
    line-height: 1.28;
    font-weight: 800;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sfv3-related-themes .uiThemeSimpleCardCount {
    margin-top: 4px;
    color: rgba(226,232,240,.7);
    font-size: .76rem;
}

.sfv3-related-themes .uiThemeRailDots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 18px;
    margin-top: 15px;
}

.sfv3-related-themes .uiThemeRailDot {
    appearance: none;
    width: 6px;
    height: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.22);
    cursor: pointer;
    transition: width .18s ease, background-color .18s ease, border-radius .18s ease;
}

.sfv3-related-themes .uiThemeRailDot.is-active {
    width: 18px;
    border-radius: 999px;
    background: var(--sfv3-accent, #f5c518);
}

.sfv3-related-films {
    padding-top: 2px;
}

.sfv3-page .lfv2-related-strip {
    width: 100%;
    margin: 34px 0 0;
    padding-top: 25px;
    border-top: 1px solid var(--sfv3-border, rgba(255,255,255,.09));
}

.sfv3-page .lfv2-related-strip__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.sfv3-page .lfv2-related-strip__title {
    margin: 0;
    color: var(--sfv3-text, #f8fafc);
    font-size: 1.22rem;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -.018em;
}

.sfv3-page .lfv2-related-strip__all {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sfv3-text-soft, #b9c6d6) !important;
    font-size: .88rem;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}

.sfv3-page .lfv2-related-strip__all:hover {
    color: var(--sfv3-accent, #f5c518) !important;
}

.sfv3-page .lfv2-related-strip__shell {
    position: relative;
    width: 100%;
}

.sfv3-page .lfv2-related-strip__rail {
    display: flex;
    gap: 12px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 3px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sfv3-page .lfv2-related-strip__rail::-webkit-scrollbar {
    display: none;
}

.sfv3-page .lfv2-related-card {
    flex: 0 0 calc((100% - 72px) / 7);
    min-width: 136px;
    overflow: hidden;
    border: 1px solid var(--sfv3-border, rgba(255,255,255,.09));
    border-radius: 13px;
    background: linear-gradient(180deg, rgba(17,27,41,.98), rgba(11,19,30,.98));
    scroll-snap-align: start;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.sfv3-page .lfv2-related-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245,197,24,.26);
    box-shadow: 0 18px 34px rgba(0,0,0,.25);
}

.sfv3-page .lfv2-related-card__link {
    display: block;
    height: 100%;
    color: inherit !important;
    text-decoration: none !important;
}

.sfv3-page .lfv2-related-card__poster {
    position: relative;
    width: 100%;
    aspect-ratio: 155 / 226;
    overflow: hidden;
    background: #101927;
}

.sfv3-page .lfv2-related-card__poster::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 27%;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(3,7,12,.68));
}

.sfv3-page .lfv2-related-card__poster img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    transition: transform .3s ease;
}

.sfv3-page .lfv2-related-card:hover .lfv2-related-card__poster img {
    transform: scale(1.04);
}

.sfv3-page .lfv2-related-card__rating {
    position: absolute;
    z-index: 2;
    left: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 25px;
    padding: 3px 7px;
    color: #f8fafc;
    background: rgba(5,10,17,.9);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 7px;
    font-size: .8rem;
    line-height: 1;
    font-weight: 800;
}

.sfv3-page .lfv2-related-card__rating .fa {
    color: var(--sfv3-accent, #f5c518);
}

.sfv3-page .lfv2-related-card__body {
    min-height: 118px;
    padding: 10px 10px 12px;
}

.sfv3-page .lfv2-related-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 7px;
    margin-bottom: 7px;
    color: var(--sfv3-muted, #8392a7);
    font-size: .7rem;
}

.sfv3-page .lfv2-related-card__meta span:last-child {
    max-width: 56%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: right;
}

.sfv3-page .lfv2-related-card__name {
    display: -webkit-box;
    min-height: 2.7em;
    margin: 0 0 8px;
    overflow: hidden;
    color: #f4f7fb;
    font-size: .88rem;
    line-height: 1.35;
    font-weight: 800;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sfv3-page .lfv2-related-card__genre {
    overflow: hidden;
    color: var(--sfv3-muted, #8392a7);
    font-size: .71rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sfv3-page .lfv2-related-strip__arrow {
    top: 42%;
}

.sfv3-page .lfv2-related-strip__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 18px;
    margin-top: 15px;
}

@media (max-width: 1100px) {
    .sfv3-page .lfv2-related-card {
        flex-basis: calc((100% - 60px) / 6);
    }}

@media (max-width: 900px) {
    .sfv3-related-themes,
    .sfv3-related-films {
        margin-top: 44px;
    }

    .sfv3-related-themes .uiThemeSimpleCard {
        flex-basis: 215px;
        min-width: 215px;
        height: 164px;
    }

    .sfv3-page .lfv2-related-card {
        flex-basis: 148px;
    }}

@media (max-width: 700px) {
    .sfv3-related-themes,
    .sfv3-related-films {
        margin-top: 36px;
    }

    .sfv3-related-themes__head,
    .sfv3-page .lfv2-related-strip__head {
        align-items: flex-start;
        margin-bottom: 14px;
    }

    .sfv3-related-themes .uiThemeSimpleCard {
        flex-basis: 198px;
        min-width: 198px;
        height: 150px;
    }

    .sfv3-related-themes .uiThemeRailButton,
    .sfv3-page .lfv2-related-strip__arrow {
        display: none;
    }

    .sfv3-page .lfv2-related-strip {
        margin-top: 26px;
        padding-top: 20px;
    }

    .sfv3-page .lfv2-related-strip__title {
        font-size: 1.05rem;
    }

    .sfv3-page .lfv2-related-strip__all {
        font-size: .8rem;
    }

    .sfv3-page .lfv2-related-card {
        flex-basis: 132px;
        min-width: 132px;
    }

    .sfv3-page .lfv2-related-card__body {
        min-height: 105px;
        padding: 8px;
    }

    .sfv3-page .lfv2-related-card__name {
        font-size: .82rem;
    }

    .sfv3-page .lfv2-related-strip__dots {
        display: none;
    }}

/* ==================================================================
 * LikeFilm Film V3 — breadcrumbs inside the movie hero
 * Reuses the visual language of the similar-movies page and replaces
 * the decorative “ФИЛЬМ LIKEFILM” eyebrow with useful navigation.
 * ================================================================== */
.sfv3-hero .sfv3-breadcrumbs {
    max-width: 100%;
    margin: 0 0 13px;
    color: rgba(203, 213, 225, .72);
}

.sfv3-hero .sfv3-breadcrumbs ol {
    flex-wrap: nowrap;
    min-width: 0;
}

.sfv3-hero .sfv3-breadcrumbs li:last-child {
    min-width: 0;
    max-width: min(42vw, 360px);
}

.sfv3-hero .lfv2-breadcrumbs__current {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: rgba(241, 245, 249, .88);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sfv3-hero .sfv3-breadcrumbs a:hover {
    color: var(--sfv3-accent);
}

@media (max-width: 760px) {
    .sfv3-hero .sfv3-breadcrumbs {
        margin-bottom: 9px;
    }

    .sfv3-hero .sfv3-breadcrumbs li:last-child {
        max-width: 150px;
    }}

@media (max-width: 430px) {
    .sfv3-hero .sfv3-breadcrumbs li:last-child {
        display: none;
    }

    .sfv3-hero .sfv3-breadcrumbs li:nth-child(2)::after {
        content: none;
    }}

/* ==================================================================
 * LikeFilm Film Cast V3 — /film/*/cast/
 * Изолированный премиальный слой страницы актёров и съёмочной группы.
 * ================================================================== */
.fcv3-page {
    --fcv3-bg: #070c14;
    --fcv3-surface: #0e1723;
    --fcv3-surface-2: #121d2b;
    --fcv3-surface-3: #172434;
    --fcv3-border: rgba(255,255,255,.09);
    --fcv3-border-strong: rgba(255,255,255,.15);
    --fcv3-text: #f5f7fa;
    --fcv3-secondary: #b1bdcb;
    --fcv3-muted: #8e9bad;
    --fcv3-accent: #f5c518;
    --fcv3-accent-hover: #ffd438;
    overflow: visible;
    border-radius: 0;
    background: transparent;
}

.fcv3-hero {
    --fcv3-hero-wallpaper: none;
    --fcv3-hero-poster: none;
    position: relative;
    isolation: isolate;
    min-height: 310px;
    margin: 0 0 18px;
    overflow: hidden;
    border: 1px solid var(--fcv3-border);
    border-radius: 22px;
    background: #070c14;
    box-shadow: 0 28px 70px rgba(0,0,0,.28);
}

.fcv3-hero::before,
.fcv3-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.fcv3-hero::before {
    z-index: -2;
    background-repeat: no-repeat;
}

.fcv3-hero::after {
    z-index: -1;
    background:
        linear-gradient(90deg,
            rgba(5,10,17,.99) 0%,
            rgba(5,10,17,.95) 34%,
            rgba(5,10,17,.74) 60%,
            rgba(5,10,17,.38) 82%,
            rgba(5,10,17,.62) 100%),
        linear-gradient(0deg, rgba(5,10,17,.80) 0%, rgba(5,10,17,.05) 56%, rgba(5,10,17,.20) 100%);
}

.fcv3-hero--wallpaper::before {
    background-image: var(--fcv3-hero-wallpaper);
    background-position: center right;
    background-size: cover;
    filter: saturate(.86) brightness(.76);
    transform: scale(1.015);
}

.fcv3-hero--poster-fallback::before {
    inset: -54px;
    background-image: var(--fcv3-hero-poster);
    background-position: 70% 38%;
    background-size: cover;
    filter: blur(38px) saturate(1.14) brightness(.43);
    transform: scale(1.19);
    opacity: .94;
}

.fcv3-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 156px minmax(0, 1fr);
    align-items: center;
    gap: 30px;
    min-height: 310px;
    padding: 30px 40px;
}

.fcv3-hero__poster {
    display: block;
    width: 156px;
    padding: 5px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 15px;
    background: rgba(7,13,22,.64);
    box-shadow: 0 22px 50px rgba(0,0,0,.46);
    backdrop-filter: blur(8px);
}

.fcv3-hero__poster img {
    display: block;
    width: 100%;
    height: 212px;
    object-fit: cover;
    border-radius: 10px;
}

.fcv3-hero__content {
    min-width: 0;
    max-width: 790px;
}

.fcv3-breadcrumbs {
    margin-bottom: 16px;
}

.fcv3-hero__kicker,
.fcv3-section-kicker {
    color: var(--fcv3-accent);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .105em;
    text-transform: uppercase;
}

.fcv3-hero__title {
    max-width: 780px;
    margin: 7px 0 0;
    color: #fff;
    font-size: clamp(2rem, 3.7vw, 3.65rem);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -.042em;
    text-wrap: balance;
}

.fcv3-hero__meta,
.fcv3-hero__ratings,
.fcv3-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.fcv3-hero__meta {
    gap: 7px 0;
    margin-top: 14px;
    color: #cbd5e1;
    font-size: .91rem;
}

.fcv3-hero__meta > span {
    display: inline-flex;
    align-items: center;
}

.fcv3-hero__meta > span:not(:last-child)::after {
    content: "";
    width: 4px;
    height: 4px;
    margin: 0 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.30);
}

.fcv3-hero__ratings {
    gap: 9px;
    margin-top: 15px;
}

.fcv3-rating {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 10px;
    color: #f7f9fc;
    background: rgba(6,12,20,.69);
}

.fcv3-rating i {
    color: var(--fcv3-accent);
}

.fcv3-rating b {
    font-size: 1.08rem;
}

.fcv3-rating small {
    color: #8f9caf;
    font-size: .70rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.fcv3-hero__lead {
    max-width: 680px;
    margin: 15px 0 0;
    color: #cbd4df;
    font-size: .96rem;
    line-height: 1.58;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fcv3-hero__actions {
    gap: 10px;
    margin-top: 19px;
}

.fcv3-film-tabs {
    max-width: 1120px;
    margin: 0 auto 24px;
}

.fcv3-film-tabs .uiPanelAnkList {
    padding-bottom: 0;
    border-bottom: 0;
}

.fcv3-shell {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.fcv3-intro {
    max-width: 820px;
    margin-bottom: 22px;
}

.fcv3-intro h2 {
    margin: 5px 0 8px;
    color: var(--fcv3-text);
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    line-height: 1.12;
    letter-spacing: -.03em;
}

.fcv3-intro p {
    margin: 0;
    color: var(--fcv3-secondary);
    font-size: .98rem;
    line-height: 1.68;
}

.fcv3-type-nav {
    position: sticky;
    top: 68px;
    z-index: 34;
    margin: 0 0 28px;
    padding: 6px;
    border: 1px solid var(--fcv3-border);
    border-radius: 15px;
    background: rgba(9,16,26,.93);
    box-shadow: 0 14px 34px rgba(0,0,0,.22);
    backdrop-filter: blur(15px);
}

.fcv3-type-nav__rail {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.fcv3-type-nav__rail::-webkit-scrollbar {
    display: none;
}

.fcv3-page a.fcv3-type-nav__link,
.fcv3-page a.fcv3-type-nav__link:link,
.fcv3-page a.fcv3-type-nav__link:visited {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 12px 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #aeb9c8;
    background: transparent;
    font-size: .86rem;
    font-weight: 720;
    scroll-snap-align: start;
    text-decoration: none;
    transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}

.fcv3-type-nav__link b {
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #8794a5;
    background: rgba(255,255,255,.055);
    font-size: .72rem;
}

.fcv3-page a.fcv3-type-nav__link:hover,
.fcv3-page a.fcv3-type-nav__link:focus-visible {
    color: #fff;
    background: rgba(255,255,255,.055);
}

.fcv3-page a.fcv3-type-nav__link.is-active,
.fcv3-page a.fcv3-type-nav__link.is-active:link,
.fcv3-page a.fcv3-type-nav__link.is-active:visited {
    color: #111722;
    background: var(--fcv3-accent);
    border-color: var(--fcv3-accent);
    box-shadow: 0 8px 22px rgba(245,197,24,.15);
}

.fcv3-type-nav__link.is-active b {
    color: #111722;
    background: rgba(17,23,34,.14);
}

.fcv3-cast-section {
    margin-bottom: 34px;
    scroll-margin-top: 132px;
}

.fcv3-cast-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--fcv3-border);
}

.fcv3-cast-section__head h2 {
    margin: 4px 0 0;
    color: var(--fcv3-text);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.16;
    letter-spacing: -.025em;
}

.fcv3-cast-section__head > span {
    flex: 0 0 auto;
    color: var(--fcv3-muted);
    font-size: .84rem;
    font-weight: 700;
}

.fcv3-cast-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.fcv3-person-card {
    min-width: 0;
    min-height: 218px;
    padding: 14px;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    border: 1px solid var(--fcv3-border);
    border-radius: 15px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.018), transparent 52%),
        var(--fcv3-surface);
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.fcv3-person-card:hover {
    transform: translateY(-2px);
    border-color: var(--fcv3-border-strong);
    background-color: var(--fcv3-surface-2);
    box-shadow: 0 18px 38px rgba(0,0,0,.24);
}

.fcv3-person-card__photo {
    display: block;
    width: 96px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 11px;
    background: #060a10;
}

.fcv3-person-card__photo img {
    display: block;
    width: 96px;
    height: 128px;
    object-fit: cover;
}

.fcv3-person-card__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 190px;
}

.fcv3-person-card__top {
    min-width: 0;
}

.fcv3-person-card__top h3 {
    margin: 0;
    color: #fff;
    font-size: 1.02rem;
    line-height: 1.25;
    letter-spacing: -.012em;
}

.fcv3-page .fcv3-person-card__top h3 a,
.fcv3-page .fcv3-person-card__top h3 a:link,
.fcv3-page .fcv3-person-card__top h3 a:visited {
    color: #fff;
}

.fcv3-page .fcv3-person-card__top h3 a:hover {
    color: var(--fcv3-accent);
}

.fcv3-main-role {
    width: max-content;
    max-width: 100%;
    margin-top: 7px;
    padding: 4px 7px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(245,197,24,.28);
    border-radius: 999px;
    color: var(--fcv3-accent);
    background: rgba(245,197,24,.07);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.fcv3-person-card__role {
    margin-top: 8px;
    color: #c6d0dc;
    font-size: .88rem;
    font-weight: 650;
    line-height: 1.38;
}

.fcv3-person-card__meta {
    margin-top: 7px;
    color: var(--fcv3-muted);
    font-size: .75rem;
    line-height: 1.42;
}

.fcv3-person-card__description {
    margin: 10px 0 0;
    color: #9ba8b8;
    font-size: .78rem;
    line-height: 1.52;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fcv3-person-card__rating {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 10px;
    border-top: 1px solid rgba(255,255,255,.075);
}

.fcv3-person-score {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
}

.fcv3-person-score i {
    color: var(--fcv3-accent);
}

.fcv3-person-score strong {
    font-size: .94rem;
}

.fcv3-person-score small {
    color: var(--fcv3-muted);
    font-size: .69rem;
    font-weight: 650;
}

.fcv3-person-score--empty i,
.fcv3-person-score--empty small {
    color: #748194;
}

.fcv3-rate-details {
    position: relative;
}

.fcv3-rate-details summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #d2dae4;
    font-size: .72rem;
    font-weight: 750;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.fcv3-rate-details summary::-webkit-details-marker {
    display: none;
}

.fcv3-rate-details summary i {
    transition: transform .18s ease;
}

.fcv3-rate-details[open] summary i {
    transform: rotate(180deg);
}

.fcv3-rate-stars {
    position: absolute;
    right: 0;
    bottom: calc(100% + 9px);
    z-index: 6;
    width: max-content;
    max-width: min(330px, 82vw);
    padding: 10px 11px;
    overflow-x: auto;
    border: 1px solid var(--fcv3-border-strong);
    border-radius: 11px;
    background: rgba(7,13,22,.98);
    box-shadow: 0 18px 42px rgba(0,0,0,.44);
    scrollbar-width: thin;
}

.fcv3-rate-stars > div {
    display: flex;
    white-space: nowrap;
}

.fcv3-rate-stars a {
    display: inline-flex;
    text-decoration: none;
}

.fcv3-cast-ad {
    grid-column: 1 / -1;
    min-width: 0;
    overflow: hidden;
    border-radius: 14px;
}

.fcv3-empty {
    padding: 48px 22px;
    text-align: center;
    border: 1px solid var(--fcv3-border);
    border-radius: 18px;
    background: var(--fcv3-surface);
}

.fcv3-empty__icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(245,197,24,.24);
    border-radius: 50%;
    color: var(--fcv3-accent);
    background: rgba(245,197,24,.065);
    font-size: 1.25rem;
}

.fcv3-empty h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.55rem;
}

.fcv3-empty p {
    max-width: 560px;
    margin: 0 auto 20px;
    color: var(--fcv3-secondary);
}

@media (max-width: 1040px) {
    .fcv3-cast-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }}

@media (max-width: 760px) {
    .fcv3-hero {
        min-height: 0;
        border-radius: 18px;
    }

    .fcv3-hero__inner {
        grid-template-columns: 118px minmax(0, 1fr);
        min-height: 0;
        gap: 21px;
        padding: 24px;
    }

    .fcv3-hero__poster {
        width: 118px;
    }

    .fcv3-hero__poster img {
        height: 160px;
    }

    .fcv3-hero__title {
        font-size: clamp(1.65rem, 6.5vw, 2.55rem);
    }

    .fcv3-hero__lead {
        -webkit-line-clamp: 2;
    }

    .fcv3-type-nav {
        top: 62px;
        margin-left: -4px;
        margin-right: -4px;
    }}

@media (max-width: 620px) {
    .fcv3-hero__inner {
        grid-template-columns: 1fr;
        padding: 21px;
    }

    .fcv3-hero__poster {
        width: 104px;
    }

    .fcv3-hero__poster img {
        height: 142px;
    }

    .fcv3-breadcrumbs {
        margin-bottom: 13px;
    }

    .fcv3-hero__actions .lfv2-btn {
        flex: 1 1 150px;
    }

    .fcv3-cast-grid {
        grid-template-columns: 1fr;
    }

    .fcv3-cast-section__head {
        align-items: flex-start;
    }}

@media (max-width: 420px) {
    .fcv3-person-card {
        grid-template-columns: 80px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .fcv3-person-card__photo,
    .fcv3-person-card__photo img {
        width: 80px;
    }

    .fcv3-person-card__photo img {
        height: 108px;
    }

    .fcv3-person-card__body {
        min-height: 174px;
    }

    .fcv3-person-card__rating {
        grid-column: 1 / -1;
    }}

html.lfv2-active.light-theme .fcv3-page {
    --fcv3-bg: #f4f6f8;
    --fcv3-surface: #ffffff;
    --fcv3-surface-2: #f7f9fb;
    --fcv3-surface-3: #edf1f5;
    --fcv3-border: rgba(15,23,42,.11);
    --fcv3-border-strong: rgba(15,23,42,.19);
    --fcv3-text: #172033;
    --fcv3-secondary: #4b596b;
    --fcv3-muted: #748094;
}

html.lfv2-active.light-theme .fcv3-intro h2,
html.lfv2-active.light-theme .fcv3-cast-section__head h2,
html.lfv2-active.light-theme .fcv3-person-card__top h3 a,
html.lfv2-active.light-theme .fcv3-person-card__top h3 a:link,
html.lfv2-active.light-theme .fcv3-person-card__top h3 a:visited,
html.lfv2-active.light-theme .fcv3-empty h2 {
    color: var(--fcv3-text);
}

html.lfv2-active.light-theme .fcv3-person-card,
html.lfv2-active.light-theme .fcv3-empty {
    box-shadow: 0 12px 28px rgba(15,23,42,.07);
}

html.lfv2-active.light-theme .fcv3-type-nav {
    background: rgba(255,255,255,.94);
    box-shadow: 0 14px 34px rgba(15,23,42,.10);
}

html.lfv2-active.light-theme .fcv3-rate-stars {
    background: rgba(255,255,255,.99);
    box-shadow: 0 18px 42px rgba(15,23,42,.16);
}


/* ==================================================================
 * Film Cast V3.1 — refinement of cast chips and person cards.
 * ================================================================== */
.fcv3-page a.fcv3-type-nav__link.is-active,
.fcv3-page a.fcv3-type-nav__link.is-active:link,
.fcv3-page a.fcv3-type-nav__link.is-active:visited {
    color: var(--fcv3-accent);
    background: rgba(245,197,24,.075);
    border-color: rgba(245,197,24,.62);
    box-shadow: inset 0 0 0 1px rgba(245,197,24,.05);
}

.fcv3-type-nav__link.is-active b {
    color: #111722;
    background: var(--fcv3-accent);
}

.fcv3-intro {
    margin-bottom: 21px;
}

.fcv3-intro h2 {
    margin-top: 0;
}

.fcv3-cast-section__head {
    align-items: center;
}

.fcv3-cast-section__head h2 {
    margin-top: 0;
}

.fcv3-cast-grid {
    gap: 12px;
}

.fcv3-person-card {
    min-height: 232px;
    padding: 15px;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px 14px;
    border-color: rgba(255,255,255,.115);
    background:
        radial-gradient(circle at 15% 4%, rgba(245,197,24,.035), transparent 35%),
        linear-gradient(145deg, rgba(255,255,255,.028), transparent 56%),
        #0c1622;
    box-shadow: 0 14px 32px rgba(0,0,0,.22);
}

.fcv3-person-card:hover {
    border-color: rgba(245,197,24,.22);
    background-color: #101b29;
    box-shadow: 0 19px 42px rgba(0,0,0,.28);
}

.fcv3-person-card__photo {
    width: 86px;
    border-color: rgba(255,255,255,.14);
    border-radius: 12px;
}

.fcv3-person-card__photo img {
    width: 86px;
    height: 136px;
}

.fcv3-person-card__body {
    min-height: 136px;
}

.fcv3-person-card__top h3 {
    font-size: 1.04rem;
    line-height: 1.3;
}

.fcv3-person-card__role {
    margin-top: 6px;
    color: #d2dbe6;
    font-size: .9rem;
    font-weight: 700;
}

.fcv3-main-role {
    margin-top: 8px;
}

.fcv3-person-card__meta {
    margin-top: 8px;
    color: #a4b0bf;
    font-size: .8rem;
    line-height: 1.45;
}

.fcv3-person-card__description {
    margin-top: 10px;
    color: #9eabba;
    font-size: .82rem;
    line-height: 1.5;
    -webkit-line-clamp: 3;
}

.fcv3-person-card__rating {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0;
    padding: 12px 2px 0;
}

.fcv3-person-score small,
.fcv3-rate-details summary {
    font-size: .74rem;
}

@media (max-width: 420px) {
    .fcv3-person-card {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 11px 12px;
        min-height: 0;
    }

    .fcv3-person-card__photo,
    .fcv3-person-card__photo img {
        width: 72px;
    }

    .fcv3-person-card__photo img {
        height: 114px;
    }

    .fcv3-person-card__body {
        min-height: 114px;
    }}

/* ==================================================================
 * Film Cast V3.2 — compact cards and quieter secondary actions.
 * ================================================================== */
.fcv3-person-card {
    min-height: 214px;
    padding: 13px;
    gap: 10px 13px;
}

.fcv3-person-card__body {
    min-height: 132px;
}

.fcv3-person-card__meta {
    margin-top: 7px;
    color: #bcc7d3;
    font-size: .79rem;
}

.fcv3-person-card__description {
    margin-top: 8px;
    color: #8795a7;
    line-height: 1.48;
    -webkit-line-clamp: 2;
}

.fcv3-person-card__rating {
    padding-top: 10px;
    border-top-color: rgba(255,255,255,.052);
}

.fcv3-rate-details summary {
    color: #8f9cad;
    transition: color .16s ease;
}

.fcv3-rate-details summary:hover,
.fcv3-rate-details summary:focus-visible,
.fcv3-person-card:hover .fcv3-rate-details summary {
    color: #d8e0e9;
}

.fcv3-cast-grid {
    row-gap: 11px;
}

.fcv3-cast-section {
    margin-bottom: 30px;
}

/* The sticky rail must remain readable above long cast lists. */
.fcv3-type-nav {
    background: rgba(8,15,24,.965);
    box-shadow: 0 12px 30px rgba(0,0,0,.20);
}

@media (max-width: 420px) {
    .fcv3-person-card {
        min-height: 0;
        padding: 12px;
        gap: 9px 12px;
    }

    .fcv3-person-card__rating {
        padding-top: 9px;
    }}

html.lfv2-active.light-theme .fcv3-person-card__meta {
    color: #4f5d6d;
}

html.lfv2-active.light-theme .fcv3-person-card__description,
html.lfv2-active.light-theme .fcv3-rate-details summary {
    color: #778396;
}

html.lfv2-active.light-theme .fcv3-person-card__rating {
    border-top-color: rgba(15,23,42,.075);
}

html.lfv2-active.light-theme .fcv3-type-nav {
    background: rgba(255,255,255,.97);
}

/* ==================================================================
 * Film Cast V3.3 — local search toolbar.
 * ================================================================== */
.fcv3-page [hidden] {
    display: none !important;
}

.fcv3-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.fcv3-cast-tools {
    position: sticky;
    top: 68px;
    z-index: 36;
    margin: 0 0 28px;
    padding: 8px;
    border: 1px solid var(--fcv3-border);
    border-radius: 16px;
    background: rgba(8,15,24,.975);
    box-shadow: 0 14px 34px rgba(0,0,0,.24);
    backdrop-filter: blur(16px);
}

.fcv3-cast-search {
    min-height: 48px;
    margin-bottom: 7px;
    padding: 0 11px;
    display: grid;
    grid-template-columns: 22px minmax(0,1fr) auto auto;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 11px;
    background: rgba(4,10,18,.78);
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.fcv3-cast-search:focus-within {
    border-color: rgba(245,197,24,.58);
    background: rgba(5,12,20,.96);
    box-shadow: 0 0 0 3px rgba(245,197,24,.08);
}

.fcv3-cast-search__icon {
    color: #8290a2;
    font-size: .92rem;
    text-align: center;
}

.fcv3-cast-search:focus-within .fcv3-cast-search__icon {
    color: var(--fcv3-accent);
}

.fcv3-cast-search__input {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0;
    border: 0;
    outline: 0;
    color: var(--fcv3-text);
    background: transparent;
    font: inherit;
    font-size: .91rem;
    line-height: 46px;
    appearance: none;
}

.fcv3-cast-search__input::-webkit-search-cancel-button {
    display: none;
}

.fcv3-cast-search__input::placeholder {
    color: #748194;
    opacity: 1;
}

.fcv3-cast-search__status {
    color: #cbd4de;
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}

.fcv3-cast-search__status:empty {
    display: none;
}

.fcv3-cast-search__clear {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 9px;
    color: #9ba8b8;
    background: rgba(255,255,255,.035);
    cursor: pointer;
    transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}

.fcv3-cast-search__clear:hover,
.fcv3-cast-search__clear:focus-visible {
    color: #111722;
    border-color: var(--fcv3-accent);
    background: var(--fcv3-accent);
    outline: 0;
}

.fcv3-cast-tools .fcv3-type-nav {
    position: static;
    top: auto;
    z-index: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.fcv3-search-empty {
    margin: 14px 0 34px;
    padding: 52px 20px;
    text-align: center;
    border: 1px solid var(--fcv3-border);
    border-radius: 16px;
    background:
        radial-gradient(circle at 50% 0%, rgba(245,197,24,.045), transparent 42%),
        var(--fcv3-surface);
}

.fcv3-search-empty__icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(245,197,24,.25);
    border-radius: 50%;
    color: var(--fcv3-accent);
    background: rgba(245,197,24,.06);
}

.fcv3-search-empty h2 {
    margin: 0 0 8px;
    color: var(--fcv3-text);
    font-size: 1.35rem;
}

.fcv3-search-empty p {
    margin: 0;
    color: var(--fcv3-muted);
    font-size: .91rem;
}

@media (max-width: 760px) {
    .fcv3-cast-tools {
        top: 62px;
        margin-bottom: 22px;
        padding: 7px;
        border-radius: 14px;
    }

    .fcv3-cast-search {
        grid-template-columns: 20px minmax(0,1fr) auto auto;
        min-height: 45px;
        padding: 0 9px;
    }

    .fcv3-cast-search__input {
        height: 43px;
        line-height: 43px;
        font-size: .86rem;
    }

    .fcv3-cast-search__status {
        font-size: .72rem;
    }}

@media (max-width: 480px) {
    .fcv3-cast-search {
        grid-template-columns: 19px minmax(0,1fr) auto;
    }

    .fcv3-cast-search__status {
        display: none;
    }

    .fcv3-cast-search__clear {
        width: 30px;
        height: 30px;
    }}

html.lfv2-active.light-theme .fcv3-cast-tools {
    background: rgba(255,255,255,.98);
    box-shadow: 0 12px 30px rgba(15,23,42,.10);
}

html.lfv2-active.light-theme .fcv3-cast-search {
    border-color: rgba(15,23,42,.12);
    background: #f7f9fc;
}

html.lfv2-active.light-theme .fcv3-cast-search:focus-within {
    border-color: rgba(196,151,0,.65);
    background: #fff;
}

html.lfv2-active.light-theme .fcv3-cast-search__input {
    color: #172033;
}

html.lfv2-active.light-theme .fcv3-cast-search__input::placeholder,
html.lfv2-active.light-theme .fcv3-cast-search__icon,
html.lfv2-active.light-theme .fcv3-cast-search__status {
    color: #68758a;
}

html.lfv2-active.light-theme .fcv3-cast-search__clear {
    border-color: rgba(15,23,42,.12);
    color: #68758a;
    background: #fff;
}

html.lfv2-active.light-theme .fcv3-search-empty {
    background: #fff;
}

.fcv3-cast-search__status {
    grid-column: 3;
    grid-row: 1;
}

.fcv3-cast-search__clear {
    grid-column: 4;
    grid-row: 1;
}

@media (max-width: 480px) {
    .fcv3-cast-search__clear {
        grid-column: 3;
    }}


/* ==================================================================
 * Film Cast V3.4 — search counters, typo tolerance UI and sticky guard.
 * ================================================================== */
.fcv3-page,
.fcv3-page .fcv3-shell {
    overflow: visible !important;
}

.fcv3-page .fcv3-shell {
    position: relative;
}

.fcv3-cast-tools {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 68px !important;
    z-index: 48;
    isolation: isolate;
}

.fcv3-cast-tools.is-fixed-fallback {
    z-index: 80;
    border-color: rgba(245,197,24,.22);
    box-shadow: 0 18px 46px rgba(0,0,0,.36);
}

.fcv3-cast-tools-placeholder {
    width: 100%;
    pointer-events: none;
}

.fcv3-type-nav__link.is-active b,
.fcv3-page a.fcv3-type-nav__link.is-active b {
    color: var(--fcv3-accent);
    background: rgba(245,197,24,.14);
    box-shadow: inset 0 0 0 1px rgba(245,197,24,.12);
}

.fcv3-person-card__role {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.fcv3-search-empty__reset {
    min-height: 42px;
    margin-top: 20px;
    padding: 0 18px;
    cursor: pointer;
}

.fcv3-search-empty__reset:hover,
.fcv3-search-empty__reset:focus-visible {
    border-color: var(--fcv3-accent);
    color: var(--fcv3-accent);
    outline: 0;
}

.fcv3-cast-section__head [data-fcv3-section-count] {
    min-width: max-content;
    transition: color .16s ease;
}

.fcv3-cast-search:focus-within + .fcv3-type-nav .fcv3-type-nav__link.is-active b {
    color: var(--fcv3-accent);
}

@media (max-width: 760px) {
    .fcv3-cast-tools {
        top: 62px !important;
    }}

html.lfv2-active.light-theme .fcv3-cast-tools.is-fixed-fallback {
    border-color: rgba(196,151,0,.28);
    box-shadow: 0 18px 42px rgba(15,23,42,.16);
}
/* ==================================================================
 * Film Cast V3.5 — compact sticky toolbar and safe anchor offsets.
 * ================================================================== */
.fcv3-cast-tools {
    top: 12px !important;
}

.fcv3-cast-tools.is-fixed-fallback {
    padding: 7px 8px;
    border-color: rgba(245,197,24,.24);
    box-shadow:
        0 16px 30px rgba(0,0,0,.38),
        0 1px 0 rgba(255,255,255,.05);
}

.fcv3-cast-tools.is-fixed-fallback::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 100%;
    right: 0;
    left: 0;
    height: 18px;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(4,11,20,.82),
        rgba(4,11,20,0)
    );
}

.fcv3-cast-tools.is-fixed-fallback .fcv3-cast-search {
    min-height: 40px;
    margin-bottom: 5px;
}

.fcv3-cast-tools.is-fixed-fallback .fcv3-cast-search__input {
    height: 38px;
    line-height: 38px;
}

.fcv3-page .fcv3-cast-tools.is-fixed-fallback a.fcv3-type-nav__link,
.fcv3-page .fcv3-cast-tools.is-fixed-fallback a.fcv3-type-nav__link:link,
.fcv3-page .fcv3-cast-tools.is-fixed-fallback a.fcv3-type-nav__link:visited {
    min-height: 34px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.fcv3-cast-section {
    scroll-margin-top: 125px;
}

.fcv3-cast-ad {
    min-height: 90px;
}

@media (max-width: 760px) {
    .fcv3-cast-tools {
        top: 8px !important;
    }

    .fcv3-cast-section {
        scroll-margin-top: 145px;
    }}

html.lfv2-active.light-theme .fcv3-cast-tools.is-fixed-fallback {
    box-shadow:
        0 16px 30px rgba(15,23,42,.17),
        0 1px 0 rgba(15,23,42,.06);
}

html.lfv2-active.light-theme .fcv3-cast-tools.is-fixed-fallback::after {
    background: linear-gradient(
        to bottom,
        rgba(244,247,251,.88),
        rgba(244,247,251,0)
    );
}
/* ==================================================================
 * LikeFilm Story V3 — /film/*/story/
 * ================================================================== */
.stv3-page {
    --stv3-surface: #0e1723;
    --stv3-surface-2: #121d2b;
    --stv3-border: rgba(255,255,255,.09);
    --stv3-border-strong: rgba(255,255,255,.15);
    --stv3-text: #f5f7fa;
    --stv3-secondary: #b5c0cd;
    --stv3-muted: #8997a8;
    --stv3-accent: #f5c518;
    overflow: visible;
}

.stv3-hero {
    margin-bottom: 18px;
}

.stv3-film-tabs {
    margin-bottom: 28px;
}

.stv3-shell {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.stv3-intro {
    max-width: 880px;
    margin-bottom: 24px;
}

.stv3-intro__title {
    margin: 7px 0 0;
    color: var(--stv3-text);
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.stv3-intro__subtitle {
    margin: 8px 0 0;
    color: #d8e0e9;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.45;
}

.stv3-intro__description {
    max-width: 780px;
    margin: 12px 0 0;
    color: var(--stv3-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.stv3-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 18px;
}

.stv3-spoiler,
.stv3-reading {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    border-radius: 12px;
}

.stv3-spoiler {
    flex-wrap: wrap;
    gap: 6px 9px;
    padding: 9px 13px;
    border: 1px solid rgba(245,197,24,.34);
    color: #dfe6ee;
    background: rgba(245,197,24,.055);
}

.stv3-spoiler i,
.stv3-spoiler b {
    color: var(--stv3-accent);
}

.stv3-spoiler span {
    color: var(--stv3-secondary);
}

.stv3-reading {
    gap: 8px;
    padding: 0 12px;
    border: 1px solid var(--stv3-border);
    color: var(--stv3-muted);
    background: rgba(14,23,35,.72);
}

.stv3-lead-image {
    position: relative;
    margin: 0 0 32px;
    overflow: hidden;
    border: 1px solid var(--stv3-border);
    border-radius: 20px;
    background: var(--stv3-surface);
    box-shadow: 0 24px 60px rgba(0,0,0,.24);
}

.stv3-lead-image::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 28%;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgba(5,10,17,.28));
}

.stv3-lead-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.stv3-article-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: start;
    gap: 42px;
    margin-bottom: 44px;
}

.stv3-sidebar {
    position: sticky;
    top: 18px;
}

.stv3-toc {
    overflow: hidden;
    border: 1px solid var(--stv3-border);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(18,29,43,.96), rgba(12,21,32,.96));
    box-shadow: 0 18px 42px rgba(0,0,0,.18);
}

.stv3-toc summary {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 14px 15px;
    color: var(--stv3-text);
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.stv3-toc summary::-webkit-details-marker {
    display: none;
}

.stv3-toc summary i {
    color: var(--stv3-accent);
}

.stv3-toc nav {
    padding: 0 9px 12px;
}

.stv3-toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.stv3-toc li + li {
    margin-top: 2px;
}

.stv3-toc li.is-level-3 {
    padding-left: 12px;
}

.stv3-toc a,
.stv3-toc a:link,
.stv3-toc a:visited {
    display: block;
    padding: 8px 9px;
    border-radius: 9px;
    color: var(--stv3-muted);
    font-size: .86rem;
    line-height: 1.35;
    text-decoration: none;
    transition: color .18s ease, background .18s ease;
}

.stv3-toc a:hover {
    color: #fff;
    background: rgba(255,255,255,.05);
}

.stv3-toc a.is-active {
    color: var(--stv3-accent);
    background: rgba(245,197,24,.09);
}

.stv3-article {
    min-width: 0;
}

.stv3-article__body {
    max-width: 830px;
    color: #d5dde6;
    font-size: 1.04rem;
    line-height: 1.78;
}

.stv3-article__body > :first-child {
    margin-top: 0;
}

.stv3-article__body h2,
.stv3-article__body h3,
.stv3-article__body h4 {
    color: var(--stv3-text);
    text-wrap: balance;
    scroll-margin-top: 24px;
}

.stv3-article__body h2 {
    margin: 2.15em 0 .7em;
    font-size: clamp(1.65rem, 2.4vw, 2.2rem);
    line-height: 1.18;
    letter-spacing: -.025em;
}

.stv3-article__body h3 {
    margin: 1.8em 0 .65em;
    font-size: clamp(1.3rem, 1.8vw, 1.6rem);
    line-height: 1.25;
}

.stv3-article__body h4 {
    margin: 1.55em 0 .55em;
    font-size: 1.15rem;
}

.stv3-article__body p {
    margin: 0 0 1.18em;
}

.stv3-article__body a {
    color: #f6cf3d;
    text-decoration-color: rgba(246,207,61,.38);
    text-underline-offset: 3px;
}

.stv3-article__body ul,
.stv3-article__body ol {
    margin: 0 0 1.3em;
    padding-left: 1.4em;
}

.stv3-article__body li + li {
    margin-top: .45em;
}

.stv3-article__body blockquote {
    margin: 1.6em 0;
    padding: 16px 18px;
    border-left: 3px solid var(--stv3-accent);
    border-radius: 0 14px 14px 0;
    color: #e0e6ed;
    background: rgba(18,29,43,.78);
}

.stv3-article__body img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

.stv3-ad {
    width: 100%;
    min-height: 90px;
    margin: 28px 0;
    overflow: hidden;
    border-radius: 14px;
}

.stv3-ad--inside {
    max-width: 830px;
}

.stv3-franchise,
.stv3-related,
.stv3-videos,
.stv3-video-related {
    margin: 42px 0 0;
}

.stv3-franchise > h2,
.stv3-section-head h2 {
    margin: 0;
    color: var(--stv3-text);
    font-size: clamp(1.55rem, 2.2vw, 2rem);
    line-height: 1.2;
    letter-spacing: -.02em;
}

.stv3-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.stv3-rail-actions {
    display: flex;
    gap: 8px;
}

.stv3-rail-actions button {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--stv3-border);
    border-radius: 10px;
    color: #d4dde7;
    background: var(--stv3-surface);
    cursor: pointer;
    transition: border-color .18s ease, color .18s ease, transform .18s ease;
}

.stv3-rail-actions button:hover:not(:disabled) {
    border-color: rgba(245,197,24,.55);
    color: var(--stv3-accent);
    transform: translateY(-1px);
}

.stv3-rail-actions button:disabled {
    opacity: .32;
    cursor: default;
}

.stv3-related__rail,
.stv3-video-related__rail {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.stv3-related__rail::-webkit-scrollbar,
.stv3-video-related__rail::-webkit-scrollbar {
    display: none;
}

.stv3-related-card,
.stv3-video-link {
    flex: 0 0 auto;
    scroll-snap-align: start;
    overflow: hidden;
    border: 1px solid var(--stv3-border);
    border-radius: 15px;
    color: var(--stv3-text) !important;
    background: var(--stv3-surface);
    text-decoration: none !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.16);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.stv3-related-card:hover,
.stv3-video-link:hover {
    transform: translateY(-3px);
    border-color: rgba(245,197,24,.42);
    background: var(--stv3-surface-2);
}

.stv3-related-card {
    width: 168px;
}

.stv3-related-card__poster {
    display: block;
    aspect-ratio: 155 / 220;
    overflow: hidden;
    background: #0a1019;
}

.stv3-related-card__poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease;
}

.stv3-related-card:hover img,
.stv3-video-link:hover img {
    transform: scale(1.035);
}

.stv3-related-card__body {
    display: grid;
    gap: 5px;
    min-height: 100px;
    padding: 12px;
}

.stv3-related-card__body strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: .92rem;
    line-height: 1.34;
}

.stv3-related-card__body small,
.stv3-related-card__body span {
    color: var(--stv3-muted);
    font-size: .75rem;
}

.stv3-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.stv3-video-card {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--stv3-border);
    border-radius: 16px;
    background: var(--stv3-surface);
}

.stv3-video-card h3 {
    margin: 0 0 12px;
    color: var(--stv3-text);
    font-size: 1rem;
    line-height: 1.4;
}

.stv3-video-card__media {
    overflow: hidden;
    border-radius: 12px;
    background: #05080d;
}

.stv3-video-card__media iframe,
.stv3-video-card__media img {
    display: block;
    width: 100% !important;
    max-width: 100%;
}

.stv3-video-link {
    width: 280px;
}

.stv3-video-link__image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #070c13;
}

.stv3-video-link__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease;
}

.stv3-video-link__image i {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #111;
    background: var(--stv3-accent);
    box-shadow: 0 10px 30px rgba(0,0,0,.36);
    transform: translate(-50%, -50%);
}

.stv3-video-link__body {
    display: grid;
    gap: 7px;
    min-height: 90px;
    padding: 13px 14px;
}

.stv3-video-link__body strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: .92rem;
    line-height: 1.38;
}

.stv3-video-link__body small {
    color: var(--stv3-muted);
    line-height: 1.35;
}

@media (max-width: 920px) {
    .stv3-article-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stv3-sidebar {
        position: static;
    }

    .stv3-toc nav {
        columns: 2;
        column-gap: 16px;
    }

    .stv3-article__body {
        max-width: none;
    }}

@media (max-width: 700px) {
    .stv3-film-tabs {
        margin-bottom: 22px;
    }

    .stv3-intro__title {
        font-size: 2rem;
    }

    .stv3-article-meta {
        align-items: stretch;
    }

    .stv3-spoiler,
    .stv3-reading {
        width: 100%;
    }

    .stv3-spoiler {
        align-items: flex-start;
    }

    .stv3-lead-image {
        margin-bottom: 24px;
        border-radius: 15px;
    }

    .stv3-toc nav {
        columns: 1;
    }

    .stv3-article__body {
        font-size: 1rem;
        line-height: 1.72;
    }

    .stv3-video-grid {
        grid-template-columns: 1fr;
    }

    .stv3-related-card {
        width: 148px;
    }

    .stv3-video-link {
        width: 250px;
    }}

html.lfv2-active.light-theme .stv3-page {
    --stv3-surface: #fff;
    --stv3-surface-2: #f3f6fa;
    --stv3-border: rgba(15,23,42,.10);
    --stv3-border-strong: rgba(15,23,42,.16);
    --stv3-text: #111827;
    --stv3-secondary: #475569;
    --stv3-muted: #64748b;
}

html.lfv2-active.light-theme .stv3-intro__subtitle,
html.lfv2-active.light-theme .stv3-article__body,
html.lfv2-active.light-theme .stv3-spoiler {
    color: #334155;
}

html.lfv2-active.light-theme .stv3-toc {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,247,251,.98));
    box-shadow: 0 18px 42px rgba(15,23,42,.08);
}

html.lfv2-active.light-theme .stv3-reading,
html.lfv2-active.light-theme .stv3-video-card,
html.lfv2-active.light-theme .stv3-related-card,
html.lfv2-active.light-theme .stv3-video-link {
    background: #fff;
}
/* ==================================================================
 * LikeFilm Story V3.1 — final visual refinement.
 * ================================================================== */
.stv3-page .fcv3-hero__actions .lfv2-btn {
    gap: 9px;
}

.stv3-film-tabs .uiPanelAnkListElement,
.stv3-film-tabs .uiPanelAnkListElementCurrent {
    gap: 7px;
}

.stv3-film-tabs .uiPanelAnkListElement i,
.stv3-film-tabs .uiPanelAnkListElementCurrent i {
    margin-right: 1px;
}

.stv3-lead-image {
    max-height: 570px;
    aspect-ratio: 16 / 8.6;
}

.stv3-lead-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.stv3-lead-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
}

.stv3-toc a.is-active {
    color: #fff;
    background: rgba(245,197,24,.11);
    box-shadow: inset 3px 0 0 var(--stv3-accent);
}

.stv3-article__body h2 {
    margin: 1.62em 0 .56em;
    font-size: clamp(1.55rem, 2.05vw, 2rem);
}

.stv3-article__body h3 {
    margin-top: 1.48em;
}

.stv3-related-card__body {
    min-height: 96px;
}

.stv3-related-card__action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: max-content;
    margin-top: auto;
    color: var(--stv3-muted);
    font-size: .75rem;
    font-weight: 750;
    transition: color .18s ease, gap .18s ease;
}

.stv3-related-card:hover .stv3-related-card__action {
    gap: 8px;
    color: var(--stv3-accent);
}

.stv3-popular {
    margin-top: 34px;
}

.stv3-popular-card {
    width: 156px;
}

.stv3-popular-card .stv3-related-card__body {
    min-height: 94px;
}

html.lfv2-active.light-theme .stv3-toc a.is-active {
    color: #111827;
    background: rgba(245,197,24,.15);
}

@media (max-width: 700px) {
    .stv3-lead-image {
        max-height: none;
        aspect-ratio: 16 / 9;
    }

    .stv3-article__body h2 {
        margin-top: 1.45em;
        font-size: clamp(1.45rem, 7vw, 1.8rem);
    }

    .stv3-popular-card {
        width: 144px;
    }}
/* ==================================================================
 * LikeFilm Story V3.2 — final editorial polish.
 * ================================================================== */
.stv3-intro__title {
    margin-top: 0;
}

.stv3-article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(100%, 880px);
    min-height: 46px;
    padding: 6px 8px 6px 13px;
    border: 1px solid rgba(245,197,24,.34);
    border-radius: 13px;
    background:
        linear-gradient(
            90deg,
            rgba(245,197,24,.065),
            rgba(14,23,35,.82) 52%,
            rgba(14,23,35,.94)
        );
}

.stv3-spoiler,
.stv3-reading {
    min-height: 32px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.stv3-spoiler {
    flex: 1 1 auto;
    gap: 6px 9px;
}

.stv3-reading {
    flex: 0 0 auto;
    margin-left: auto;
    padding: 0 10px 0 16px;
    border-left: 1px solid rgba(255,255,255,.09);
    white-space: nowrap;
}

.stv3-article__body h2 {
    margin-top: 1.42em;
}

.stv3-article__body h3 {
    margin-top: 1.35em;
}

.stv3-rail-shell {
    position: relative;
    min-width: 0;
    overflow: hidden;
}

.stv3-rail-shell::after {
    content: "";
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    bottom: 10px;
    width: 48px;
    pointer-events: none;
    opacity: 1;
    background: linear-gradient(
        to right,
        rgba(4,11,20,0),
        rgba(4,11,20,.78) 55%,
        rgba(4,11,20,.98)
    );
    transition: opacity .2s ease;
}

.uiAlgorithmicFooterSection.is-at-end .stv3-rail-shell::after,
.uiAlgorithmicFooterSection.is-static-rail .stv3-rail-shell::after {
    opacity: 0;
}

.stv3-related__rail {
    padding-right: 30px;
}

.uiAlgorithmicFooterSection.is-at-end .stv3-related__rail,
.uiAlgorithmicFooterSection.is-static-rail .stv3-related__rail {
    padding-right: 2px;
}

@media (max-width: 700px) {
    .stv3-article-meta {
        align-items: flex-start;
        padding: 10px 12px;
    }

    .stv3-spoiler,
    .stv3-reading {
        width: auto;
    }

    .stv3-reading {
        align-self: stretch;
        padding-right: 2px;
    }

    .stv3-rail-shell::after {
        width: 34px;
    }}


/* People Hub mobile search rule extracted to /static/css/people.css. */

@media (max-width: 520px) {
    .stv3-article-meta {
        display: grid;
        gap: 8px;
    }

    .stv3-reading {
        width: 100%;
        min-height: 28px;
        margin-left: 0;
        padding: 7px 0 0;
        border-top: 1px solid rgba(255,255,255,.08);
        border-left: 0;
    }}

html.lfv2-active.light-theme .stv3-article-meta {
    background:
        linear-gradient(
            90deg,
            rgba(245,197,24,.10),
            rgba(255,255,255,.96) 55%,
            rgba(255,255,255,.99)
        );
}

html.lfv2-active.light-theme .stv3-reading {
    border-color: rgba(15,23,42,.10);
}

html.lfv2-active.light-theme .stv3-rail-shell::after {
    background: linear-gradient(
        to right,
        rgba(244,247,251,0),
        rgba(244,247,251,.80) 55%,
        rgba(244,247,251,.99)
    );
}
/* ==================================================================
 * LikeFilm Reviews V3 — premium review page.
 * ================================================================== */
.rvv3-page {
    --rvv3-surface: #0d1827;
    --rvv3-surface-2: #101d2d;
    --rvv3-border: rgba(151,169,194,.15);
    --rvv3-text: #f4f7fb;
    --rvv3-muted: #94a7c2;
    --rvv3-accent: #f5c518;
    --rvv3-plus: #37d99a;
    --rvv3-minus: #ff765f;
}

.rvv3-shell {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 24px 0 72px;
}

.rvv3-intro {
    max-width: 840px;
    margin: 0 0 26px;
}

.rvv3-intro h2,
.rvv3-section-head h2 {
    margin: 0;
    color: var(--rvv3-text);
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.rvv3-intro p {
    margin: 10px 0 0;
    color: #d4dfed;
    font-size: 16px;
    line-height: 1.6;
}

.rvv3-user-rating {
    border-color: rgba(245,197,24,.25);
}

.rvv3-summary {
    display: grid;
    grid-template-columns: minmax(250px, .7fr) minmax(420px, 1.3fr);
    gap: 16px;
    margin-bottom: 36px;
}

.rvv3-score-card,
.rvv3-distribution-card,
.rvv3-sentiment-card,
.rvv3-review-toolbar,
.rvv3-review-card,
.rvv3-compose {
    border: 1px solid var(--rvv3-border);
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.025), rgba(255,255,255,0) 45%),
        var(--rvv3-surface);
}

.rvv3-score-card {
    padding: 22px;
}

.rvv3-score-card__eyebrow {
    color: var(--rvv3-muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.rvv3-score-card__value {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 8px 0 4px;
}

.rvv3-score-card__value strong {
    color: #fff;
    font-size: clamp(48px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -.06em;
}

.rvv3-score-card__value span,
.rvv3-score-card > p {
    color: var(--rvv3-muted);
}

.rvv3-score-card__stars {
    position: relative;
    width: 120px;
    height: 22px;
    margin: 8px 0;
    overflow: hidden;
}

.rvv3-score-card__stars::before,
.rvv3-score-card__stars span::before {
    content: "★★★★★";
    position: absolute;
    inset: 0;
    font-size: 21px;
    line-height: 22px;
    letter-spacing: 2px;
}

.rvv3-score-card__stars::before {
    color: #405068;
}

.rvv3-score-card__stars span {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--rvv3-score);
    overflow: hidden;
}

.rvv3-score-card__stars span::before {
    color: var(--rvv3-accent);
}

.rvv3-score-card__recommend {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.rvv3-score-card__recommend b {
    color: var(--rvv3-plus);
    font-size: 24px;
}

.rvv3-score-card__recommend span {
    color: #c2d0e1;
    font-size: 13px;
}

.rvv3-distribution-card {
    padding: 20px 22px;
}

.rvv3-distribution-card h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 18px;
}

.rvv3-distribution {
    display: grid;
    gap: 6px;
}

.rvv3-distribution__row {
    display: grid;
    grid-template-columns: 20px minmax(0,1fr) 42px;
    align-items: center;
    gap: 9px;
    min-height: 16px;
}

.rvv3-distribution__row > span,
.rvv3-distribution__row > small {
    color: var(--rvv3-muted);
    font-size: 11px;
}

.rvv3-distribution__row > small {
    text-align: right;
}

.rvv3-distribution__row > div {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(148,167,194,.15);
}

.rvv3-distribution__row i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #d7a900, var(--rvv3-accent));
}

.rvv3-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.rvv3-section-head h2 {
    font-size: clamp(27px, 2.5vw, 36px);
}

.rvv3-sentiment,
.rvv3-reviews,
.rvv3-related,
.rvv3-videos {
    margin-top: 42px;
}

.rvv3-sentiment__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 16px;
}

.rvv3-sentiment-card {
    padding: 20px;
}

.rvv3-sentiment-card > header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.rvv3-sentiment-card > header > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
}

.rvv3-sentiment-card--plus > header > span {
    color: var(--rvv3-plus);
    background: rgba(55,217,154,.12);
}

.rvv3-sentiment-card--minus > header > span {
    color: var(--rvv3-minus);
    background: rgba(255,118,95,.12);
}

.rvv3-sentiment-card h3,
.rvv3-compose h3 {
    margin: 0;
    color: #fff;
    font-size: 20px;
}

.rvv3-sentiment-card header p,
.rvv3-compose__head p {
    margin: 4px 0 0;
    color: var(--rvv3-muted);
    font-size: 13px;
}

.rvv3-sentiment-card__list {
    display: grid;
    gap: 13px;
}

.rvv3-sentiment-item > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    color: #cfdae8;
    font-size: 13px;
}

.rvv3-sentiment-item__bar {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(148,167,194,.13);
}

.rvv3-sentiment-item__bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.rvv3-sentiment-card--plus .rvv3-sentiment-item__bar i {
    background: linear-gradient(90deg, #20b979, var(--rvv3-plus));
}

.rvv3-sentiment-card--minus .rvv3-sentiment-item__bar i {
    background: linear-gradient(90deg, #d94d3d, var(--rvv3-minus));
}

.rvv3-review-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
    padding: 8px;
}

.rvv3-review-toolbar__tabs {
    display: flex;
    gap: 5px;
}

.rvv3-sort-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--rvv3-muted);
    font-weight: 700;
    text-decoration: none;
}

.rvv3-sort-tab:hover,
.rvv3-sort-tab.is-active {
    color: var(--rvv3-accent);
    border-color: rgba(245,197,24,.65);
    background: rgba(245,197,24,.08);
}

.rvv3-review-toolbar__count {
    min-width: 40px;
    padding: 7px 11px;
    border-radius: 999px;
    color: #dce6f2;
    background: rgba(148,167,194,.12);
    font-size: 12px;
    text-align: center;
}

.rvv3-review-panel.is-loading {
    opacity: .55;
    pointer-events: none;
}

.rvv3-review-list {
    display: grid;
    gap: 14px;
}

.rvv3-review-card {
    padding: 18px 20px;
    transition: border-color .2s ease, transform .2s ease;
}

.rvv3-review-card:hover {
    border-color: rgba(245,197,24,.22);
    transform: translateY(-1px);
}

.rvv3-review-card__head {
    display: grid;
    grid-template-columns: 48px minmax(0,1fr) auto;
    align-items: center;
    gap: 12px;
}

.rvv3-review-card__avatar {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border-radius: 50%;
    color: #b7c5d8;
    background: #162438;
}

.rvv3-review-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rvv3-review-card__author strong {
    display: block;
    color: #fff;
    font-size: 15px;
}

.rvv3-review-card__author small,
.rvv3-review-card__rating time {
    color: var(--rvv3-muted);
    font-size: 12px;
}

.rvv3-review-card__rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rvv3-review-card__rating > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    border: 1px solid rgba(245,197,24,.25);
    border-radius: 10px;
    color: var(--rvv3-accent);
    background: rgba(245,197,24,.055);
}

.rvv3-review-card__rating small {
    color: #a8b7ca;
}

.rvv3-review-card__pros-cons {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
    margin-top: 16px;
}

.rvv3-review-card__note {
    padding: 11px 13px;
    border-radius: 11px;
    background: rgba(255,255,255,.025);
}

.rvv3-review-card__note > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.rvv3-review-card__note--plus > span { color: var(--rvv3-plus); }
.rvv3-review-card__note--minus > span { color: var(--rvv3-minus); }

.rvv3-review-card__note p,
.rvv3-review-card__text p {
    margin: 7px 0 0;
    color: #d5dfeb;
    font-size: 15px;
    line-height: 1.66;
}

.rvv3-review-card__text {
    max-width: 930px;
    margin-top: 14px;
}

.rvv3-review-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
    padding-top: 13px;
    border-top: 1px solid rgba(255,255,255,.07);
}

.rvv3-review-card__read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #c4d2e4;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.rvv3-review-vote {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--rvv3-muted);
    font-size: 12px;
}

.rvv3-review-vote a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid var(--rvv3-border);
    border-radius: 9px;
    color: #bfcce0;
    background: rgba(255,255,255,.025);
    text-decoration: none;
}

.rvv3-review-vote a:hover {
    color: var(--rvv3-accent);
    border-color: rgba(245,197,24,.45);
}

.rvv3-compose {
    margin-top: 14px;
    padding: 18px;
}

.rvv3-compose__head,
.rvv3-compose__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.rvv3-compose__head button {
    width: 36px;
    height: 36px;
    border: 1px solid var(--rvv3-border);
    border-radius: 10px;
    color: var(--rvv3-muted);
    background: transparent;
    cursor: pointer;
}

.rvv3-compose textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 150px;
    margin: 14px 0;
    padding: 14px;
    resize: vertical;
    border: 1px solid var(--rvv3-border);
    border-radius: 12px;
    outline: none;
    color: #eef4fb;
    background: #08121f;
    font: inherit;
    line-height: 1.6;
}

.rvv3-compose textarea:focus {
    border-color: rgba(245,197,24,.65);
    box-shadow: 0 0 0 3px rgba(245,197,24,.08);
}

.rvv3-compose__footer > span,
.rvv3-compose__message {
    color: var(--rvv3-muted);
    font-size: 12px;
}

.rvv3-compose__message:not(:empty) {
    margin-top: 12px;
    color: var(--rvv3-plus);
}

.rvv3-ad {
    min-height: 90px;
    margin: 8px 0;
}

.rvv3-rail-actions {
    display: flex;
    gap: 7px;
}

.rvv3-rail-actions button {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    color: #c9d6e6;
    background: rgba(255,255,255,.04);
    cursor: pointer;
}

.rvv3-rail-actions button:disabled {
    opacity: .3;
    cursor: default;
}

.rvv3-rail-shell {
    overflow: hidden;
}

.rvv3-related__rail,
.rvv3-video-rail {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.rvv3-related__rail::-webkit-scrollbar,
.rvv3-video-rail::-webkit-scrollbar { display: none; }

.rvv3-related-card {
    flex: 0 0 168px;
    overflow: hidden;
    border-radius: 15px;
    color: inherit;
    text-decoration: none;
    background: rgba(255,255,255,.025);
}

.rvv3-related-card__poster {
    display: block;
    aspect-ratio: 155 / 220;
    overflow: hidden;
    border-radius: 14px;
}

.rvv3-related-card__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rvv3-related-card__body {
    display: grid;
    gap: 5px;
    padding: 10px 6px 6px;
}

.rvv3-related-card__body strong,
.rvv3-video-card__body strong {
    display: -webkit-box;
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rvv3-related-card__body small,
.rvv3-video-card__body small {
    color: var(--rvv3-muted);
    font-size: 12px;
}

.rvv3-related-card__body > span {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
    color: var(--rvv3-accent);
    font-size: 12px;
}

.rvv3-related-card__body em {
    margin-left: auto;
    color: var(--rvv3-muted);
    font-style: normal;
}

.rvv3-video-card {
    flex: 0 0 290px;
    overflow: hidden;
    border-radius: 15px;
    color: inherit;
    text-decoration: none;
    background: var(--rvv3-surface);
}

.rvv3-video-card__image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.rvv3-video-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rvv3-video-card__image i {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #111;
    background: var(--rvv3-accent);
    transform: translate(-50%,-50%);
}

.rvv3-video-card__body {
    display: grid;
    gap: 6px;
    padding: 12px;
}

@media (max-width: 900px) {
    .rvv3-summary { grid-template-columns: 1fr; }
    .rvv3-sentiment__grid { grid-template-columns: 1fr; }}

@media (max-width: 700px) {
    .rvv3-shell { padding-top: 18px; }
    .rvv3-section-head { align-items: flex-start; }
    .rvv3-review-card { padding: 15px; }
    .rvv3-review-card__head { grid-template-columns: 42px minmax(0,1fr); }
    .rvv3-review-card__avatar { width: 42px; height: 42px; }
    .rvv3-review-card__rating { grid-column: 1 / -1; justify-content: space-between; margin-top: 4px; }
    .rvv3-review-card__pros-cons { grid-template-columns: 1fr; }
    .rvv3-review-card__footer { align-items: flex-start; flex-direction: column; }
    .rvv3-review-vote { flex-wrap: wrap; }}

@media (max-width: 520px) {
    .rvv3-summary { gap: 10px; }
    .rvv3-score-card, .rvv3-distribution-card, .rvv3-sentiment-card { padding: 16px; }
    .rvv3-review-toolbar { align-items: stretch; flex-direction: column; }
    .rvv3-review-toolbar__tabs { display: grid; grid-template-columns: repeat(2,1fr); }
    .rvv3-review-toolbar__count { align-self: flex-end; }
    .rvv3-section-head .rvv3-compose-open { min-height: 38px; padding-inline: 12px; }
    .rvv3-compose__footer { align-items: stretch; flex-direction: column; }
    .rvv3-compose__footer .lfv2-btn { width: 100%; }}

html.lfv2-active.light-theme .rvv3-page {
    --rvv3-surface: #fff;
    --rvv3-surface-2: #f7f9fc;
    --rvv3-border: rgba(15,23,42,.11);
    --rvv3-text: #111827;
    --rvv3-muted: #64748b;
}

html.lfv2-active.light-theme .rvv3-score-card,
html.lfv2-active.light-theme .rvv3-distribution-card,
html.lfv2-active.light-theme .rvv3-sentiment-card,
html.lfv2-active.light-theme .rvv3-review-toolbar,
html.lfv2-active.light-theme .rvv3-review-card,
html.lfv2-active.light-theme .rvv3-compose,
html.lfv2-active.light-theme .rvv3-video-card {
    background: #fff;
}

html.lfv2-active.light-theme .rvv3-score-card__value strong,
html.lfv2-active.light-theme .rvv3-distribution-card h3,
html.lfv2-active.light-theme .rvv3-sentiment-card h3,
html.lfv2-active.light-theme .rvv3-review-card__author strong,
html.lfv2-active.light-theme .rvv3-related-card__body strong,
html.lfv2-active.light-theme .rvv3-video-card__body strong,
html.lfv2-active.light-theme .rvv3-compose h3 {
    color: #111827;
}

html.lfv2-active.light-theme .rvv3-review-card__note p,
html.lfv2-active.light-theme .rvv3-review-card__text p,
html.lfv2-active.light-theme .rvv3-intro p {
    color: #334155;
}

html.lfv2-active.light-theme .rvv3-compose textarea {
    color: #111827;
    background: #f8fafc;
}
/* ==================================================================
 * LikeFilm Reviews V3.1 — final review-page polish.
 * ================================================================== */
.rvv3-score-card__count {
    margin: 12px 0 0;
    color: var(--rvv3-muted);
    font-size: 14px;
}

.rvv3-distribution-card__hint {
    margin: -6px 0 14px;
    color: var(--rvv3-muted);
    font-size: 12px;
}

.rvv3-section-head .rvv3-compose-open {
    color: #111;
    border-color: #f5c518;
    background: #f5c518;
    box-shadow: 0 8px 24px rgba(245,197,24,.12);
}

.rvv3-section-head .rvv3-compose-open:hover {
    color: #111;
    border-color: #ffd84a;
    background: #ffd84a;
}

.rvv3-review-card__text.is-collapsible {
    position: relative;
    max-width: 100%;
}

.rvv3-review-card__text.is-collapsible.is-collapsed p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
}

.rvv3-review-card__text.is-collapsible.is-collapsed::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 36px;
    left: 0;
    height: 46px;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(15,28,44,0),
        rgba(15,28,44,.96)
    );
}

.rvv3-review-card__toggle {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    margin-top: 9px;
    padding: 0;
    border: 0;
    color: var(--rvv3-accent);
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.rvv3-review-card__toggle i {
    transition: transform .18s ease;
}

.rvv3-review-card__text.is-expanded .rvv3-review-card__toggle i {
    transform: rotate(180deg);
}

html.lfv2-active.light-theme
.rvv3-review-card__text.is-collapsible.is-collapsed::after {
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,.98)
    );
}

@media (max-width: 700px) {
    .rvv3-review-card__text.is-collapsible.is-collapsed p {
        -webkit-line-clamp: 9;
    }}
/* ==================================================================
 * LikeFilm Reviews V3.2 — filtering, sticky toolbar and pagination.
 * ================================================================== */
.rvv3-distribution__row {
    width: 100%;
    padding: 4px 6px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition:
        border-color .18s ease,
        background .18s ease,
        transform .18s ease;
}

.rvv3-distribution__row:not(:disabled):hover {
    border-color: rgba(245,197,24,.22);
    background: rgba(245,197,24,.045);
    transform: translateX(2px);
}

.rvv3-distribution__row.is-active {
    border-color: rgba(245,197,24,.62);
    background: rgba(245,197,24,.09);
}

.rvv3-distribution__row.is-active > span,
.rvv3-distribution__row.is-active > small {
    color: var(--rvv3-accent);
    font-weight: 800;
}

.rvv3-distribution__row:disabled {
    cursor: default;
    opacity: .46;
}

.rvv3-review-toolbar {
    position: sticky;
    z-index: 32;
    top: 12px;
    flex-wrap: wrap;
    border-color: rgba(148,167,194,.20);
    background: rgba(12,25,41,.96);
    box-shadow:
        0 14px 32px rgba(0,0,0,.28),
        0 1px 0 rgba(255,255,255,.035);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.rvv3-review-toolbar__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
}

.rvv3-review-toolbar__filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid rgba(148,167,194,.16);
    border-radius: 999px;
    color: var(--rvv3-muted);
    background: rgba(148,167,194,.07);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
}

button.rvv3-review-toolbar__filter {
    cursor: pointer;
}

.rvv3-review-toolbar__filter.is-active {
    color: var(--rvv3-accent);
    border-color: rgba(245,197,24,.46);
    background: rgba(245,197,24,.08);
}

.rvv3-review-toolbar__compose {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 10px;
}

.rvv3-review-more {
    display: flex;
    justify-content: center;
    min-height: 1px;
    margin-top: 18px;
}

.rvv3-review-more.is-loading {
    opacity: .58;
    pointer-events: none;
}

.rvv3-review-more__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(245,197,24,.40);
    border-radius: 12px;
    color: var(--rvv3-accent);
    background: rgba(245,197,24,.065);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition:
        border-color .18s ease,
        background .18s ease,
        transform .18s ease;
}

.rvv3-review-more__button:hover {
    border-color: rgba(245,197,24,.72);
    background: rgba(245,197,24,.11);
    transform: translateY(-1px);
}

.rvv3-review-more__button small {
    min-width: 28px;
    padding: 3px 7px;
    border-radius: 999px;
    color: #dce6f2;
    background: rgba(148,167,194,.13);
    font-size: 11px;
}

.rvv3-review-more__complete {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: var(--rvv3-muted);
    font-size: 13px;
}

.rvv3-review-more__complete i {
    color: var(--rvv3-plus);
}

.rvv3-review-card--short {
    padding-top: 15px;
    padding-bottom: 13px;
}

.rvv3-review-card--short .rvv3-review-card__text {
    margin-top: 10px;
}

.rvv3-review-card--short .rvv3-review-card__footer {
    margin-top: 11px;
    padding-top: 10px;
}

.rvv3-review-card__text.is-collapsible.is-collapsed::after {
    height: 30px;
}

.rvv3-review-card__toggle {
    margin-top: 5px;
}

@media (max-width: 760px) {
    .rvv3-review-toolbar {
        top: 8px;
    }

    .rvv3-review-toolbar__actions {
        width: 100%;
        justify-content: space-between;
    }

    .rvv3-review-toolbar__compose {
        margin-left: auto;
    }}

@media (max-width: 520px) {
    .rvv3-review-toolbar__actions {
        display: grid;
        grid-template-columns: minmax(0,1fr) auto;
    }

    .rvv3-review-toolbar__filter {
        justify-self: start;
    }

    .rvv3-review-toolbar__count {
        justify-self: end;
    }

    .rvv3-review-toolbar__compose {
        grid-column: 1 / -1;
        width: 100%;
        margin-left: 0;
    }}

html.lfv2-active.light-theme .rvv3-review-toolbar {
    background: rgba(255,255,255,.96);
    box-shadow:
        0 14px 32px rgba(15,23,42,.12),
        0 1px 0 rgba(15,23,42,.04);
}

html.lfv2-active.light-theme .rvv3-review-toolbar__filter {
    color: #64748b;
    background: rgba(15,23,42,.035);
}

html.lfv2-active.light-theme .rvv3-review-toolbar__filter.is-active {
    color: #9a7200;
    background: rgba(245,197,24,.12);
}
.rvv3-sort-tab {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.rvv3-distribution__row {
    appearance: none;
    -webkit-appearance: none;
}

/* ==================================================================
 * LikeFilm Quotes V3 — /film/*/citaty/
 * Премиальная страница цитат. Рекламные контейнеры намеренно не
 * переопределяются и продолжают работать в исходном виде.
 * ================================================================== */
.qtv3-page {
    --qtv3-surface: #0d1622;
    --qtv3-surface-2: #111d2b;
    --qtv3-surface-3: #162436;
    --qtv3-border: rgba(255,255,255,.09);
    --qtv3-border-strong: rgba(255,255,255,.15);
    --qtv3-text: #f5f7fa;
    --qtv3-secondary: #b5c0ce;
    --qtv3-muted: #8694a7;
    --qtv3-accent: #f5c518;
    --qtv3-accent-hover: #ffd43a;
}

.qtv3-shell {
    padding-bottom: 28px;
}

.qtv3-intro {
    margin-bottom: 22px;
}

.qtv3-intro .fcv3-section-kicker {
    margin-bottom: 6px;
}

.qtv3-toolbar {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 24px 0 18px;
    padding: 8px;
    border: 1px solid var(--qtv3-border);
    border-radius: 15px;
    background: rgba(8,15,25,.93);
    box-shadow: 0 16px 38px rgba(0,0,0,.24);
    backdrop-filter: blur(16px);
}

.qtv3-toolbar__filters {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.qtv3-toolbar__filters::-webkit-scrollbar {
    display: none;
}

.qtv3-filter {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #aeb9c8;
    background: transparent;
    font-size: .86rem;
    font-weight: 750;
    cursor: pointer;
    transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}

.qtv3-filter:hover,
.qtv3-filter:focus-visible {
    color: #fff;
    background: rgba(255,255,255,.06);
}

.qtv3-filter:focus-visible {
    outline: 2px solid rgba(245,197,24,.72);
    outline-offset: 2px;
}

.qtv3-page button.qtv3-filter.is-active,
.qtv3-page button.qtv3-filter[aria-pressed="true"] {
    -webkit-appearance: none;
    appearance: none;
    color: #f5c518 !important;
    -webkit-text-fill-color: #f5c518 !important;
    border-color: rgba(245,197,24,.58) !important;
    background-color: rgba(245,197,24,.10) !important;
    background-image: linear-gradient(180deg, rgba(245,197,24,.14), rgba(245,197,24,.07)) !important;
    box-shadow: inset 0 0 0 1px rgba(245,197,24,.08), 0 8px 22px rgba(245,197,24,.12);
    opacity: 1 !important;
    filter: none !important;
}

.qtv3-page button.qtv3-filter.is-active i,
.qtv3-page button.qtv3-filter[aria-pressed="true"] i {
    color: #f5c518 !important;
    -webkit-text-fill-color: #f5c518 !important;
}

.qtv3-page button.qtv3-filter.is-active:hover,
.qtv3-page button.qtv3-filter.is-active:focus-visible,
.qtv3-page button.qtv3-filter[aria-pressed="true"]:hover,
.qtv3-page button.qtv3-filter[aria-pressed="true"]:focus-visible {
    color: #ffd43a !important;
    -webkit-text-fill-color: #ffd43a !important;
    border-color: rgba(245,197,24,.82) !important;
    background-color: rgba(245,197,24,.15) !important;
    background-image: linear-gradient(180deg, rgba(245,197,24,.19), rgba(245,197,24,.10)) !important;
}

.qtv3-toolbar__status {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-left: 1px solid var(--qtv3-border);
    color: var(--qtv3-muted);
    font-size: .78rem;
    white-space: nowrap;
}

.qtv3-toolbar__status strong {
    color: var(--qtv3-text);
    font-size: .92rem;
}

.qtv3-section {
    margin: 0 0 42px;
}

.qtv3-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 16px;
}

.qtv3-section__head > div {
    min-width: 0;
}

.qtv3-section__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--qtv3-accent);
    font-size: .69rem;
    font-weight: 850;
    letter-spacing: .105em;
}

.qtv3-section__head h2 {
    margin: 0;
    color: var(--qtv3-text);
    font-size: clamp(1.45rem, 2.5vw, 2.1rem);
    line-height: 1.15;
    letter-spacing: -.025em;
}

.qtv3-section__head p {
    max-width: 680px;
    margin: 7px 0 0;
    color: var(--qtv3-muted);
    font-size: .9rem;
    line-height: 1.55;
}


.qtv3-editorial-list,
.qtv3-quote-list {
    display: grid;
    gap: 15px;
}

.qtv3-editorial-card,
.qtv3-quote-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--qtv3-border);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0, rgba(245,197,24,.055), transparent 34%),
        linear-gradient(145deg, rgba(17,29,43,.98), rgba(11,19,29,.98));
    box-shadow: 0 18px 44px rgba(0,0,0,.20);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.qtv3-editorial-card:hover,
.qtv3-quote-card:hover {
    transform: translateY(-2px);
    border-color: rgba(245,197,24,.25);
    box-shadow: 0 24px 54px rgba(0,0,0,.27);
}

.qtv3-card__number {
    position: absolute;
    top: 17px;
    right: 19px;
    z-index: 2;
    color: rgba(255,255,255,.50);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .08em;
}

.qtv3-quote-mark {
    display: block;
    height: 36px;
    color: var(--qtv3-accent);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4.5rem;
    line-height: .9;
    opacity: .96;
}

.qtv3-editorial-card__main,
.qtv3-quote-card__body {
    padding: 28px 68px 24px 30px;
}

.qtv3-editorial-card__quote,
.qtv3-quote-card__text {
    max-width: 900px;
    margin: 10px 0 0;
    padding: 0;
    border: 0;
    color: var(--qtv3-text);
    background: transparent;
    font-family: "Helvetica Neue", "OpenSansRegular", Roboto, Arial, sans-serif;
    font-size: clamp(1.08rem, 1.7vw, 1.34rem);
    font-weight: 560;
    line-height: 1.63;
    letter-spacing: -.01em;
}

.qtv3-editorial-card__quote {
    font-size: clamp(1.18rem, 1.95vw, 1.48rem);
}

.qtv3-editorial-card__author {
    margin-top: 17px;
    color: var(--qtv3-accent);
    font-size: .91rem;
    font-weight: 760;
}

.qtv3-editorial-card__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    border-top: 1px solid var(--qtv3-border);
    border-bottom: 1px solid var(--qtv3-border);
    background: var(--qtv3-border);
}

.qtv3-analysis-block {
    padding: 21px 26px 23px;
    background: rgba(7,13,21,.72);
}

.qtv3-analysis-block > span {
    display: block;
    margin-bottom: 7px;
    color: var(--qtv3-accent);
    font-size: .69rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.qtv3-analysis-block p {
    margin: 0;
    color: var(--qtv3-secondary);
    font-size: .91rem;
    line-height: 1.67;
}

.qtv3-card__footer,
.qtv3-quote-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 20px;
    border-top: 1px solid var(--qtv3-border);
    background: rgba(5,11,18,.44);
}

.qtv3-card__footer {
    border-top: 0;
}

.qtv3-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.qtv3-page .qtv3-tag,
.qtv3-page a.qtv3-tag,
.qtv3-page a.qtv3-tag:link,
.qtv3-page a.qtv3-tag:visited {
    min-height: 30px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(245,197,24,.18);
    border-radius: 999px;
    color: #d9c875;
    background: rgba(245,197,24,.075);
    font-size: .73rem;
    font-weight: 700;
    text-decoration: none;
}

.qtv3-page a.qtv3-tag:hover,
.qtv3-page a.qtv3-tag:focus-visible {
    color: #111722;
    border-color: var(--qtv3-accent);
    background: var(--qtv3-accent);
}

.qtv3-copy {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--qtv3-border-strong);
    border-radius: 10px;
    color: #c1ccd8;
    background: rgba(255,255,255,.035);
    font-size: .76rem;
    font-weight: 760;
    cursor: pointer;
    transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}

.qtv3-copy:hover,
.qtv3-copy:focus-visible,
.qtv3-copy.is-copied {
    color: #111722;
    border-color: var(--qtv3-accent);
    background: var(--qtv3-accent);
}

.qtv3-copy:focus-visible {
    outline: 2px solid rgba(245,197,24,.68);
    outline-offset: 2px;
}

.qtv3-quote-card__meta {
    align-items: flex-end;
}

.qtv3-character-list {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.qtv3-page .qtv3-character,
.qtv3-page a.qtv3-character,
.qtv3-page a.qtv3-character:link,
.qtv3-page a.qtv3-character:visited {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--qtv3-text);
    text-decoration: none;
}

.qtv3-character img,
.qtv3-character__placeholder {
    flex: 0 0 auto;
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    border: 1px solid var(--qtv3-border-strong);
    border-radius: 50%;
    object-fit: cover;
    background: var(--qtv3-surface-3);
}

.qtv3-character__placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--qtv3-muted);
}

.qtv3-character > span:last-child {
    min-width: 0;
    display: grid;
    gap: 1px;
}

.qtv3-character strong {
    overflow: hidden;
    color: var(--qtv3-text);
    font-size: .86rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qtv3-character small {
    overflow: hidden;
    color: var(--qtv3-muted);
    font-size: .69rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qtv3-page a.qtv3-character:hover strong {
    color: var(--qtv3-accent);
}

.qtv3-character--empty {
    color: var(--qtv3-muted);
}

.qtv3-quote-card__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.qtv3-score {
    min-width: 0;
    display: flex;
    align-items: center;
}

.qtv3-score__summary {
    min-height: 36px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--qtv3-text);
    white-space: nowrap;
}

.qtv3-score__summary i {
    color: var(--qtv3-accent);
    font-size: .9rem;
}

.qtv3-score__summary strong {
    font-size: .94rem;
    line-height: 1;
}

.qtv3-score__summary > span,
.qtv3-score__summary small {
    color: var(--qtv3-muted);
    font-size: .72rem;
    font-weight: 700;
}

.qtv3-score__summary--empty {
    border-color: var(--qtv3-border);
    color: var(--qtv3-muted);
    background: rgba(255,255,255,.025);
}

.qtv3-score__summary--empty small {
    color: var(--qtv3-secondary);
}

.qtv3-rate-details {
    position: relative;
}

.qtv3-rate-details summary {
    min-height: 36px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--qtv3-border-strong);
    border-radius: 10px;
    color: #c1ccd8;
    background: rgba(255,255,255,.035);
    font-size: .75rem;
    font-weight: 760;
    list-style: none;
    cursor: pointer;
}

.qtv3-rate-details summary::-webkit-details-marker {
    display: none;
}

.qtv3-rate-details[open] summary,
.qtv3-rate-details summary:hover {
    color: #111722;
    border-color: var(--qtv3-accent);
    background: var(--qtv3-accent);
}

.qtv3-rate-details[open] summary i {
    transform: rotate(180deg);
}

.qtv3-rate-details__panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 9px);
    z-index: 12;
    min-width: 238px;
    padding: 13px;
    border: 1px solid var(--qtv3-border-strong);
    border-radius: 12px;
    background: #111c29;
    box-shadow: 0 20px 48px rgba(0,0,0,.42);
}

.qtv3-rate-details__panel > div {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.qtv3-card__tags {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px 17px;
    border-top: 1px solid rgba(255,255,255,.045);
}

.qtv3-card__tags > span {
    flex: 0 0 auto;
    color: var(--qtv3-muted);
    font-size: .68rem;
    font-weight: 780;
    letter-spacing: .065em;
    text-transform: uppercase;
}

.qtv3-filter-empty {
    margin: 8px 0 42px;
    padding: 50px 24px;
    border: 1px dashed var(--qtv3-border-strong);
    border-radius: 18px;
    text-align: center;
    background: rgba(255,255,255,.02);
}

.qtv3-filter-empty > span {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--qtv3-accent);
    background: rgba(245,197,24,.09);
    font-size: 1.2rem;
}

.qtv3-filter-empty h2 {
    margin: 0 0 7px;
    color: var(--qtv3-text);
    font-size: 1.28rem;
}

.qtv3-filter-empty p {
    margin: 0;
    color: var(--qtv3-muted);
}

.qtv3-related {
    margin-top: 48px;
}

.qtv3-related .uiAlgorithmicFooterRail {
    grid-auto-columns: calc((100% - 60px) / 6);
}

.qtv3-related .uiAlgorithmicFooterCard--quote .uiAlgorithmicFooterMedia {
    aspect-ratio: 155 / 220;
}

.qtv3-related .uiAlgorithmicFooterCardTitle {
    font-size: .82rem;
    line-height: 1.28;
}

.qtv3-page [data-qtv3-card][hidden] {
    display: none !important;
}

html.lfv2-active.light-theme .qtv3-page {
    --qtv3-surface: #ffffff;
    --qtv3-surface-2: #f6f8fb;
    --qtv3-surface-3: #e9eef5;
    --qtv3-border: rgba(15,23,42,.10);
    --qtv3-border-strong: rgba(15,23,42,.17);
    --qtv3-text: #152033;
    --qtv3-secondary: #4d5c70;
    --qtv3-muted: #758399;
}

html.lfv2-active.light-theme .qtv3-toolbar {
    background: rgba(255,255,255,.94);
    box-shadow: 0 15px 38px rgba(25,39,61,.10);
}

html.lfv2-active.light-theme .qtv3-filter:hover,
html.lfv2-active.light-theme .qtv3-filter:focus-visible {
    color: #152033;
    background: rgba(15,23,42,.055);
}

html.lfv2-active.light-theme .qtv3-editorial-card,
html.lfv2-active.light-theme .qtv3-quote-card {
    background: linear-gradient(145deg, #fff, #f7f9fc);
    box-shadow: 0 16px 38px rgba(30,45,70,.09);
}

html.lfv2-active.light-theme .qtv3-analysis-block,
html.lfv2-active.light-theme .qtv3-card__footer,
html.lfv2-active.light-theme .qtv3-quote-card__meta {
    background: #f7f9fc;
}

html.lfv2-active.light-theme .qtv3-rate-details__panel {
    background: #fff;
    box-shadow: 0 18px 44px rgba(30,45,70,.18);
}

html.lfv2-active.light-theme .qtv3-copy,
html.lfv2-active.light-theme .qtv3-rate-details summary {
    color: #526176;
    background: rgba(15,23,42,.025);
}

@media (max-width: 920px) {
    .qtv3-related .uiAlgorithmicFooterRail {
        grid-auto-columns: calc((100% - 36px) / 4);
    }

    .qtv3-quote-card__meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .qtv3-quote-card__actions {
        width: 100%;
        justify-content: flex-start;
    }

    .qtv3-score {
        justify-items: start;
    }}

@media (max-width: 700px) {
    .qtv3-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 5px;
    }

    .qtv3-toolbar__status {
        min-height: 30px;
        justify-content: flex-end;
        border-top: 1px solid var(--qtv3-border);
        border-left: 0;
    }

    .qtv3-editorial-card__main,
    .qtv3-quote-card__body {
        padding: 24px 46px 21px 20px;
    }

    .qtv3-card__number {
        top: 15px;
        right: 15px;
    }

    .qtv3-editorial-card__details {
        grid-template-columns: 1fr;
    }

    .qtv3-card__footer,
    .qtv3-quote-card__meta {
        padding: 14px 15px;
    }

    .qtv3-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .qtv3-card__tags {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
        padding: 12px 15px 15px;
    }

    .qtv3-related .uiAlgorithmicFooterRail {
        grid-auto-columns: calc((100% - 24px) / 3);
    }}

@media (max-width: 520px) {
    .qtv3-section__head {
        align-items: flex-start;
    }

    .qtv3-section__head p {
        font-size: .84rem;
    }

    .qtv3-quote-card__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .qtv3-score {
        grid-column: 1 / -1;
    }

    .qtv3-rate-details,
    .qtv3-copy {
        width: 100%;
    }

    .qtv3-rate-details summary,
    .qtv3-copy {
        width: 100%;
    }

    .qtv3-rate-details__panel {
        right: auto;
        left: 0;
    }

    .qtv3-related .uiAlgorithmicFooterRail {
        grid-auto-columns: calc((100% - 12px) / 2);
    }}

@media (prefers-reduced-motion: reduce) {
    .qtv3-editorial-card,
    .qtv3-quote-card,
    .qtv3-filter,
    .qtv3-copy {
        transition: none;
    }}

/* ==================================================================
 * LikeFilm Music V3 — /film/{film}/music/
 * Кинематографичный hero, плейлист и навигация сезонов/эпизодов.
 * ================================================================== */
.msv3-page {
    min-height: 100vh;
}

.msv3-page .msv3-hero .fcv3-hero__title {
    max-width: 850px;
}

.msv3-shell {
    padding-bottom: 34px;
}

.msv3-intro {
    max-width: 880px;
}

.msv3-playlist {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin: 0 0 34px;
}

.msv3-track {
    overflow: hidden;
    border: 1px solid var(--fcv3-border);
    border-radius: 17px;
    background:
        radial-gradient(circle at 100% 0, rgba(245,197,24,.045), transparent 30%),
        linear-gradient(145deg, rgba(18,29,43,.96), rgba(10,18,29,.98));
    box-shadow: 0 12px 28px rgba(0,0,0,.16);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.msv3-track:hover {
    border-color: rgba(255,255,255,.16);
    transform: translateY(-1px);
    box-shadow: 0 17px 36px rgba(0,0,0,.22);
}

.msv3-track.is-playing {
    border-color: rgba(245,197,24,.52);
    box-shadow: 0 16px 38px rgba(0,0,0,.24), 0 0 0 1px rgba(245,197,24,.07);
}

.msv3-track__row {
    min-height: 92px;
    padding: 16px 18px;
    display: grid;
    grid-template-columns: 38px 50px minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
}

.msv3-track__number {
    color: #738195;
    font-size: .74rem;
    font-weight: 850;
    letter-spacing: .08em;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.msv3-track__play {
    width: 46px;
    height: 46px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(245,197,24,.34);
    border-radius: 50%;
    color: var(--fcv3-accent);
    background: rgba(245,197,24,.075);
    box-shadow: none;
    cursor: pointer;
    font-size: .95rem;
    transition: color .17s ease, background-color .17s ease, border-color .17s ease, transform .17s ease;
}

button.msv3-track__play:hover,
button.msv3-track__play:focus {
    color: #111;
    border-color: var(--fcv3-accent);
    background: var(--fcv3-accent);
    outline: none;
    transform: scale(1.04);
}

.msv3-track.is-playing .msv3-track__play {
    color: #111;
    border-color: var(--fcv3-accent);
    background: var(--fcv3-accent);
}

.msv3-track__play--disabled {
    color: #647286;
    border-color: rgba(255,255,255,.08);
    background: rgba(255,255,255,.025);
    cursor: default;
}

.msv3-track__content {
    min-width: 0;
}

.msv3-track__title {
    margin: 0;
    color: var(--fcv3-text);
    font-size: 1.02rem;
    font-weight: 780;
    line-height: 1.34;
    letter-spacing: -.012em;
    overflow-wrap: anywhere;
}

.msv3-track__artist {
    margin-top: 4px;
    color: var(--fcv3-secondary);
    font-size: .84rem;
    line-height: 1.45;
}

.msv3-track__scene {
    margin: 10px 0 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #8f9dae;
    font-size: .78rem;
    line-height: 1.52;
}

.msv3-track__scene i {
    flex: 0 0 auto;
    margin-top: 3px;
    color: rgba(245,197,24,.72);
}

.msv3-track__state {
    min-width: 92px;
    padding: 8px 11px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 999px;
    color: #8997a9;
    background: rgba(5,10,17,.35);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .035em;
    text-align: center;
    white-space: nowrap;
}

.msv3-track.is-playing .msv3-track__state {
    color: var(--fcv3-accent);
    border-color: rgba(245,197,24,.25);
    background: rgba(245,197,24,.07);
}

.msv3-player {
    padding: 0 18px 18px 121px;
}

.msv3-player[hidden] {
    display: none !important;
}

.msv3-player__frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 760px;
    padding-top: min(56.25%, 420px);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 13px;
    background: #03070c;
    box-shadow: 0 18px 38px rgba(0,0,0,.28);
}

.msv3-player__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.msv3-index-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 34px;
}

.msv3-page a.msv3-index-card,
.msv3-page a.msv3-index-card:link,
.msv3-page a.msv3-index-card:visited {
    min-height: 86px;
    padding: 15px 17px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 13px;
    border: 1px solid var(--fcv3-border);
    border-radius: 16px;
    color: var(--fcv3-text);
    background: linear-gradient(145deg, rgba(18,29,43,.94), rgba(10,18,29,.98));
    box-shadow: 0 12px 28px rgba(0,0,0,.14);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.msv3-page a.msv3-index-card:hover {
    color: var(--fcv3-text);
    border-color: rgba(245,197,24,.38);
    transform: translateY(-2px);
    box-shadow: 0 17px 34px rgba(0,0,0,.22);
    text-decoration: none;
}

.msv3-index-card__icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(245,197,24,.22);
    border-radius: 13px;
    color: var(--fcv3-accent);
    background: rgba(245,197,24,.065);
}

.msv3-index-card__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.msv3-index-card__body strong {
    color: inherit;
    font-size: .96rem;
    line-height: 1.35;
}

.msv3-index-card__body small {
    color: var(--fcv3-muted);
    font-size: .74rem;
    line-height: 1.35;
}

.msv3-index-card__arrow {
    color: #657386;
    font-size: .75rem;
    transition: color .18s ease, transform .18s ease;
}

.msv3-index-card:hover .msv3-index-card__arrow {
    color: var(--fcv3-accent);
    transform: translateX(2px);
}

html.lfv2-active.light-theme .msv3-track,
html.lfv2-active.light-theme .msv3-page a.msv3-index-card {
    border-color: rgba(15,30,48,.12);
    background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(244,247,250,.98));
    box-shadow: 0 12px 28px rgba(20,35,54,.08);
}

html.lfv2-active.light-theme .msv3-track__title,
html.lfv2-active.light-theme .msv3-page a.msv3-index-card,
html.lfv2-active.light-theme .msv3-page a.msv3-index-card:link,
html.lfv2-active.light-theme .msv3-page a.msv3-index-card:visited {
    color: #162235;
}

html.lfv2-active.light-theme .msv3-track__artist,
html.lfv2-active.light-theme .msv3-track__scene,
html.lfv2-active.light-theme .msv3-index-card__body small {
    color: #637083;
}

html.lfv2-active.light-theme .msv3-track__state {
    border-color: rgba(15,30,48,.1);
    color: #637083;
    background: rgba(15,30,48,.035);
}

@media (max-width: 760px) {
    .msv3-index-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .msv3-track__row {
        grid-template-columns: 30px 44px minmax(0, 1fr);
        gap: 11px;
        padding: 14px;
    }

    .msv3-track__play {
        width: 42px;
        height: 42px;
    }

    .msv3-track__state {
        grid-column: 3;
        min-width: 0;
        width: max-content;
        margin-top: 2px;
        padding: 5px 9px;
    }

    .msv3-player {
        padding: 0 14px 14px 99px;
    }}

@media (max-width: 520px) {
    .msv3-track__row {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .msv3-track__number {
        display: none;
    }

    .msv3-track__state {
        grid-column: 2;
    }

    .msv3-player {
        padding: 0 12px 12px;
    }

    .msv3-player__frame {
        max-width: none;
        padding-top: 56.25%;
    }

    .msv3-page a.msv3-index-card,
    .msv3-page a.msv3-index-card:link,
    .msv3-page a.msv3-index-card:visited {
        grid-template-columns: 42px minmax(0, 1fr) 14px;
        min-height: 76px;
        padding: 13px;
    }

    .msv3-index-card__icon {
        width: 40px;
        height: 40px;
        border-radius: 11px;
    }}

@media (prefers-reduced-motion: reduce) {
    .msv3-track,
    .msv3-track__play,
    .msv3-index-card,
    .msv3-index-card__arrow {
        transition: none;
    }}

/* ==================================================================
 * Film V3 — final polish: section icons, rating, details and franchise
 * ================================================================== */
.sfv3-page .sfv3-section-nav__rail > a,
.sfv3-page .sfv3-section-nav__rail > a:link,
.sfv3-page .sfv3-section-nav__rail > a:visited {
    gap: 7px;
    border: 1px solid transparent;
    background: transparent;
}

.sfv3-page .sfv3-section-nav__rail > a > i {
    width: 15px;
    flex: 0 0 15px;
    margin: 0;
    color: currentColor;
    font-size: 13px;
    line-height: 1;
    text-align: center;
    opacity: .72;
}

.sfv3-page .sfv3-section-nav__rail > a:hover > i,
.sfv3-page .sfv3-section-nav__rail > a.is-active > i {
    opacity: 1;
}

.sfv3-page .sfv3-section-nav__rail > a.is-active,
.sfv3-page .sfv3-section-nav__rail > a.is-active:link,
.sfv3-page .sfv3-section-nav__rail > a.is-active:visited {
    color: var(--sfv3-accent) !important;
    border-color: rgba(245, 197, 24, .72) !important;
    background: rgba(245, 197, 24, .075) !important;
    box-shadow: 0 8px 22px rgba(245, 197, 24, .08) !important;
}

.sfv3-user-rating {
    max-width: 100%;
}

.sfv3-user-rating__label {
    flex: 0 0 auto;
}

.sfv3-user-rating #filmRate {
    display: inline-flex;
    align-items: center;
    min-width: 220px;
    line-height: 1;
}

.sfv3-user-rating #filmRate > span {
    width: 22px !important;
    height: 24px;
    line-height: 24px !important;
    font-size: 22px !important;
    transition: color .15s ease, transform .15s ease;
}

.sfv3-user-rating #filmRate > span:hover {
    transform: translateY(-1px) scale(1.06);
}

.sfv3-user-rating__count {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    color: #8391a4;
    font-size: .78rem;
    line-height: 1.35;
}

.sfv3-user-rating__count b {
    color: #c8d1dc;
    font-weight: 750;
}

.sfv3-user-rating__count--empty {
    color: #758397;
}

.sfv3-user-rating #rateResponse:empty {
    display: none;
}

.sfv3-details__hide-label {
    display: none;
}

.sfv3-details__more[open] .sfv3-details__show-label {
    display: none;
}

.sfv3-details__more[open] .sfv3-details__hide-label {
    display: inline;
}

.sfv3-trailer-section,
.sfv3-franchise-section,
.sfv3-cast-section {
    clear: both;
}

.sfv3-franchise-section {
    margin-top: 36px;
}

.sfv3-franchise-section .uiFilmCardFranchiseModern {
    margin-top: 0;
    padding: 16px;
    border-color: rgba(255,255,255,.10);
    background: linear-gradient(180deg, rgba(16,27,42,.94), rgba(10,18,29,.94));
}

.sfv3-franchise-section .uiFilmCardFranchiseModern__rail {
    gap: 12px;
}

.sfv3-franchise-section .uiFilmCardFranchiseModern__item,
.sfv3-franchise-section .uiFilmCardFranchiseModern__item:link,
.sfv3-franchise-section .uiFilmCardFranchiseModern__item:visited {
    flex-basis: 250px;
    min-height: 96px;
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 8px;
}

.sfv3-franchise-section .uiFilmCardFranchiseModern__poster {
    width: 58px;
    height: 80px;
}

.sfv3-franchise-section .uiFilmCardFranchiseModern__body strong {
    font-size: .88rem;
}

.sfv3-franchise-section .uiFilmCardFranchiseModern__current {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    margin-top: 6px;
    padding: 3px 7px;
    border: 1px solid rgba(245,197,24,.26);
    border-radius: 999px;
    color: var(--sfv3-accent);
    background: rgba(245,197,24,.07);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .035em;
    line-height: 1.2;
    text-transform: uppercase;
}

html.lfv2-active.light-theme .sfv3-page .sfv3-section-nav__rail > a.is-active,
html.lfv2-active.light-theme .sfv3-page .sfv3-section-nav__rail > a.is-active:link,
html.lfv2-active.light-theme .sfv3-page .sfv3-section-nav__rail > a.is-active:visited {
    color: #8b6500 !important;
    border-color: rgba(190,145,0,.46) !important;
    background: rgba(245,197,24,.13) !important;
    box-shadow: none !important;
}

html.lfv2-active.light-theme .sfv3-user-rating__count {
    color: #687587;
}

html.lfv2-active.light-theme .sfv3-user-rating__count b {
    color: #273244;
}

html.lfv2-active.light-theme .sfv3-franchise-section .uiFilmCardFranchiseModern {
    border-color: rgba(15,23,42,.11);
    background: linear-gradient(180deg, rgba(247,249,252,.96), rgba(240,244,248,.96));
}

html.lfv2-active.light-theme .sfv3-franchise-section .uiFilmCardFranchiseModern__current {
    color: #8b6500;
    border-color: rgba(190,145,0,.26);
    background: rgba(245,197,24,.12);
}

@media (max-width: 680px) {
    .sfv3-user-rating {
        gap: 8px 10px;
    }

    .sfv3-user-rating #filmRate {
        min-width: 200px;
    }

    .sfv3-user-rating #filmRate > span {
        width: 20px !important;
        font-size: 20px !important;
    }

    .sfv3-user-rating__count {
        flex: 1 1 100%;
    }

    .sfv3-franchise-section {
        margin-top: 28px;
    }

    .sfv3-franchise-section .uiFilmCardFranchiseModern {
        padding: 12px;
    }

    .sfv3-franchise-section .uiFilmCardFranchiseModern__item,
    .sfv3-franchise-section .uiFilmCardFranchiseModern__item:link,
    .sfv3-franchise-section .uiFilmCardFranchiseModern__item:visited {
        flex-basis: 220px;
        grid-template-columns: 50px minmax(0, 1fr);
        min-height: 86px;
    }

    .sfv3-franchise-section .uiFilmCardFranchiseModern__poster {
        width: 50px;
        height: 70px;
    }}

/* ========================================================================
   LikeFilm Film V3 — mobile critical pass
   Compact hero, collapsible long text/reviews, compact fact voting and
   predictable vertical rhythm. Scoped to .sfv3-page only.
   ======================================================================== */

/* Native CSS toggle used for long story and review previews. */
.sfv3-collapsible {
    position: relative;
    min-width: 0;
}

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

.sfv3-collapsible__button {
    display: none;
}

.sfv3-collapsible__hide {
    display: none;
}

/* Eliminate legacy spacer nodes between modern sections. Each modern block
 * already owns its spacing, so stacked uiMargin elements only create gaps. */
.sfv3-page .sfv3-media > .uiMargin,
.sfv3-page .sfv3-media > .uiMarginFloat,
.sfv3-page .sfv3-media > .uiVoid {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.sfv3-page .sfv3-media > .uiClear {
    height: 0 !important;
    margin: 0 !important;
}

.sfv3-page .sfv3-trailer-section,
.sfv3-page .sfv3-franchise-section,
.sfv3-page .sfv3-cast-section,
.sfv3-page .sfv3-streaming,
.sfv3-page .sfv3-reviews,
.sfv3-page .sfv3-facts {
    margin-top: 38px;
}

/* Compact, explicit 1–10 fact rating. */
.sfv3-fact-card__rating > span {
    display: none;
}

.sfv3-fact-rate {
    width: 100%;
}

.sfv3-fact-rate > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 11px;
    color: #dce5ef;
    background: rgba(5,12,21,.38);
    cursor: pointer;
    list-style: none;
}

.sfv3-fact-rate > summary::-webkit-details-marker {
    display: none;
}

.sfv3-fact-rate > summary > span {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e7edf5;
    font-size: .78rem;
    font-weight: 800;
}

.sfv3-fact-rate > summary > span i {
    color: var(--sfv3-accent);
}

.sfv3-fact-rate > summary strong {
    color: #9eabbb;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

.sfv3-fact-rate__arrow {
    color: #7f8da1;
    transition: transform .18s ease;
}

.sfv3-fact-rate[open] .sfv3-fact-rate__arrow {
    transform: rotate(180deg);
}

.sfv3-fact-rate__picker {
    margin-top: 9px;
    padding: 11px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 11px;
    background: rgba(5,12,21,.30);
}

.sfv3-fact-rate__hint {
    display: block;
    margin-bottom: 9px;
    color: #8e9caf;
    font-size: .72rem;
}

.sfv3-fact-rate__scale {
    display: grid;
    grid-template-columns: repeat(10, minmax(32px, 1fr));
    gap: 6px;
}

.sfv3-fact-rate__scale a,
.sfv3-fact-rate__scale a:link,
.sfv3-fact-rate__scale a:visited {
    min-width: 0;
    min-height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 9px;
    color: #dbe4ef;
    background: rgba(13,22,34,.86);
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
    transition: color .16s ease, border-color .16s ease, background-color .16s ease, transform .16s ease;
}

.sfv3-fact-rate__scale a:hover,
.sfv3-fact-rate__scale a:focus-visible {
    color: #111722;
    border-color: var(--sfv3-accent);
    background: var(--sfv3-accent);
    transform: translateY(-1px);
}

.sfv3-fact-rate__scale > b {
    grid-column: 1 / -1;
    color: var(--sfv3-accent);
    font-size: .82rem;
}

@media (max-width: 700px) {
    /* First screen: one primary action plus two compact secondary actions. */
    .sfv3-page .sfv3-hero {
        margin-bottom: 12px;
        border-radius: 15px;
    }

    .sfv3-page .sfv3-hero__inner {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 13px;
        padding: 16px;
    }

    .sfv3-page .sfv3-hero__poster-wrap {
        width: 82px;
        padding: 2px;
        border-radius: 9px;
    }

    .sfv3-page .sfv3-hero__poster {
        border-radius: 7px;
    }

    .sfv3-page .sfv3-hero .sfv3-breadcrumbs {
        margin-bottom: 6px;
        font-size: .76rem;
    }

    .sfv3-page .sfv3-hero__title {
        margin-top: 3px;
        font-size: clamp(1.72rem, 8vw, 2.25rem);
        line-height: 1.02;
    }

    .sfv3-page .sfv3-hero__original {
        margin-top: 5px;
        font-size: .82rem;
    }

    .sfv3-page .sfv3-hero__meta {
        gap: 5px 0;
        margin-top: 8px;
        font-size: .79rem;
        line-height: 1.35;
    }

    .sfv3-page .sfv3-hero__meta > span:not(:last-child)::after {
        width: 3px;
        height: 3px;
        margin: 0 7px;
    }

    .sfv3-page .sfv3-hero__age {
        min-height: 23px;
        padding-inline: 6px;
        border-radius: 6px;
    }

    .sfv3-page .sfv3-hero__ratings {
        gap: 7px;
        margin-top: 10px;
    }

    .sfv3-page .sfv3-rating {
        min-height: 36px;
        padding: 0 10px;
        border-radius: 9px;
    }

    .sfv3-page .sfv3-rating b {
        font-size: 1rem;
    }

    .sfv3-page .sfv3-hero__lead {
        margin-top: 10px;
        font-size: .86rem;
        line-height: 1.48;
        -webkit-line-clamp: 2;
    }

    .sfv3-page .sfv3-hero__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 13px;
    }

    .sfv3-page .sfv3-hero__actions .lfv2-btn {
        width: 100%;
        min-height: 41px;
        padding: 7px 9px;
        font-size: .78rem;
        line-height: 1.2;
        white-space: normal;
        text-align: center;
    }

    .sfv3-page .sfv3-hero__actions .lfv2-btn:first-child {
        grid-column: 1 / -1;
    }

    .sfv3-page .sfv3-hero__actions .lfv2-btn:nth-child(2):last-child {
        grid-column: 1 / -1;
    }

    .sfv3-page .sfv3-user-rating {
        width: 100%;
        max-width: none;
        gap: 6px 9px;
        margin-top: 12px;
        padding-top: 11px;
    }

    .sfv3-page .sfv3-user-rating__label {
        flex: 1 1 100%;
        font-size: .68rem;
    }

    .sfv3-page .sfv3-user-rating #filmRate {
        min-width: 170px;
    }

    .sfv3-page .sfv3-user-rating #filmRate > span {
        width: 17px !important;
        font-size: 17px !important;
    }

    .sfv3-page .sfv3-user-rating__count {
        flex: 1 1 100%;
        margin-top: 1px;
        font-size: .78rem;
    }

    .sfv3-page .sfv3-section-nav {
        margin-bottom: 12px;
    }

    .sfv3-page .sfv3-overview {
        gap: 14px;
        margin-bottom: 14px;
    }

    .sfv3-page .sfv3-story,
    .sfv3-page .sfv3-details {
        padding: 17px;
    }

    .sfv3-page .sfv3-story__text,
    .sfv3-page .sfv3-review-card__body {
        font-size: 1rem;
        line-height: 1.58;
    }

    /* Long story preview: about 7–8 lines. */
    .sfv3-page .sfv3-story-collapse .sfv3-collapsible__content {
        position: relative;
        max-height: 12.65em;
        overflow: hidden;
        transition: max-height .28s ease;
    }

    /* Long review preview: about 6 lines. */
    .sfv3-page .sfv3-review-card__collapse .sfv3-collapsible__content,
    .sfv3-page .sfv3-review-card:not(.sfv3-review-card--featured) .sfv3-review-card__collapse .sfv3-review-card__body {
        position: relative;
        display: block !important;
        max-height: 9.5em;
        overflow: hidden;
        -webkit-line-clamp: unset;
        -webkit-box-orient: initial;
        transition: max-height .28s ease;
    }

    .sfv3-page .sfv3-collapsible__toggle:not(:checked) + .sfv3-collapsible__content::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 3.5em;
        pointer-events: none;
        background: linear-gradient(to bottom, rgba(12,20,31,0), rgba(12,20,31,.98) 88%);
    }

    .sfv3-page .sfv3-story-collapse .sfv3-collapsible__toggle:not(:checked) + .sfv3-collapsible__content::after {
        background: linear-gradient(to bottom, rgba(11,20,32,0), rgba(11,20,32,.99) 88%);
    }

    .sfv3-page .sfv3-collapsible__toggle:checked + .sfv3-collapsible__content {
        max-height: 3000px;
    }

    .sfv3-page .sfv3-collapsible__button {
        min-height: 39px;
        margin-top: 9px;
        padding: 0 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        border: 1px solid rgba(255,255,255,.11);
        border-radius: 10px;
        color: #d6e0eb;
        background: rgba(5,12,21,.35);
        font-size: .79rem;
        font-weight: 800;
        cursor: pointer;
        user-select: none;
    }

    .sfv3-page .sfv3-collapsible__button i {
        color: var(--sfv3-accent);
        transition: transform .18s ease;
    }

    .sfv3-page .sfv3-collapsible__toggle:checked ~ .sfv3-collapsible__button .sfv3-collapsible__show {
        display: none;
    }

    .sfv3-page .sfv3-collapsible__toggle:checked ~ .sfv3-collapsible__button .sfv3-collapsible__hide {
        display: inline;
    }

    .sfv3-page .sfv3-collapsible__toggle:checked ~ .sfv3-collapsible__button i {
        transform: rotate(180deg);
    }

    .sfv3-page .sfv3-review-card__actions {
        margin-top: 14px;
        padding-top: 13px;
    }

    .sfv3-page .sfv3-trailer-section,
    .sfv3-page .sfv3-franchise-section,
    .sfv3-page .sfv3-cast-section,
    .sfv3-page .sfv3-streaming,
    .sfv3-page .sfv3-reviews,
    .sfv3-page .sfv3-facts {
        margin-top: 29px;
    }

    /* Keep the single full streaming panel, but make it lighter than the hero CTA. */
    .sfv3-page .sfv3-streaming {
        gap: 13px;
        padding: 16px;
        border-radius: 13px;
    }

    .sfv3-page .sfv3-streaming__copy h2 {
        font-size: 1.35rem;
    }

    .sfv3-page .sfv3-streaming__copy p {
        margin-top: 5px;
        font-size: .84rem;
        line-height: 1.45;
    }

    .sfv3-page .sfv3-streaming__button {
        min-height: 42px;
    }

    .sfv3-page .sfv3-review-card,
    .sfv3-page .sfv3-review-card--featured {
        padding: 16px;
        border-radius: 14px;
    }

    .sfv3-page .sfv3-fact-card {
        padding: 14px;
    }

    .sfv3-page .sfv3-fact-card__rating {
        margin-top: 12px;
        padding-top: 11px;
    }

    .sfv3-page .sfv3-fact-rate > summary {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 7px;
        min-height: 43px;
        padding-inline: 10px;
    }

    .sfv3-page .sfv3-fact-rate > summary strong {
        max-width: 115px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sfv3-page .sfv3-fact-rate__arrow {
        display: none;
    }

    .sfv3-page .sfv3-fact-rate__scale {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .sfv3-page .sfv3-fact-rate__scale a,
    .sfv3-page .sfv3-fact-rate__scale a:link,
    .sfv3-page .sfv3-fact-rate__scale a:visited {
        min-height: 40px;
        font-size: .82rem;
    }}

@media (max-width: 430px) {
    .sfv3-page .sfv3-hero__inner {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 11px;
        padding: 14px;
    }

    .sfv3-page .sfv3-hero__poster-wrap {
        width: 76px;
    }

    .sfv3-page .sfv3-hero__title {
        font-size: clamp(1.62rem, 8.2vw, 2rem);
    }

    .sfv3-page .sfv3-hero__lead {
        display: none;
    }

    .sfv3-page .sfv3-hero__actions .lfv2-btn {
        font-size: .75rem;
    }}

/* Light theme counterparts for the new controls. */
html.lfv2-active.light-theme .sfv3-collapsible__button,
html.lfv2-active.light-theme .sfv3-fact-rate > summary,
html.lfv2-active.light-theme .sfv3-fact-rate__picker,
html.lfv2-active.light-theme .sfv3-fact-rate__scale a,
html.lfv2-active.light-theme .sfv3-fact-rate__scale a:link,
html.lfv2-active.light-theme .sfv3-fact-rate__scale a:visited {
    color: #334155;
    border-color: rgba(15,23,42,.12);
    background: rgba(248,250,252,.92);
}

html.lfv2-active.light-theme .sfv3-fact-rate > summary strong,
html.lfv2-active.light-theme .sfv3-fact-rate__hint {
    color: #64748b;
}

@media (max-width: 700px) {
    html.lfv2-active.light-theme .sfv3-page .sfv3-collapsible__toggle:not(:checked) + .sfv3-collapsible__content::after,
    html.lfv2-active.light-theme .sfv3-page .sfv3-story-collapse .sfv3-collapsible__toggle:not(:checked) + .sfv3-collapsible__content::after {
        background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.99) 88%);
    }}

/* ==================================================================
 * LikeFilm simpleFilm mobile trailer — keep the injected iframe inside
 * the same 16:9 viewport as the preview. UIMediaOnClick receives a legacy
 * 400px height from PHP; after playback starts that inline iframe height
 * must not overflow the responsive trailer card.
 * ================================================================== */
.sfv3-page .sfv3-trailer-card .uiMediaOnClickElement {
    position: relative;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.sfv3-page .sfv3-trailer-card .uiMediaOnClickBack {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
}

.sfv3-page .sfv3-trailer-card .uiMediaOnClickElement > iframe,
.sfv3-page .sfv3-trailer-card iframe.uiMediaOnClickIframe,
.sfv3-page .sfv3-trailer-card .uiMediaOnClickIframe {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    aspect-ratio: auto !important;
}

@supports not (aspect-ratio: 16 / 9) {
    .sfv3-page .sfv3-trailer-card .uiMediaOnClickElement {
        height: 0 !important;
        padding-bottom: 56.25% !important;
    }}