:root {
    --sand-50: #fdfbf7;
    --sand-100: #f8f3e8;
    --sand-200: #f2e5cc;
    --sand-300: #e8d2a8;
    --desert-50: #fef8f0;
    --desert-100: #fdefd9;
    --desert-300: #f6b870;
    --desert-400: #f2984d;
    --desert-500: #ee7b29;
    --desert-600: #d8631a;
    --dune-600: #a95b23;
    --stone-50: #f7f4ef;
    --stone-100: #eee9df;
    --stone-200: #dbd7cc;
    --stone-500: #82786c;
    --stone-600: #6b6257;
    --stone-700: #5d5449;
    --stone-800: #403a33;
    --stone-900: #27221d;
    --white: #ffffff;
    --shadow-sm: 0 6px 18px rgba(64, 58, 51, 0.08);
    --shadow-md: 0 14px 34px rgba(64, 58, 51, 0.12);
    --shadow-lg: 0 24px 60px rgba(64, 58, 51, 0.22);
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--stone-800);
    background: linear-gradient(180deg, var(--sand-50), var(--stone-50));
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(253, 251, 247, 0.96), rgba(254, 248, 240, 0.96));
    border-bottom: 1px solid var(--sand-200);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(18px);
}

.nav-shell {
    width: min(1180px, calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 20px;
    color: var(--stone-800);
    white-space: nowrap;
}

.brand-icon {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--desert-500), var(--dune-600));
    box-shadow: 0 12px 26px rgba(238, 123, 41, 0.28);
    transition: transform 0.22s ease;
}

.brand:hover .brand-icon {
    transform: scale(1.08) rotate(-2deg);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    color: var(--stone-700);
    font-weight: 650;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--desert-600);
}

.site-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-search-form input {
    width: 260px;
    min-height: 42px;
    border: 1px solid var(--sand-300);
    border-radius: 999px;
    background: var(--white);
    padding: 0 16px;
    color: var(--stone-800);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-search-form input:focus {
    border-color: var(--desert-500);
    box-shadow: 0 0 0 4px rgba(238, 123, 41, 0.14);
}

.site-search-form button,
.primary-button,
.glass-button,
.text-link,
.section-more {
    cursor: pointer;
}

.site-search-form button,
.primary-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 0 22px;
    color: var(--white);
    background: var(--desert-500);
    font-weight: 750;
    box-shadow: 0 14px 28px rgba(238, 123, 41, 0.25);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.site-search-form button:hover,
.primary-button:hover {
    background: var(--desert-600);
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 18px 36px rgba(216, 99, 26, 0.3);
}

.primary-button.light {
    color: var(--desert-600);
    background: var(--white);
}

.glass-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 22px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.32);
    font-weight: 750;
    backdrop-filter: blur(12px);
    transition: transform 0.2s ease, background 0.2s ease;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-1px);
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--sand-100);
    padding: 10px;
}

.menu-button span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 999px;
    background: var(--stone-800);
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--sand-200);
    background: var(--sand-50);
    padding: 16px;
}

.mobile-panel.is-open {
    display: grid;
    gap: 12px;
}

.mobile-panel a {
    padding: 10px 6px;
    color: var(--stone-700);
    font-weight: 700;
}

.hero-carousel {
    position: relative;
    min-height: 500px;
    height: 70vh;
    overflow: hidden;
    color: var(--white);
    background: var(--stone-900);
}

.hero-track,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.72s ease, visibility 0.72s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-slide img,
.detail-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.08));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 760px;
    align-items: flex-start;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--desert-300);
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

.hero-content h1 {
    max-width: 760px;
    margin: 0 0 22px;
    font-size: clamp(38px, 6vw, 76px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.hero-content p {
    max-width: 680px;
    margin: 0 0 22px;
    font-size: clamp(17px, 2.1vw, 22px);
    color: rgba(255, 255, 255, 0.82);
}

.hero-tags,
.detail-tags,
.mini-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.detail-tags .tag,
.mini-tags span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.hero-tags span {
    padding: 6px 12px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

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

.hero-controls {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-controls button {
    border: 0;
    color: var(--white);
}

.hero-controls > button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    font-size: 30px;
    line-height: 1;
    backdrop-filter: blur(10px);
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dots button {
    width: 28px;
    height: 8px;
    border-radius: 999px;
    padding: 0;
    background: rgba(255, 255, 255, 0.38);
}

.hero-dots button.is-active {
    width: 42px;
    background: var(--desert-400);
}

.featured-overlap {
    position: relative;
    z-index: 5;
    margin-top: -86px;
}

.featured-grid,
.poster-grid,
.wide-grid,
.tile-grid,
.category-grid,
.overview-grid,
.compact-grid {
    display: grid;
    gap: 24px;
}

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

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

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

.section-heading h2,
.center-heading h2,
.site-footer h2,
.text-panel h2 {
    margin: 0;
    color: var(--stone-800);
}

.section-heading h2,
.center-heading h2 {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.12;
}

.section-heading p,
.center-heading p {
    margin: 8px 0 0;
    color: var(--stone-600);
}

.section-more,
.text-link {
    color: var(--desert-600);
    font-weight: 800;
}

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

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

.movie-card,
.movie-card-wide,
.compact-card,
.category-overview-card {
    background: var(--white);
    border: 1px solid rgba(232, 210, 168, 0.72);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover,
.movie-card-wide:hover,
.compact-card:hover,
.category-overview-card:hover {
    transform: translateY(-5px);
    border-color: var(--sand-300);
    box-shadow: var(--shadow-md);
}

.poster-link,
.wide-poster,
.compact-thumb,
.rank-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, var(--stone-800), var(--desert-500));
}

.poster-link {
    aspect-ratio: 3 / 4;
}

.poster-link img,
.wide-poster img,
.compact-thumb img,
.rank-thumb img,
.cover-tile img,
.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.movie-card:hover img,
.movie-card-wide:hover img,
.compact-card:hover img,
.rank-row:hover img,
.cover-tile:hover img {
    transform: scale(1.08);
}

.year-badge,
.play-chip {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
}

.year-badge {
    top: 12px;
    right: 12px;
    padding: 4px 9px;
    background: rgba(0, 0, 0, 0.66);
}

.play-chip {
    left: 12px;
    bottom: 12px;
    padding: 6px 12px;
    background: var(--desert-500);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.movie-card-body,
.wide-content {
    padding: 18px;
}

.meta-line,
.detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--stone-500);
    font-size: 13px;
    font-weight: 700;
}

.meta-line span,
.detail-meta span {
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--sand-100);
}

.movie-card h3,
.movie-card-wide h3,
.compact-card h3,
.rank-row h3 {
    margin: 12px 0 8px;
    font-size: 18px;
    line-height: 1.3;
    color: var(--stone-800);
}

.movie-card h3 a:hover,
.movie-card-wide h3 a:hover,
.compact-card h3 a:hover,
.rank-row h3 a:hover {
    color: var(--desert-600);
}

.movie-card p,
.movie-card-wide p,
.rank-row p {
    margin: 0 0 12px;
    color: var(--stone-600);
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mini-tags span {
    padding: 4px 8px;
    color: var(--stone-600);
    background: var(--desert-50);
}

.warm-band {
    background: linear-gradient(90deg, var(--desert-100), var(--sand-100));
}

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

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

.wide-poster {
    min-height: 240px;
}

.dark-band {
    padding: 72px 0;
    color: var(--white);
    background: linear-gradient(180deg, var(--stone-800), var(--stone-900));
}

.dark-band .center-heading h2,
.dark-band .center-heading p {
    color: var(--white);
}

.center-heading {
    text-align: center;
    margin-bottom: 36px;
}

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

.cover-tile {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cover-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.78));
}

.cover-tile span {
    position: absolute;
    z-index: 2;
    left: 16px;
    right: 16px;
    bottom: 16px;
    font-weight: 800;
    line-height: 1.35;
}

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

.category-card,
.category-overview-head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 166px;
    padding: 24px;
    border-radius: var(--radius-xl);
    color: var(--white);
    background: linear-gradient(135deg, var(--desert-500), var(--dune-600));
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover,
.category-overview-head:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.category-card span,
.category-overview-head span {
    font-weight: 800;
    font-size: 20px;
}

.category-card strong,
.category-overview-head strong {
    font-size: 14px;
    opacity: 0.88;
}

.category-card em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}

.cta-section {
    padding-top: 0;
}

.cta-card {
    border-radius: var(--radius-2xl);
    padding: clamp(30px, 6vw, 58px);
    text-align: center;
    color: var(--white);
    background: linear-gradient(90deg, var(--desert-500), var(--dune-600));
    box-shadow: var(--shadow-md);
}

.cta-card h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 48px);
}

.cta-card p {
    max-width: 720px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.84);
}

.page-hero {
    padding: 78px 0 28px;
}

.compact-page-hero {
    max-width: 960px;
}

.page-hero h1 {
    margin: 0;
    color: var(--stone-800);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 840px;
    margin: 16px 0 0;
    color: var(--stone-600);
    font-size: 18px;
}

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

.category-overview-card {
    padding: 18px;
}

.category-overview-card p {
    color: var(--stone-600);
}

.category-overview-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--desert-600);
    font-weight: 700;
}

.filter-panel {
    display: grid;
    grid-template-columns: 1.2fr 0.6fr 0.8fr;
    gap: 14px;
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid var(--sand-200);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--shadow-sm);
}

.filter-panel label {
    display: grid;
    gap: 8px;
    color: var(--stone-600);
    font-weight: 800;
}

.filter-panel input {
    min-height: 44px;
    border: 1px solid var(--sand-300);
    border-radius: 14px;
    padding: 0 14px;
    color: var(--stone-800);
    outline: none;
}

.filter-panel input:focus {
    border-color: var(--desert-500);
    box-shadow: 0 0 0 4px rgba(238, 123, 41, 0.12);
}

.empty-state {
    display: none;
    margin: 26px 0 0;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: var(--desert-50);
    color: var(--stone-600);
    font-weight: 700;
}

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

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

.rank-list > .rank-number {
    display: none;
}

.rank-row {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--sand-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.rank-thumb {
    aspect-ratio: 3 / 4;
    border-radius: 14px;
}

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

.compact-card {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 10px;
}

.compact-thumb {
    aspect-ratio: 3 / 4;
    border-radius: 14px;
}

.compact-card h3 {
    margin: 0 0 4px;
    font-size: 16px;
    line-height: 1.35;
}

.compact-card p {
    margin: 0;
    color: var(--stone-500);
    font-size: 13px;
}

.detail-hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    color: var(--white);
    background: var(--stone-900);
}

.detail-bg,
.detail-layer {
    position: absolute;
    inset: 0;
}

.detail-bg {
    opacity: 0.45;
    filter: blur(2px);
    transform: scale(1.02);
}

.detail-layer {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.26));
}

.detail-shell {
    position: relative;
    z-index: 2;
    min-height: 620px;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: center;
    gap: clamp(26px, 5vw, 64px);
    padding: 58px 0;
}

.detail-poster {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--stone-800), var(--desert-500));
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
}

.breadcrumb a:hover {
    color: var(--desert-300);
}

.detail-info h1 {
    margin: 0 0 18px;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.detail-one-line {
    max-width: 760px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 19px;
}

.detail-meta span {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
}

.detail-tags {
    margin: 22px 0 30px;
}

.detail-tags .tag {
    padding: 6px 12px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.player-card {
    overflow: hidden;
    border-radius: var(--radius-2xl);
    background: #000;
    box-shadow: var(--shadow-lg);
}

.video-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-wrap video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: 0;
    color: var(--white);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.62));
    cursor: pointer;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.player-card.is-playing .player-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-circle {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--desert-500);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
    font-size: 30px;
    padding-left: 5px;
}

.player-overlay strong {
    max-width: min(620px, calc(100% - 48px));
    font-size: clamp(20px, 3vw, 32px);
    text-align: center;
}

.detail-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-top: 0;
}

.text-panel {
    padding: 30px;
    border: 1px solid var(--sand-200);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.text-panel h2 {
    margin-bottom: 12px;
    font-size: 26px;
}

.text-panel p {
    margin: 0;
    color: var(--stone-600);
}

.site-footer {
    color: var(--stone-300);
    background: linear-gradient(180deg, var(--stone-800), var(--stone-900));
}

.footer-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 54px 0;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 42px;
}

.footer-logo,
.footer-logo span:last-child,
.site-footer h2 {
    color: var(--white);
}

.footer-brand p {
    color: var(--stone-200);
    max-width: 620px;
}

.copyright {
    color: var(--stone-500) !important;
    font-size: 14px;
}

.site-footer ul {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.site-footer a {
    color: var(--stone-300);
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--desert-300);
}

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

    .menu-button {
        display: block;
    }

    .featured-grid,
    .poster-grid,
    .poster-grid.three,
    .category-grid,
    .compact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wide-grid,
    .overview-grid,
    .detail-copy {
        grid-template-columns: 1fr;
    }

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

    .detail-shell {
        grid-template-columns: 220px minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .shell,
    .nav-shell,
    .hero-content,
    .footer-grid {
        width: min(100% - 24px, 1180px);
    }

    .brand span:last-child {
        display: none;
    }

    .mobile-panel .site-search-form {
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .mobile-panel .site-search-form input {
        width: 100%;
    }

    .hero-carousel {
        height: 78vh;
    }

    .hero-shade {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.54));
    }

    .hero-content {
        justify-content: flex-end;
        padding-bottom: 110px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .primary-button,
    .glass-button {
        width: 100%;
    }

    .featured-overlap {
        margin-top: 24px;
    }

    .featured-grid,
    .poster-grid,
    .poster-grid.three,
    .category-grid,
    .compact-grid,
    .tile-grid {
        grid-template-columns: 1fr;
    }

    .movie-card-wide,
    .rank-row,
    .compact-card {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .wide-poster {
        min-height: auto;
        aspect-ratio: 3 / 4;
    }

    .rank-row .text-link {
        grid-column: 2;
    }

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

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

    .detail-shell {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 36px 0;
    }

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

    .detail-hero {
        min-height: auto;
    }

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