/* ==================================================================
 * LikeFilm — route bundle for /shorts/ and /shorts/{id}/.
 * Extracted from UnityMovie-2.2(46).css without changing cascade order
 * inside the Shorts components. Load after the global u.css file.
 * Bundle version: SHORTS1.
 * ================================================================== */

/* ==================================================================
 * LikeFilm Short Video — /shorts/{id}/, VER38.
 * Vertical 9:16 player with film context and related short rail.
 * ================================================================== */
html.lfVideoCanvas .lfShortPage {
    --lfs-bg: #07111d;
    --lfs-surface: #0b1827;
    --lfs-surface-2: #0f2032;
    --lfs-border: rgba(148, 167, 194, .16);
    --lfs-text: #f7f9fc;
    --lfs-muted: #94a7bf;
    --lfs-accent: #f5c518;
    box-sizing: border-box;
    width: min(calc(100% - 40px), 1240px);
    margin: 0 auto;
    padding: 28px 0 76px;
    color: var(--lfs-text);
    background: transparent;
}

.lfShortPage *,
.lfShortPage *::before,
.lfShortPage *::after {
    box-sizing: border-box;
}

.lfShortPage a {
    text-decoration: none;
}

.lfShortBreadcrumbs {
    margin: 0 0 26px;
}

.lfShortBreadcrumbs ol {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--lfs-muted);
    font-size: 13px;
}

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

.lfShortBreadcrumbs li + li::before {
    content: '›';
    margin-right: 9px;
    color: #5f7188;
}

.lfShortBreadcrumbs a {
    color: #a8b9cc !important;
}

.lfShortBreadcrumbs a:hover,
.lfShortBreadcrumbs a:focus-visible {
    color: var(--lfs-accent) !important;
}

.lfShortBreadcrumbs li:last-child span {
    display: block;
    max-width: 440px;
    overflow: hidden;
    color: #d9e2ed;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lfShortHeader {
    max-width: 950px;
    margin-bottom: 28px;
}

.lfShortEyebrow,
.lfShortSectionEyebrow {
    display: block;
    color: var(--lfs-accent);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .035em;
}

.lfShortHeader h1 {
    max-width: 930px;
    margin: 9px 0 16px;
    color: var(--lfs-text);
    font-size: clamp(34px, 4.7vw, 66px);
    line-height: .99;
    font-weight: 800;
    letter-spacing: -.045em;
}

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

.lfShortMeta span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid var(--lfs-border);
    border-radius: 999px;
    color: #c2d0e1;
    background: rgba(8, 20, 34, .78);
    font-size: 13px;
    font-weight: 700;
}

.lfShortStage {
    display: grid;
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(28px, 4vw, 54px);
    width: min(100%, 1040px);
    margin: 0 auto;
}

.lfShortPlayer {
    position: sticky;
    top: 86px;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(148, 167, 194, .22);
    border-radius: 24px;
    background: #02060a;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .44);
}

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

.lfShortPlayer .uiMediaOnClickLink,
.lfShortPlayer .uiMediaOnClickElement,
.lfShortPlayer .uiMediaOnClickBack,
.lfShortPlayer .uiMediaOnClickIframe,
.lfShortPlayer iframe,
.lfShortPlayerFallback,
.lfShortPlayerFallback img {
    display: block;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 9 / 16;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.lfShortPlayer .uiMediaOnClickBack,
.lfShortPlayerFallback img {
    object-fit: cover;
    background-position: center;
    background-size: cover;
}

.lfShortPlayer .uiMediaOnClickButtonWrap::before {
    width: 72px;
    height: 72px;
    border-color: rgba(245, 197, 24, .96);
    background: rgba(7, 17, 29, .82);
    box-shadow: 0 18px 42px rgba(0,0,0,.36), 0 0 0 7px rgba(245,197,24,.09);
}

.lfShortPlayer .uiMediaOnClickButtonWrap::after {
    border-left-color: var(--lfs-accent);
}

.lfShortFilmPanel {
    min-width: 0;
    padding: clamp(24px, 3vw, 38px);
    border: 1px solid var(--lfs-border);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(14, 32, 50, .98), rgba(8, 21, 35, .98));
    box-shadow: 0 24px 70px rgba(0,0,0,.25);
}

.lfShortFilmIdentity {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    margin-top: 17px;
}

.lfShortFilmPoster {
    display: block;
    overflow: hidden;
    aspect-ratio: 155 / 220;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 15px;
    background: #07111d;
    box-shadow: 0 16px 38px rgba(0,0,0,.3);
}

.lfShortFilmPoster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lfShortFilmIdentityText h2 {
    margin: 2px 0 6px;
    color: var(--lfs-text);
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -.035em;
}

.lfShortFilmOriginal,
.lfShortFilmYear {
    margin: 0;
    color: var(--lfs-muted);
    font-size: 14px;
    line-height: 1.5;
}

.lfShortFilmOriginal {
    margin-bottom: 6px;
    font-style: italic;
}

.lfShortRatings {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
}

.lfShortRatings span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(148, 167, 194, .18);
    border-radius: 11px;
    background: rgba(4, 14, 25, .58);
}

.lfShortRatings small {
    color: #86a1bf;
    font-size: 12px;
}

.lfShortRatings strong {
    color: var(--lfs-accent);
    font-size: 15px;
}

.lfShortGenres {
    margin-top: 20px;
    color: var(--lfs-accent);
    font-size: 14px;
    line-height: 1.65;
}

.lfShortFilmDescription {
    display: -webkit-box;
    overflow: hidden;
    margin: 22px 0 0;
    color: #bcc9d9;
    font-size: 15px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
}

.lfShortFilmButton,
.lfShortFilmButton:link,
.lfShortFilmButton:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 26px;
    padding: 0 20px;
    border: 1px solid var(--lfs-accent);
    border-radius: 13px;
    color: #101318 !important;
    background: var(--lfs-accent);
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 13px 28px rgba(245,197,24,.15);
}

.lfShortFilmButton:hover,
.lfShortFilmButton:focus-visible {
    color: #101318 !important;
    background: #ffd42a;
    border-color: #ffd42a;
    transform: translateY(-1px);
    outline: none;
}

.lfShortDescription {
    width: min(100%, 1040px);
    margin: 42px auto 0;
    padding: 25px 28px;
    border: 1px solid var(--lfs-border);
    border-radius: 18px;
    color: #c5d1df;
    background: rgba(11, 24, 39, .84);
    font-size: 15px;
    line-height: 1.75;
}

.lfShortDescription > div {
    margin-top: 11px;
}

.lfShortRelated {
    margin-top: 58px;
    padding-top: 31px;
    border-top: 1px solid rgba(148,167,194,.13);
}

.lfShortRelatedHead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 19px;
}

.lfShortRelatedHead h2 {
    margin: 6px 0 0;
    color: var(--lfs-text);
    font-size: clamp(27px, 3.2vw, 42px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.lfShortRelatedHead > a {
    flex: 0 0 auto;
    color: #aec0d3 !important;
    font-size: 13px;
    font-weight: 800;
}

.lfShortRelatedHead > a:hover,
.lfShortRelatedHead > a:focus-visible {
    color: var(--lfs-accent) !important;
}

.lfShortRelatedRail {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 0 0 12px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.lfShortRelatedRail::-webkit-scrollbar {
    display: none;
}

.lfShortRelatedCard {
    flex: 0 0 190px;
    overflow: hidden;
    border: 1px solid var(--lfs-border);
    border-radius: 17px;
    color: inherit !important;
    background: rgba(11, 24, 39, .9);
    scroll-snap-align: start;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.lfShortRelatedCard:hover,
.lfShortRelatedCard:focus-visible {
    border-color: rgba(245,197,24,.44);
    box-shadow: 0 20px 44px rgba(0,0,0,.28);
    transform: translateY(-3px);
    outline: none;
}

.lfShortRelatedImage {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    background: #02060a;
}

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

.lfShortRelatedCard:hover .lfShortRelatedImage img {
    transform: scale(1.035);
    filter: brightness(.84);
}

.lfShortRelatedImage i {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(245,197,24,.75);
    border-radius: 50%;
    color: var(--lfs-accent);
    background: rgba(4,12,21,.78);
    transform: translate(-50%, -50%);
}

.lfShortRelatedBody {
    display: grid;
    gap: 6px;
    padding: 13px 13px 15px;
}

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

.lfShortRelatedBody small {
    display: block;
    overflow: hidden;
    color: var(--lfs-muted);
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.light-theme.lfVideoCanvas .lfShortPage {
    --lfs-text: #142033;
    --lfs-muted: #66778d;
    --lfs-border: rgba(15, 35, 62, .13);
}

html.light-theme.lfVideoCanvas .lfShortMeta span,
html.light-theme.lfVideoCanvas .lfShortFilmPanel,
html.light-theme.lfVideoCanvas .lfShortDescription,
html.light-theme.lfVideoCanvas .lfShortRelatedCard {
    color: #26364a;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15,35,62,.08);
}

html.light-theme.lfVideoCanvas .lfShortBreadcrumbs li:last-child span,
html.light-theme.lfVideoCanvas .lfShortFilmIdentityText h2,
html.light-theme.lfVideoCanvas .lfShortRelatedHead h2,
html.light-theme.lfVideoCanvas .lfShortRelatedBody strong {
    color: #142033;
}

html.light-theme.lfVideoCanvas .lfShortFilmDescription,
html.light-theme.lfVideoCanvas .lfShortDescription {
    color: #53657a;
}

@media (max-width: 920px) {
    .lfShortStage {
        grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
        gap: 24px;
    }

    .lfShortFilmIdentity {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 15px;
    }

    .lfShortFilmDescription {
        -webkit-line-clamp: 5;
    }
}

@media (max-width: 760px) {
    html.lfVideoCanvas .lfShortPage {
        width: min(calc(100% - 28px), 620px);
        padding-top: 20px;
    }

    .lfShortBreadcrumbs li:last-child {
        display: none;
    }

    .lfShortHeader h1 {
        font-size: clamp(33px, 10vw, 48px);
    }

    .lfShortStage {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .lfShortPlayer {
        position: relative;
        top: auto;
        width: min(100%, 420px);
        margin: 0 auto;
    }

    .lfShortFilmPanel {
        padding: 23px;
    }

    .lfShortDescription {
        margin-top: 28px;
    }

    .lfShortRelated {
        margin-top: 42px;
    }

    .lfShortRelatedHead {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .lfShortRelatedCard {
        flex-basis: 170px;
    }
}

@media (max-width: 430px) {
    html.lfVideoCanvas .lfShortPage {
        width: min(calc(100% - 20px), 420px);
    }

    .lfShortMeta span {
        min-height: 33px;
        padding: 0 11px;
        font-size: 12px;
    }

    .lfShortFilmIdentity {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .lfShortFilmPanel {
        padding: 19px;
    }

    .lfShortFilmIdentityText h2 {
        font-size: 24px;
    }

    .lfShortFilmButton {
        width: 100%;
    }

    .lfShortRelatedCard {
        flex-basis: 154px;
    }
}


/* LikeFilm VER39 — КиноЛента /shorts/ */
html.lfShortFeedCanvas,
html.lfShortFeedCanvas body,
html.lfShortFeedCanvas .uiStandartTemplate,
html.lfShortFeedCanvas .uiStandartTemplateWrapper,
html.lfShortFeedCanvas .uiStandartTemplateMain {
    background: #07111d !important;
}

html.lfShortFeedCanvas .uiStandartTemplateMain {
    min-height: 0;
    overflow: hidden;
}

.lfShortFeedPage {
    position: relative;
    width: 100%;
    height: calc(100vh - 66px);
    height: calc(100dvh - 66px);
    min-height: 560px;
    overflow: hidden;
    color: #f7f9fc;
    background:
        radial-gradient(circle at 72% 26%, rgba(245, 197, 24, .11), transparent 28%),
        radial-gradient(circle at 18% 78%, rgba(33, 101, 170, .18), transparent 35%),
        #07111d;
}

.lfShortFeedTopbar {
    position: absolute;
    z-index: 20;
    top: 20px;
    left: 28px;
    right: 28px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    pointer-events: none;
}

.lfShortFeedBrand,
.lfShortFeedBack {
    pointer-events: auto;
}

.lfShortFeedBrand {
    display: grid;
    gap: 2px;
    max-width: 520px;
}

.lfShortFeedBrand > span,
.lfShortFeedEyebrow {
    color: #f5c518;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lfShortFeedBrand > strong {
    font-size: 24px;
    line-height: 1.15;
    font-weight: 900;
}

.lfShortFeedBrand > small {
    color: #9eb2c8;
    font-size: 13px;
    line-height: 1.45;
}

.lfShortFeedBack,
.lfShortFeedBack:link,
.lfShortFeedBack:visited {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid rgba(145, 180, 216, .22);
    border-radius: 999px;
    color: #f4f8fc !important;
    background: rgba(7, 17, 29, .72);
    backdrop-filter: blur(14px);
    text-decoration: none !important;
    font-weight: 800;
}

.lfShortFeedBack:hover,
.lfShortFeedBack:focus-visible {
    border-color: #f5c518;
    color: #f5c518 !important;
}

.lfShortFeedViewport {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    overscroll-behavior-y: contain;
    scrollbar-width: none;
    outline: none;
}

.lfShortFeedViewport::-webkit-scrollbar {
    display: none;
}

.lfShortFeedSlide {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: grid;
    place-items: center;
    padding: 78px 84px 28px;
}

.lfShortFeedScene {
    width: min(100%, 1040px);
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(330px, 470px);
    align-items: center;
    justify-content: center;
    gap: clamp(28px, 5vw, 68px);
}

.lfShortFeedPlayerWrap {
    min-width: 0;
    min-height: 0;
    display: grid;
    place-items: center;
}

.lfShortFeedPlayer {
    position: relative;
    width: min(100%, 420px);
    max-height: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border: 1px solid rgba(92, 144, 196, .38);
    border-radius: 26px;
    background: #02070d;
    box-shadow: 0 34px 80px rgba(0, 0, 0, .52);
}

.lfShortFeedPreview,
.lfShortFeedMount,
.lfShortFeedMount iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.lfShortFeedPreview {
    z-index: 2;
    display: block;
    padding: 0;
    cursor: pointer;
    background: #02070d;
}

.lfShortFeedPreview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 7, 13, .08), rgba(2, 7, 13, .02) 52%, rgba(2, 7, 13, .58));
}

.lfShortFeedPreview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.lfShortFeedPreview:hover img {
    transform: scale(1.025);
}

.lfShortFeedPreview > span {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #09111a;
    background: #f5c518;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .42);
    transform: translate(-50%, -50%);
}

.lfShortFeedPreview > span i {
    margin-left: 4px;
    font-size: 25px;
}

.lfShortFeedPlayer.is-playing .lfShortFeedPreview {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.lfShortFeedMount {
    z-index: 1;
    background: #000;
}

.lfShortFeedSource,
.lfShortFeedPosition {
    position: absolute;
    z-index: 4;
    top: 14px;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    color: #fff;
    background: rgba(2, 7, 13, .7);
    backdrop-filter: blur(12px);
    font-size: 11px;
    font-weight: 900;
}

.lfShortFeedSource { left: 14px; }
.lfShortFeedPosition { right: 14px; }

.lfShortFeedInfo {
    min-width: 0;
    padding: clamp(24px, 3vw, 38px);
    border: 1px solid rgba(91, 143, 194, .24);
    border-radius: 26px;
    background: linear-gradient(155deg, rgba(13, 34, 54, .94), rgba(7, 20, 34, .94));
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

.lfShortFeedInfo h2 {
    margin: 12px 0 22px;
    color: #f8fafc;
    font-size: clamp(30px, 3.2vw, 48px);
    line-height: 1.04;
    letter-spacing: -.035em;
}

.lfShortFeedFilmRow {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.lfShortFeedFilmRow img {
    width: 78px;
    height: 111px;
    object-fit: cover;
    border-radius: 12px;
    background: #06111d;
}

.lfShortFeedFilmRow > div {
    display: grid;
    gap: 5px;
}

.lfShortFeedFilmRow strong {
    color: #f8fafc;
    font-size: 20px;
    line-height: 1.18;
}

.lfShortFeedFilmRow small,
.lfShortFeedFilmRow span,
.lfShortFeedInfo > p {
    color: #9eb2c8;
}

.lfShortFeedFilmRow small {
    font-style: italic;
}

.lfShortFeedRatings {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.lfShortFeedRatings > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(121, 164, 205, .25);
    border-radius: 9px;
    background: rgba(4, 15, 26, .6);
}

.lfShortFeedRatings small {
    color: #8eb5dd;
}

.lfShortFeedRatings strong {
    color: #f5c518;
}

.lfShortFeedInfo > p {
    margin: 20px 0 0;
    font-size: 15px;
    line-height: 1.65;
}

.lfShortFeedActions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.lfShortFeedFilmButton,
.lfShortFeedFilmButton:link,
.lfShortFeedFilmButton:visited,
.lfShortFeedDetailButton,
.lfShortFeedDetailButton:link,
.lfShortFeedDetailButton:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 900;
}

.lfShortFeedFilmButton,
.lfShortFeedFilmButton:link,
.lfShortFeedFilmButton:visited {
    color: #09111a !important;
    background: #f5c518;
}

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

.lfShortFeedDetailButton,
.lfShortFeedDetailButton:link,
.lfShortFeedDetailButton:visited {
    color: #ecf5ff !important;
    border: 1px solid rgba(126, 170, 214, .28);
    background: rgba(5, 17, 29, .62);
}

.lfShortFeedDetailButton:hover,
.lfShortFeedDetailButton:focus-visible {
    border-color: #f5c518;
    color: #f5c518 !important;
}

.lfShortFeedCounter {
    position: absolute;
    z-index: 20;
    right: 34px;
    top: 50%;
    display: flex;
    align-items: baseline;
    gap: 5px;
    color: #9eb2c8;
    transform: translateY(-92px);
}

.lfShortFeedCounter strong {
    color: #f5c518;
    font-size: 22px;
}

.lfShortFeedNavigation {
    position: absolute;
    z-index: 20;
    right: 28px;
    top: 50%;
    display: grid;
    gap: 10px;
    transform: translateY(-34px);
}

.lfShortFeedNavigation button {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(126, 170, 214, .28);
    border-radius: 50%;
    color: #f6f9fc;
    background: rgba(6, 18, 31, .78);
    cursor: pointer;
    backdrop-filter: blur(12px);
}

.lfShortFeedNavigation button:hover,
.lfShortFeedNavigation button:focus-visible {
    border-color: #f5c518;
    color: #f5c518;
}

.lfShortFeedNavigation button:disabled {
    opacity: .3;
    cursor: default;
}

.lfShortFeedHelp {
    position: absolute;
    z-index: 20;
    left: 30px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7692ad;
    font-size: 12px;
    pointer-events: none;
}

.lfShortFeedEmpty {
    width: min(calc(100% - 32px), 620px);
    min-height: 420px;
    margin: 80px auto 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    text-align: center;
    color: #f7f9fc;
}

.lfShortFeedEmpty > i {
    color: #f5c518;
    font-size: 48px;
}

.lfShortFeedEmpty h1,
.lfShortFeedEmpty p {
    margin: 0;
}

.lfShortFeedEmpty p { color: #9eb2c8; }

.lfShortFeedEmpty a,
.lfShortFeedEmpty a:visited {
    color: #09111a !important;
    padding: 12px 18px;
    border-radius: 12px;
    background: #f5c518;
    text-decoration: none !important;
    font-weight: 900;
}

.lfShortHeaderActions {
    margin-top: 18px;
}

.lfShortFeedEntryButton,
.lfShortFeedEntryButton:link,
.lfShortFeedEntryButton:visited {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #09111a !important;
    background: #f5c518;
    text-decoration: none !important;
    font-weight: 900;
}

.lfShortFeedEntryButton {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
}

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

@media (max-width: 1050px) {
    .lfShortFeedSlide {
        padding-left: 56px;
        padding-right: 70px;
    }

    .lfShortFeedScene {
        grid-template-columns: minmax(280px, 380px) minmax(300px, 410px);
        gap: 30px;
    }
}

@media (max-width: 760px) {
    .lfShortFeedPage {
        height: calc(100vh - 58px);
        height: calc(100dvh - 58px);
        min-height: 520px;
    }

    .lfShortFeedTopbar {
        top: 10px;
        left: 12px;
        right: 12px;
        align-items: center;
    }

    .lfShortFeedBrand > span,
    .lfShortFeedBrand > small,
    .lfShortFeedBack span,
    .lfShortFeedHelp,
    .lfShortFeedCounter,
    .lfShortFeedNavigation {
        display: none;
    }

    .lfShortFeedBrand > strong {
        font-size: 20px;
    }

    .lfShortFeedBack {
        width: 40px;
        min-height: 40px;
        padding: 0;
        justify-content: center;
    }

    .lfShortFeedSlide {
        padding: 0;
    }

    .lfShortFeedScene {
        position: relative;
        width: min(100%, 430px);
        height: 100%;
        display: block;
    }

    .lfShortFeedPlayerWrap,
    .lfShortFeedPlayer {
        width: 100%;
        height: 100%;
        max-height: none;
    }

    .lfShortFeedPlayer {
        border: 0;
        border-radius: 0;
        aspect-ratio: auto;
        box-shadow: none;
    }

    .lfShortFeedInfo {
        position: absolute;
        z-index: 6;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 84px 18px 22px;
        border: 0;
        border-radius: 0;
        background: linear-gradient(180deg, transparent, rgba(2, 7, 13, .76) 32%, rgba(2, 7, 13, .96));
        box-shadow: none;
    }

    .lfShortFeedInfo h2 {
        max-width: 92%;
        margin: 7px 0 12px;
        font-size: clamp(25px, 8vw, 34px);
    }

    .lfShortFeedFilmRow {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 10px;
    }

    .lfShortFeedFilmRow img {
        width: 50px;
        height: 71px;
        border-radius: 8px;
    }

    .lfShortFeedFilmRow strong { font-size: 16px; }
    .lfShortFeedFilmRow small { display: none; }

    .lfShortFeedRatings,
    .lfShortFeedInfo > p,
    .lfShortFeedDetailButton {
        display: none;
    }

    .lfShortFeedActions {
        margin-top: 12px;
    }

    .lfShortFeedFilmButton {
        min-height: 40px;
        padding: 0 14px;
        font-size: 13px;
    }

    .lfShortFeedSource,
    .lfShortFeedPosition {
        top: 58px;
    }

    .lfShortFeedPreview > span {
        width: 62px;
        height: 62px;
    }

}

@media (max-width: 420px) {
    .lfShortFeedInfo {
        padding-left: 14px;
        padding-right: 14px;
    }

    .lfShortFeedEyebrow {
        font-size: 10px;
    }
}

/* ==================================================================
 * LikeFilm VER45 — mobile cinema feed /shorts/
 * Immersive full-height slide, compact controls and a 16:9 player
 * over the blurred trailer preview. Desktop layout is unchanged.
 * ================================================================== */
@media (max-width: 760px) {
    /* The feed has its own compact overlay header. The regular site
       header would otherwise consume a second row of the viewport. */
    html.lfShortFeedCanvas .uiStandartTemplateHeaderWrapper {
        display: none !important;
    }

    html.lfShortFeedCanvas,
    html.lfShortFeedCanvas body,
    html.lfShortFeedCanvas .uiStandartTemplate,
    html.lfShortFeedCanvas .uiStandartTemplateWrapper,
    html.lfShortFeedCanvas .uiStandartTemplateMain,
    html.lfShortFeedCanvas .uiStandartContentMaximum {
        width: 100%;
        height: 100%;
        min-height: 0;
        overflow: hidden;
    }

    .lfShortFeedPage {
        width: 100%;
        height: 100vh;
        height: 100svh;
        height: 100dvh;
        min-height: 0;
        background: #02070d;
    }

    .lfShortFeedViewport,
    .lfShortFeedSlide,
    .lfShortFeedScene,
    .lfShortFeedPlayerWrap,
    .lfShortFeedPlayer {
        height: 100%;
        min-height: 0;
    }

    .lfShortFeedTopbar {
        top: calc(env(safe-area-inset-top, 0px) + 10px);
        left: 14px;
        right: 14px;
        min-height: 44px;
        align-items: center;
        gap: 12px;
    }

    .lfShortFeedBrand {
        gap: 0;
        min-width: 0;
    }

    .lfShortFeedBrand > strong {
        overflow: hidden;
        color: #f7f9fc;
        font-size: 21px;
        line-height: 1.1;
        letter-spacing: -.025em;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .lfShortFeedBack,
    .lfShortFeedBack:link,
    .lfShortFeedBack:visited {
        flex: 0 0 44px;
        width: 44px;
        min-height: 44px;
        padding: 0;
        border-color: rgba(255, 255, 255, .16);
        background: rgba(5, 15, 25, .78);
        box-shadow: 0 10px 30px rgba(0, 0, 0, .24);
    }

    .lfShortFeedBack i {
        font-size: 16px;
    }

    .lfShortFeedSlide {
        height: 100%;
        min-height: 100%;
        padding: 0;
    }

    .lfShortFeedScene {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
    }

    .lfShortFeedPlayer {
        position: relative;
        width: 100%;
        border: 0;
        border-radius: 0;
        background: #02070d;
        box-shadow: none;
        isolation: isolate;
    }

    /* While the external player is mounted, its original preview remains
       underneath as a soft full-screen backdrop instead of black bars. */
    .lfShortFeedPlayer.is-playing .lfShortFeedPreview {
        z-index: 1;
        opacity: 1;
        visibility: visible;
        pointer-events: none;
    }

    .lfShortFeedPlayer.is-playing .lfShortFeedPreview img {
        object-fit: cover;
        filter: blur(24px) brightness(.34) saturate(.9);
        transform: scale(1.16);
    }

    .lfShortFeedPlayer.is-playing .lfShortFeedPreview::after {
        background:
            linear-gradient(180deg, rgba(2, 7, 13, .38), rgba(2, 7, 13, .04) 35%, rgba(2, 7, 13, .38)),
            linear-gradient(90deg, rgba(2, 7, 13, .24), transparent 22%, transparent 78%, rgba(2, 7, 13, .24));
    }

    .lfShortFeedPlayer.is-playing .lfShortFeedPreview > span {
        opacity: 0;
        visibility: hidden;
    }

    .lfShortFeedMount {
        z-index: 3;
        background: transparent;
        pointer-events: none;
    }

    /* Rutube/YouTube shorts in the catalogue are commonly horizontal.
       Give the embed a real 16:9 viewport instead of a tall 9:16 iframe,
       which previously produced a large empty black area. */
    .lfShortFeedMount iframe {
        position: absolute;
        top: 50%;
        right: auto;
        bottom: auto;
        left: 0;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        max-height: 56dvh;
        border: 0;
        background: #000;
        box-shadow: 0 20px 58px rgba(0, 0, 0, .42);
        transform: translateY(-54%);
        pointer-events: auto;
    }

    .lfShortFeedSource,
    .lfShortFeedPosition {
        top: calc(env(safe-area-inset-top, 0px) + 66px);
        min-height: 28px;
        padding: 0 9px;
        border-color: rgba(255, 255, 255, .17);
        background: rgba(3, 10, 18, .76);
        font-size: 11px;
    }

    .lfShortFeedSource {
        left: 14px;
    }

    .lfShortFeedPosition {
        right: 14px;
    }

    .lfShortFeedInfo {
        left: 0;
        right: 0;
        bottom: 0;
        padding:
            116px
            16px
            calc(16px + env(safe-area-inset-bottom, 0px));
        background: linear-gradient(
            180deg,
            transparent 0,
            rgba(2, 7, 13, .16) 16%,
            rgba(2, 7, 13, .78) 45%,
            rgba(2, 7, 13, .98) 74%
        );
    }

    .lfShortFeedEyebrow {
        font-size: 10px;
        line-height: 1.2;
        letter-spacing: .09em;
    }

    .lfShortFeedInfo h2 {
        display: -webkit-box;
        max-width: 100%;
        margin: 6px 0 11px;
        overflow: hidden;
        color: #fff;
        font-size: clamp(28px, 8.2vw, 36px);
        line-height: 1.01;
        letter-spacing: -.038em;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .lfShortFeedFilmRow {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 11px;
    }

    .lfShortFeedFilmRow img {
        width: 56px;
        height: 80px;
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 9px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
    }

    .lfShortFeedFilmRow > div {
        gap: 4px;
    }

    .lfShortFeedFilmRow strong {
        font-size: 17px;
        line-height: 1.16;
    }

    .lfShortFeedFilmRow span {
        font-size: 13px;
    }

    .lfShortFeedRatings,
    .lfShortFeedInfo > p {
        display: none !important;
    }

    .lfShortFeedActions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
        margin-top: 12px;
    }

    .lfShortFeedFilmButton,
    .lfShortFeedFilmButton:link,
    .lfShortFeedFilmButton:visited {
        width: 100%;
        min-height: 44px;
        padding: 0 14px;
        border-radius: 11px;
        font-size: 14px;
    }

    .lfShortFeedDetailButton,
    .lfShortFeedDetailButton:link,
    .lfShortFeedDetailButton:visited {
        display: inline-flex !important;
        min-height: 44px;
        padding: 0 8px;
        border: 0;
        border-radius: 8px;
        color: #c8d4e1 !important;
        background: transparent;
        font-size: 13px;
        font-weight: 800;
        white-space: nowrap;
    }

    .lfShortFeedDetailButton:hover,
    .lfShortFeedDetailButton:focus-visible {
        color: #f5c518 !important;
        background: rgba(255, 255, 255, .05);
    }
}

@media (max-width: 420px) and (max-height: 760px) {
    .lfShortFeedMount iframe {
        max-height: 52dvh;
        transform: translateY(-60%);
    }

    .lfShortFeedInfo {
        padding-top: 92px;
        padding-right: 13px;
        padding-left: 13px;
    }

    .lfShortFeedInfo h2 {
        font-size: clamp(25px, 7.6vw, 31px);
    }

    .lfShortFeedFilmRow {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .lfShortFeedFilmRow img {
        width: 48px;
        height: 68px;
    }

    .lfShortFeedFilmButton,
    .lfShortFeedDetailButton {
        min-height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lfShortFeedPlayer.is-playing .lfShortFeedPreview img {
        transform: none;
    }
}

/* ==================================================================
 * LikeFilm Shorts CSS VER2 — desktop global header flow fix.
 * The modern site menu is rendered as body > .ntxW, while the following
 * legacy .uiStandartTemplateHeaderWrapper is empty. On /shorts/ the
 * full-height canvas could visually push the real menu above the viewport
 * and leave only the empty wrapper border. Keep the real desktop header in
 * normal flow, remove the empty shell and size the feed below 68px header.
 * Mobile behaviour from VER45 remains unchanged.
 * ================================================================== */
@media (min-width: 761px) {
    html.lfShortFeedCanvas body > .ntxW {
        display: block !important;
        position: relative !important;
        z-index: 1400;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: 100% !important;
        min-height: 68px;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    html.lfShortFeedCanvas body > .ntxW .uiMenu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    html.lfShortFeedCanvas body > .ntxW .uiMenu .uiMenu-bar {
        display: flex !important;
        min-height: 68px !important;
    }

    /* This wrapper is empty in the current renderer and otherwise leaves
       the thin horizontal line visible above the Shorts canvas. */
    html.lfShortFeedCanvas .uiStandartTemplateHeaderWrapper {
        display: none !important;
    }

    html.lfShortFeedCanvas .lfShortFeedPage {
        height: calc(100vh - 68px);
        height: calc(100dvh - 68px);
    }
}
