:root {
    color-scheme: dark;
    --bg: #0f172a;
    --bg-soft: #111827;
    --bg-deep: #020617;
    --panel: rgba(30, 41, 59, 0.58);
    --panel-strong: rgba(15, 23, 42, 0.88);
    --line: rgba(148, 163, 184, 0.18);
    --line-strong: rgba(148, 163, 184, 0.32);
    --text: #e2e8f0;
    --muted: #94a3b8;
    --dim: #64748b;
    --white: #ffffff;
    --accent: #e2e8f0;
    --accent-dark: #0f172a;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shadow: 0 28px 80px rgba(2, 6, 23, 0.42);
    --max-width: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(71, 85, 105, 0.32), transparent 36rem), linear-gradient(180deg, #0f172a 0%, #1e293b 45%, #0f172a 100%);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.44)), radial-gradient(circle at 80% 10%, rgba(148, 163, 184, 0.16), transparent 26rem);
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(100% - 32px, var(--max-width));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-symbol {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(226, 232, 240, 0.92), rgba(100, 116, 139, 0.86));
    color: #0f172a;
    box-shadow: 0 14px 36px rgba(2, 6, 23, 0.35);
    font-size: 15px;
}

.brand-text {
    font-size: 20px;
    color: transparent;
    background: linear-gradient(90deg, #f8fafc, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.desktop-nav::-webkit-scrollbar {
    display: none;
}

.nav-link,
.mobile-nav-link {
    border-radius: 12px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
    transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.nav-link {
    padding: 10px 14px;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(51, 65, 85, 0.74);
    color: #f8fafc;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    color: var(--text);
    background: rgba(51, 65, 85, 0.68);
}

.mobile-nav {
    display: none;
    width: min(100% - 32px, var(--max-width));
    margin: 0 auto;
    padding: 10px 0 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

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

.mobile-nav-link {
    padding: 12px 14px;
    background: rgba(15, 23, 42, 0.56);
}

.hero {
    position: relative;
    min-height: 72vh;
    overflow: hidden;
    background: #020617;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: none;
    min-height: 72vh;
}

.hero-slide.is-active {
    display: block;
}

.hero-image {
    width: 100%;
    height: 100%;
    min-height: 72vh;
    object-fit: cover;
    transform: scale(1.04);
    filter: saturate(0.88) brightness(0.68);
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.98) 0%, rgba(15, 23, 42, 0.88) 42%, rgba(15, 23, 42, 0.24) 100%), linear-gradient(0deg, rgba(15, 23, 42, 1) 0%, transparent 34%, rgba(2, 6, 23, 0.55) 100%);
}

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

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    margin-bottom: 18px;
    border: 1px solid rgba(226, 232, 240, 0.18);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.68);
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 700;
}

.hero h1,
.hero h2,
.page-hero h1 {
    margin: 0;
    color: #ffffff;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.hero h1 {
    font-size: clamp(46px, 7vw, 88px);
}

.hero h2 {
    margin-top: 14px;
    font-size: clamp(36px, 5vw, 70px);
}

.hero p {
    max-width: 760px;
    margin: 24px 0 0;
    color: #cbd5e1;
    font-size: clamp(16px, 2vw, 20px);
}

.hero-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(51, 65, 85, 0.78);
    color: #cbd5e1;
    font-size: 13px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.primary-button,
.ghost-button,
.section-action,
.filter-bar button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 12px;
    padding: 0 18px;
    font-weight: 800;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.primary-button {
    background: #f8fafc;
    color: #0f172a;
}

.primary-button:hover,
.ghost-button:hover,
.section-action:hover,
.filter-bar button:hover {
    transform: translateY(-2px);
}

.ghost-button,
.section-action {
    border: 1px solid rgba(226, 232, 240, 0.18);
    background: rgba(15, 23, 42, 0.52);
    color: #e2e8f0;
}

.hero-tools {
    position: absolute;
    right: max(16px, calc((100vw - var(--max-width)) / 2));
    bottom: 48px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-search {
    display: flex;
    min-width: min(420px, calc(100vw - 156px));
    padding: 6px;
    border: 1px solid rgba(226, 232, 240, 0.14);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.82);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.hero-search input,
.filter-bar input,
.filter-bar select {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    outline: 0;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.7);
    color: #f8fafc;
    padding: 0 14px;
}

.hero-search button,
.filter-bar button {
    border: 0;
    margin-left: 8px;
    background: #e2e8f0;
    color: #0f172a;
    border-radius: 12px;
    padding: 0 18px;
    font-weight: 800;
}

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

.hero-arrow {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(226, 232, 240, 0.16);
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.78);
    color: #f8fafc;
    font-size: 28px;
    line-height: 1;
}

.hero-dots {
    position: absolute;
    left: max(16px, calc((100vw - var(--max-width)) / 2));
    bottom: 58px;
    z-index: 4;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 38px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.4);
}

.hero-dot.is-active {
    background: #f8fafc;
}

.content-section {
    width: min(100% - 32px, var(--max-width));
    margin: 0 auto;
    padding: 70px 0 0;
}

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

.section-head h2,
.panel-title h2,
.detail-copy h2,
.info-panel h2,
.ranking-side h2 {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -0.035em;
}

.section-head p {
    margin: 8px 0 0;
    color: var(--muted);
}

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

.category-card {
    position: relative;
    min-height: 170px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.78), rgba(15, 23, 42, 0.78));
    box-shadow: 0 18px 54px rgba(2, 6, 23, 0.24);
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(226, 232, 240, 0.34);
}

.category-glow {
    position: absolute;
    top: -58px;
    right: -48px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.18);
    filter: blur(2px);
}

.category-card strong {
    position: relative;
    display: block;
    color: #f8fafc;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.category-card p {
    position: relative;
    margin: 12px 0 0;
    color: #94a3b8;
    font-size: 14px;
}

.category-card em {
    position: absolute;
    left: 24px;
    bottom: 22px;
    color: #e2e8f0;
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: var(--radius-md);
    background: rgba(30, 41, 59, 0.46);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    border-color: rgba(226, 232, 240, 0.32);
    background: rgba(30, 41, 59, 0.68);
}

.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(2, 6, 23, 0.52);
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease, filter 0.28s ease;
}

.movie-card:hover .movie-poster img {
    transform: scale(1.06);
    filter: brightness(0.82);
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(2, 6, 23, 0.84) 100%);
}

.play-mark,
.player-play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.play-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    transform: translate(-50%, -50%) scale(0.88);
    background: rgba(248, 250, 252, 0.92);
    color: #0f172a;
    opacity: 0;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.year-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 800;
}

.year-badge {
    right: 10px;
    bottom: 10px;
    padding: 4px 8px;
}

.rank-badge {
    top: 10px;
    left: 10px;
    min-width: 34px;
    height: 28px;
    padding: 0 8px;
    background: rgba(248, 250, 252, 0.92);
    color: #0f172a;
}

.movie-card-body {
    padding: 16px;
}

.movie-card-body h3 {
    margin: 0;
    color: #f8fafc;
    font-size: 17px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card-body p {
    min-height: 44px;
    margin: 9px 0 14px;
    color: #94a3b8;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: #64748b;
    font-size: 12px;
}

.movie-meta span {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.56);
}

.two-column-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 28px;
    align-items: start;
}

.ranking-panel,
.ranking-side,
.info-panel,
.poster-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.62);
    box-shadow: 0 18px 54px rgba(2, 6, 23, 0.22);
}

.ranking-panel {
    position: sticky;
    top: 90px;
    padding: 22px;
}

.panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.panel-title a {
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 800;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 38px 84px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 14px;
    background: rgba(30, 41, 59, 0.34);
    transition: background 0.18s ease, transform 0.18s ease;
}

.rank-row:hover {
    background: rgba(51, 65, 85, 0.62);
    transform: translateX(3px);
}

.rank-number {
    color: #f8fafc;
    font-size: 19px;
    font-weight: 900;
    text-align: center;
}

.rank-row img {
    width: 84px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
}

.rank-copy {
    min-width: 0;
}

.rank-copy strong,
.rank-copy em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-copy strong {
    color: #f8fafc;
    font-size: 15px;
}

.rank-copy em,
.rank-meta {
    color: #94a3b8;
    font-size: 12px;
    font-style: normal;
}

.page-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 16% 20%, rgba(148, 163, 184, 0.22), transparent 30rem), linear-gradient(135deg, rgba(2, 6, 23, 0.82), rgba(30, 41, 59, 0.78));
}

.page-hero > div {
    width: min(100% - 32px, var(--max-width));
    margin: 0 auto;
    padding: 84px 0;
}

.small-hero h1 {
    max-width: 860px;
    font-size: clamp(38px, 6vw, 68px);
}

.small-hero p {
    max-width: 820px;
    margin: 18px 0 0;
    color: #cbd5e1;
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    color: #94a3b8;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #f8fafc;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 12px;
    margin-bottom: 24px;
}

.filter-bar select {
    color: #e2e8f0;
}

.empty-state {
    display: none;
    margin: 20px 0;
    padding: 28px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: var(--radius-md);
    background: rgba(15, 23, 42, 0.58);
    color: #94a3b8;
    text-align: center;
}

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

.ranking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
}

.large-rank-list .rank-row {
    grid-template-columns: 52px 124px minmax(0, 1fr) auto;
    padding: 14px;
}

.large-rank-list .rank-row img {
    width: 124px;
}

.ranking-side {
    position: sticky;
    top: 90px;
    padding: 24px;
}

.side-category-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.side-category-list a {
    padding: 12px 14px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 12px;
    background: rgba(30, 41, 59, 0.36);
    color: #cbd5e1;
    font-weight: 700;
}

.side-category-list a:hover {
    background: rgba(51, 65, 85, 0.56);
    color: #f8fafc;
}

.detail-shell {
    width: min(100% - 32px, var(--max-width));
    margin: 0 auto;
    padding: 34px 0 0;
}

.detail-breadcrumb {
    margin: 12px 0 22px;
}

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

.player-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: var(--radius-lg);
    background: #000000;
    box-shadow: var(--shadow);
}

.movie-player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.36), rgba(2, 6, 23, 0.84));
    color: #ffffff;
    text-align: center;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

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

.player-play-icon {
    width: 74px;
    height: 74px;
    background: rgba(248, 250, 252, 0.92);
    color: #0f172a;
    font-size: 28px;
    box-shadow: 0 16px 40px rgba(2, 6, 23, 0.38);
}

.player-overlay strong {
    max-width: min(88%, 760px);
    color: #f8fafc;
    font-size: clamp(22px, 4vw, 38px);
    line-height: 1.15;
}

.player-overlay em {
    color: #cbd5e1;
    font-style: normal;
    font-weight: 800;
}

.detail-title-block {
    padding: 28px 0 8px;
}

.detail-title-block h1 {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(30px, 5vw, 48px);
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.detail-title-block p {
    margin: 16px 0 0;
    color: #cbd5e1;
    font-size: 18px;
}

.detail-copy {
    margin-top: 20px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: var(--radius-lg);
    background: rgba(30, 41, 59, 0.46);
    padding: 24px;
}

.detail-copy p {
    margin: 12px 0 0;
    color: #cbd5e1;
    font-size: 16px;
}

.detail-aside {
    position: sticky;
    top: 90px;
    display: grid;
    gap: 18px;
}

.poster-panel {
    overflow: hidden;
    padding: 14px;
}

.poster-panel img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    object-fit: cover;
}

.full-button {
    width: 100%;
    margin-top: 14px;
}

.info-panel {
    padding: 22px;
}

.info-panel dl {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px 14px;
    margin: 18px 0 0;
}

.info-panel dt {
    color: #64748b;
}

.info-panel dd {
    margin: 0;
    color: #e2e8f0;
}

.info-panel a {
    color: #f8fafc;
    font-weight: 800;
}

.related-section {
    padding-top: 56px;
}

.site-footer {
    margin-top: 86px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(2, 6, 23, 0.58);
}

.footer-inner {
    width: min(100% - 32px, var(--max-width));
    margin: 0 auto;
    padding: 48px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px 260px;
    gap: 34px;
}

.footer-brand p {
    max-width: 420px;
    margin: 16px 0 0;
    color: #94a3b8;
}

.footer-links {
    display: grid;
    gap: 9px;
    align-content: start;
}

.footer-links strong {
    margin-bottom: 8px;
    color: #f8fafc;
}

.footer-links a {
    color: #94a3b8;
    font-size: 14px;
}

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

.footer-bottom {
    width: min(100% - 32px, var(--max-width));
    margin: 0 auto;
    padding: 20px 0 28px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    color: #64748b;
    font-size: 14px;
}

[hidden] {
    display: none !important;
}

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

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

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

    .two-column-section,
    .ranking-layout,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .ranking-panel,
    .ranking-side,
    .detail-aside {
        position: static;
    }

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

@media (max-width: 760px) {
    .header-inner {
        height: 62px;
    }

    .brand-text {
        font-size: 18px;
    }

    .hero,
    .hero-slide,
    .hero-image,
    .hero-content {
        min-height: 680px;
    }

    .hero-content {
        padding: 78px 0 190px;
    }

    .hero-tools {
        left: 16px;
        right: 16px;
        bottom: 62px;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-search {
        min-width: 0;
        width: 100%;
    }

    .hero-control-group {
        justify-content: flex-end;
    }

    .hero-dots {
        left: 16px;
        bottom: 24px;
    }

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

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

    .movie-card-body {
        padding: 13px;
    }

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

    .large-rank-list .rank-row,
    .rank-row {
        grid-template-columns: 36px 78px minmax(0, 1fr);
    }

    .rank-row img,
    .large-rank-list .rank-row img {
        width: 78px;
    }

    .rank-meta {
        display: none;
    }

    .detail-aside,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .category-grid,
    .movie-grid,
    .compact-grid {
        grid-template-columns: 1fr;
    }

    .hero-search {
        flex-direction: column;
        gap: 8px;
    }

    .hero-search button {
        margin-left: 0;
    }

    .page-hero > div {
        padding: 58px 0;
    }
}
