/* ==================================================================
 * LikeFilm route bundle: /video/, /video/pageN/, /video/{id}/
 * Extracted from UnityMovie-2.2(47).css without changing declaration
 * order inside the Video Review / Video Catalog / Video Canvas blocks.
 * Loaded after the global u.css only on standalone video routes.
 * ================================================================== */

/* ==================================================================
 * LikeFilm Video Review — VER31
 * ================================================================== */
.lfVideoReviewPage {
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: 18px 0 72px;
    color: #f4f7fb;
}

.lfVideoReviewBreadcrumbs {
    margin: 0 0 22px;
    color: #8494a8;
    font-size: .82rem;
}

.lfVideoReviewBreadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lfVideoReviewBreadcrumbs li {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.lfVideoReviewBreadcrumbs li + li::before {
    content: "›";
    margin-right: 8px;
    color: #536174;
}

.lfVideoReviewBreadcrumbs a,
.lfVideoReviewBreadcrumbs a:link,
.lfVideoReviewBreadcrumbs a:visited {
    color: #93a4b8 !important;
}

.lfVideoReviewBreadcrumbs a:hover {
    color: #f5c518 !important;
    text-decoration: none;
}

.lfVideoReviewHeader {
    margin-bottom: 22px;
}

.lfVideoReviewEyebrow,
.lfVideoReviewSectionEyebrow {
    color: #f5c518;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.lfVideoReviewHeader h1 {
    max-width: 1050px;
    margin: 8px 0 15px;
    color: #f6f8fb;
    font-size: clamp(2rem, 4vw, 3.65rem);
    line-height: 1.04;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.lfVideoReviewMeta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.lfVideoReviewMeta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    color: #b8c6d7;
    font-size: .8rem;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;
    background: #091522;
}

.lfVideoReviewPlayer {
    width: 100%;
    overflow: hidden;
    margin: 0 0 28px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 20px;
    background: #03070c;
    box-shadow: 0 25px 70px rgba(0,0,0,.34);
}

.lfVideoReviewPlayer > .uiClear,
.lfVideoReviewPlayer .uiClear {
    display: none;
}

.lfVideoReviewPlayer .uiMediaOnClickLink,
.lfVideoReviewPlayer .uiMediaOnClickElement {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.lfVideoReviewPlayer .uiMediaOnClickElement,
.lfVideoReviewPlayer .uiMediaOnClickBack,
.lfVideoReviewPlayer .uiMediaOnClickIframe,
.lfVideoReviewPlayer iframe {
    width: 100% !important;
    height: 675px !important;
    height: min(675px, calc((100vw - 40px) * .5625)) !important;
    min-height: 260px;
    max-height: 675px;
    border-radius: 0;
}

@media (max-width: 1280px) {
    .lfVideoReviewPlayer .uiMediaOnClickElement,
    .lfVideoReviewPlayer .uiMediaOnClickBack,
    .lfVideoReviewPlayer .uiMediaOnClickIframe,
    .lfVideoReviewPlayer iframe {
        height: calc((100vw - 40px) * .5625) !important;
    }
}

@supports (aspect-ratio: 16 / 9) {
    .lfVideoReviewPlayer .uiMediaOnClickElement,
    .lfVideoReviewPlayer .uiMediaOnClickBack,
    .lfVideoReviewPlayer .uiMediaOnClickIframe,
    .lfVideoReviewPlayer iframe {
        height: auto !important;
        min-height: 0;
        max-height: none;
        aspect-ratio: 16 / 9;
    }
}

.lfVideoReviewDescription {
    margin: 0 0 34px;
    padding: 24px 26px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 16px;
    background: #0a1725;
}

.lfVideoReviewDescriptionText {
    max-width: 980px;
    margin-top: 10px;
    color: #b6c2d1;
    font-size: 1rem;
    line-height: 1.75;
}

.lfVideoReviewFilms,
.lfVideoReviewRelated,
.lfVideoReviewShorts {
    margin-top: 38px;
}

.lfVideoReviewSectionHead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
}

.lfVideoReviewSectionHead h2 {
    margin: 6px 0 0;
    color: #f5f7fa;
    font-size: clamp(1.55rem, 2.4vw, 2.15rem);
    line-height: 1.12;
    letter-spacing: -.025em;
}


.lfVideoReviewSectionHead p {
    margin: 7px 0 0;
    color: #8fa0b4;
    font-size: .9rem;
    line-height: 1.5;
}

.lfVideoReviewFilms > .lfv2-related-strip {
    margin-top: 0;
}

.lfVideoReviewFilms > .lfv2-related-strip > .lfv2-related-strip__head {
    display: none;
}

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

.lfVideoReviewRelatedCard {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 15px;
    background: #091522;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.lfVideoReviewRelatedCard:hover {
    transform: translateY(-3px);
    border-color: rgba(245,197,24,.38);
    box-shadow: 0 18px 42px rgba(0,0,0,.25);
}

.lfVideoReviewRelatedCard a,
.lfVideoReviewRelatedCard a:link,
.lfVideoReviewRelatedCard a:visited {
    display: block;
    color: #f5f7fa !important;
    text-decoration: none;
}

.lfVideoReviewRelatedImage,
.lfVideoReviewShortImage {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #03070c;
}

.lfVideoReviewRelatedImage img,
.lfVideoReviewShortImage img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform .24s ease, filter .24s ease;
}

.lfVideoReviewRelatedImage::after,
.lfVideoReviewShortImage::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.35));
}

.lfVideoReviewRelatedImage i,
.lfVideoReviewShortImage i {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding-left: 3px;
    color: #09111a;
    font-size: 1rem;
    border-radius: 50%;
    background: #f5c518;
    box-shadow: 0 10px 28px rgba(0,0,0,.38);
    transform: translate(-50%, -50%);
}

.lfVideoReviewRelatedCard:hover img,
.lfVideoReviewShortCard:hover img {
    transform: scale(1.035);
    filter: brightness(.88);
}

.lfVideoReviewRelatedBody {
    display: block;
    padding: 15px 16px 17px;
}

.lfVideoReviewRelatedBody strong {
    display: block;
    color: #f4f7fb;
    font-size: .98rem;
    line-height: 1.35;
}

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

.lfVideoReviewShortCard,
.lfVideoReviewShortCard:link,
.lfVideoReviewShortCard:visited {
    min-width: 0;
    overflow: hidden;
    color: #f4f7fb !important;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 14px;
    background: #091522;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease;
}

.lfVideoReviewShortCard:hover {
    transform: translateY(-2px);
    border-color: rgba(245,197,24,.32);
}

.lfVideoReviewShortCard > strong {
    display: block;
    padding: 13px 14px 15px;
    color: #eef3f8;
    font-size: .9rem;
    line-height: 1.35;
}

.light-theme .lfVideoReviewPage {
    color: #172033;
}

.light-theme .lfVideoReviewHeader h1,
.light-theme .lfVideoReviewSectionHead h2,
.light-theme .lfVideoReviewRelatedBody strong,
.light-theme .lfVideoReviewShortCard > strong {
    color: #142033;
}

.light-theme .lfVideoReviewMeta span,
.light-theme .lfVideoReviewDescription,
.light-theme .lfVideoReviewRelatedCard,
.light-theme .lfVideoReviewShortCard {
    border-color: rgba(15,23,42,.12);
    background: #fff;
}

.light-theme .lfVideoReviewDescriptionText,
.light-theme .lfVideoReviewSectionHead p {
    color: #4a596c;
}

@media (max-width: 900px) {
    .lfVideoReviewRelatedGrid,
    .lfVideoReviewShortsGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .lfVideoReviewPage {
        padding-top: 10px;
        padding-bottom: 48px;
    }

    .lfVideoReviewHeader h1 {
        font-size: clamp(1.8rem, 10vw, 2.55rem);
    }

    .lfVideoReviewPlayer {
        margin-left: -4px;
        margin-right: -4px;
        width: calc(100% + 8px);
        border-radius: 14px;
    }

    .lfVideoReviewPlayer .uiMediaOnClickElement,
    .lfVideoReviewPlayer .uiMediaOnClickBack,
    .lfVideoReviewPlayer .uiMediaOnClickIframe,
    .lfVideoReviewPlayer iframe {
        min-height: 190px;
    }

    .lfVideoReviewDescription {
        padding: 20px;
    }

    .lfVideoReviewRelatedGrid,
    .lfVideoReviewShortsGrid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lfVideoReviewRelatedCard,
    .lfVideoReviewShortCard,
    .lfVideoReviewRelatedImage img,
    .lfVideoReviewShortImage img {
        transition: none;
    }
}


/* ==================================================================
 * LikeFilm Video pages — VER32 rail scope and neutral aggregator labels
 * ================================================================== */
.lfVideoReviewFilmRail {
    width: 100%;
    min-width: 0;
    overflow: visible;
    color: inherit;
    background: transparent !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.lfVideoReviewFilmRail > .lfv2-related-strip {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    background: transparent;
}

.lfVideoReviewFilmRail > .lfv2-related-strip > .lfv2-related-strip__head {
    display: none;
}

.lfVideoReviewFilmRail .lfv2-related-strip__shell,
.lfVideoReviewFilmRail .lfv2-related-strip__rail {
    min-width: 0;
}

.light-theme .lfVideoReviewFilmRail {
    color: inherit;
    background: transparent !important;
}


/* ========================================================================
   VIDEO CATALOG — VER33
   Unified catalogue for regular film videos and vertical shorts.
   ======================================================================== */
html.lfv2-active .lfVideoCatalogPage {
    --lfvc-bg: #07111d;
    --lfvc-surface: #0a1a2b;
    --lfvc-surface-2: #071422;
    --lfvc-border: rgba(131, 166, 204, .22);
    --lfvc-border-strong: rgba(245, 197, 24, .34);
    --lfvc-text: #f7f9fc;
    --lfvc-muted: #8da8c4;
    --lfvc-accent: #f5c518;
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 72px;
    color: #f7f9fc;
    background: #07111d;
    box-shadow: 0 0 0 100vmax #07111d;
    clip-path: inset(0 -100vmax);
}

html.lfv2-active .lfVideoCatalogPage *,
html.lfv2-active .lfVideoCatalogPage *::before,
html.lfv2-active .lfVideoCatalogPage *::after {
    box-sizing: border-box;
}

.lfVideoCatalogBreadcrumbs {
    margin: 0 0 20px;
    color: var(--lfvc-muted);
    font-size: 13px;
}

.lfVideoCatalogBreadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lfVideoCatalogBreadcrumbs li + li::before {
    content: "›";
    margin-right: 8px;
    color: rgba(141, 168, 196, .62);
}

.lfVideoCatalogBreadcrumbs a {
    color: var(--lfvc-muted);
    text-decoration: none;
}

.lfVideoCatalogBreadcrumbs a:hover {
    color: var(--lfvc-text);
}

.lfVideoCatalogHero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    min-height: 420px;
    overflow: hidden;
    border: 1px solid var(--lfvc-border-strong);
    border-radius: 22px;
    background:
        radial-gradient(circle at 88% 16%, rgba(245, 197, 24, .18), transparent 32%),
        linear-gradient(122deg, #0b2035 0%, #071522 58%, #191b0c 100%);
}

.lfVideoCatalogHero::after {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -180px;
    width: 470px;
    height: 470px;
    border: 1px solid rgba(245, 197, 24, .13);
    border-radius: 50%;
}

.lfVideoCatalogHero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(34px, 5vw, 66px);
}

.lfVideoCatalogEyebrow,
.lfVideoCatalogSection__head > div > span {
    display: block;
    margin-bottom: 13px;
    color: var(--lfvc-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .035em;
}

.lfVideoCatalogHero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--lfvc-text);
    font-size: clamp(42px, 5.5vw, 72px);
    font-weight: 650;
    line-height: .98;
    letter-spacing: -.045em;
}

.lfVideoCatalogHero__content > p {
    max-width: 650px;
    margin: 24px 0 0;
    color: #c7d7e8;
    font-size: 17px;
    line-height: 1.58;
}

.lfVideoCatalogHero__stats,
.lfVideoCatalogHero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lfVideoCatalogHero__stats {
    margin-top: 26px;
}

.lfVideoCatalogHero__stats span {
    padding: 9px 13px;
    border: 1px solid var(--lfvc-border);
    border-radius: 999px;
    color: #c9d9e9;
    background: rgba(4, 13, 23, .42);
    font-size: 13px;
    font-weight: 700;
}

.lfVideoCatalogHero__actions {
    margin-top: 25px;
}

.lfVideoCatalogButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid var(--lfvc-border);
    border-radius: 13px;
    color: var(--lfvc-text) !important;
    background: rgba(5, 16, 27, .48);
    font-weight: 800;
    text-decoration: none !important;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.lfVideoCatalogButton:hover {
    border-color: rgba(245, 197, 24, .48);
    transform: translateY(-1px);
}

.lfVideoCatalogButton--primary,
.lfVideoCatalogButton--primary:link,
.lfVideoCatalogButton--primary:visited {
    color: #101318 !important;
    border-color: #f5c518 !important;
    background-color: #f5c518 !important;
    background-image: none !important;
    box-shadow: 0 12px 28px rgba(245, 197, 24, .16);
    opacity: 1 !important;
}

.lfVideoCatalogButton--primary:hover,
.lfVideoCatalogButton--primary:focus-visible {
    color: #101318 !important;
    border-color: #ffd84a !important;
    background-color: #ffd84a !important;
    background-image: none !important;
}

.lfVideoCatalogHero__visual {
    position: relative;
    z-index: 1;
    min-height: 360px;
}

.lfVideoCatalogHero__screen,
.lfVideoCatalogHero__tile,
.lfVideoCatalogHero__short {
    position: absolute;
    display: block;
    border: 1px solid rgba(105, 151, 199, .34);
    background: linear-gradient(145deg, #173c62, #0a2139);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}

.lfVideoCatalogHero__screen {
    top: 110px;
    left: 18px;
    width: 238px;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    transform: rotate(-7deg);
}

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

.lfVideoCatalogHero__tile {
    width: 105px;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
}

.lfVideoCatalogHero__tile::after,
.lfVideoCatalogHero__short::after {
    content: "";
    position: absolute;
    left: 15%;
    right: 15%;
    bottom: 15%;
    height: 6px;
    border-radius: 999px;
    background: rgba(152, 190, 226, .26);
}

.lfVideoCatalogHero__tile--one {
    top: 54px;
    left: 145px;
    transform: rotate(7deg);
}

.lfVideoCatalogHero__tile--two {
    top: 263px;
    left: 165px;
    transform: rotate(9deg);
}

.lfVideoCatalogHero__short {
    top: 94px;
    right: 18px;
    width: 92px;
    aspect-ratio: 9 / 16;
    border-radius: 17px;
    transform: rotate(9deg);
}

.lfVideoCatalogSection {
    padding-top: 58px;
    scroll-margin-top: 82px;
}

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

.lfVideoCatalogSection__head h2 {
    margin: 0;
    color: var(--lfvc-text);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.lfVideoCatalogSection__head p {
    max-width: 680px;
    margin: 10px 0 0;
    color: var(--lfvc-muted);
    line-height: 1.55;
}

.lfVideoCatalogSection__head > strong {
    flex: 0 0 auto;
    color: #9bb6d0;
    font-size: 13px;
}

.lfVideoCatalogAd {
    display: flow-root;
    clear: both;
    width: 100%;
    margin: 0 0 26px;
    overflow: hidden;
}

.lfVideoCatalogAd--between {
    width: min(1180px, calc(100% - 32px));
    margin: 54px auto 0;
}

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

.lfVideoCatalogCard {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--lfvc-border);
    border-radius: 17px;
    background: var(--lfvc-surface-2);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.lfVideoCatalogCard:hover {
    border-color: rgba(245, 197, 24, .42);
    box-shadow: 0 20px 44px rgba(0, 0, 0, .24);
    transform: translateY(-3px);
}

.lfVideoCatalogCard > a,
.lfVideoCatalogShortCard > a {
    display: block;
    color: inherit !important;
    text-decoration: none !important;
}

.lfVideoCatalogCard__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background:
        radial-gradient(circle at 70% 24%, rgba(245, 197, 24, .15), transparent 30%),
        linear-gradient(135deg, #102942, #06111e);
}

.lfVideoCatalogCard__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease, filter .3s ease;
}

.lfVideoCatalogCard:hover .lfVideoCatalogCard__media img {
    filter: brightness(.86);
    transform: scale(1.035);
}

.lfVideoCatalogCard__media > i,
.lfVideoCatalogShortCard__media > i {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: #111;
    background: var(--lfvc-accent);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
    transform: translate(-50%, -50%);
}

.lfVideoCatalogCard__media > em,
.lfVideoCatalogShortCard__media > em {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    color: #fff;
    background: rgba(2, 8, 15, .76);
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .04em;
    backdrop-filter: blur(10px);
}

.lfVideoCatalogCard__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    min-height: 108px;
    padding: 16px;
}

.lfVideoCatalogCard__body strong {
    grid-column: 1 / -1;
    display: -webkit-box;
    overflow: hidden;
    color: var(--lfvc-text);
    font-size: 16px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.lfVideoCatalogCard__body small {
    color: var(--lfvc-muted);
    font-size: 12px;
}

.lfVideoCatalogCard__body > span {
    color: var(--lfvc-accent);
    font-size: 12px;
}

.lfVideoCatalogShortRail {
    display: flex;
    gap: 18px;
    padding: 2px 0 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(141, 168, 196, .36) transparent;
}

.lfVideoCatalogShortCard {
    flex: 0 0 186px;
    overflow: hidden;
    border: 1px solid var(--lfvc-border);
    border-radius: 18px;
    background: var(--lfvc-surface-2);
    transition: transform .2s ease, border-color .2s ease;
}

.lfVideoCatalogShortCard:hover {
    border-color: rgba(245, 197, 24, .44);
    transform: translateY(-3px);
}

.lfVideoCatalogShortCard__media {
    position: relative;
    display: block;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: #07111d;
}

.lfVideoCatalogShortCard__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease, filter .3s ease;
}

.lfVideoCatalogShortCard:hover .lfVideoCatalogShortCard__media img {
    filter: brightness(.84);
    transform: scale(1.04);
}

.lfVideoCatalogShortCard__media > i {
    width: 46px;
    height: 46px;
}

.lfVideoCatalogShortCard__body {
    display: grid;
    gap: 6px;
    min-height: 116px;
    padding: 13px;
}

.lfVideoCatalogShortCard__body strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--lfvc-text);
    font-size: 14px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.lfVideoCatalogShortCard__body small {
    overflow: hidden;
    color: #b7c9dc;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lfVideoCatalogShortCard__body > span {
    color: var(--lfvc-muted);
    font-size: 11px;
}

.lfVideoCatalogPagination {
    margin-top: 34px;
}

.lfVideoCatalogPagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lfVideoCatalogPagination a,
.lfVideoCatalogPagination span {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 11px;
    border: 1px solid var(--lfvc-border);
    border-radius: 11px;
    color: #c7d8e8 !important;
    background: var(--lfvc-surface-2);
    text-decoration: none !important;
}

.lfVideoCatalogPagination a:hover {
    border-color: rgba(245, 197, 24, .45);
}

.lfVideoCatalogPagination a.is-current {
    color: #111 !important;
    border-color: var(--lfvc-accent);
    background: var(--lfvc-accent);
    font-weight: 800;
}

.lfVideoCatalogPagination__ellipsis span {
    border-color: transparent;
    background: transparent;
}

.lfVideoCatalogEmpty {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 52px 24px;
    border: 1px solid var(--lfvc-border);
    border-radius: 18px;
    text-align: center;
    background: var(--lfvc-surface-2);
}

.lfVideoCatalogEmpty > i {
    color: var(--lfvc-accent);
    font-size: 38px;
}

.lfVideoCatalogEmpty h3,
.lfVideoCatalogEmpty p {
    margin: 0;
}

.lfVideoCatalogEmpty p {
    color: var(--lfvc-muted);
}

@media (max-width: 980px) {
    .lfVideoCatalogHero {
        grid-template-columns: 1fr;
    }
    .lfVideoCatalogHero__visual {
        display: none;
    }
    .lfVideoCatalogGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    html.lfv2-active .lfVideoCatalogPage {
        width: min(100% - 20px, 1180px);
        padding-top: 18px;
    }
    .lfVideoCatalogBreadcrumbs {
        margin-bottom: 14px;
    }
    .lfVideoCatalogHero {
        min-height: 0;
        border-radius: 17px;
    }
    .lfVideoCatalogHero__content {
        padding: 30px 22px;
    }
    .lfVideoCatalogHero h1 {
        font-size: clamp(36px, 12vw, 52px);
    }
    .lfVideoCatalogHero__content > p {
        margin-top: 18px;
        font-size: 15px;
    }
    .lfVideoCatalogButton {
        min-height: 44px;
        padding-inline: 15px;
        font-size: 13px;
    }
    .lfVideoCatalogSection {
        padding-top: 42px;
    }
    .lfVideoCatalogSection__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
    .lfVideoCatalogGrid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .lfVideoCatalogCard__body {
        min-height: 98px;
    }
    .lfVideoCatalogShortCard {
        flex-basis: 154px;
    }
    .lfVideoCatalogAd--between {
        width: min(100% - 20px, 1180px);
        margin-top: 42px;
    }
}

html.lfv2-active.light-theme .lfVideoCatalogPage {
    --lfvc-bg: #f6f8fb;
    --lfvc-surface: #fff;
    --lfvc-surface-2: #fff;
    --lfvc-border: rgba(15, 23, 42, .11);
    --lfvc-border-strong: rgba(176, 133, 0, .24);
    --lfvc-text: #111827;
    --lfvc-muted: #64748b;
    color: #111827;
    background: #f6f8fb;
    box-shadow: 0 0 0 100vmax #f6f8fb;
}

html.lfv2-active.light-theme .lfVideoCatalogHero {
    background:
        radial-gradient(circle at 88% 16%, rgba(245, 197, 24, .21), transparent 32%),
        linear-gradient(122deg, #edf5ff 0%, #f9fbfd 60%, #fff8d4 100%);
}

html.lfv2-active.light-theme .lfVideoCatalogHero__content > p,
html.lfv2-active.light-theme .lfVideoCatalogHero__stats span,
html.lfv2-active.light-theme .lfVideoCatalogButton {
    color: #334155 !important;
}

html.lfv2-active.light-theme .lfVideoCatalogHero__stats span,
html.lfv2-active.light-theme .lfVideoCatalogButton {
    background: rgba(255, 255, 255, .68);
}

html.lfv2-active.light-theme .lfVideoCatalogButton--primary {
    color: #111 !important;
    background: var(--lfvc-accent);
}

html.lfv2-active.light-theme .lfVideoCatalogCard__body strong,
html.lfv2-active.light-theme .lfVideoCatalogShortCard__body strong,
html.lfv2-active.light-theme .lfVideoCatalogSection__head h2 {
    color: #111827;
}

/* ========================================================================
   VIDEO CATALOG — VER34 refinements
   Active primary CTA, real catalogue preview in hero and breadcrumb polish.
   ======================================================================== */
html.lfv2-active .lfVideoCatalogHero__actions .lfVideoCatalogButton {
    position: relative;
    z-index: 5;
    cursor: pointer;
    pointer-events: auto;
}

html.lfv2-active .lfVideoCatalogHero__actions .lfVideoCatalogButton--primary,
html.lfv2-active .lfVideoCatalogHero__actions .lfVideoCatalogButton--primary:link,
html.lfv2-active .lfVideoCatalogHero__actions .lfVideoCatalogButton--primary:visited {
    color: #101318 !important;
    border-color: #f5c518 !important;
    background: #f5c518 !important;
    box-shadow: 0 12px 28px rgba(245, 197, 24, .16);
    opacity: 1 !important;
}

html.lfv2-active .lfVideoCatalogHero__actions .lfVideoCatalogButton--primary:hover,
html.lfv2-active .lfVideoCatalogHero__actions .lfVideoCatalogButton--primary:focus-visible {
    color: #101318 !important;
    border-color: #ffd84a !important;
    background: #ffd84a !important;
    box-shadow: 0 14px 32px rgba(245, 197, 24, .24);
}

html.lfv2-active .lfVideoCatalogHero__screen {
    overflow: hidden;
    isolation: isolate;
}

html.lfv2-active .lfVideoCatalogHero__screen.has-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(2, 8, 15, .08), rgba(2, 8, 15, .42));
    pointer-events: none;
}

html.lfv2-active .lfVideoCatalogHero__screen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(.94) brightness(.84);
}

html.lfv2-active .lfVideoCatalogHero__screen i {
    z-index: 2;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
}

html.lfv2-active #videos {
    scroll-margin-top: 88px;
}

html.lfv2-active .lfVideoReviewBreadcrumbs li:last-child {
    min-width: 0;
    max-width: min(620px, 62vw);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 850px) {
    html.lfv2-active .lfVideoReviewBreadcrumbs li:last-child {
        max-width: 58vw;
    }
}



/* ========================================================================
   VIDEO CATALOG — VER35 cache-safe palette and CTA fix
   The catalogue now paints a full-width navy canvas. The primary action is
   hard-coded instead of relying on a scoped custom property so legacy CSS
   aggregation and visited-link rules cannot make it look disabled.
   ======================================================================== */
html.lfv2-active .lfVideoCatalogPage {
    background-color: #07111d !important;
}

html.lfv2-active .lfVideoCatalogHero__actions > a.lfVideoCatalogButton--primary,
html.lfv2-active .lfVideoCatalogHero__actions > a.lfVideoCatalogButton--primary:link,
html.lfv2-active .lfVideoCatalogHero__actions > a.lfVideoCatalogButton--primary:visited {
    color: #101318 !important;
    border-color: #f5c518 !important;
    background-color: #f5c518 !important;
    background-image: none !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

html.lfv2-active .lfVideoCatalogHero__actions > a.lfVideoCatalogButton--primary:hover,
html.lfv2-active .lfVideoCatalogHero__actions > a.lfVideoCatalogButton--primary:focus-visible {
    color: #101318 !important;
    border-color: #ffd84a !important;
    background-color: #ffd84a !important;
    background-image: none !important;
}

html.lfv2-active.light-theme .lfVideoCatalogPage {
    background-color: #f6f8fb !important;
}


/* ========================================================================
   VIDEO PAGES — VER36 full navy canvas
   The catalogue and individual video pages now paint the complete document
   canvas, including the legacy template wrappers around their modern roots.
   ======================================================================== */
html.lfVideoCanvas,
html.lfVideoCanvas body,
html.lfVideoCanvas .uiStandartTemplate,
html.lfVideoCanvas .uiStandartTemplateWrapper,
html.lfVideoCanvas .uiStandartTemplateMain,
html.lfVideoCanvas .uiStandartContentMaximum {
    background-color: #07111d !important;
}

html.lfVideoCanvas .lfVideoCatalogPage,
html.lfVideoCanvas .lfVideoReviewPage {
    background-color: #07111d !important;
}

html.light-theme.lfVideoCanvas,
html.light-theme.lfVideoCanvas body,
html.light-theme.lfVideoCanvas .uiStandartTemplate,
html.light-theme.lfVideoCanvas .uiStandartTemplateWrapper,
html.light-theme.lfVideoCanvas .uiStandartTemplateMain,
html.light-theme.lfVideoCanvas .uiStandartContentMaximum,
html.light-theme.lfVideoCanvas .lfVideoCatalogPage,
html.light-theme.lfVideoCanvas .lfVideoReviewPage {
    background-color: #f6f8fb !important;
}


/* ========================================================================
   VIDEO PAGES — VER37 inherited canvas palette
   The legacy body uses background: var(--imdb-bg). Override the inherited
   palette itself as well as the wrappers, so the navy canvas survives older
   high-specificity body rules and aggregated stylesheet order.
   ======================================================================== */
html.lfVideoCanvas {
    --imdb-bg: #07111d;
    --imdb-bg-soft: #0b1725;
    background: #07111d !important;
}

html.lfVideoCanvas body,
html.lfVideoCanvas .uiStandartTemplate,
html.lfVideoCanvas .uiStandartTemplateWrapper,
html.lfVideoCanvas .uiStandartTemplateMain,
html.lfVideoCanvas .uiStandartContentMaximum,
html.lfVideoCanvas .lfVideoCatalogPage,
html.lfVideoCanvas .lfVideoReviewPage {
    background: #07111d !important;
}

html.light-theme.lfVideoCanvas {
    --imdb-bg: #f6f8fb;
    --imdb-bg-soft: #eef2f7;
    background: #f6f8fb !important;
}

html.light-theme.lfVideoCanvas body,
html.light-theme.lfVideoCanvas .uiStandartTemplate,
html.light-theme.lfVideoCanvas .uiStandartTemplateWrapper,
html.light-theme.lfVideoCanvas .uiStandartTemplateMain,
html.light-theme.lfVideoCanvas .uiStandartContentMaximum,
html.light-theme.lfVideoCanvas .lfVideoCatalogPage,
html.light-theme.lfVideoCanvas .lfVideoReviewPage {
    background: #f6f8fb !important;
}


/* ==================================================================
 * VIDEO CATALOG — rules retained after extracting /shorts/ CSS.
 * These selectors previously shared declarations with the Shorts CTA
 * in the former VER39 section and must remain globally available.
 * ================================================================== */
.lfVideoCatalogSectionLink,
.lfVideoCatalogSectionLink:link,
.lfVideoCatalogSectionLink:visited {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #09111a !important;
    background: #f5c518;
    text-decoration: none !important;
    font-weight: 900;
}

.lfVideoCatalogSectionLink:hover,
.lfVideoCatalogSectionLink:focus-visible {
    background: #ffd42a;
}

.lfVideoCatalogSectionLink {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 11px;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .lfVideoCatalogSection__head {
        align-items: flex-start;
    }
}
