*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    background: var(--fp-bg);
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    max-width: none;
    overflow-x: clip;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--fp-bg);
    color: var(--fp-text);
    font-family: IRANSansX, Tahoma, sans-serif;
    line-height: var(--fp-line-body);
    overscroll-behavior-y: contain;
    -webkit-tap-highlight-color: transparent;
}

body,
button,
input,
select,
textarea {
    font-family: IRANSansX, Tahoma, sans-serif;
}

body * {
    text-decoration-color: currentColor;
}

::selection {
    color: var(--fp-text);
    background: var(--fp-primary);
}

*:focus-visible {
    outline: 2px solid var(--fp-primary-hover);
    outline-offset: 3px;
}

a {
    color: inherit;
    text-underline-offset: 0.2em;
    transition: color var(--fp-motion-fast) var(--fp-ease-standard);
}

a:hover {
    color: var(--fp-primary-hover);
}

body.fp-app a { text-decoration: none; }
body.fp-app :is(ul, ol) { margin: 0; padding: 0; list-style: none; }

.navbar .navMobile {
    display: none !important;
}

button,
input,
select,
textarea {
    color: var(--fp-text);
}

button,
[role="button"],
.fp-bottom-nav a {
    min-height: 44px;
}

button {
    border-radius: var(--fp-radius-sm);
    background: var(--fp-primary);
    transition: background var(--fp-motion-fast) var(--fp-ease-standard),
        transform var(--fp-motion-fast) var(--fp-ease-standard);
}

button:hover {
    background: var(--fp-primary-hover);
}

button:active {
    background: var(--fp-primary-pressed);
    transform: translateY(1px);
}

img,
video,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}

.container {
    width: min(100% - 32px, 1440px);
    margin-inline: auto;
}

#main-content {
    position: relative;
    min-height: 60vh;
    min-height: 60dvh;
    isolation: isolate;
}

#main-content > main {
    margin-block-start: 0 !important;
}

#main-content:not(.fp-page--home) :is(h1, h2, h3, h4) {
    color: var(--fp-text);
    line-height: var(--fp-line-tight);
    letter-spacing: -0.025em;
}

#main-content:not(.fp-page--home) h1 {
    margin-block: var(--fp-space-6) var(--fp-space-4);
    font-size: var(--fp-type-xl);
    font-weight: 800;
}

#main-content:not(.fp-page--home) h2 {
    font-size: clamp(1.8rem, 2.2vw, 2.4rem);
    font-weight: 750;
}

#main-content:not(.fp-page--home) p {
    color: var(--fp-text-muted);
}

#main-content :is(p, h1, h2, h3, h4, li, label, input, select, textarea) {
    user-select: text;
    -webkit-user-select: text;
}

.fp-bottom-nav {
    display: none;
}

.fp-bottom-nav__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: var(--fp-space-1);
    margin: 0;
    padding: var(--fp-space-2) var(--fp-space-2) calc(var(--fp-space-2) + env(safe-area-inset-bottom));
    list-style: none;
}

.fp-bottom-nav__link {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    border-radius: var(--fp-radius-md);
    color: var(--fp-text-muted);
    font-size: var(--fp-type-xs);
    font-weight: 600;
    line-height: 1.25;
}

.fp-bottom-nav__link svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.fp-bottom-nav__link[aria-current="page"] {
    color: var(--fp-primary-hover);
    background: var(--fp-primary-soft);
}

.fp-bottom-nav__link:active {
    background: var(--fp-primary-outline);
}

.fp-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;
}

@media (min-width: 901px) {
    body {
        padding-bottom: 0;
    }

    .navbar .navWeb {
        top: 12px;
        width: min(calc(100% - 48px), 1440px);
        min-height: 64px;
        margin: 0 auto;
        padding: 10px 20px;
        border: 1px solid var(--fp-border);
        border-radius: var(--fp-radius-lg);
        background: var(--fp-surface);
        box-shadow: var(--fp-shadow-nav);
    }

    .navbar .navWeb .right ul {
        gap: clamp(18px, 3vw, 42px);
        font-size: var(--fp-type-sm);
    }

    .navbar .navWeb .right ul a:hover {
        color: var(--fp-primary-hover);
    }
}

/* Home: keep the existing featured slides and poster rows as the content source. */
.page-home > h1 {
    position: absolute;
    z-index: var(--fp-z-content);
    inset-block-start: 12px;
    inset-inline-start: 20px;
    width: auto;
    margin: 0;
    color: var(--fp-text);
    font-size: var(--fp-type-sm);
}

.navbar234 {
    position: absolute;
    z-index: var(--fp-z-header);
    inset-block-start: 18px;
    inset-inline: 50%;
    width: min(calc(100% - 40px), 1320px);
    height: 56px;
    transform: translateX(50%);
    margin: 0;
    padding: 0 var(--fp-space-4);
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius-md);
    background: var(--fp-surface);
    box-shadow: var(--fp-shadow-nav);
}

.navbar234 .left > div {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--fp-border);
    background: var(--fp-card);
    border-radius: var(--fp-radius-sm);
}

.sv__section {
    height: min(680px, 76svh);
    min-height: 430px;
    background: var(--fp-surface);
}

.sv__swiper,
.sv__swiper swiper-slide {
    height: 100%;
}

.sv__swiper swiper-slide {
    padding: 0;
}

.sv__swiper swiper-slide::after {
    background:
        linear-gradient(0deg, var(--fp-bg) 0%, var(--fp-overlay) 15%, transparent 74%),
        linear-gradient(270deg, var(--fp-overlay-soft) 0%, transparent 65%);
}

.sv__swiper swiper-slide img {
    object-position: center 30%;
}

.sv__info {
    inset-inline-start: 0;
    inset-inline-end: auto;
    bottom: clamp(44px, 8vh, 92px);
    width: min(62%, 760px);
    direction: rtl;
    align-items: flex-start;
    gap: var(--fp-space-3);
    padding: 0 clamp(24px, 7vw, 100px);
}

.sv__badge {
    min-height: 28px;
    align-items: center;
    margin: 0;
    border-radius: var(--fp-radius-sm);
    background: var(--fp-primary);
    font-size: var(--fp-type-xs);
}

.sv__title {
    font-size: var(--fp-type-display);
    font-weight: 850;
    line-height: 1.2;
    text-shadow: 0 2px 14px var(--fp-shadow);
}

.sv__meta {
    max-width: 54ch;
    color: var(--fp-text-muted);
    font-size: var(--fp-type-sm);
    line-height: var(--fp-line-body);
}

.sv__actions {
    flex-direction: row;
    gap: var(--fp-space-2);
    margin-block-start: var(--fp-space-2);
}

.sv__btn-watch,
.sv__btn-info {
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: var(--fp-radius-sm);
    padding: 0 var(--fp-space-5);
    background: var(--fp-primary);
    color: var(--fp-text);
    font-weight: 700;
}

.sv__btn-watch:hover {
    background: var(--fp-primary-hover);
    color: var(--fp-text);
}

.sv__btn-info {
    border-color: var(--fp-border-strong);
    background: var(--fp-surface);
}

.sv__btn-info:hover {
    background: var(--fp-card-hover);
    color: var(--fp-text);
}

.sv__shadow {
    height: 48px;
    margin-top: -48px;
    background: linear-gradient(180deg, transparent, var(--fp-bg));
}

.search {
    display: flex;
    width: min(calc(100% - 32px), 760px);
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: var(--fp-space-2);
    margin: var(--fp-space-6) auto var(--fp-space-10);
    padding: var(--fp-space-2) var(--fp-space-3);
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius-md);
    background: var(--fp-surface);
}

.search .box-search {
    flex: 1;
}

.search input {
    width: 100%;
    min-height: 42px;
    padding-inline: var(--fp-space-3);
    border: 0;
    background: transparent;
    color: var(--fp-text);
    font-size: var(--fp-type-sm);
}

.search input::placeholder {
    color: var(--fp-text-subtle);
}

.search .icon-search {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: var(--fp-radius-sm);
    background: var(--fp-primary);
}

.search .icon-search:hover {
    background: var(--fp-primary-hover);
}

.installation {
    position: fixed;
    z-index: var(--fp-z-nav);
    inset-inline-start: -32rem;
    inset-block-end: calc(84px + env(safe-area-inset-bottom));
    max-width: min(32rem, calc(100% - 24px));
    padding: var(--fp-space-3) var(--fp-space-4);
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius-md);
    background: var(--fp-surface);
    box-shadow: var(--fp-shadow-nav);
    transition: inset-inline-start var(--fp-motion-slow) var(--fp-ease-enter);
}

.installation.active__installation {
    inset-inline-start: 12px;
}

.installation.close__installation {
    inset-inline-start: -32rem;
}

.installation .left {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius-sm);
    background: var(--fp-primary-soft);
    cursor: pointer;
}

.installation .left[hidden] {
    display: none;
}

/* Poster rows and cards */
.swiper-list.container {
    width: min(calc(100% - 40px), 1440px);
    margin-block: var(--fp-space-10);
}

.swiper-list .boxList-video {
    min-height: 38px;
    margin-bottom: var(--fp-space-4);
    padding-inline: 2px;
    border-inline-start: 3px solid var(--fp-primary);
    padding-inline-start: var(--fp-space-3);
}

.swiper-list .boxList-video .nameList-video {
    font-size: var(--fp-type-lg);
    font-weight: 750;
}

.swiper-list .boxList-video .continue-video {
    gap: var(--fp-space-1);
    color: var(--fp-text-muted);
}

.swiper-list swiper-container {
    min-height: 1px;
    overflow: visible;
}

.swiper-list swiper-slide .image_cover_video {
    width: clamp(132px, 14vw, 190px);
    height: auto;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius-md);
    background-color: var(--fp-card);
    padding: 0;
    transition: transform var(--fp-motion-base) var(--fp-ease-standard),
        border-color var(--fp-motion-base) var(--fp-ease-standard);
}

.swiper-list swiper-slide .image_cover_video:hover {
    z-index: 3;
    transform: translateY(-4px);
    border-color: var(--fp-primary-outline);
}

.swiper-list swiper-slide .image_cover_video img {
    border-radius: var(--fp-radius-md);
    object-fit: cover;
}

.swiper-list swiper-slide .shadow-boxVideo {
    height: 44%;
    border-radius: 0 0 var(--fp-radius-md) var(--fp-radius-md);
    background: linear-gradient(0deg, var(--fp-overlay), transparent);
}

.swiper-list swiper-slide .title--video {
    margin: 0 0 var(--fp-space-3);
    padding-inline: var(--fp-space-3);
    font-size: var(--fp-type-sm);
    font-weight: 700;
}

.swiper-list swiper-slide .box-star-year {
    padding-inline: var(--fp-space-3);
    color: var(--fp-text-muted);
}

.swiper-list swiper-slide .star--video .left {
    color: var(--fp-warm);
}

.swiper-list .footer {
    position: static;
    display: flex;
    margin-block: var(--fp-space-12) var(--fp-space-8);
    padding: var(--fp-space-5);
    border-top: 1px solid var(--fp-border);
    background: transparent;
    box-shadow: none;
}

/* Catalog, collection, actor and search pages */
.videoShowcases,
.page-actors .videoShowcases {
    color: var(--fp-text);
}

.videoShowcases {
    max-width: 1440px;
    padding-block: var(--fp-space-6) var(--fp-space-12);
}

.videoShowcases > p {
    max-width: 72ch;
    margin-block-end: var(--fp-space-6);
}

.videoShowcases #movielist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    align-items: start;
    gap: clamp(12px, 2vw, 24px);
    width: 100%;
    overflow: visible;
}

.videoShowcases #movielist > * {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

.videoShowcases #movielist .image_cover_video {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 2 / 3;
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius-md);
    background-color: var(--fp-card);
}

.videoShowcases nav[aria-label] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--fp-space-2);
    margin-block: var(--fp-space-6);
}

.videoShowcases nav[aria-label] a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding-inline: var(--fp-space-4);
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius-sm);
    background: var(--fp-card);
}

.page-actors > .navbar {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    margin-block: var(--fp-space-4);
    padding: var(--fp-space-2) var(--fp-space-3);
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius-md);
    background: var(--fp-surface);
}

/* Shared content, account and feedback states */
.page-actors h1,
.page-genre h1,
.page-collection_page h1,
.page-country h1,
.page-age h1,
.page-type h1,
.page-year h1,
.page-live_tv h1,
.page-live_tv_category h1,
.page-movies h1,
.page-tv_series h1 {
    margin-block-start: var(--fp-space-8);
}

.error-page {
    min-height: 60vh;
    padding-block: var(--fp-space-12);
}

.error-code {
    color: var(--fp-primary) !important;
    animation: none !important;
}

.error-code .dot {
    background: var(--fp-primary);
    box-shadow: none;
    animation: none;
}

.error-message {
    color: var(--fp-text) !important;
}

.back-link {
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: var(--fp-radius-sm) !important;
    background: var(--fp-primary) !important;
    box-shadow: none !important;
}

.back-link:hover {
    background: var(--fp-primary-hover) !important;
}

.subscription-box,
.notification-item,
.login-progress-container {
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius-md);
    background: var(--fp-card);
    box-shadow: none;
}

.page-login .container__login,
.page-sms_login .SendNumber,
.page-enter_code .container__login,
.page-forget_password .container__login,
.page-new_password .container__login {
    width: min(calc(100% - 32px), 520px);
    margin: var(--fp-space-8) auto;
    padding: clamp(20px, 5vw, 40px);
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius-lg);
    background: var(--fp-surface);
}

.page-login :is(.input-box, .form-control),
.page-sms_login :is(.input-box, .form-control),
.page-enter_code :is(.input-box, .form-control),
.page-forget_password :is(.input-box, .form-control),
.page-new_password :is(.input-box, .form-control) {
    min-height: 46px;
    border: 1px solid var(--fp-border-strong);
    border-radius: var(--fp-radius-sm);
    background: var(--fp-card);
}

.page-login .btn,
.page-sms_login .btn {
    min-height: 46px;
    border-radius: var(--fp-radius-sm);
    background: var(--fp-primary);
}

.page-sidenav .account,
.page-profile .profiles-wrap,
.page-favorite .profiles-wrap,
.page-payments .profiles-wrap,
.page-subscription .profiles-wrap {
    color: var(--fp-text);
}

.page-profile .pp-main,
.page-favorite .pp-main,
.page-payments .pp-main,
.page-subscription .pp-main,
.page-sidenav .box__RightOne {
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius-md);
    background: var(--fp-surface);
}

.page-profile .ppm-head,
.page-favorite .ppm-head,
.page-payments .ppm-head,
.page-subscription .ppm-head {
    border-bottom: 1px solid var(--fp-border);
    color: var(--fp-text);
}

.page-profile .sidebar-menu a,
.page-subscription .sidebar-menu a {
    border-radius: var(--fp-radius-sm);
    color: var(--fp-text-muted);
}

.page-profile .sidebar-menu .active a,
.page-subscription .sidebar-menu .active a {
    background: var(--fp-primary-soft);
    color: var(--fp-primary-hover);
}

.page-live_tv .channel {
    overflow: hidden;
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius-md);
    background: var(--fp-card);
}

.page-live_tv .channel__image {
    aspect-ratio: 16 / 9;
    background: var(--fp-surface);
}

.page-live_tv .channel__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-weblog .weblog-container,
.page-weblog .weblog-entries {
    width: min(calc(100% - 32px), 1200px);
    margin-inline: auto;
    color: var(--fp-text);
}

.page-weblog .weblog-entries {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--fp-space-4);
}

.page-weblog .weblog-entries > * {
    overflow: hidden;
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius-md);
    background: var(--fp-card);
}

.page-home .footer,
.page-music .footer,
.page-live_tv .footer,
.page-weblog .footer {
    position: static;
    display: flex !important;
    width: 100%;
    margin-block: var(--fp-space-12) var(--fp-space-8);
    padding: var(--fp-space-5);
    border-top: 1px solid var(--fp-border);
    background: transparent;
    box-shadow: none;
}

.notification-header {
    border-radius: var(--fp-radius-md) var(--fp-radius-md) 0 0;
    background: var(--fp-primary);
    box-shadow: none;
}

.badge-free {
    border-radius: var(--fp-radius-sm);
    background: var(--fp-error);
}

.badge-update {
    border-radius: var(--fp-radius-sm);
    background: var(--fp-success);
}

.skeleton,
[data-skeleton] {
    position: relative;
    overflow: hidden;
    border-radius: var(--fp-radius-md);
    background: var(--fp-card);
}

.skeleton::after,
[data-skeleton]::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, var(--fp-card-hover), transparent);
    content: "";
    transform: translateX(100%);
    animation: fp-skeleton 1.35s linear infinite;
}

@keyframes fp-skeleton {
    to { transform: translateX(-100%); }
}

@media (max-width: 900px) {
    html { scroll-padding-top: 20px; }

    body {
        padding-bottom: calc(76px + env(safe-area-inset-bottom));
    }

    #main-content {
        min-height: calc(100vh - 76px);
        min-height: calc(100dvh - 76px);
    }

    .fp-bottom-nav {
        position: fixed;
        z-index: var(--fp-z-nav);
        inset: auto 0 0;
        display: block;
        padding-bottom: env(safe-area-inset-bottom);
        border-top: 1px solid var(--fp-border);
        background: var(--fp-surface);
        box-shadow: var(--fp-shadow-nav);
    }

    .fp-bottom-nav__list {
        max-width: 600px;
        margin-inline: auto;
    }

    .navbar234 {
        position: relative;
        inset: auto;
        transform: none;
        width: calc(100% - 24px);
        margin: 10px auto 0;
    }

    .page-home > h1 { inset: auto; }

    .sv__section {
        height: min(620px, 72svh);
        min-height: 410px;
    }

    .sv__swiper swiper-slide {
        height: 100%;
        min-height: 0;
    }

    .sv__swiper swiper-slide img { object-position: center 24%; }

    .sv__swiper swiper-slide::after {
        background: linear-gradient(0deg, var(--fp-bg) 0%, var(--fp-overlay) 25%, transparent 82%);
    }

    .sv__info {
        inset-inline: 0;
        bottom: 24px;
        width: 100%;
        padding: 20px 20px 42px;
    }

    .sv__title { font-size: clamp(2.6rem, 8vw, 4rem); }

    .sv__meta {
        display: block;
        max-width: 60ch;
        font-size: var(--fp-type-xs);
    }

    .sv__shadow { display: none; }

    .swiper-list.container {
        width: calc(100% - 24px);
        margin-block: var(--fp-space-8);
    }

    .swiper-list swiper-slide .image_cover_video {
        width: clamp(132px, 29vw, 182px);
    }

    .videoShowcases {
        width: calc(100% - 24px);
        padding-block-start: var(--fp-space-4);
    }

    .videoShowcases #movielist {
        grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
        gap: var(--fp-space-3);
    }

}

@media (min-width: 901px) {
    .installation {
        inset-block-end: 20px;
    }
}

@media (max-width: 480px) {
    .fp-bottom-nav__link { font-size: 1.1rem; }
    .fp-bottom-nav__link svg { width: 20px; height: 20px; }

    .sv__section {
        min-height: 390px;
        height: 68svh;
    }

    .sv__info {
        bottom: 12px;
        padding: 16px 16px 34px;
    }

    .sv__meta { display: none; }
    .sv__actions { width: 100%; }

    .sv__btn-watch,
    .sv__btn-info {
        min-height: 46px;
        flex: 1;
        padding-inline: var(--fp-space-3);
        font-size: var(--fp-type-xs);
    }

    .search {
        width: calc(100% - 24px);
        margin-block: var(--fp-space-4) var(--fp-space-8);
    }

    .swiper-list .boxList-video .nameList-video { font-size: 1.8rem; }

    .videoShowcases #movielist {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--fp-space-3);
    }

    .error-page { padding-block: var(--fp-space-8); }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Homepage composition inspired by the supplied reference, using Filmplus data. */
.page-home #main-content {
    padding-top: 0;
}

.fp-home {
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: column;
    overflow: clip;
}

.fp-home > .fp-visually-hidden { order: 0; }
.fp-home > .sv__section { order: 10; }
.fp-home > .fp-home__hero-rail { order: 20; }
.fp-home > .fp-home__search { order: 30; }
.fp-home > .fp-home__weekly { order: 40; }
.fp-home > [data-fp-home-section="reels"] { order: 50; }
.fp-home > [data-fp-home-section="continue"] { order: 60; }
.fp-home > [data-fp-home-section="series"] { order: 70; }
.fp-home > [data-fp-home-section="spotlight"] { order: 80; }
.fp-home > [data-fp-home-section="movies"] { order: 90; }
.fp-home > [data-fp-home-section="daily-popular"] { order: 100; }
.fp-home > [data-fp-home-section="live-tv"] { order: 110; }
.fp-home > [data-fp-home-section="secondary-slider"] { order: 120; }
.fp-home > [data-fp-home-section="collections"] { order: 130; }
.fp-home > [data-fp-home-section="music"] { order: 140; }
.fp-home > [data-fp-home-section="genre"] { order: 150; }
.fp-home > [data-fp-home-section="actors"] { order: 160; }
.fp-home > [data-fp-home-section="blog"] { order: 170; }
.fp-home > [data-fp-home-section="app"] { order: 180; }
.fp-home > [data-fp-home-section="footer"] { order: 190; }
.fp-home > .training,
.fp-home > #installPrompt { order: 180; }
.fp-home > br,
.fp-home > .sv__shadow,
.fp-home > .scroll-indicator,
.fp-home > .box--shadow-top { display: none !important; }

.page-home .navbar .navWeb {
    border: 0;
    border-top: 2px solid var(--fp-primary);
    border-radius: 0 0 var(--fp-radius-lg) var(--fp-radius-lg);
    background: var(--fp-header-surface);
    box-shadow: 0 10px 28px var(--fp-shadow);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.fp-home-brand { display: none; }

.page-home .navbar .navWeb .right {
    display: flex;
    align-items: center;
    gap: var(--fp-space-4);
}

.page-home .navbar .navWeb .fp-home-brand {
    display: inline-flex;
    align-items: center;
    gap: var(--fp-space-2);
    color: var(--fp-text);
    font-size: var(--fp-type-md);
    font-weight: 800;
    white-space: nowrap;
}

.page-home .navbar .navWeb .fp-home-brand .fp-brand-mark,
.fp-home-mobile-brand .fp-brand-mark {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.page-home .navbar .navWeb .right ul li:first-child { display: none; }

.fp-home-mobile-brand {
    display: inline-flex;
    align-items: center;
    gap: var(--fp-space-2);
    color: var(--fp-text);
    font-size: var(--fp-type-sm);
    font-weight: 800;
    white-space: nowrap;
}

.fp-home > .navbar234 {
    position: absolute;
    z-index: var(--fp-z-header);
    inset: 10px 12px auto;
    width: auto;
    height: 54px;
    margin: 0;
    padding-inline: var(--fp-space-3);
    border: 1px solid var(--fp-border);
    border-top: 2px solid var(--fp-primary);
    border-radius: 0 0 var(--fp-radius-md) var(--fp-radius-md);
    background: var(--fp-header-surface-soft);
    box-shadow: none;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.fp-home > .navbar234 .icon_right img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.fp-home__hero {
    position: relative;
    z-index: 0;
    width: 100%;
    min-height: 580px;
    height: min(710px, 82svh);
    overflow: hidden;
    background: var(--fp-bg);
}

.fp-home__hero .sv__swiper swiper-slide::after {
    background:
        linear-gradient(90deg, var(--fp-image-scrim-medium) 0%, var(--fp-image-scrim-soft) 48%, var(--fp-image-scrim-faint) 100%),
        linear-gradient(0deg, var(--fp-bg) 0%, var(--fp-image-scrim-mid) 22%, transparent 70%);
}

.fp-home__hero .sv__swiper swiper-slide img {
    object-position: center 32%;
}

.fp-home__hero .sv__info {
    right: auto;
    left: clamp(24px, 8vw, 150px);
    bottom: clamp(84px, 12vh, 140px);
    width: min(46%, 660px);
    padding-inline: 0;
}

.fp-home__hero .sv__badge {
    border: 1px solid var(--fp-warm-outline);
    border-radius: var(--fp-radius-pill);
    background: var(--fp-warm-soft);
    color: var(--fp-warm);
}

.fp-home__hero .sv__title {
    margin: 0;
    max-width: 13ch;
    color: var(--fp-text);
    font-size: clamp(3.4rem, 5.1vw, 6.2rem);
}

.fp-home__hero .sv__meta {
    color: var(--fp-image-text);
}

.fp-home__hero .sv__btn-watch {
    min-width: 138px;
    border-radius: var(--fp-radius-pill);
}

.fp-home__hero .sv__swiper::part(button-prev),
.fp-home__hero .sv__swiper::part(button-next) {
    width: 42px;
    height: 42px;
    border: 1px solid var(--fp-border-on-image);
    border-radius: 50%;
    background: var(--fp-header-surface-soft);
    color: var(--fp-text);
}

.fp-home__hero-rail {
    position: relative;
    z-index: 4;
    margin-block: -118px 0;
    padding: 0 0 var(--fp-space-4);
}

.fp-home__rail-heading,
.fp-home__section-heading,
.fp-home__weekly-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--fp-space-4);
    margin-block-end: var(--fp-space-4);
}

.fp-home__rail-heading > div,
.fp-home__section-heading > div,
.fp-home__weekly-header > div {
    display: grid;
    gap: 2px;
}

.fp-home__eyebrow {
    color: var(--fp-primary-hover);
    font-size: var(--fp-type-xs);
    font-weight: 650;
}

.fp-home__rail-heading h2,
.fp-home__section-heading h2,
.fp-home__weekly-header h2 {
    margin: 0;
    font-size: clamp(1.8rem, 2.2vw, 2.4rem);
}

.fp-home__rail-heading > a,
.fp-home__section-heading > a,
.fp-home__weekly-header > a,
.fp-home__section-link {
    color: var(--fp-text-muted);
    font-size: var(--fp-type-xs);
    font-weight: 600;
    white-space: nowrap;
}

.fp-home__hero-rail-swiper {
    --swiper-navigation-color: var(--fp-primary-hover);
    overflow: visible;
    padding-block: 8px 18px;
}

.fp-home__hero-rail-swiper swiper-slide {
    width: clamp(132px, 14vw, 190px);
    align-items: stretch;
    transition: transform var(--fp-motion-base) var(--fp-ease-standard);
}

.fp-home__hero-rail-swiper swiper-slide-active {
    z-index: 2;
}

.fp-home__hero-rail-swiper swiper-slide-active .image_cover_video {
    transform: translateY(-8px) scale(1.06);
    border-color: var(--fp-primary);
    box-shadow: 0 12px 32px var(--fp-shadow-strong);
}

.fp-home__hero-rail-swiper .image_cover_video {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 2 / 3;
}

.fp-home__search {
    display: grid;
    grid-template-columns: minmax(230px, 0.9fr) minmax(0, 2fr);
    align-items: center;
    gap: var(--fp-space-4);
    width: min(calc(100% - 40px), 1440px);
    margin: var(--fp-space-6) auto var(--fp-space-4);
    padding: var(--fp-space-2);
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius-lg);
    background: var(--fp-card);
    box-shadow: none;
}

.fp-home__search-controls,
.fp-home__search-controls form {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: var(--fp-space-2);
}

.fp-home__search-controls form {
    flex: 1;
    padding-inline-start: var(--fp-space-2);
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius-md);
    background: var(--fp-surface);
}

.fp-home__search-controls input {
    min-width: 0;
    flex: 1;
    padding-inline: var(--fp-space-2);
}

.fp-home__search .icon-search {
    border-radius: var(--fp-radius-md);
}

.fp-home__advanced-search {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding-inline: var(--fp-space-3);
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius-md);
    color: var(--fp-text-muted);
    font-size: var(--fp-type-xs);
    white-space: nowrap;
}

.fp-home__quick-filters {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-start;
    gap: var(--fp-space-1);
    overflow-x: auto;
    scrollbar-width: none;
}

.fp-home__quick-filters::-webkit-scrollbar { display: none; }

.fp-home__quick-filters a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding-inline: var(--fp-space-3);
    border-radius: var(--fp-radius-md);
    color: var(--fp-text-muted);
    font-size: var(--fp-type-xs);
    white-space: nowrap;
}

.fp-home__quick-filters a:hover,
.fp-home__quick-filters .is-current {
    background: var(--fp-primary);
    color: var(--fp-text);
}

.fp-home__weekly {
    order: 40;
    margin-block: var(--fp-space-4) var(--fp-space-8);
    padding: var(--fp-space-5);
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius-lg);
    background: var(--fp-surface);
}

.fp-home__weekly-header {
    align-items: center;
    padding-block-end: var(--fp-space-3);
    border-bottom: 1px solid var(--fp-border);
}

.fp-home__section-mark {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: var(--fp-radius-md);
    background: var(--fp-primary-soft);
    color: var(--fp-primary-hover);
    font-size: var(--fp-type-xs);
    font-weight: 700;
}

.fp-home__weekly-header > div { flex: 1; }

.fp-home__weekly-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--fp-space-4);
    padding-block-start: var(--fp-space-4);
}

.fp-home__weekly-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--fp-space-2);
    min-width: 0;
}

.fp-home__weekly-panel h3 {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--fp-text-muted);
    font-size: var(--fp-type-xs);
}

.fp-home__weekly-item {
    display: flex;
    min-width: 0;
    min-height: 88px;
    align-items: center;
    gap: var(--fp-space-2);
    padding: 6px;
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius-md);
    background: var(--fp-card);
}

.fp-home__weekly-item img {
    width: 46px;
    height: 68px;
    flex: 0 0 46px;
    border-radius: var(--fp-radius-sm);
    object-fit: cover;
}

.fp-home__weekly-copy {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.fp-home__weekly-copy strong {
    overflow: hidden;
    font-size: var(--fp-type-xs);
    line-height: 1.55;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fp-home__weekly-copy > span {
    color: var(--fp-text-subtle);
    font-size: 1.1rem;
}

.fp-home__weekly-rating {
    margin-inline-start: auto;
    color: var(--fp-warm);
    font-size: var(--fp-type-xs);
    font-weight: 750;
}

.fp-home .swiper-list.container,
.fp-home__collections,
.fp-home__blog {
    width: min(calc(100% - 40px), 1440px);
}

.fp-home .swiper-list.container {
    margin-block: var(--fp-space-8);
}

.fp-home .swiper-list .boxList-video {
    align-items: center;
    border: 0;
    padding: 0;
}

.fp-home .swiper-list .boxList-video .nameList-video {
    color: var(--fp-text);
}

.fp-home .swiper-list .boxList-video .nameList-video h2,
.fp-home .swiper-list .boxList-video .nameList-video h3 {
    margin: 0;
    font-size: clamp(1.8rem, 2.2vw, 2.4rem);
}

.fp-home .swiper-list .continue-video {
    cursor: pointer;
}

.fp-home__live-tv {
    order: 110;
    margin-block: var(--fp-space-8);
}

.fp-home__live-tv .tv {
    display: grid;
    grid-template-columns: minmax(200px, 0.65fr) minmax(0, 1.35fr);
    gap: var(--fp-space-5);
    width: 100%;
    min-height: 270px;
    height: auto;
    align-items: center;
    padding: var(--fp-space-5);
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius-lg);
    background: var(--fp-surface);
}

.fp-home__live-tv .tv .img_tv { opacity: 0.16; }

.fp-home__live-tv .tv .bgGr {
    background: linear-gradient(90deg, var(--fp-surface-overlay-soft), var(--fp-surface-overlay-strong));
}

.fp-home__live-tv .tv .right,
.fp-home__live-tv .tv .left { z-index: 2; margin: 0 !important; }

.fp-home__live-tv .tv .right .about { max-width: 28ch; }

.fp-home__live-tv .tv .left {
    display: flex;
    gap: var(--fp-space-2);
    overflow-x: auto;
    padding: 0 0 var(--fp-space-2);
}

.fp-home__live-tv .tv .left .channel {
    min-width: 112px;
    min-height: 144px;
    padding: var(--fp-space-2);
    border: 1px solid var(--fp-border);
    background: var(--fp-surface-overlay);
}

.fp-home__live-tv .tv .left .channel__image img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.fp-home__live-tv .tv .left .channel__text {
    position: static;
    overflow: hidden;
    padding-block-start: var(--fp-space-2);
    font-size: var(--fp-type-xs);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fp-home__secondary-slider {
    order: 120;
    width: min(calc(100% - 40px), 1440px);
    margin: var(--fp-space-8) auto;
    overflow: hidden;
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius-lg);
}

.fp-home__secondary-slider swiper-container,
.fp-home__secondary-slider swiper-slide,
.fp-home__secondary-slider swiper-slide img {
    height: 340px;
}

.fp-home__secondary-slider swiper-slide img { object-fit: cover; }

.fp-home__secondary-slider .about__name {
    inset: auto 24px 24px auto;
    max-width: min(58%, 640px);
    text-align: right;
}

.fp-home__collections,
.fp-home__blog {
    margin-block: var(--fp-space-10);
}

.fp-home__collection-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--fp-space-3);
}

.fp-home__collection-card {
    position: relative;
    display: flex;
    min-height: 164px;
    align-items: end;
    overflow: hidden;
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius-md);
    background: var(--fp-card);
}

.fp-home__collection-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--fp-image-scrim-strong), var(--fp-image-scrim-clear) 76%);
    content: "";
    pointer-events: none;
}

.fp-home__collection-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--fp-motion-slow) var(--fp-ease-standard);
}

.fp-home__collection-card:hover img { transform: scale(1.04); }

.fp-home__collection-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 4px;
    padding: var(--fp-space-4);
}

.fp-home__collection-copy strong { font-size: var(--fp-type-md); }
.fp-home__collection-copy > span { color: var(--fp-image-text-muted); font-size: var(--fp-type-xs); }

.fp-home__blog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--fp-space-3);
}

.fp-home__blog-card {
    overflow: hidden;
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius-md);
    background: var(--fp-card);
}

.fp-home__blog-image { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--fp-surface); }
.fp-home__blog-image img { width: 100%; height: 100%; object-fit: cover; }

.fp-home__blog-copy {
    display: grid;
    gap: var(--fp-space-2);
    padding: var(--fp-space-4);
}

.fp-home__blog-copy h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    font-size: var(--fp-type-sm);
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.fp-home__blog-copy p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 3.4em;
    margin: 0;
    font-size: var(--fp-type-xs);
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.fp-home__blog-copy > a { color: var(--fp-primary-hover); font-size: var(--fp-type-xs); font-weight: 700; }

.fp-home__app-promo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--fp-space-5);
    margin-block: var(--fp-space-8);
    padding: var(--fp-space-5);
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius-lg);
    background: var(--fp-card);
}

.fp-home__app-copy { display: grid; gap: 4px; }
.fp-home__app-copy h2 { margin: 0; font-size: var(--fp-type-lg); }
.fp-home__app-copy p { margin: 0; font-size: var(--fp-type-xs); }
.fp-home__app-actions { display: flex; flex-wrap: wrap; gap: var(--fp-space-2); }

.fp-home__app-link,
.fp-home__install-action {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding-inline: var(--fp-space-4);
    border-radius: var(--fp-radius-md);
    background: var(--fp-primary);
    color: var(--fp-text);
    font-size: var(--fp-type-xs);
    font-weight: 700;
}

.fp-home__install-action[hidden] { display: none; }

.fp-home__footer {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: var(--fp-space-4);
    width: min(calc(100% - 40px), 1440px);
    margin-inline: auto;
    padding-block: var(--fp-space-5) calc(var(--fp-space-8) + env(safe-area-inset-bottom));
}

.fp-home__footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--fp-space-2);
}

.fp-home__footer-links a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding-inline: var(--fp-space-3);
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius-sm);
    color: var(--fp-text-muted);
    font-size: var(--fp-type-xs);
}

@media (max-width: 900px) {
    .fp-home > .navbar234 {
        position: absolute;
        inset: 8px 12px auto;
        z-index: var(--fp-z-header);
    }

    .fp-home__hero {
        min-height: 500px;
        height: 70svh;
    }

    .fp-home__hero .sv__info {
        right: 20px;
        left: 20px;
        bottom: 94px;
        width: auto;
        padding: 0;
    }

    .fp-home__hero .sv__title { font-size: clamp(3rem, 8vw, 4.8rem); }

    .fp-home__hero-rail {
        width: calc(100% - 24px);
        margin-block-start: -70px;
    }

    .fp-home__hero-rail-swiper swiper-slide { width: clamp(118px, 26vw, 170px); }

    .fp-home__search {
        grid-template-columns: 1fr;
        width: calc(100% - 24px);
        gap: var(--fp-space-2);
        margin-block: var(--fp-space-4) var(--fp-space-3);
    }

    .fp-home__quick-filters { margin-inline: -4px; padding-inline: 4px; }

    .fp-home__weekly,
    .fp-home .swiper-list.container,
    .fp-home__collections,
    .fp-home__blog,
    .fp-home__secondary-slider,
    .fp-home__footer {
        width: calc(100% - 24px);
    }

    .fp-home__live-tv .tv { grid-template-columns: 1fr; padding: var(--fp-space-4); }
    .fp-home__live-tv .tv .right { margin-block-end: 0 !important; }
    .fp-home__live-tv .tv .left { margin-block-start: var(--fp-space-2) !important; }

    .fp-home__secondary-slider swiper-container,
    .fp-home__secondary-slider swiper-slide,
    .fp-home__secondary-slider swiper-slide img { height: 280px; }

    .fp-home__collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fp-home__blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 901px) and (max-width: 1160px) {
    .page-home .navbar .navWeb .fp-home-brand span { display: none; }
    .page-home .navbar .navWeb .right { gap: var(--fp-space-2); }
    .page-home .navbar .navWeb .right ul { gap: var(--fp-space-3); }
}

@media (max-width: 560px) {
    .fp-home > .navbar234 {
        width: calc(100% - 24px);
        padding-inline: var(--fp-space-2);
    }

    .fp-home__hero {
        min-height: 450px;
        height: 68svh;
    }

    .fp-home__hero .sv__swiper swiper-slide::after {
        background: linear-gradient(0deg, var(--fp-image-scrim-strong), var(--fp-image-scrim-light) 70%);
    }

    .fp-home__hero .sv__info { right: 16px; left: 16px; bottom: 70px; }
    .fp-home__hero .sv__meta { display: -webkit-box; max-width: 42ch; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
    .fp-home__hero .sv__title { font-size: clamp(2.8rem, 10vw, 4rem); }
    .fp-home__hero .sv__actions { width: auto; }
    .fp-home__hero .sv__btn-watch { min-width: 124px; min-height: 44px; }

    .fp-home__rail-heading,
    .fp-home__section-heading,
    .fp-home__weekly-header { gap: var(--fp-space-2); }

    .fp-home__rail-heading h2,
    .fp-home__section-heading h2,
    .fp-home__weekly-header h2 { font-size: 1.8rem; }

    .fp-home__hero-rail-swiper swiper-slide { width: clamp(118px, 34vw, 152px); }
    .fp-home__search-controls { flex-wrap: wrap; }
    .fp-home__search-controls form { flex-basis: 100%; }
    .fp-home__advanced-search { min-height: 38px; }

    .fp-home__weekly { padding: var(--fp-space-3); }
    .fp-home__weekly-panels { grid-template-columns: 1fr; }
    .fp-home__weekly-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .fp-home__live-tv .tv .right .title { font-size: 1.8rem; }
    .fp-home__live-tv .tv .right .about { font-size: var(--fp-type-xs); }

    .fp-home__secondary-slider swiper-container,
    .fp-home__secondary-slider swiper-slide,
    .fp-home__secondary-slider swiper-slide img { height: 220px; }

    .fp-home__secondary-slider .about__name { right: 16px; bottom: 16px; max-width: 82%; }
    .fp-home__secondary-slider .about__name .about { display: none; }

    .fp-home__collection-grid { gap: var(--fp-space-2); }
    .fp-home__collection-card { min-height: 126px; }
    .fp-home__collection-copy { padding: var(--fp-space-3); }
    .fp-home__collection-copy strong { font-size: var(--fp-type-sm); }
    .fp-home__collection-copy > span { display: none; }

    .fp-home__blog-grid { grid-template-columns: 1fr; }
    .fp-home__blog-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
    .fp-home__blog-image { height: 100%; min-height: 150px; aspect-ratio: auto; }
    .fp-home__blog-copy { gap: var(--fp-space-1); padding: var(--fp-space-3); }
    .fp-home__blog-copy p { min-height: 0; }
    .fp-home__blog-copy .fp-home__eyebrow { font-size: 1.05rem; }

    .fp-home__app-promo { align-items: stretch; flex-direction: column; width: calc(100% - 24px); padding: var(--fp-space-4); }
    .fp-home__app-actions { display: flex; }
    .fp-home__app-actions > * { flex: 1; }

    .fp-home__footer-links { gap: 6px; }
    .fp-home__footer-links a { min-height: 38px; padding-inline: 10px; }
}

/* Nested lists keep native scrolling without showing tracks in the app UI. */
.fp-app *{scrollbar-width:none;-ms-overflow-style:none}
.fp-app *::-webkit-scrollbar{display:none;width:0;height:0}

/* Artwork keeps its reserved space while loading and when the source fails. */
#main-content img,.fh-header img{background-color:#252837;background-image:url('../images/placeholder.svg');background-repeat:no-repeat;background-position:center;background-size:cover}
.fp-app img.fp-image-fallback{object-fit:contain!important;background-color:#252837;background-image:url('../images/placeholder.svg')}

/* Floating app navigation, with an opaque fallback when glass is unsupported. */
@media(max-width:900px){
 body{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
 .fp-bottom-nav{inset:auto 12px max(12px,env(safe-area-inset-bottom));width:calc(100% - 24px);max-width:520px;margin-inline:auto;padding:6px;border:1px solid #ffffff35;border-radius:34px;background:#242735f2;box-shadow:0 12px 36px #0000004d,inset 0 1px 0 #ffffff30;isolation:isolate}
 .fp-bottom-nav::before{content:"";position:absolute;inset:1px;z-index:-1;border-radius:inherit;background:linear-gradient(150deg,#ffffff1c,transparent 42%,#b6c7ff0a 90%);pointer-events:none}
 .fp-bottom-nav__list{padding:0;gap:2px;max-width:none}
 .fp-bottom-nav__link{min-height:58px;gap:4px;padding:5px 4px;border-radius:28px;font-size:10px;line-height:1.3;color:#ced2df;background:transparent;transition:background-color .2s ease,transform .18s ease,color .2s ease}
 .fp-bottom-nav__link svg{width:22px;height:22px;stroke-width:1.8}
 .fp-bottom-nav__link[aria-current="page"]{color:#f2f4ff;background:linear-gradient(160deg,#e7edff29,#9caef019);box-shadow:inset 0 1px 0 #ffffff38,0 3px 8px #0000001a}
 .fp-bottom-nav__link:active{transform:scale(.96);background:#b7c6ff30}
 .fp-bottom-nav__link:focus-visible{outline:2px solid #c0cbff;outline-offset:-3px}
 @supports (backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px)){
  .fp-bottom-nav{background:linear-gradient(180deg,#ffffff1f,#ffffff08),#20233280;-webkit-backdrop-filter:blur(24px) saturate(175%);backdrop-filter:blur(24px) saturate(175%)}
 }
}
@media(max-width:900px) and (prefers-reduced-transparency:reduce){.fp-bottom-nav{background:#242735;-webkit-backdrop-filter:none;backdrop-filter:none}}
@media(max-width:900px) and (prefers-contrast:more){.fp-bottom-nav{background:#1d202c;border-color:#b8c1d4}.fp-bottom-nav__link{color:#f5f7ff}}
@media(prefers-reduced-motion:reduce){.fp-bottom-nav__link{transition:none}.fp-bottom-nav__link:active{transform:none}}

.fp-icon{display:inline-block;width:20px;height:20px;vertical-align:middle;flex-shrink:0;direction:ltr;transform:none}
.fh-home .fh-heading>a span,.fh-home .fh-read-more span{display:inline-flex;align-items:center;justify-content:center}
.fp-ios-install{position:fixed;inset:0;margin:auto;width:min(440px,calc(100% - 32px));max-height:85dvh;overflow:auto;padding:30px 24px 24px;border:1px solid #ffffff30;border-radius:25px;background:#252735;color:#f4f5ff;box-shadow:0 25px 90px #0008;font:14px/2 IRANSansX,sans-serif;text-align:right}
.fp-ios-install::backdrop{background:#080a1477;backdrop-filter:blur(5px)}
.fp-ios-install h2{font-size:19px;padding-inline-end:20px;margin-bottom:12px}.fp-ios-install p{color:#b8bed1;font-size:12px}.fp-ios-install ol{display:grid;gap:18px;margin:22px 0}.fp-ios-install li{display:flex;gap:14px;font-size:12px}.fp-ios-install li svg{color:#a6b5ff;margin-top:4px}.fp-ios-close{position:absolute;top:10px;left:10px;width:36px;height:36px;background:transparent;color:#fff}.fp-ios-dismiss{width:100%;padding:12px;background:#4d60c8;color:white;border-radius:13px;font:inherit}

/* Immersive catalog cards inspired by the supplied ranking page. */
.fp-catalog__breadcrumb {
    display: flex;
    width: min(calc(100% - 48px), 1440px);
    min-height: 48px;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    margin-block: 14px 12px;
    color: var(--fp-text-subtle);
    font-size: var(--fp-type-xs);
    white-space: nowrap;
}

.fp-catalog__breadcrumb a {
    color: var(--fp-text-muted);
    text-decoration: none;
}

.fp-catalog__breadcrumb a:hover,
.fp-catalog__breadcrumb [aria-current="page"] { color: var(--fp-text); }
.fp-catalog__crumb-separator { color: #5f6472; }
.fp-catalog__breadcrumb [aria-current="page"] { overflow: hidden; text-overflow: ellipsis; }
.fp-catalog__back { display: none; }

.fp-catalog.container {
    width: min(calc(100% - 48px), 1440px);
    padding-block: 0 var(--fp-space-12);
    color: var(--fp-text);
}

.fp-catalog__hero {
    position: relative;
    display: flex;
    min-height: 220px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    overflow: hidden;
    padding: clamp(26px, 4vw, 48px);
    border: 1px solid #ffffff12;
    border-radius: 24px;
    background:
        radial-gradient(ellipse at 8% 10%, #6578d132, transparent 42%),
        radial-gradient(ellipse at 90% 100%, #8a5bd61a, transparent 40%),
        linear-gradient(135deg, #191c27 0%, #12141b 56%, #151722 100%);
    box-shadow: 0 22px 60px #00000025, inset 0 1px 0 #ffffff08;
    isolation: isolate;
}

.fp-catalog__hero-copy,
.fp-catalog__scroll-hint { position: relative; z-index: 1; }

.fp-catalog__hero-copy { max-width: min(780px, 72%); }
.fp-catalog__hero-copy--person { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 30px); }
.fp-catalog__hero-text { min-width: 0; }
.fp-catalog__person-image {
    display: block;
    width: clamp(84px, 10vw, 132px);
    height: auto;
    flex: 0 0 clamp(84px, 10vw, 132px);
    aspect-ratio: 1;
    border: 3px solid #ffffff30;
    border-radius: 50%;
    background: #222632;
    object-fit: cover;
    box-shadow: 0 12px 28px #00000045;
}

.fp-catalog__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-block-end: 12px;
    color: #b5bfff;
    font-size: var(--fp-type-xs);
    font-weight: 750;
}

.fp-catalog__eyebrow::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--fp-primary-hover);
    box-shadow: 0 0 18px #8795ff99;
    content: "";
}

.fp-catalog__hero h1 {
    margin: 0 0 10px !important;
    color: #f7f7fb;
    font-size: clamp(2.8rem, 4.4vw, 4.2rem) !important;
    font-weight: 850;
    line-height: 1.35;
}

.fp-catalog__hero-copy p {
    max-width: 66ch;
    margin: 0;
    color: #b4b8c6;
    font-size: clamp(1.3rem, 1.4vw, 1.55rem);
    line-height: 1.9;
}

.fp-catalog__scroll-hint {
    display: flex;
    max-width: 190px;
    align-items: center;
    gap: 11px;
    color: #d9dcf0;
    font-size: var(--fp-type-xs);
    line-height: 1.7;
}

.fp-catalog__scroll-icon,
.fp-catalog__section-mark {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border: 1px solid #b8c3ff35;
    border-radius: 15px;
    background: #7b8aff18;
    color: #c3cbff;
}

.fp-catalog__scroll-icon svg,
.fp-catalog__section-mark svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fp-catalog__hero-orbit {
    position: absolute;
    z-index: 0;
    display: block;
    width: 280px;
    aspect-ratio: 1;
    border: 1px solid #a9b5ff12;
    border-radius: 50%;
    pointer-events: none;
}

.fp-catalog__hero-orbit::before,
.fp-catalog__hero-orbit::after {
    position: absolute;
    border: 1px solid #a9b5ff0d;
    border-radius: 50%;
    content: "";
}

.fp-catalog__hero-orbit::before { inset: 18px; }
.fp-catalog__hero-orbit::after { inset: 42px; }
.fp-catalog__hero-orbit--one { inset-inline-start: -155px; inset-block-start: -155px; }
.fp-catalog__hero-orbit--two { inset-inline-end: 14%; inset-block-end: -232px; width: 340px; }

.fp-catalog__results { margin-block-start: clamp(28px, 4vw, 48px); }

.fp-catalog__section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-block-end: 22px;
}

.fp-catalog__section-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-color: var(--fp-border);
    border-radius: 14px;
    background: var(--fp-card);
    color: #aeb9ff;
}

.fp-catalog__section-heading h2 {
    margin: 0 0 3px !important;
    color: var(--fp-text);
    font-size: clamp(1.8rem, 2.2vw, 2.35rem) !important;
    font-weight: 800;
}

.fp-catalog__section-heading p {
    margin: 0;
    color: var(--fp-text-subtle);
    font-size: var(--fp-type-xs);
}

.fp-catalog__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: start;
    gap: clamp(14px, 1.6vw, 24px);
    width: 100%;
    overflow: visible;
}
.fp-catalog__grid[hidden] { display: none !important; }

.fp-actor-search { margin: 0 0 22px auto; }
.fp-actor-search > label { display: block; max-width: 560px; margin-block-end: 8px; color: var(--fp-text); font-size: 1.25rem; font-weight: 750; }
.fp-actor-search__field { position: relative; }
.fp-actor-search__field,
.fp-actor-search__status { max-width: 560px; }
.fp-actor-search__field svg { position: absolute; z-index: 1; inset-inline-start: 15px; top: 50%; width: 20px; height: 20px; color: var(--fp-text-subtle); stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transform: translateY(-50%); pointer-events: none; }
.fp-actor-search__field input {
    display: block;
    width: 100%;
    min-height: 50px;
    padding-block: 10px;
    padding-inline: 45px 15px;
    border: 1px solid var(--fp-border-strong);
    border-radius: 14px;
    outline: none;
    background: var(--fp-card);
    color: var(--fp-text);
    font: inherit;
    font-size: 1.25rem;
    transition: border-color var(--fp-motion-base) ease, box-shadow var(--fp-motion-base) ease;
}
.fp-actor-search__field input::placeholder { color: var(--fp-text-subtle); opacity: .85; }
.fp-actor-search__field input:focus { border-color: #8997ffad; box-shadow: 0 0 0 3px #7887f329; }
.fp-actor-search__status { min-height: 0; margin: 8px 2px 0; color: var(--fp-text-subtle); font-size: 1.1rem; }
.fp-actor-search__status:empty { display: none; }
.fp-actor-search #fpActorSearchResults { margin-block-start: 16px; }

.fp-catalog__grid > * {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

.fp-catalog-card { min-width: 0; }
.fp-catalog-card__link { display: block; color: inherit; text-decoration: none; }

.fp-catalog-card__frame {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border: 1px solid #ffffff16;
    border-radius: 17px;
    background: #181b24;
    box-shadow: 0 12px 26px #0000002e;
    isolation: isolate;
    transform: translateZ(0);
    transition: border-color var(--fp-motion-base) var(--fp-ease-standard),
        box-shadow var(--fp-motion-base) var(--fp-ease-standard), transform var(--fp-motion-base) var(--fp-ease-standard);
}

.fp-catalog-card__ambient,
.fp-catalog-card__poster,
.fp-catalog-card__poster img,
.fp-catalog-card__shade {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.fp-catalog-card__ambient {
    z-index: -2;
    object-fit: cover;
    opacity: .42;
    filter: blur(24px) saturate(1.18);
    transform: scale(1.12);
}

.fp-catalog-card__poster { z-index: -1; overflow: hidden; }

.fp-catalog-card__poster img {
    object-fit: cover;
    object-position: center 24%;
    transition: transform 360ms var(--fp-ease-enter), filter 240ms ease;
}

.fp-catalog-card__shade {
    z-index: 0;
    background: linear-gradient(180deg, #07080b58 0%, #07080b08 25%, #07080b12 45%, #07080b80 68%, #07080bf0 100%);
    pointer-events: none;
}

.fp-catalog-card__topline {
    position: absolute;
    z-index: 2;
    inset: 10px 10px auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    direction: ltr;
    pointer-events: none;
}

.fp-catalog-card__score {
    position: relative;
    display: grid;
    width: 41px;
    height: 41px;
    flex: 0 0 41px;
    place-items: center;
    border: 1px solid #ffffff25;
    border-radius: 50%;
    background: #11131bd9;
    color: #f2c469;
    font-size: 1.2rem;
    font-weight: 850;
    line-height: 1;
    box-shadow: 0 4px 14px #00000030;
    backdrop-filter: blur(8px);
}

.fp-catalog-card__score.is-high { color: #9ce0bd; }

.fp-catalog-card__score svg {
    position: absolute;
    inset: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    overflow: visible;
    transform: rotate(-90deg);
}

.fp-catalog-card__score circle { fill: none; stroke-width: 2.7; }
.fp-catalog-card__score-track { stroke: #ffffff32; }
.fp-catalog-card__score-value { stroke: currentColor; stroke-linecap: round; stroke-dasharray: var(--fp-score) 100; }
.fp-catalog-card__score span { position: relative; z-index: 1; }

.fp-catalog-card__type {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    justify-content: center;
    padding: 3px 9px;
    border: 1px solid #ffffff26;
    border-radius: 99px;
    background: #11131bd9;
    color: #f3f4fa;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    backdrop-filter: blur(8px);
}

.fp-catalog-card__content {
    position: absolute;
    z-index: 2;
    inset: auto 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 34px 12px 12px;
    color: #f7f8fc;
    text-align: right;
}

.fp-catalog-card__meta {
    display: flex;
    min-height: 19px;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    color: #e6e7edc9;
    font-size: 1.05rem;
    font-weight: 650;
    direction: rtl;
}

.fp-catalog-card__meta > span:first-child:not(.fp-catalog-card__dubbed) {
    padding-inline-end: 8px;
    border-inline-end: 1px solid #ffffff55;
}

.fp-catalog-card__dubbed { display: inline-flex; align-items: center; gap: 3px; }
.fp-catalog-card__dubbed .fp-icon { width: 13px; height: 13px; }

.fp-catalog-card__title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 !important;
    color: #fff !important;
    font-size: clamp(1.35rem, 1.25vw, 1.65rem) !important;
    font-weight: 800 !important;
    line-height: 1.55 !important;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-shadow: 0 2px 8px #00000085;
}

.fp-catalog-card__badges { display: flex; flex-wrap: wrap; gap: 5px; }
.fp-catalog-card__badges span {
    display: inline-flex;
    min-height: 21px;
    align-items: center;
    padding: 2px 7px;
    border: 1px solid #ffffff20;
    border-radius: 99px;
    background: #11131b9c;
    color: #e1e4ed;
    font-size: 1rem;
    line-height: 1.4;
}
.fp-catalog-card__badges .is-free { border-color: #5ec79245; color: #b5ebce; }
.fp-catalog-card__badges .is-updated { border-color: #e3b04b55; color: #f2d497; }

.fp-catalog--actors .fp-catalog__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.fp-catalog-card--actor { text-align: center; }
.fp-catalog-card--actor .fp-catalog-card__link { display: block; padding: 3px; }
.fp-catalog-card__actor-image {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    margin: 0 auto 12px;
    padding: 3px;
    border: 3px solid #373745;
    border-radius: 50%;
    object-fit: cover;
    transition: transform var(--fp-motion-base) var(--fp-ease-standard), border-color var(--fp-motion-base) ease, box-shadow var(--fp-motion-base) ease;
}
.fp-catalog-card__actor-name { display: block; overflow: hidden; color: var(--fp-text); font-size: 1.2rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.fp-catalog-card__actor-link { display: block; margin-block-start: 3px; color: var(--fp-text-subtle); font-size: 1rem; }

.fp-catalog-card--music .fp-catalog-card__link { display: block; }
.fp-catalog-card__music-art {
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid #ffffff18;
    border-radius: 16px;
    background: #181b24;
    box-shadow: 0 12px 26px #0000002e;
}
.fp-catalog-card__music-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 360ms var(--fp-ease-enter); }
.fp-catalog-card__music-title {
    display: -webkit-box;
    overflow: hidden;
    margin: 9px 2px 0 !important;
    color: var(--fp-text) !important;
    font-size: clamp(1.25rem, 1.15vw, 1.55rem) !important;
    font-weight: 750 !important;
    line-height: 1.65 !important;
    text-align: right;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.fp-catalog__empty {
    margin: 0;
    padding: 30px 20px;
    border: 1px dashed var(--fp-border-strong);
    border-radius: var(--fp-radius-lg);
    color: var(--fp-text-muted);
    text-align: center;
}

.fp-catalog__search-form {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) repeat(4, minmax(105px, 1fr)) auto;
    align-items: end;
    gap: 11px;
    margin-block-end: 10px;
    padding: 16px;
    border: 1px solid var(--fp-border);
    border-radius: 18px;
    background: linear-gradient(135deg, #191c27, #13151d);
}
.fp-catalog__search-form label { display: flex; min-width: 0; flex-direction: column; gap: 6px; color: var(--fp-text-subtle); font-size: 1.05rem; font-weight: 700; }
.fp-catalog__search-form input,
.fp-catalog__search-form select {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 8px 12px;
    border: 1px solid var(--fp-border-strong);
    border-radius: 11px;
    outline: none;
    background: #0d1018;
    color: var(--fp-text);
    font: inherit;
    font-size: 1.15rem;
}
.fp-catalog__search-form input:focus,
.fp-catalog__search-form select:focus { border-color: #8997ffad; box-shadow: 0 0 0 3px #7887f329; }
.fp-catalog__search-form input::placeholder { color: var(--fp-text-subtle); opacity: .8; }
.fp-catalog__search-submit { min-height: 46px; padding: 8px 18px; border: 1px solid #9aa7ff45; border-radius: 12px; background: linear-gradient(135deg, #6878dc, #4d5fc1); color: #fff; font: inherit; font-size: 1.15rem; font-weight: 800; cursor: pointer; }
.fp-catalog__search-status { margin: 0 3px 18px; color: var(--fp-text-subtle); font-size: 1.15rem; }
.fp-catalog__search-status:empty { display: none; }

.fp-catalog__loading {
    display: flex;
    min-height: 60px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-block-start: 24px;
    color: var(--fp-text-muted);
    font-size: var(--fp-type-xs);
}

.fp-catalog__loading[hidden],
.fp-catalog__more[hidden] { display: none !important; }
.fp-catalog__loading.is-complete .fp-catalog__spinner { display: none; }
.fp-catalog__spinner { width: 18px; height: 18px; border: 2px solid #ffffff35; border-top-color: #aeb9ff; border-radius: 50%; animation: fp-catalog-spin 700ms linear infinite; }

@keyframes fp-catalog-spin { to { transform: rotate(360deg); } }

.fp-catalog__more {
    display: flex;
    width: fit-content;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    margin: 16px auto 0;
    padding: 8px 18px;
    border: 1px solid var(--fp-primary-outline);
    border-radius: 99px;
    background: var(--fp-primary-soft);
    color: #d8ddff;
    text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    .fp-catalog-card__link:hover { color: inherit; }
    .fp-catalog-card__link:hover .fp-catalog-card__frame { border-color: #aeb9ff70; box-shadow: 0 19px 38px #00000050, 0 0 0 1px #8493ff22; transform: translateY(-4px); }
    .fp-catalog-card__link:hover .fp-catalog-card__poster img { transform: scale(1.045); }
}

.fp-catalog-card__link:focus-visible { border-radius: 18px; outline-offset: 4px; }

@media (max-width: 1150px) { .fp-catalog__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 900px) { .fp-catalog__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 680px) { .fp-catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 1150px) { .fp-catalog--actors .fp-catalog__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 900px) { .fp-catalog--actors .fp-catalog__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 680px) { .fp-catalog--actors .fp-catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) {
    .fp-catalog__back { display: inline-flex !important; flex: 0 0 auto; align-items: center; gap: 5px; margin-inline-end: auto; padding: 7px 10px; border: 1px solid var(--fp-border); border-radius: 99px; background: var(--fp-card); color: var(--fp-text) !important; font-size: 1rem; }
    .fp-catalog__back svg { width: 16px; height: 16px; flex: 0 0 16px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .fp-catalog__search-form { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; padding: 12px; border-radius: 15px; }
    .fp-catalog__search-query { grid-column: span 2; }
    .fp-catalog__search-submit { align-self: end; }
}
@media (max-width: 480px) {
    .fp-catalog__breadcrumb,
    .fp-catalog.container { width: calc(100% - 24px); }
    .fp-catalog__breadcrumb { min-height: 42px; gap: 7px; margin-block: 8px 6px; font-size: 1.1rem; }
    .fp-catalog__hero { min-height: 0; flex-direction: column; align-items: stretch; gap: 19px; padding: 22px 18px; border-radius: 19px; }
    .fp-catalog__hero-copy { max-width: 100%; }
    .fp-catalog__hero-copy--person { align-items: flex-start; gap: 12px; }
    .fp-catalog__person-image { width: 76px; flex-basis: 76px; border-width: 2px; }
    .fp-catalog__eyebrow { margin-block-end: 6px; }
    .fp-catalog__hero h1 { margin-block-end: 7px !important; font-size: clamp(2.4rem, 8vw, 3rem) !important; }
    .fp-catalog__hero-copy p { font-size: 1.25rem; }
    .fp-catalog__scroll-hint { max-width: none; font-size: 1.1rem; }
    .fp-catalog__scroll-icon { width: 38px; height: 38px; flex-basis: 38px; border-radius: 12px; }
    .fp-catalog__section-heading { gap: 10px; margin-block-end: 15px; }
    .fp-catalog__section-mark { width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; }
    .fp-catalog__section-heading h2 { font-size: 1.8rem !important; }
    .fp-catalog__section-heading p { font-size: 1.05rem; }
    .fp-catalog__search-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 10px; }
    .fp-catalog__search-query { grid-column: 1 / -1; }
    .fp-catalog__search-form label { font-size: .95rem; }
    .fp-catalog__search-form input,
    .fp-catalog__search-form select { min-height: 43px; padding-inline: 9px; font-size: 1.05rem; }
    .fp-catalog__search-submit { min-height: 43px; font-size: 1.05rem; }
    .fp-actor-search { margin-block-end: 18px; }
    .fp-actor-search__field input { min-height: 46px; border-radius: 12px; font-size: 1.15rem; }
    .fp-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .fp-catalog--actors .fp-catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
    .fp-catalog-card__frame { border-radius: 13px; }
    .fp-catalog-card__topline { inset: 8px 8px auto; }
    .fp-catalog-card__score { width: 36px; height: 36px; flex-basis: 36px; font-size: 1.1rem; }
    .fp-catalog-card__type { min-height: 23px; padding-inline: 7px; font-size: .95rem; }
    .fp-catalog-card__content { gap: 4px; padding: 28px 9px 9px; }
    .fp-catalog-card__title { font-size: 1.2rem !important; line-height: 1.5 !important; }
    .fp-catalog-card__meta { gap: 6px; font-size: .95rem; }
    .fp-catalog-card__badges span { min-height: 19px; padding-inline: 6px; font-size: .9rem; }
    .fp-catalog-card__actor-image { margin-block-end: 8px; border-width: 2px; }
    .fp-catalog-card__actor-name { font-size: 1.05rem; }
    .fp-catalog-card__actor-link { font-size: .9rem; }
    .fp-catalog-card__music-art { border-radius: 12px; }
    .fp-catalog-card__music-title { margin-block-start: 6px !important; font-size: 1.1rem !important; line-height: 1.55 !important; }
}

@media (max-width: 360px) {
    .fp-catalog__search-form { grid-template-columns: 1fr; }
    .fp-catalog__search-query { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .fp-catalog-card__frame,
    .fp-catalog-card__poster img,
    .fp-catalog-card__actor-image,
    .fp-catalog-card__music-art img { transition: none; }
    .fp-catalog__spinner { animation: none; border-color: #aeb9ff; }
}

.fp-catalog__grid.fp-directory-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fp-directory-card { min-width: 0; }
.fp-directory-card__link { display: block; height: 100%; overflow: hidden; border: 1px solid var(--fp-border); border-radius: 18px; background: linear-gradient(145deg, #1b1e29, #12141b); color: var(--fp-text); text-decoration: none; box-shadow: 0 12px 30px #00000020; }
.fp-directory-card__art { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #353d70, #171c34 62%, #172b32); }
.fp-directory-card__art::after { position: absolute; inset: 0; background: linear-gradient(0deg, #090a10aa, transparent 65%); content: ''; pointer-events: none; }
.fp-directory-card__art > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 360ms var(--fp-ease-enter); }
.fp-directory-card__arrow { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border: 1px solid #ffffff35; border-radius: 50%; background: #121521b5; color: #fff; }
.fp-directory-card__arrow svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fp-directory-card__copy { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; }
.fp-directory-card__copy h3 { flex: 1 1 auto; min-width: 0; overflow: hidden; margin: 0; color: var(--fp-text); font-size: 1.5rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.fp-directory-card--collection .fp-directory-card__art { aspect-ratio: 1; background: linear-gradient(135deg, #272d4b, #181a26); }
.fp-directory-card--collection .fp-directory-card__art::after { content: none; }
.fp-directory-card--collection .fp-directory-card__art > img { position: static; width: 100%; height: 100%; border: 0; border-radius: 0; }
.fp-directory-card--collection .fp-directory-card__copy { min-height: 72px; }
@media (hover: hover) and (pointer: fine) {
    .fp-directory-card__link { transition: transform 240ms var(--fp-ease-enter), border-color 240ms ease, box-shadow 240ms ease; }
    .fp-directory-card__link:hover { transform: translateY(-4px); border-color: #aeb9ff70; box-shadow: 0 19px 38px #00000042; color: var(--fp-text); }
    .fp-directory-card__link:hover .fp-directory-card__art > img { transform: scale(1.045); }
}
.fp-directory-card__link:focus-visible { outline: 2px solid #aeb9ff; outline-offset: 4px; }
@media (max-width: 1150px) { .fp-catalog__grid.fp-directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .fp-catalog__grid.fp-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 420px) {
    .fp-directory-card__copy { min-height: 60px; gap: 8px; padding: 10px 11px; }
    .fp-directory-card__copy h3 { font-size: 1.3rem; }
    .fp-directory-card__arrow { flex-basis: 30px; width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
    .fp-directory-card__link,
    .fp-directory-card__art > img { transition: none; }
    .fp-directory-card__link:hover,
    .fp-directory-card__link:hover .fp-directory-card__art > img { transform: none; }
}
