:root {
    color-scheme: light;
    --bg: #f8fafc;
    --panel: #ffffff;
    --text: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --brand: #dc2626;
    --brand-dark: #b91c1c;
    --brand-soft: #fff1f2;
    --rose: #e11d48;
    --gold: #f59e0b;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 46%, #f3f4f6 100%);
    color: var(--text);
    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%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(248, 250, 252, 0.96), rgba(249, 250, 251, 0.96));
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(16px);
}

.header-inner {
    max-width: 1280px;
    height: 68px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 250px;
}

.brand-icon,
.footer-logo span {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand), var(--rose));
    color: #fff;
    box-shadow: 0 12px 25px rgba(220, 38, 38, 0.28);
    transition: transform 0.25s ease;
}

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

.brand-text strong {
    display: block;
    color: #1f2937;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-text small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: -3px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
}

.main-nav a,
.mobile-panel a {
    color: #374151;
    font-weight: 700;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active,
.mobile-panel a:hover,
.mobile-panel a.active {
    color: var(--brand);
}

.header-search {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 300px;
}

.header-search input,
.mobile-search input,
.filter-bar input,
.filter-bar select {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
    height: 40px;
    padding: 0 96px 0 18px;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

.header-search button,
.mobile-search button,
.primary-button,
.secondary-button,
.hero-button,
.play-button,
.filter-clear {
    border: 0;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.header-search button {
    width: 78px;
    height: 34px;
    margin-left: -83px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
}

.header-search button:hover,
.primary-button:hover,
.hero-button:hover,
.play-button:hover,
.filter-clear:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    font-size: 26px;
    color: #374151;
    cursor: pointer;
}

.mobile-panel {
    display: none;
    padding: 16px 24px 22px;
    border-top: 1px solid var(--line);
    background: #fff;
}

.mobile-panel.open {
    display: block;
}

.mobile-panel a {
    display: block;
    padding: 10px 0;
}

.mobile-search {
    display: flex;
    gap: 8px;
    margin: 12px 0;
}

.mobile-search input {
    height: 42px;
    padding: 0 16px;
}

.mobile-search button {
    min-width: 72px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
}

.mobile-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding-top: 10px;
}

.page-main,
.section-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #020617;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.48) 48%, rgba(0, 0, 0, 0.1));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px 74px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: #fecaca;
    font-weight: 900;
    margin-bottom: 14px;
}

.hero-content h1,
.hero-content h2 {
    max-width: 860px;
    margin: 0 0 16px;
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-content p {
    max-width: 720px;
    margin: 0 0 22px;
    color: #e5e7eb;
    font-size: 18px;
}

.hero-meta,
.detail-meta,
.result-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #d1d5db;
    font-size: 14px;
}

.hero-meta span,
.detail-meta span,
.result-meta span {
    border-radius: 999px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
}

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

.hero-button,
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 16px 28px rgba(220, 38, 38, 0.28);
}

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

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

.hero-control {
    position: absolute;
    z-index: 4;
    top: 50%;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
    background: rgba(255, 255, 255, 0.34);
    transform: translateY(-50%) scale(1.04);
}

.hero-control.prev {
    left: 24px;
    transform: translateY(-50%);
}

.hero-control.next {
    right: 24px;
    transform: translateY(-50%);
}

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

.hero-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.active {
    width: 34px;
    background: #fff;
}

.quick-category-strip {
    max-width: 1280px;
    margin: -28px auto 54px;
    position: relative;
    z-index: 5;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.quick-category-strip a {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    border: 1px solid rgba(229, 231, 235, 0.85);
    font-weight: 900;
    color: #1f2937;
    transition: transform 0.2s ease, color 0.2s ease;
}

.quick-category-strip a span {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}

.quick-category-strip a:hover {
    transform: translateY(-4px);
    color: var(--brand);
}

.section-block {
    margin: 0 auto 64px;
}

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

.section-heading h2,
.page-title h1,
.detail-info h1 {
    margin: 0;
    color: #1f2937;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.section-heading h2 {
    font-size: 28px;
}

.section-heading p,
.page-title p {
    margin: 6px 0 0;
    color: var(--muted);
}

.section-more {
    color: var(--brand);
    font-weight: 900;
}

.horizontal-scroll {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 4px 4px 18px;
    scroll-snap-type: x proximity;
}

.horizontal-scroll .movie-card {
    min-width: 290px;
    max-width: 290px;
    scroll-snap-align: start;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: 18px;
    background: var(--panel);
    border: 1px solid rgba(229, 231, 235, 0.9);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(248, 113, 113, 0.42);
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.14);
}

.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #111827, #450a0a);
}

.movie-card-small .movie-poster {
    aspect-ratio: 4 / 5;
}

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

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

.poster-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.poster-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--brand);
    transform: translate(-50%, -50%) scale(0.86);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

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

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

.movie-card-body h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
    color: #111827;
}

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

.movie-card-body p {
    min-height: 46px;
    margin: 0 0 12px;
    color: #4b5563;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta,
.movie-genre {
    color: var(--muted);
    font-size: 13px;
}

.movie-genre {
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.tag-list span {
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 700;
}

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

.category-preview {
    padding: 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(229, 231, 235, 0.9);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.category-preview-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.category-preview h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 900;
    color: #374151;
}

.category-preview h3::before {
    content: "";
    width: 5px;
    height: 24px;
    border-radius: 999px;
    background: var(--brand);
}

.category-preview-head a {
    color: var(--brand);
    font-weight: 900;
    white-space: nowrap;
}

.rank-panel {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: stretch;
}

.rank-highlight {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    border-radius: 26px;
    background: #111827;
    color: #fff;
    box-shadow: var(--shadow);
}

.rank-highlight img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
}

.rank-highlight-content {
    position: absolute;
    inset: auto 0 0;
    padding: 34px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), transparent);
}

.rank-highlight h3 {
    margin: 0 0 10px;
    font-size: 34px;
    font-weight: 900;
}

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

.compact-link {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    min-height: 54px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(229, 231, 235, 0.9);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.compact-link:hover {
    transform: translateX(4px);
    border-color: rgba(248, 113, 113, 0.45);
}

.rank-number,
.rank-dot {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 900;
    font-size: 13px;
}

.rank-dot {
    width: 10px;
    height: 10px;
}

.compact-title {
    color: #1f2937;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-meta {
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}

.page-hero {
    padding: 58px 0 34px;
    background: radial-gradient(circle at top left, rgba(254, 202, 202, 0.64), transparent 32%), linear-gradient(135deg, #fff, #f8fafc);
    border-bottom: 1px solid rgba(229, 231, 235, 0.86);
}

.page-title {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-title h1 {
    font-size: clamp(32px, 5vw, 52px);
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--brand);
    font-weight: 800;
}

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

.category-card {
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(229, 231, 235, 0.9);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-card h2 {
    margin: 0 0 10px;
    color: #1f2937;
    font-size: 22px;
    font-weight: 900;
}

.category-card p {
    margin: 0 0 18px;
    color: var(--muted);
}

.category-card .category-arrow {
    color: var(--brand);
    font-weight: 900;
}

.filter-bar {
    display: grid;
    grid-template-columns: 1fr 180px 180px auto;
    gap: 12px;
    align-items: center;
    margin: 34px 0 26px;
    padding: 16px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(229, 231, 235, 0.9);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}

.filter-bar input,
.filter-bar select {
    height: 44px;
    padding: 0 15px;
}

.filter-clear {
    height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
}

.empty-result {
    display: none;
    padding: 36px;
    border-radius: 24px;
    background: #fff;
    color: var(--muted);
    text-align: center;
    border: 1px solid var(--line);
}

.empty-result.show {
    display: block;
}

.detail-page {
    padding: 34px 24px 72px;
}

.detail-layout {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(320px, 0.8fr);
    gap: 30px;
}

.player-card,
.detail-info,
.related-panel,
.side-card {
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(229, 231, 235, 0.9);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

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

.player-wrap video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18));
    cursor: pointer;
}

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

.play-button {
    width: 84px;
    height: 84px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 32px;
    box-shadow: 0 22px 44px rgba(220, 38, 38, 0.36);
}

.player-message {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: none;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(17, 24, 39, 0.88);
    color: #fff;
    text-align: center;
}

.player-message.show {
    display: block;
}

.detail-info {
    margin-top: 24px;
    padding: 28px;
}

.detail-info h1 {
    font-size: clamp(30px, 4vw, 46px);
    margin-bottom: 18px;
}

.detail-info .detail-meta span {
    background: var(--brand-soft);
    color: #7f1d1d;
}

.detail-summary {
    margin-top: 24px;
    color: #374151;
}

.detail-summary h2 {
    margin: 28px 0 10px;
    font-size: 24px;
    color: #1f2937;
    font-weight: 900;
}

.detail-summary p {
    margin: 0;
}

.side-card {
    padding: 22px;
    margin-bottom: 24px;
}

.side-card h2,
.related-panel h2 {
    margin: 0 0 18px;
    font-size: 22px;
    color: #1f2937;
    font-weight: 900;
}

.side-poster {
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #111827, #450a0a);
}

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

.info-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    color: #4b5563;
}

.info-list div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.info-list span:first-child {
    color: var(--muted);
}

.related-panel {
    padding: 22px;
}

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

.search-page-grid {
    margin-bottom: 72px;
}

.site-footer {
    background: #111827;
    color: #d1d5db;
    margin-top: 76px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 44px 24px;
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr;
    gap: 38px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.footer-brand p {
    max-width: 470px;
    color: #9ca3af;
}

.footer-links h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 16px;
}

.footer-links a {
    display: block;
    margin: 8px 0;
    color: #d1d5db;
    font-size: 14px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(75, 85, 99, 0.72);
    padding: 18px 24px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

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

    .menu-toggle {
        display: block;
    }

    .brand {
        min-width: auto;
    }

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

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

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

@media (max-width: 820px) {
    .header-inner {
        height: auto;
        min-height: 66px;
        padding: 12px 18px;
    }

    .header-search {
        display: none;
    }

    .brand-text strong {
        font-size: 17px;
    }

    .brand-text small {
        display: none;
    }

    .hero-slider {
        height: 520px;
    }

    .hero-content {
        padding-bottom: 82px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-control {
        display: none;
    }

    .quick-category-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 42px;
    }

    .movie-grid,
    .movie-grid-small,
    .category-preview-grid,
    .category-overview,
    .footer-inner,
    .related-grid {
        grid-template-columns: 1fr;
    }

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

    .compact-link {
        grid-template-columns: auto 1fr;
    }

    .compact-meta {
        grid-column: 2;
    }
}

@media (max-width: 560px) {
    .page-main,
    .section-shell,
    .page-title,
    .detail-page {
        padding-left: 16px;
        padding-right: 16px;
    }

    .quick-category-strip {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-content {
        padding-left: 16px;
        padding-right: 16px;
    }

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

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

    .movie-card-body h3 {
        font-size: 15px;
    }

    .movie-card-body p,
    .movie-genre,
    .tag-list {
        display: none;
    }

    .section-heading {
        display: block;
    }

    .rank-highlight {
        min-height: 360px;
    }
}
