:root {
    color-scheme: light;
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #f1f5f9;
    --text: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --deep: #0f172a;
    --deep-2: #1e293b;
    --amber: #f59e0b;
    --orange: #f97316;
    --rose: #f43f5e;
    --shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 14px 35px rgba(15, 23, 42, 0.08);
    --radius: 24px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    line-height: 1.65;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.97), rgba(30, 41, 59, 0.97));
    color: #fff;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.25);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    color: #fff;
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.35);
}

.logo-text {
    font-size: 21px;
    background: linear-gradient(90deg, #fde68a, #fed7aa, #fff7ed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    justify-content: flex-end;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    padding: 9px 12px;
    border-radius: 999px;
    color: #e2e8f0;
    font-size: 15px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff7ed;
    background: rgba(245, 158, 11, 0.18);
    transform: translateY(-1px);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 230px;
}

.header-search input {
    width: 100%;
    border: 1px solid rgba(226, 232, 240, 0.18);
    border-radius: 999px;
    padding: 9px 14px;
    color: #fff;
    background: rgba(15, 23, 42, 0.55);
    outline: none;
}

.header-search input:focus {
    border-color: rgba(245, 158, 11, 0.85);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.header-search button,
.primary-button,
.ghost-button,
.text-button {
    border: 0;
    cursor: pointer;
    white-space: nowrap;
}

.header-search button,
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(90deg, var(--amber), var(--orange));
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button:hover,
.header-search button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(249, 115, 22, 0.35);
}

.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(10px);
}

.text-button {
    display: inline-flex;
    align-items: center;
    color: #d97706;
    font-weight: 800;
}

.text-button:hover {
    color: #b45309;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #fff;
    border-radius: 4px;
}

.hero-section {
    position: relative;
    min-height: 640px;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(120deg, #0f172a 0%, #334155 48%, #78350f 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.13;
    background-image: radial-gradient(circle at 24px 24px, rgba(255, 255, 255, 0.45) 2px, transparent 3px);
    background-size: 58px 58px;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding: 64px 0 40px;
}

.hero-shell {
    position: relative;
    min-height: 500px;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.35);
    background: rgba(15, 23, 42, 0.58);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.62fr);
    gap: 32px;
    align-items: center;
    padding: 56px;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(16px) saturate(1.25);
    transform: scale(1.08);
    opacity: 0.35;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.70), rgba(120, 53, 15, 0.62));
}

.hero-copy {
    max-width: 680px;
}

.hero-eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    color: #fbbf24;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(40px, 6vw, 74px);
    line-height: 1.05;
    letter-spacing: -0.045em;
    background: linear-gradient(90deg, #fde68a, #fed7aa, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-summary {
    max-width: 660px;
    margin: 0 0 24px;
    color: #e2e8f0;
    font-size: 18px;
}

.hero-tags,
.tag-row,
.rank-tags,
.detail-tags,
.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.hero-tags span,
.tag-row span,
.rank-tags span,
.meta-row span,
.detail-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.hero-tags span {
    color: #fffbeb;
    background: rgba(245, 158, 11, 0.20);
    border: 1px solid rgba(245, 158, 11, 0.28);
}

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

.hero-poster {
    align-self: stretch;
    min-height: 360px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
    transform: rotate(1.2deg);
    transition: transform 0.3s ease;
}

.hero-poster:hover {
    transform: rotate(0deg) translateY(-5px);
}

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

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(14px);
}

.hero-controls button {
    border: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.hero-controls > button {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    font-size: 25px;
    line-height: 1;
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    opacity: 0.55;
}

.hero-dot.active {
    width: 28px;
    border-radius: 999px;
    opacity: 1;
    background: linear-gradient(90deg, var(--amber), var(--orange));
}

.hero-statbar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 22px;
}

.hero-statbar a {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.18);
}

.hero-statbar strong {
    display: block;
    font-size: 26px;
    line-height: 1.1;
}

.hero-statbar span {
    color: #cbd5e1;
    font-size: 14px;
}

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

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

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

.category-tile {
    position: relative;
    min-height: 230px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(180deg, #fff, #f8fafc);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.category-tile:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: var(--shadow);
}

.category-icon,
.category-title,
.category-desc,
.category-count {
    position: relative;
    z-index: 2;
    display: block;
}

.category-icon {
    font-size: 34px;
    margin-bottom: 14px;
}

.category-title {
    font-size: 21px;
    font-weight: 900;
}

.category-desc {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
}

.category-count {
    margin-top: 16px;
    color: #d97706;
    font-weight: 800;
}

.category-preview {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 42px);
    gap: 5px;
    opacity: 0.22;
    transform: rotate(-6deg);
}

.category-preview img {
    width: 42px;
    height: 58px;
    border-radius: 8px;
    object-fit: cover;
}

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

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

.movie-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    border-color: rgba(245, 158, 11, 0.48);
    box-shadow: var(--shadow);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b, #78350f);
}

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

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

.poster-badge,
.poster-meta {
    position: absolute;
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
    font-size: 13px;
}

.poster-badge {
    top: 12px;
    right: 12px;
    padding: 5px 9px;
    background: linear-gradient(90deg, var(--amber), var(--orange));
}

.poster-meta {
    left: 12px;
    bottom: 12px;
    padding: 5px 9px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
}

.card-body {
    padding: 18px;
}

.card-kicker {
    margin-bottom: 8px;
    color: #d97706;
    font-size: 13px;
    font-weight: 800;
}

.movie-card h3 {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.35;
}

.movie-card h3 a:hover {
    color: #d97706;
}

.movie-card p {
    min-height: 52px;
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
}

.tag-row span {
    color: #2563eb;
    background: #eff6ff;
}

.compact-card .card-body {
    padding: 15px;
}

.compact-card h3 {
    font-size: 17px;
}

.page-hero,
.detail-hero {
    position: relative;
    color: #fff;
    background: linear-gradient(120deg, #0f172a, #334155 54%, #78350f);
    overflow: hidden;
}

.page-hero::before,
.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.14;
    background-image: radial-gradient(circle at 20px 20px, rgba(255, 255, 255, 0.55) 2px, transparent 3px);
    background-size: 56px 56px;
}

.page-hero .container {
    position: relative;
    z-index: 2;
    padding: 74px 0;
}

.page-hero h1,
.detail-title-row h1 {
    margin: 0 0 12px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.page-hero p,
.detail-title-row p {
    max-width: 760px;
    margin: 0;
    color: #cbd5e1;
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-top: 24px;
    color: #cbd5e1;
    font-size: 14px;
}

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

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 220px 180px auto;
    gap: 16px;
    align-items: end;
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

.search-panel {
    grid-template-columns: minmax(280px, 1fr) 220px auto;
}

.filter-panel label,
.filter-count {
    display: grid;
    gap: 7px;
}

.filter-panel span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0 13px;
    background: #fff;
    color: var(--text);
    outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: rgba(245, 158, 11, 0.85);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.filter-count {
    min-width: 120px;
    justify-items: center;
    padding: 11px 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fffbeb, #fff7ed);
}

.filter-count strong {
    font-size: 23px;
    line-height: 1;
    color: #d97706;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 56px 150px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 14px;
}

.rank-row:hover {
    transform: translateY(-3px);
}

.rank-number {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--amber), var(--rose));
}

.rank-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    background: var(--deep-2);
}

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

.rank-info h3 {
    margin: 0 0 6px;
    font-size: 20px;
}

.rank-info p {
    min-height: auto;
    margin: 0 0 10px;
}

.rank-tags span,
.meta-row span {
    color: #475569;
    background: #f1f5f9;
}

.detail-hero {
    min-height: 330px;
}

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

.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    filter: blur(13px) saturate(1.15);
    transform: scale(1.06);
}

.detail-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.80), rgba(120, 53, 15, 0.66));
}

.detail-hero-inner {
    position: relative;
    z-index: 3;
    padding: 56px 0 62px;
}

.detail-title-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-end;
    margin-top: 24px;
}

.detail-score {
    min-width: 110px;
    padding: 18px;
    border-radius: 22px;
    text-align: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
}

.detail-score strong {
    display: block;
    font-size: 42px;
    line-height: 1;
    color: #fbbf24;
}

.detail-score span {
    color: #e2e8f0;
    font-size: 13px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    padding-top: 36px;
}

.player-shell {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    background: #000;
    box-shadow: var(--shadow);
}

.player-shell video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.play-cover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    color: #fff;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.68));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-icon {
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    box-shadow: 0 18px 34px rgba(249, 115, 22, 0.36);
    font-size: 28px;
    padding-left: 4px;
}

.player-message {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 9px 12px;
    border-radius: 14px;
    color: #fff;
    background: rgba(15, 23, 42, 0.78);
    opacity: 0;
    pointer-events: none;
}

.player-message.is-visible {
    opacity: 1;
}

.detail-card,
.side-card {
    margin-top: 22px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.detail-card h2,
.side-card h2 {
    margin: 24px 0 10px;
    font-size: 24px;
    letter-spacing: -0.02em;
}

.detail-card h2:first-of-type {
    margin-top: 22px;
}

.detail-card p {
    margin: 0;
    color: #475569;
    text-align: justify;
}

.detail-tags a {
    color: #2563eb;
    background: #eff6ff;
}

.detail-tags a:hover {
    color: #1d4ed8;
    background: #dbeafe;
}

.detail-side {
    position: relative;
}

.detail-side .side-card {
    position: sticky;
    top: 94px;
}

.detail-side .side-card + .side-card {
    position: static;
}

.poster-card img {
    width: 100%;
    border-radius: 20px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: var(--deep-2);
}

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

.side-related {
    grid-template-columns: 1fr;
    gap: 16px;
}

.side-related .poster-link {
    aspect-ratio: 16 / 9;
}

.sitemap-page {
    display: grid;
    gap: 26px;
}

.sitemap-block {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.sitemap-block h2 {
    margin: 0 0 16px;
}

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

.sitemap-links a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8fafc;
    color: #334155;
    font-size: 14px;
}

.sitemap-links a:hover {
    background: #fff7ed;
    color: #c2410c;
}

.sitemap-links span {
    color: #94a3b8;
}

.site-footer {
    margin-top: 70px;
    color: #cbd5e1;
    background: linear-gradient(180deg, #0f172a, #020617);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 34px;
    padding: 54px 0;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: #fff;
}

.site-footer p {
    margin: 12px 0 0;
    color: #94a3b8;
}

.site-footer a {
    display: block;
    margin: 7px 0;
    color: #cbd5e1;
}

.site-footer a:hover {
    color: #fbbf24;
}

.footer-bottom {
    padding: 18px 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

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

@media (max-width: 1120px) {
    .category-grid,
    .movie-grid,
    .compact-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-slide {
        grid-template-columns: 1fr;
        padding: 44px;
    }

    .hero-poster {
        display: none;
    }

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

    .detail-side .side-card {
        position: static;
    }
}

@media (max-width: 900px) {
    .menu-toggle {
        display: inline-block;
    }

    .header-actions {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 78px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border-radius: 22px;
        background: rgba(15, 23, 42, 0.98);
        box-shadow: var(--shadow);
    }

    .header-actions.is-open {
        display: flex;
    }

    .main-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-link {
        display: block;
    }

    .header-search {
        min-width: 0;
    }

    .hero-statbar,
    .footer-grid,
    .filter-panel,
    .search-panel {
        grid-template-columns: 1fr 1fr;
    }

    .rank-row {
        grid-template-columns: 46px 110px minmax(0, 1fr);
    }

    .rank-row .text-button {
        grid-column: 2 / -1;
    }

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

@media (max-width: 720px) {
    .container {
        width: min(100% - 22px, var(--container));
    }

    .hero-container {
        padding-top: 26px;
    }

    .hero-section {
        min-height: 560px;
    }

    .hero-shell {
        min-height: 500px;
        border-radius: 24px;
    }

    .hero-slide {
        padding: 30px 22px 76px;
        align-content: center;
    }

    .hero-summary {
        font-size: 16px;
    }

    .hero-statbar,
    .category-grid,
    .movie-grid,
    .compact-grid,
    .footer-grid,
    .filter-panel,
    .search-panel,
    .sitemap-links {
        grid-template-columns: 1fr;
    }

    .section-heading {
        display: grid;
        align-items: start;
    }

    .rank-row {
        grid-template-columns: 42px 96px minmax(0, 1fr);
        gap: 12px;
    }

    .rank-number {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .detail-title-row {
        display: grid;
    }

    .detail-score {
        width: 120px;
    }

    .detail-card,
    .side-card {
        padding: 18px;
    }
}
