:root {
    --toffee-primary: #C87941;
    --toffee-secondary: #E5A76B;
    --toffee-light: #F5E6D3;
    --toffee-cream: #FFF8F0;
    --toffee-caramel: #B8784F;
    --toffee-brown: #8B5A3C;
    --toffee-dark: #6B4423;
    --cloud-white: #FFFFFF;
    --cloud-soft: #F9F9F9;
    --shadow-cloud: 0 8px 32px rgba(200, 121, 65, 0.12);
    --shadow-strong: 0 24px 80px rgba(107, 68, 35, 0.22);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--toffee-dark);
    background:
        radial-gradient(circle at 12% 8%, rgba(229, 167, 107, 0.22), transparent 28rem),
        radial-gradient(circle at 90% 0%, rgba(200, 121, 65, 0.16), transparent 22rem),
        linear-gradient(135deg, var(--toffee-cream) 0%, #FFFFFF 52%, #F5E6D3 100%);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

img,
video {
    max-width: 100%;
    height: auto;
}

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 248, 240, 0.82);
    border-bottom: 1px solid rgba(245, 230, 211, 0.78);
    backdrop-filter: blur(18px);
}

.site-header-inner {
    width: min(1180px, calc(100% - 32px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #FFFFFF;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--toffee-primary), var(--toffee-secondary));
    box-shadow: 0 10px 28px rgba(200, 121, 65, 0.28);
}

.brand-name {
    font-size: 22px;
    color: var(--toffee-dark);
}

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

.desktop-nav a,
.mobile-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: rgba(107, 68, 35, 0.78);
    font-weight: 600;
    transition: 0.25s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
    color: var(--toffee-primary);
    background: rgba(245, 230, 211, 0.55);
}

.top-search {
    display: flex;
    align-items: center;
    min-width: 310px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(245, 230, 211, 0.86);
    border-radius: 999px;
    box-shadow: var(--shadow-cloud);
}

.top-search input {
    width: 100%;
    border: 0;
    outline: none;
    padding: 11px 14px 11px 18px;
    color: var(--toffee-dark);
    background: transparent;
}

.top-search button {
    border: 0;
    padding: 11px 18px;
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--toffee-primary), var(--toffee-secondary));
    cursor: pointer;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-cloud);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 999px;
    background: var(--toffee-dark);
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-cloud);
}

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

.hero {
    position: relative;
    min-height: 690px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(107, 68, 35, 0.22), transparent 45%),
        radial-gradient(circle at 78% 18%, rgba(200, 121, 65, 0.24), transparent 24rem),
        radial-gradient(circle at 60% 72%, rgba(229, 167, 107, 0.24), transparent 18rem);
}

.hero-inner {
    position: relative;
    min-height: 690px;
    display: grid;
    align-items: center;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 48px;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(24px) scale(0.98);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-copy {
    padding: 72px 0 110px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--toffee-primary);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.ranking-hero h1,
.detail-copy h1 {
    margin: 0;
    color: var(--toffee-dark);
    font-size: clamp(42px, 7vw, 88px);
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.hero p,
.page-hero p,
.ranking-hero p,
.detail-copy p {
    max-width: 660px;
    margin: 24px 0 0;
    color: rgba(107, 68, 35, 0.78);
    font-size: clamp(16px, 2vw, 21px);
}

.hero-tags,
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-tags span,
.chip-row span {
    padding: 8px 13px;
    color: var(--toffee-brown);
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(245, 230, 211, 0.92);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(200, 121, 65, 0.08);
}

.chip-row.soft span {
    background: rgba(245, 230, 211, 0.42);
}

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

.toffee-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.toffee-btn:hover {
    transform: translateY(-3px) scale(1.02);
}

.toffee-btn-primary {
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--toffee-primary), var(--toffee-secondary));
    box-shadow: 0 16px 36px rgba(200, 121, 65, 0.28);
}

.toffee-btn-soft {
    color: var(--toffee-dark);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(245, 230, 211, 0.95);
    box-shadow: var(--shadow-cloud);
}

.hero-media {
    position: relative;
    min-height: 530px;
    display: block;
    border-radius: 38px;
    isolation: isolate;
    transform: rotate(2deg);
}

.hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 38px;
    box-shadow: var(--shadow-strong);
    transition: transform 0.5s ease;
}

.hero-media:hover img {
    transform: scale(1.03);
}

.hero-glow {
    position: absolute;
    inset: auto 10% -8% 10%;
    height: 28%;
    border-radius: 999px;
    background: rgba(229, 167, 107, 0.38);
    filter: blur(34px);
    z-index: -1;
}

.hero-dots {
    position: absolute;
    left: 0;
    bottom: 60px;
    display: flex;
    gap: 10px;
}

.hero-dots button {
    width: 42px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(107, 68, 35, 0.18);
    cursor: pointer;
    transition: 0.25s ease;
}

.hero-dots button.is-active,
.hero-dots button:hover {
    width: 64px;
    background: linear-gradient(135deg, var(--toffee-primary), var(--toffee-secondary));
}

.quick-panel {
    margin-top: -34px;
    position: relative;
    z-index: 3;
}

.quick-panel-inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(245, 230, 211, 0.82);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-cloud);
    backdrop-filter: blur(12px);
}

.quick-panel a {
    display: grid;
    place-items: center;
    min-height: 50px;
    padding: 10px;
    color: var(--toffee-brown);
    font-weight: 800;
    border-radius: 18px;
    background: rgba(245, 230, 211, 0.38);
    transition: 0.25s ease;
}

.quick-panel a:hover {
    color: #FFFFFF;
    background: var(--toffee-primary);
    transform: translateY(-3px);
}

.section-block {
    padding: 72px 0;
}

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

.section-title {
    position: relative;
    margin: 0;
    color: var(--toffee-dark);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 66px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--toffee-primary), var(--toffee-secondary));
}

.section-link,
.text-link {
    color: var(--toffee-primary);
    font-weight: 800;
}

.toffee-card {
    border: 1px solid rgba(245, 230, 211, 0.88);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-cloud);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.toffee-card:hover {
    border-color: rgba(229, 167, 107, 0.78);
    box-shadow: 0 18px 50px rgba(200, 121, 65, 0.16);
    transform: translateY(-6px);
}

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

.category-tile {
    overflow: hidden;
    padding: 18px;
}

.category-covers {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    height: 118px;
    margin-bottom: 16px;
}

.category-covers img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.category-title {
    display: block;
    color: var(--toffee-dark);
    font-size: 20px;
    font-weight: 900;
}

.category-desc {
    display: block;
    margin-top: 8px;
    color: rgba(107, 68, 35, 0.68);
    font-size: 14px;
}

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

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

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

.movie-grid.compact {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.movie-card {
    overflow: hidden;
}

.movie-link {
    display: block;
    height: 100%;
}

.poster-frame {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(245, 230, 211, 0.95), rgba(255, 248, 240, 0.95));
}

.poster-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

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

.poster-shade {
    position: absolute;
    inset: auto 0 0;
    height: 44%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.62), transparent);
}

.play-chip {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 12px;
    color: #FFFFFF;
    background: rgba(200, 121, 65, 0.92);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.rank-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    min-width: 38px;
    height: 34px;
    padding: 0 10px;
    color: #FFFFFF;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--toffee-primary), var(--toffee-secondary));
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    font-weight: 900;
}

.movie-body {
    display: block;
    padding: 16px;
}

.movie-meta-line {
    display: block;
    color: rgba(139, 90, 60, 0.72);
    font-size: 13px;
    font-weight: 700;
}

.movie-title {
    display: block;
    margin-top: 6px;
    color: var(--toffee-dark);
    font-size: 18px;
    line-height: 1.32;
}

.movie-desc {
    display: block;
    margin-top: 8px;
    color: rgba(107, 68, 35, 0.68);
    font-size: 14px;
}

.page-main {
    min-height: 60vh;
}

.page-hero,
.ranking-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 82px;
    background:
        radial-gradient(circle at 12% 28%, rgba(229, 167, 107, 0.28), transparent 25rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(245, 230, 211, 0.62));
}

.slim-hero {
    padding: 82px 0 70px;
}

.category-hero {
    padding: 84px 0 72px;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) minmax(160px, 0.8fr) minmax(160px, 0.8fr);
    gap: 14px;
    margin-bottom: 28px;
    padding: 18px;
}

.filter-field {
    display: grid;
    gap: 7px;
}

.filter-field label {
    color: rgba(107, 68, 35, 0.72);
    font-size: 13px;
    font-weight: 800;
}

.filter-field input,
.filter-field select {
    width: 100%;
    border: 1px solid rgba(245, 230, 211, 0.95);
    outline: none;
    border-radius: 14px;
    padding: 12px 14px;
    color: var(--toffee-dark);
    background: rgba(255, 255, 255, 0.8);
}

.filter-field input:focus,
.filter-field select:focus {
    border-color: var(--toffee-secondary);
    box-shadow: 0 0 0 4px rgba(229, 167, 107, 0.18);
}

.empty-state {
    display: none;
    margin: 36px 0 0;
    padding: 24px;
    text-align: center;
    border-radius: 18px;
    color: var(--toffee-brown);
    background: rgba(255, 255, 255, 0.78);
}

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

.is-hidden {
    display: none !important;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    overflow: hidden;
}

.category-overview-media img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
}

.category-overview-body {
    padding: 24px;
}

.category-overview-body h2 {
    margin: 0;
    color: var(--toffee-dark);
    font-size: 26px;
}

.category-overview-body p {
    color: rgba(107, 68, 35, 0.72);
}

.sample-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 18px;
}

.sample-links a {
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--toffee-brown);
    background: rgba(245, 230, 211, 0.45);
    font-size: 13px;
    font-weight: 700;
}

.ranking-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 46px;
    align-items: center;
}

.ranking-cover {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: var(--shadow-strong);
}

.ranking-cover img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    display: block;
}

.ranking-cover span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 900;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 0 70px;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(28px) saturate(1.12);
    transform: scale(1.1);
    opacity: 0.28;
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(255, 248, 240, 0.94), rgba(255, 255, 255, 0.82));
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    color: rgba(107, 68, 35, 0.68);
    font-weight: 700;
}

.breadcrumb a {
    color: var(--toffee-primary);
}

.detail-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
}

.detail-poster img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.detail-copy h1 {
    font-size: clamp(40px, 6vw, 72px);
}

.player-card {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.86);
}

.video-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000000;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    border: 0;
    color: #FFFFFF;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.45));
    cursor: pointer;
}

.player-overlay.is-hidden {
    display: none;
}

.play-icon {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--toffee-primary), var(--toffee-secondary));
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
    font-size: 32px;
    line-height: 1;
}

.play-pulse {
    position: absolute;
    width: 112px;
    height: 112px;
    border-radius: 999px;
    background: rgba(229, 167, 107, 0.32);
    animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.7);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.28);
        opacity: 0;
    }
}

.player-info {
    padding: 22px 24px 26px;
}

.player-info h2,
.story-card h2,
.meta-card h2 {
    margin: 0 0 12px;
    color: var(--toffee-dark);
}

.player-info p {
    margin: 0;
    color: rgba(107, 68, 35, 0.7);
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) 360px;
    gap: 24px;
    align-items: start;
}

.story-card,
.meta-card {
    padding: 28px;
}

.story-card p {
    margin: 0 0 18px;
    color: rgba(107, 68, 35, 0.82);
    font-size: 17px;
}

.meta-card dl {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px 16px;
    margin: 0;
}

.meta-card dt {
    color: rgba(139, 90, 60, 0.68);
    font-weight: 800;
}

.meta-card dd {
    margin: 0;
    color: var(--toffee-dark);
}

.detail-switch {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.detail-switch a {
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--toffee-brown);
    background: rgba(245, 230, 211, 0.42);
    font-weight: 800;
}

.site-footer {
    padding: 42px 0;
    border-top: 1px solid rgba(245, 230, 211, 0.86);
    background: rgba(255, 255, 255, 0.65);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-brand {
    color: var(--toffee-primary);
    font-size: 22px;
    font-weight: 900;
}

.footer-inner p {
    max-width: 520px;
    margin: 0;
    color: rgba(107, 68, 35, 0.68);
}

.footer-links {
    display: flex;
    gap: 14px;
    font-weight: 800;
    color: var(--toffee-brown);
}

@media (max-width: 1080px) {
    .top-search {
        min-width: 240px;
    }

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

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

    .detail-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .desktop-nav,
    .top-search {
        display: none;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .hero,
    .hero-inner {
        min-height: 780px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 20px;
        align-content: center;
    }

    .hero-copy {
        padding: 54px 0 0;
    }

    .hero-media {
        min-height: 340px;
        transform: none;
    }

    .hero-dots {
        bottom: 34px;
    }

    .quick-panel-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-panel a:last-child {
        grid-column: span 2;
    }

    .category-grid,
    .movie-grid,
    .rank-grid,
    .rank-grid.large,
    .movie-grid.compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .category-overview-card,
    .ranking-hero-inner,
    .detail-layout,
    .filter-bar {
        grid-template-columns: 1fr;
    }

    .category-overview-media img {
        min-height: 260px;
    }

    .detail-poster {
        max-width: 320px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .container,
    .site-header-inner,
    .mobile-nav {
        width: min(100% - 22px, 1180px);
    }

    .site-header-inner {
        min-height: 66px;
    }

    .brand-name {
        font-size: 19px;
    }

    .hero,
    .hero-inner {
        min-height: 720px;
    }

    .hero h1,
    .page-hero h1,
    .ranking-hero h1,
    .detail-copy h1 {
        font-size: 40px;
    }

    .hero-media {
        min-height: 300px;
        border-radius: 26px;
    }

    .hero-media img {
        border-radius: 26px;
    }

    .section-block {
        padding: 52px 0;
    }

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

    .category-grid,
    .movie-grid,
    .rank-grid,
    .rank-grid.large,
    .movie-grid.compact {
        grid-template-columns: 1fr;
    }

    .quick-panel-inner {
        grid-template-columns: 1fr;
    }

    .quick-panel a:last-child {
        grid-column: auto;
    }

    .detail-content-grid {
        gap: 18px;
    }

    .story-card,
    .meta-card {
        padding: 22px;
    }

    .meta-card dl {
        grid-template-columns: 72px minmax(0, 1fr);
    }
}
