/* Home and catalog experience. Scoped so watch, detail, account, and admin views keep their own layouts. */
body.is-catalog-page {
    --catalog-bg: #090909;
    --catalog-surface: #181818;
    --catalog-surface-raised: #242424;
    --catalog-text: #ffffff;
    --catalog-muted: #b3b3b3;
    --catalog-blue: #1677ff;
    --catalog-green: #4fc3ff;
    --catalog-edge: rgba(255, 255, 255, .16);
    overflow-x: hidden;
    background: var(--catalog-bg);
    color: var(--catalog-text);
}

body.is-catalog-page .catalog-page {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 72px;
}

body.is-catalog-page .topbar {
    position: sticky;
    top: 0;
    z-index: 80;
    min-height: 68px;
    align-items: center;
    flex-wrap: nowrap;
    gap: clamp(18px, 2vw, 34px);
    padding: 10px clamp(28px, 4vw, 64px);
    background: linear-gradient(180deg, rgba(5, 5, 5, .98), rgba(8, 8, 8, .91));
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body.is-catalog-page .brand {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 10px;
    order: 1;
}

body.is-catalog-page .brand-mark {
    width: 38px;
    height: 38px;
    padding: 3px;
    border-radius: 7px;
    box-shadow: 0 4px 16px rgba(0, 70, 200, .2);
}

body.is-catalog-page .brand h1 {
    color: #f5f5f5;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

body.is-catalog-page .brand h1 span {
    color: var(--catalog-blue);
}

body.is-catalog-page .nav {
    gap: 3px;
    margin-left: 14px;
}

body.is-catalog-page .nav a {
    position: relative;
    min-height: 36px;
    padding: 0 11px;
    border-radius: 4px;
    color: #d1d1d1;
    font-size: .9rem;
    font-weight: 600;
    transition: color .18s ease;
}

body.is-catalog-page .nav a i {
    display: none;
}

body.is-catalog-page .nav a::after {
    content: "";
    position: absolute;
    right: 11px;
    bottom: 2px;
    left: 11px;
    height: 2px;
    border-radius: 999px;
    background: var(--catalog-blue);
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity .18s ease, transform .18s ease;
}

body.is-catalog-page .nav a:hover,
body.is-catalog-page .nav a.active {
    background: transparent;
    color: #fff;
}

body.is-catalog-page .nav a.active::after {
    opacity: 1;
    transform: scaleX(1);
}

body.is-catalog-page .search {
    order: 2;
    width: clamp(220px, 24vw, 350px);
    flex: 0 1 350px;
    margin-left: auto;
}

body.is-catalog-page .search input {
    min-height: 39px;
    padding-right: 12px;
    border-color: rgba(255, 255, 255, .28);
    border-radius: 4px;
    background: rgba(0, 0, 0, .58);
    font-size: .9rem;
    transition: width .2s ease, border-color .2s ease, background .2s ease;
}

body.is-catalog-page .search input:focus {
    border-color: #fff;
    background: #101010;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}

body.is-catalog-page .search-icon {
    color: #fff;
}

body.is-catalog-page .auth-actions {
    order: 3;
    flex: 0 0 auto;
}

body.is-catalog-page .google-login,
body.is-catalog-page .logout-button,
body.is-catalog-page .user-pill {
    min-height: 38px;
    border-radius: 4px;
}

body.is-catalog-page .google-login {
    border-color: var(--catalog-blue);
    background: var(--catalog-blue);
}

body.is-catalog-page .google-login:hover {
    border-color: #3189ff;
    background: #3189ff;
}

body.is-catalog-page .user-pill {
    border-color: transparent;
    background: transparent;
}

body.is-catalog-page .user-pill:hover,
body.is-catalog-page .profile-menu[open] .user-pill {
    border-color: var(--catalog-edge);
    background: rgba(255, 255, 255, .08);
}

body.is-catalog-page .profile-dropdown,
body.is-catalog-page .mobile-profile-dropdown {
    border-radius: 4px;
    background: rgba(18, 18, 18, .98);
}

body.is-catalog-page .flash {
    position: relative;
    z-index: 12;
    width: min(920px, calc(100% - 32px));
    margin: 18px auto 0;
}

.catalog-hero {
    position: relative;
    isolation: isolate;
    min-height: min(720px, calc(100vh - 68px));
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: clamp(80px, 10vw, 150px) clamp(28px, 5vw, 80px) clamp(150px, 13vw, 205px);
    background: #111;
}

.catalog-hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: -22px;
    background-image: var(--hero-image);
    background-position: 66% 20%;
    background-size: cover;
    filter: blur(18px) saturate(.7);
    opacity: .3;
    transform: scale(1.06);
}

.catalog-hero-art {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60%;
    overflow: hidden;
    opacity: .92;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .72) 22%, #000 46%);
    mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .72) 22%, #000 46%);
}

.catalog-hero-art img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 20%;
}

.catalog-hero-fade {
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, #090909 0%, rgba(9, 9, 9, .9) 24%, rgba(9, 9, 9, .26) 62%, rgba(9, 9, 9, .08) 100%),
        linear-gradient(0deg, #090909 0%, rgba(9, 9, 9, .82) 10%, transparent 42%),
        linear-gradient(180deg, rgba(0, 0, 0, .22), transparent 30%);
}

.catalog-hero-copy {
    position: relative;
    z-index: 3;
    width: min(620px, 55vw);
    text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}

.catalog-hero-kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
    color: #efefef;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.catalog-hero-kicker-mark {
    width: 27px;
    height: 27px;
    display: inline-grid;
    place-items: center;
    border-radius: 5px;
    background: var(--catalog-blue);
    color: #fff;
    font-size: .72rem;
    box-shadow: 0 7px 18px rgba(22, 119, 255, .32);
}

.catalog-hero h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.8rem, 5.5vw, 5.4rem);
    font-weight: 900;
    line-height: .96;
    letter-spacing: -.065em;
    text-wrap: balance;
}

.catalog-hero-copy > p {
    max-width: 590px;
    margin: 20px 0 0;
    color: #eeeeee;
    font-size: clamp(.96rem, 1.25vw, 1.12rem);
    font-weight: 500;
    line-height: 1.65;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .9);
}

.catalog-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px 15px;
    margin-top: 19px;
    color: #ddd;
    font-size: .87rem;
    font-weight: 700;
}

.catalog-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.catalog-hero-meta .catalog-match {
    color: var(--catalog-green);
}

.catalog-hero-meta .fa-star {
    color: #ffd166;
}

.catalog-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 27px;
}

.catalog-action {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 0 24px;
    border-radius: 5px;
    font-size: .98rem;
    font-weight: 800;
    text-shadow: none;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.catalog-action:hover {
    transform: translateY(-1px);
}

.catalog-action--primary {
    background: #fff;
    color: #080808;
}

.catalog-action--primary:hover {
    background: rgba(255, 255, 255, .78);
}

.catalog-action--secondary {
    background: rgba(109, 109, 110, .72);
    color: #fff;
    backdrop-filter: blur(8px);
}

.catalog-action--secondary:hover {
    background: rgba(109, 109, 110, .5);
}

.catalog-hero--browse {
    min-height: 460px;
    align-items: center;
    padding-top: 78px;
    padding-bottom: 105px;
}

.catalog-hero--browse .catalog-hero-art {
    width: 52%;
    opacity: .66;
}

.catalog-hero--browse h2 {
    font-size: clamp(2.8rem, 5vw, 4.9rem);
}

.catalog-featured-chip {
    width: min(430px, 100%);
    min-height: 64px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3px 14px;
    align-items: center;
    margin-top: 26px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 6px;
    background: rgba(20, 20, 20, .68);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .2);
    text-shadow: none;
    backdrop-filter: blur(12px);
    transition: background .18s ease, border-color .18s ease;
}

.catalog-featured-chip:hover {
    border-color: rgba(255, 255, 255, .46);
    background: rgba(35, 35, 35, .82);
}

.catalog-featured-chip span,
.catalog-featured-chip strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-featured-chip span {
    color: var(--catalog-green);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.catalog-featured-chip strong {
    grid-column: 1;
    font-size: .94rem;
}

.catalog-featured-chip i {
    grid-column: 2;
    grid-row: 1 / 3;
    color: #d5d5d5;
}

.catalog-heading {
    padding: 70px clamp(28px, 4vw, 64px) 10px;
}

.catalog-heading-kicker {
    color: var(--catalog-blue);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.catalog-heading h2 {
    margin: 7px 0 0;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.catalog-heading p {
    margin: 11px 0 0;
    color: var(--catalog-muted);
}

.catalog-rows {
    position: relative;
    z-index: 6;
    padding: 0 clamp(28px, 4vw, 64px);
}

.is-home-page .catalog-rows {
    margin-top: -104px;
}

.is-browse-page .catalog-rows {
    margin-top: -48px;
}

.is-search-page .catalog-rows {
    padding-top: 24px;
}

.is-search-page .catalog-rows .section-header {
    display: none;
}

body.is-grid-page:not(.is-browse-page):not(.is-search-page) .catalog-rows {
    padding-top: 54px;
}

body.is-catalog-page .section {
    margin-top: 42px;
}

body.is-catalog-page .catalog-rows > .section:first-child {
    margin-top: 0;
}

body.is-catalog-page .section-header {
    flex-wrap: nowrap;
    gap: 18px;
    margin-bottom: 12px;
}

body.is-catalog-page .section-title {
    flex: 1;
    min-width: 0;
    color: #f2f2f2;
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
    font-weight: 800;
    letter-spacing: -.03em;
}

body.is-catalog-page .more {
    min-height: 34px;
    padding: 0 4px 0 10px;
    border: 0;
    background: transparent;
    color: #cfcfcf;
    font-size: .82rem;
    font-weight: 700;
}

body.is-catalog-page .more i {
    color: var(--catalog-blue);
    font-size: .72rem;
    transition: transform .18s ease;
}

body.is-catalog-page .more:hover {
    border: 0;
    background: transparent;
    color: #fff;
    transform: none;
}

body.is-catalog-page .more:hover i {
    transform: translateX(3px);
}

.is-home-page .section .grid {
    display: flex;
    gap: clamp(10px, 1.1vw, 18px);
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0 calc(clamp(28px, 4vw, 64px) * -1);
    padding: 8px clamp(28px, 4vw, 64px) 24px;
    scroll-padding-inline: clamp(28px, 4vw, 64px);
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .18) transparent;
}

.is-home-page .section .grid::-webkit-scrollbar {
    height: 4px;
}

.is-home-page .section .grid::-webkit-scrollbar-track {
    background: transparent;
}

.is-home-page .section .grid::-webkit-scrollbar-thumb {
    border-radius: 99px;
    background: rgba(255, 255, 255, .18);
}

.is-home-page .section .card {
    flex: 0 0 clamp(168px, 15.6vw, 236px);
    scroll-snap-align: start;
}

.is-grid-page .grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(18px, 1.8vw, 28px) clamp(11px, 1.2vw, 19px);
}

body.is-catalog-page .card {
    position: relative;
    overflow: visible;
    border: 0;
    border-radius: 7px;
    background: transparent;
    transition: transform .22s ease, filter .22s ease;
}

body.is-catalog-page .card:hover {
    z-index: 8;
    border: 0;
    background: transparent;
    transform: translateY(-5px) scale(1.025);
    filter: brightness(1.06);
}

body.is-catalog-page .card-link {
    display: block;
    min-width: 0;
}

body.is-catalog-page .poster {
    isolation: isolate;
    overflow: hidden;
    border-radius: 7px;
    background: #242424;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
}

body.is-catalog-page .poster::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: inherit;
    pointer-events: none;
}

body.is-catalog-page .poster img {
    transition: transform .38s ease, filter .3s ease;
}

body.is-catalog-page .card:hover .poster img {
    transform: scale(1.045);
    filter: saturate(1.08);
}

.card-rank {
    position: absolute;
    z-index: 3;
    top: 9px;
    left: 9px;
    min-width: 34px;
    min-height: 28px;
    display: inline-grid;
    place-items: center;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 4px;
    background: var(--catalog-blue);
    color: #fff;
    font-size: .78rem;
    font-weight: 900;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .28);
}

.card-preview {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 16px 12px;
    background: linear-gradient(0deg, rgba(0, 0, 0, .94), rgba(0, 0, 0, .08) 58%, transparent);
    opacity: 0;
    transform: translateY(5px);
    transition: opacity .22s ease, transform .22s ease;
}

.card:hover .card-preview,
.card:focus-within .card-preview {
    opacity: 1;
    transform: translateY(0);
}

.card-play {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #0a0a0a;
    font-size: .78rem;
}

.card-play i {
    margin-left: 2px;
}

.card-preview-title {
    display: -webkit-box;
    overflow: hidden;
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body.is-catalog-page .content {
    padding: 10px 2px 0;
}

body.is-catalog-page .card-title {
    min-height: 0;
    margin: 0;
    color: #f2f2f2;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    -webkit-line-clamp: 1;
}

.card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 9px;
    margin-top: 5px;
    color: #8f8f8f;
    font-size: .68rem;
    font-weight: 600;
}

.card-rating {
    color: #c8f6d3;
}

.card-rating i {
    color: #ffd166;
    font-size: .6rem;
}

body.is-catalog-page .empty {
    min-height: 150px;
    display: grid;
    place-items: center;
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .025);
    color: var(--catalog-muted);
}

body.is-catalog-page .pager {
    margin-top: 34px;
}

body.is-catalog-page .pager .more {
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid var(--catalog-edge);
    border-radius: 5px;
    background: #1c1c1c;
}

body.is-catalog-page .pager .more:hover {
    border-color: rgba(255, 255, 255, .34);
    background: #2a2a2a;
}

body.is-catalog-page a:focus-visible,
body.is-catalog-page button:focus-visible,
body.is-catalog-page input:focus-visible,
body.is-catalog-page summary:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .9);
    outline-offset: 3px;
}

@media (max-width: 1280px) {
    .is-grid-page .grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .catalog-hero-copy {
        width: min(570px, 57vw);
    }
}

/* Tablet */
@media (min-width: 701px) and (max-width: 1023px) {
    body.is-catalog-page .topbar {
        min-height: 112px;
        flex-wrap: wrap;
        gap: 8px 18px;
        padding: 11px 28px 13px;
    }

    body.is-catalog-page .brand {
        flex: 1 1 auto;
    }

    body.is-catalog-page .auth-actions {
        margin-left: auto;
    }

    body.is-catalog-page .topbar .search {
        order: 4;
        width: 100%;
        flex: 1 0 100%;
        margin-left: 0;
    }

    .catalog-hero {
        min-height: 620px;
        padding-right: 36px;
        padding-bottom: 145px;
        padding-left: 36px;
    }

    .catalog-hero-art {
        width: 72%;
    }

    .catalog-hero-copy {
        width: min(540px, 68vw);
    }

    .catalog-hero h2 {
        font-size: clamp(3rem, 7.4vw, 4.6rem);
    }

    .catalog-hero--browse {
        min-height: 430px;
        padding-bottom: 98px;
    }

    .catalog-rows {
        padding-inline: 28px;
    }

    .is-home-page .section .grid {
        margin-inline: -28px;
        padding-inline: 28px;
        scroll-padding-inline: 28px;
    }

    .is-home-page .section .card {
        flex-basis: clamp(168px, 24vw, 220px);
    }

    .is-grid-page .grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 22px 14px;
    }
}

/* Mobile */
@media (max-width: 700px) {
    body.is-catalog-page .catalog-page {
        padding-bottom: calc(88px + env(safe-area-inset-bottom));
    }

    body.is-catalog-page .topbar {
        min-height: 102px;
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 9px 12px;
        padding: 10px 16px 11px;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    body.is-catalog-page .topbar .brand {
        width: auto;
        flex: 1 1 auto;
        order: 1;
        justify-content: flex-start;
    }

    body.is-catalog-page .topbar .brand h1 {
        display: block;
        font-size: 1.02rem;
    }

    body.is-catalog-page .topbar .brand .nav {
        display: none;
    }

    body.is-catalog-page .brand-mark {
        width: 32px;
        height: 32px;
    }

    body.is-catalog-page .topbar .mobile-account-menu {
        display: block;
        order: 2;
        margin-left: auto;
    }

    body.is-catalog-page .mobile-profile-menu summary,
    body.is-catalog-page .mobile-login-icon {
        width: 34px;
        height: 34px;
        border-color: rgba(255, 255, 255, .18);
        background: #202020;
        font-size: 1.1rem;
    }

    body.is-catalog-page .topbar .search {
        order: 3;
        width: 100%;
        flex: 1 0 100%;
        margin: 0;
    }

    body.is-catalog-page .search input {
        min-height: 38px;
        border-color: rgba(255, 255, 255, .16);
        background: #191919;
        font-size: .86rem;
    }

    body.is-catalog-page .topbar .auth-actions {
        display: none;
    }

    body.is-catalog-page .topbar .mobile-nav-row {
        position: fixed;
        z-index: 100;
        right: 0;
        bottom: 0;
        left: 0;
        order: 4;
        width: 100%;
        min-height: calc(64px + env(safe-area-inset-bottom));
        display: flex;
        gap: 0;
        padding: 5px 12px env(safe-area-inset-bottom);
        border-top: 1px solid rgba(255, 255, 255, .1);
        background: rgba(12, 12, 12, .97);
        box-shadow: 0 -10px 28px rgba(0, 0, 0, .35);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    body.is-catalog-page .mobile-nav-row a {
        min-height: 54px;
        flex-direction: column;
        gap: 3px;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #808080;
        font-size: .65rem;
        font-weight: 700;
    }

    body.is-catalog-page .mobile-nav-row a i {
        font-size: 1.05rem;
    }

    body.is-catalog-page .mobile-nav-row a.active,
    body.is-catalog-page .mobile-nav-row a:hover {
        background: transparent;
        color: #fff;
    }

    .catalog-hero {
        min-height: 590px;
        padding: 210px 18px 128px;
    }

    .catalog-hero::before {
        background-position: center 18%;
        filter: blur(13px) saturate(.76);
        opacity: .34;
    }

    .catalog-hero-art {
        top: 0;
        right: 0;
        bottom: auto;
        left: 0;
        width: 100%;
        height: 74%;
        opacity: .78;
        -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 48%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 0%, #000 48%, transparent 100%);
    }

    .catalog-hero-art img {
        object-position: center 18%;
    }

    .catalog-hero-fade {
        background:
            linear-gradient(0deg, #090909 0%, rgba(9, 9, 9, .96) 18%, rgba(9, 9, 9, .44) 58%, rgba(9, 9, 9, .08) 100%),
            linear-gradient(90deg, rgba(9, 9, 9, .32), transparent 80%);
    }

    .catalog-hero-copy {
        width: 100%;
        text-align: left;
    }

    .catalog-hero-kicker {
        margin-bottom: 10px;
        font-size: .68rem;
    }

    .catalog-hero-kicker-mark {
        width: 24px;
        height: 24px;
    }

    .catalog-hero h2 {
        font-size: clamp(2.15rem, 10.8vw, 3.3rem);
        line-height: 1;
    }

    .catalog-hero-meta {
        gap: 7px 11px;
        margin-top: 13px;
        font-size: .74rem;
    }

    .catalog-hero-copy > p {
        display: -webkit-box;
        margin-top: 13px;
        overflow: hidden;
        font-size: .84rem;
        line-height: 1.55;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .catalog-hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
        margin-top: 18px;
    }

    .catalog-action {
        min-height: 44px;
        gap: 8px;
        padding: 0 12px;
        font-size: .82rem;
    }

    .catalog-hero--browse {
        min-height: 470px;
        align-items: flex-end;
        padding: 190px 18px 88px;
    }

    .catalog-hero--browse .catalog-hero-art {
        width: 100%;
        height: 70%;
    }

    .catalog-hero--browse h2 {
        font-size: clamp(2.25rem, 11vw, 3.2rem);
    }

    .catalog-featured-chip {
        min-height: 58px;
        margin-top: 18px;
        padding: 10px 13px;
    }

    .catalog-heading {
        padding: 38px 16px 2px;
    }

    .catalog-heading h2 {
        font-size: clamp(1.8rem, 9vw, 2.7rem);
    }

    .catalog-heading p {
        font-size: .85rem;
        line-height: 1.5;
    }

    .catalog-rows {
        padding-inline: 16px;
    }

    .is-home-page .catalog-rows {
        margin-top: -74px;
    }

    .is-browse-page .catalog-rows {
        margin-top: -34px;
    }

    .is-search-page .catalog-rows {
        padding-top: 18px;
    }

    body.is-grid-page:not(.is-browse-page):not(.is-search-page) .catalog-rows {
        padding-top: 34px;
    }

    body.is-catalog-page .section {
        margin-top: 30px;
    }

    body.is-catalog-page .section-header {
        gap: 8px;
        margin-bottom: 7px;
    }

    body.is-catalog-page .section-title {
        font-size: 1.05rem;
    }

    body.is-catalog-page .more {
        min-height: 32px;
        padding-right: 0;
        font-size: .7rem;
    }

    .is-home-page .section .grid {
        gap: 11px;
        margin-inline: -16px;
        padding: 6px 16px 17px;
        scroll-padding-inline: 16px;
    }

    .is-home-page .section .card {
        flex-basis: clamp(142px, 42vw, 184px);
    }

    .is-grid-page .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 11px;
    }

    body.is-catalog-page .content {
        padding-top: 8px;
    }

    body.is-catalog-page .card-title {
        font-size: .82rem;
        -webkit-line-clamp: 2;
    }

    .card-meta {
        gap: 3px 7px;
        font-size: .61rem;
    }

    .card-meta span:last-child {
        display: none;
    }

    .card-rank {
        top: 7px;
        left: 7px;
        min-width: 31px;
        min-height: 25px;
        font-size: .7rem;
    }

    body.is-catalog-page .pager {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    body.is-catalog-page .pager .more {
        padding-inline: 11px;
    }
}

@media (hover: none) {
    body.is-catalog-page .card:hover {
        transform: none;
        filter: none;
    }

    body.is-catalog-page .card:hover .poster img {
        transform: none;
        filter: none;
    }

    .card-preview {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.is-catalog-page *,
    body.is-catalog-page *::before,
    body.is-catalog-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
