* {
    box-sizing: border-box;
}

:root {
    color-scheme: light;
    --page-bg: #fff7ed;
    --panel-bg: #ffffff;
    --soft-bg: #fff1e8;
    --text: #1f2937;
    --muted: #6b7280;
    --line: rgba(248, 113, 113, 0.18);
    --brand: #f97316;
    --brand-strong: #ef4444;
    --brand-deep: #db2777;
    --shadow: 0 20px 60px rgba(185, 28, 28, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 38%, #fff7ed 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #ffffff;
    background: linear-gradient(90deg, #f97316 0%, #ef4444 48%, #db2777 100%);
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.22);
}

.site-header__inner {
    width: min(1240px, calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transform-origin: center;
    transition: transform 0.2s ease;
}

.site-logo:hover {
    transform: scale(1.04);
}

.site-logo__mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #f97316;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.site-logo__text {
    font-size: 22px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.site-nav a,
.mobile-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a.is-active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: min(320px, 28vw);
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.header-search input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    color: #ffffff;
    background: transparent;
    padding: 8px 10px;
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.header-search button,
.primary-button,
.secondary-button,
.filter-button,
.player-button {
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button {
    padding: 8px 14px;
    color: #ef4444;
    background: #ffffff;
}

.header-search button:hover,
.primary-button:hover,
.secondary-button:hover,
.filter-button:hover,
.player-button:hover {
    transform: translateY(-2px);
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    cursor: pointer;
}

.mobile-nav {
    display: none;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 16px;
}

.container {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 680px;
    color: #ffffff;
    background: #151018;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 18%, rgba(249, 115, 22, 0.46), transparent 30%),
        radial-gradient(circle at 82% 20%, rgba(219, 39, 119, 0.38), transparent 32%),
        linear-gradient(135deg, #f97316 0%, #ef4444 45%, #db2777 100%);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.65s ease, transform 0.9s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(17, 24, 39, 0.86) 0%, rgba(17, 24, 39, 0.50) 48%, rgba(17, 24, 39, 0.22) 100%),
        var(--hero-cover);
    background-position: center;
    background-size: cover;
    filter: saturate(1.08);
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 170px;
    background: linear-gradient(180deg, transparent, rgba(255, 247, 237, 0.96));
}

.hero__grid {
    position: relative;
    z-index: 2;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) 420px;
    gap: 46px;
    align-items: center;
    padding: 72px 0 100px;
}

.hero__eyebrow,
.section-eyebrow,
.page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    padding: 7px 12px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(12px);
    font-weight: 800;
    font-size: 14px;
}

.hero h1 {
    margin: 24px 0 18px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.hero__summary {
    max-width: 720px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.9;
}

.hero__meta,
.detail-meta,
.movie-card__meta,
.rank-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.hero__meta span,
.detail-meta span,
.movie-card__meta span,
.rank-item__meta span {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    padding: 6px 12px;
    font-size: 13px;
}

.hero__actions,
.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    color: #ef4444;
    background: #ffffff;
    box-shadow: 0 15px 32px rgba(0, 0, 0, 0.18);
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(12px);
}

.hero__poster {
    position: relative;
    min-height: 520px;
    border-radius: 34px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.06));
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero__poster img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.hero__poster-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    right: 20px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(17, 24, 39, 0.76);
    backdrop-filter: blur(18px);
}

.hero-dots {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 38px;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-dots button {
    width: 40px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.44);
    cursor: pointer;
}

.hero-dots button.is-active {
    background: #ffffff;
}

.section {
    padding: 68px 0;
}

.section--tight {
    padding: 42px 0;
}

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

.section-title,
.page-title {
    margin: 12px 0 0;
    color: #111827;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.section-subtitle,
.page-subtitle {
    max-width: 720px;
    color: var(--muted);
    line-height: 1.8;
    margin: 10px 0 0;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-strong);
    font-weight: 900;
}

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

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 188px;
    padding: 24px;
    border-radius: var(--radius-lg);
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #ef4444 52%, #db2777);
    box-shadow: var(--shadow);
    isolation: isolate;
}

.category-card::after {
    content: "";
    position: absolute;
    right: -34px;
    top: -34px;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    z-index: -1;
}

.category-card strong {
    display: block;
    margin-bottom: 12px;
    font-size: 24px;
}

.category-card span {
    display: block;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.65;
}

.category-card em {
    display: inline-flex;
    margin-top: 20px;
    font-style: normal;
    font-weight: 900;
}

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

.movie-card {
    overflow: hidden;
    border-radius: 22px;
    background: var(--panel-bg);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 60px rgba(239, 68, 68, 0.16);
}

.movie-card__cover {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.35), transparent 35%),
        linear-gradient(135deg, #1f2937, #111827);
}

.movie-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.2s ease;
}

.movie-card:hover .movie-card__cover img {
    transform: scale(1.08);
}

.movie-card__cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.74) 100%);
    opacity: 0.84;
}

.movie-card__region,
.movie-card__year,
.movie-card__play {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 900;
    font-size: 12px;
}

.movie-card__region {
    left: 12px;
    top: 12px;
    padding: 6px 10px;
    background: linear-gradient(90deg, #f97316, #ef4444);
}

.movie-card__year {
    right: 12px;
    top: 12px;
    padding: 6px 10px;
    background: rgba(17, 24, 39, 0.76);
}

.movie-card__play {
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: #ef4444;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.movie-card:hover .movie-card__play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.movie-card__body {
    padding: 16px;
}

.movie-card h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 16px;
    line-height: 1.38;
}

.movie-card h3 a:hover {
    color: var(--brand-strong);
}

.movie-card p {
    min-height: 44px;
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.movie-card__meta span {
    color: #9a3412;
    background: #ffedd5;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-panel {
    margin-bottom: 30px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.filter-row {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 180px 180px auto;
    gap: 12px;
}

.filter-row input,
.filter-row select {
    width: 100%;
    min-height: 46px;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    padding: 0 14px;
    outline: 0;
    color: #111827;
    background: #ffffff;
}

.filter-row input:focus,
.filter-row select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.filter-button {
    min-height: 46px;
    padding: 0 18px;
    color: #ffffff;
    background: linear-gradient(90deg, #f97316, #ef4444);
}

.rank-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: 26px;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 66px 92px minmax(0, 1fr) 92px;
    align-items: center;
    gap: 18px;
    padding: 14px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.rank-item__number {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, #f97316, #db2777);
}

.rank-item__cover {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 14px;
    background:
        radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.35), transparent 35%),
        linear-gradient(135deg, #1f2937, #111827);
}

.rank-item__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-item h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.rank-item p {
    margin: 0 0 10px;
    color: var(--muted);
    line-height: 1.6;
}

.rank-item__score {
    text-align: right;
    color: #ef4444;
    font-weight: 900;
}

.rank-item__score strong {
    display: block;
    font-size: 24px;
}

.side-panel {
    position: sticky;
    top: 90px;
    align-self: start;
    padding: 22px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #ffffff, #fff7ed);
    box-shadow: var(--shadow);
}

.side-panel h2 {
    margin: 0 0 16px;
}

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

.compact-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 237, 213, 0.72);
    transition: transform 0.2s ease, background 0.2s ease;
}

.compact-card:hover {
    transform: translateX(4px);
    background: #ffedd5;
}

.compact-card__cover {
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, #1f2937, #111827);
}

.compact-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.compact-card__text strong,
.compact-card__text em {
    display: block;
}

.compact-card__text strong {
    color: #111827;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-card__text em {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.page-hero {
    padding: 70px 0 42px;
    color: #ffffff;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18), transparent 28%),
        linear-gradient(135deg, #f97316 0%, #ef4444 55%, #db2777 100%);
}

.page-hero .page-subtitle {
    color: rgba(255, 255, 255, 0.88);
}

.page-hero .page-title {
    color: #ffffff;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.breadcrumbs a:hover {
    color: #ffffff;
}

.detail-shell {
    padding: 48px 0 72px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
    gap: 28px;
    align-items: start;
}

.player-card,
.detail-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.player-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000000;
    cursor: pointer;
}

.player-shell video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000000;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.62)),
        var(--player-cover);
    background-position: center;
    background-size: cover;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.play-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.player-button {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    color: #ef4444;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
    font-size: 30px;
}

.player-status {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 3;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
}

.detail-content {
    padding: 26px;
}

.detail-content h1 {
    margin: 0 0 14px;
    color: #111827;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.18;
}

.detail-meta span {
    color: #9a3412;
    background: #ffedd5;
}

.detail-section {
    margin-top: 26px;
}

.detail-section h2 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 22px;
}

.detail-section p {
    margin: 0;
    color: #374151;
    line-height: 1.9;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-list span {
    padding: 8px 12px;
    border-radius: 999px;
    color: #9a3412;
    background: #ffedd5;
    font-weight: 700;
    font-size: 13px;
}

.poster-panel {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.poster-panel__image {
    aspect-ratio: 3 / 4;
    background:
        radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.35), transparent 35%),
        linear-gradient(135deg, #1f2937, #111827);
}

.poster-panel__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poster-panel__body {
    padding: 20px;
}

.poster-panel__body a {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-top: 14px;
}

.empty-state {
    display: none;
    padding: 40px;
    border: 1px dashed #fdba74;
    border-radius: var(--radius-lg);
    color: var(--muted);
    text-align: center;
    background: rgba(255, 255, 255, 0.75);
}

.empty-state.is-visible {
    display: block;
}

.site-footer {
    color: #d1d5db;
    background: #111827;
}

.site-footer__inner {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 46px 0;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr 0.75fr;
    gap: 36px;
}

.site-footer__brand {
    display: inline-flex;
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
}

.site-footer p {
    max-width: 560px;
    margin: 0;
    line-height: 1.8;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 18px;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a:hover {
    color: #fb923c;
}

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

    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

@media (max-width: 980px) {
    .site-nav,
    .header-search {
        display: none;
    }

    .mobile-menu-button {
        display: inline-grid;
        place-items: center;
        margin-left: auto;
    }

    .mobile-nav.is-open {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .hero {
        min-height: 760px;
    }

    .hero__grid,
    .detail-layout,
    .rank-layout {
        grid-template-columns: 1fr;
    }

    .hero__poster {
        min-height: 420px;
    }

    .hero__poster img {
        min-height: 420px;
    }

    .filter-row {
        grid-template-columns: 1fr 1fr;
    }

    .card-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .side-panel {
        position: static;
    }
}

@media (max-width: 720px) {
    .site-header__inner {
        height: 62px;
    }

    .site-logo__text {
        font-size: 19px;
    }

    .hero {
        min-height: 820px;
    }

    .hero__grid {
        gap: 24px;
        padding: 48px 0 100px;
    }

    .hero__summary {
        font-size: 16px;
    }

    .hero__poster,
    .hero__poster img {
        min-height: 360px;
    }

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

    .category-grid,
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .filter-row {
        grid-template-columns: 1fr;
    }

    .rank-item {
        grid-template-columns: 44px 72px minmax(0, 1fr);
    }

    .rank-item__score {
        grid-column: 2 / 4;
        text-align: left;
    }

    .detail-content,
    .poster-panel__body {
        padding: 18px;
    }

    .player-button {
        width: 72px;
        height: 72px;
        font-size: 24px;
    }
}

@media (max-width: 460px) {
    .container,
    .site-header__inner,
    .mobile-nav,
    .site-footer__inner,
    .hero__grid {
        width: min(100% - 22px, 1240px);
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .movie-card {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .movie-card__cover {
        min-height: 100%;
    }

    .movie-card__body {
        padding: 13px;
    }
}
