:root {
    --amber: #d97706;
    --amber-dark: #b45309;
    --orange: #f97316;
    --red: #ef4444;
    --blue: #2563eb;
    --text: #1f2937;
    --muted: #6b7280;
    --line: #e5e7eb;
    --soft: #fff7ed;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.08);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 260px, #fff 100%);
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

[hidden] {
    display: none !important;
}

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

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.62));
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
    backdrop-filter: blur(14px);
}

.header-inner {
    height: 80px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    box-shadow: 0 12px 24px rgba(217, 119, 6, 0.28);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    font-size: 22px;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--amber-dark), var(--orange));
    -webkit-background-clip: text;
    color: transparent;
}

.brand-subtitle {
    margin-top: 3px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}

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

.nav-link {
    position: relative;
    font-size: 15px;
    font-weight: 700;
    color: #374151;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    border-radius: 999px;
    background: var(--amber);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--amber-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.header-search {
    display: flex;
    align-items: center;
    width: 230px;
    border: 1px solid #f3d8b2;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    overflow: hidden;
}

.header-search input,
.mobile-search input,
.filter-bar input,
.filter-bar select {
    border: 0;
    outline: 0;
}

.header-search input {
    min-width: 0;
    flex: 1;
    padding: 10px 4px 10px 16px;
    background: transparent;
}

.header-search button {
    width: 42px;
    border: 0;
    color: var(--amber-dark);
    background: transparent;
    cursor: pointer;
}

.mobile-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #374151;
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
}

.mobile-nav.is-open {
    display: grid;
    gap: 10px;
}

.mobile-link {
    padding: 10px 12px;
    border-radius: 14px;
    color: #374151;
    font-weight: 700;
}

.mobile-link.active,
.mobile-link:hover {
    color: var(--amber-dark);
    background: #fff7ed;
}

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

.mobile-search input {
    flex: 1;
    padding: 11px 14px;
    border-radius: 999px;
    background: #f9fafb;
}

.mobile-search button {
    border: 0;
    border-radius: 999px;
    padding: 0 16px;
    color: #fff;
    background: var(--amber);
}

.hero-section {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    padding-top: 110px;
    color: #fff;
    background: linear-gradient(115deg, #d97706 0%, #f97316 48%, #ef4444 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.14;
    background-image: radial-gradient(circle at 12px 12px, rgba(255, 255, 255, 0.86) 2px, transparent 0);
    background-size: 42px 42px;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    align-items: center;
    gap: 58px;
    min-height: 520px;
}

.hero-copy h1 {
    margin: 0 0 22px;
    max-width: 680px;
    font-size: clamp(42px, 7vw, 74px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.hero-copy p {
    max-width: 640px;
    margin: 0 0 34px;
    color: #fffbeb;
    font-size: clamp(17px, 2vw, 21px);
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
}

.hero-kicker {
    background: rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(10px);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-light {
    color: var(--amber-dark);
    background: #fff;
    box-shadow: 0 18px 34px rgba(120, 53, 15, 0.22);
}

.btn-ghost {
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.17);
    backdrop-filter: blur(10px);
}

.hero-visual {
    display: grid;
    grid-template-columns: 1fr 0.76fr;
    gap: 16px;
    align-items: stretch;
}

.hero-poster,
.hero-focus-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 58px rgba(70, 23, 2, 0.30);
}

.hero-poster {
    border-radius: 34px;
    min-height: 420px;
}

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

.hero-poster:hover img,
.hero-focus-card:hover img {
    transform: scale(1.06);
}

.hero-poster::after,
.hero-focus-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78));
}

.hero-poster-caption {
    position: absolute;
    z-index: 2;
    left: 22px;
    right: 22px;
    bottom: 22px;
}

.hero-poster-caption strong,
.hero-focus-card strong {
    display: block;
    font-size: 22px;
    line-height: 1.2;
}

.hero-poster-caption em,
.hero-focus-card em {
    display: block;
    margin-top: 6px;
    color: #fde68a;
    font-style: normal;
    font-size: 13px;
}

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

.hero-focus-card {
    min-height: 93px;
    border-radius: 24px;
}

.hero-focus-card span {
    position: absolute;
    z-index: 2;
    left: 16px;
    right: 12px;
    bottom: 14px;
}

.hero-focus-card strong {
    font-size: 15px;
}

.hero-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 84px;
    background: linear-gradient(180deg, transparent, #fff);
}

.stat-section {
    background: #fff;
    padding: 34px 0 20px;
}

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

.stat-grid a {
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-grid a:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.stat-grid strong {
    display: block;
    font-size: 24px;
    color: #111827;
}

.stat-grid span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 14px;
}

.section {
    padding: 82px 0;
    background: #fff;
}

.section.soft {
    background: linear-gradient(180deg, #fff, #fff7ed);
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-heading.left {
    margin-left: 0;
    text-align: left;
}

.section-kicker {
    color: var(--amber-dark);
    background: #ffedd5;
}

.section-kicker.blue {
    color: var(--blue);
    background: #dbeafe;
}

.section-heading h2,
.page-hero h1,
.detail-copy h1 {
    margin: 0 0 12px;
    color: #111827;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

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

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

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

.catalog-grid,
.search-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

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

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

.movie-card {
    min-width: 0;
}

.movie-card-link {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.90);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card-link:hover {
    transform: translateY(-6px);
    border-color: #fbbf24;
    box-shadow: var(--shadow);
}

.poster-wrap {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f3f4f6;
}

.featured-grid .poster-wrap {
    aspect-ratio: 4 / 3;
}

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

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

.poster-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    color: #fff;
    opacity: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.72));
    transition: opacity 0.25s ease;
}

.poster-overlay span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    font-size: 13px;
    font-weight: 800;
}

.movie-card-link:hover .poster-overlay {
    opacity: 1;
}

.year-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #fff;
    background: var(--amber);
    font-size: 12px;
    font-weight: 800;
}

.movie-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
    gap: 10px;
}

.movie-card-body.compact {
    padding: 14px;
    gap: 8px;
}

.movie-title {
    color: #111827;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.25;
    transition: color 0.2s ease;
}

.movie-card-link:hover .movie-title {
    color: var(--amber-dark);
}

.movie-desc {
    display: -webkit-box;
    min-height: 44px;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-meta,
.movie-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.movie-meta {
    margin-top: auto;
    color: #6b7280;
    font-size: 13px;
}

.movie-meta span {
    padding: 4px 8px;
    border-radius: 999px;
    background: #f9fafb;
}

.pill {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 5px 9px;
    border-radius: 999px;
    color: #92400e;
    background: #ffedd5;
    font-size: 12px;
    font-weight: 700;
}

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

.category-tile {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr 86px;
    gap: 16px;
    align-items: center;
    overflow: hidden;
    min-height: 130px;
    padding: 20px;
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    font-weight: 900;
}

.category-tile strong {
    display: block;
    color: #111827;
    font-size: 19px;
}

.category-tile em {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
}

.category-tile img {
    width: 86px;
    height: 96px;
    border-radius: 18px;
    object-fit: cover;
}

.split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: start;
}

.rank-panel,
.side-card {
    padding: 22px;
    border: 1px solid rgba(229, 231, 235, 0.86);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.sticky-panel {
    position: sticky;
    top: 96px;
}

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

.panel-title a,
.text-link {
    color: var(--amber-dark);
    font-size: 14px;
    font-weight: 800;
}

.rank-row {
    display: grid;
    grid-template-columns: 36px 54px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.rank-row:last-child {
    border-bottom: 0;
}

.rank-number {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    font-size: 13px;
    font-weight: 900;
}

.rank-row img {
    width: 54px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
}

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

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

.rank-info strong {
    color: #111827;
    font-size: 14px;
}

.rank-info em {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.rank-score {
    color: #f59e0b;
    font-size: 13px;
    font-weight: 900;
}

.page-main {
    padding-top: 80px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 68px;
    background: linear-gradient(115deg, #fff7ed, #ffffff 55%, #ffedd5);
}

.page-hero.slim {
    padding-bottom: 52px;
}

.rank-hero {
    background: linear-gradient(115deg, #111827, #92400e 58%, #f97316);
    color: #fff;
}

.rank-hero h1,
.rank-hero p {
    color: #fff;
}

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

.breadcrumb a::after {
    content: "/";
    margin-left: 8px;
    color: #d6a05e;
}

.breadcrumb.light {
    color: #fde68a;
}

.breadcrumb.light a::after {
    color: rgba(255, 255, 255, 0.5);
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(150px, auto));
    gap: 12px;
    margin-bottom: 28px;
    padding: 16px;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.filter-bar input,
.filter-bar select {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #f1d4a8;
    border-radius: 16px;
    color: #374151;
    background: #fffaf3;
}

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

.filter-status {
    margin: -8px 0 22px;
    color: var(--muted);
    font-size: 14px;
}

.category-overview-list {
    display: grid;
    gap: 24px;
}

.category-overview-card {
    padding: 24px;
    border-radius: 30px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.category-overview-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
}

.category-overview-head > span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    font-weight: 900;
}

.category-overview-head h2 {
    margin: 0;
    font-size: 24px;
}

.category-overview-head p {
    margin: 4px 0 0;
    color: var(--muted);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 118px 0 72px;
    color: #fff;
    background: #111827;
}

.detail-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    filter: saturate(0.9);
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
}

.detail-intro {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 34px;
    align-items: end;
}

.detail-cover {
    width: 240px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.38);
}

.detail-copy h1 {
    color: #fff;
    font-size: clamp(40px, 6vw, 64px);
}

.detail-copy p {
    max-width: 780px;
    margin: 0 0 22px;
    color: #fff7ed;
    font-size: 18px;
}

.detail-badges,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-badges span {
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    font-weight: 800;
}

.detail-tags {
    margin-top: 16px;
}

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

.detail-content {
    min-width: 0;
}

.player-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 30px;
    background: #020617;
    box-shadow: var(--shadow);
}

.movie-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #020617;
    z-index: 1;
}

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: #fff;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.28), rgba(2, 6, 23, 0.78));
    cursor: pointer;
}

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

.play-icon {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--amber-dark);
    background: #fff;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
    font-size: 34px;
    text-indent: 4px;
}

.play-overlay strong {
    font-size: 20px;
}

.text-block,
.side-card {
    margin-top: 24px;
}

.text-block {
    padding: 28px;
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.text-block h2,
.side-card h2 {
    margin: 0 0 14px;
    color: #111827;
    font-size: 24px;
}

.text-block p {
    margin: 0;
    color: #374151;
    font-size: 16px;
}

.side-card:first-child {
    margin-top: 0;
}

.side-card dl {
    margin: 0;
}

.side-card dl div {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.side-card dl div:last-child {
    border-bottom: 0;
}

.side-card dt {
    color: var(--muted);
    font-weight: 700;
}

.side-card dd {
    margin: 0;
    color: #111827;
}

.related-list .rank-row {
    grid-template-columns: 30px 48px 1fr;
}

.related-list .rank-score {
    display: none;
}

.site-footer {
    background: linear-gradient(180deg, #f9fafb, #f3f4f6);
    border-top: 1px solid #e5e7eb;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 30px;
    padding: 48px 0 34px;
}

.footer-grid h2 {
    margin: 0 0 14px;
    color: #111827;
    font-size: 17px;
}

.footer-grid p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.footer-grid a:not(.footer-brand) {
    display: block;
    margin: 8px 0;
    color: #4b5563;
    font-size: 14px;
}

.footer-grid a:hover {
    color: var(--amber-dark);
}

.footer-brand {
    color: var(--amber-dark);
    font-size: 23px;
}

.footer-bottom {
    padding: 16px;
    border-top: 1px solid #e5e7eb;
    color: var(--muted);
    text-align: center;
    font-size: 13px;
}

@media (max-width: 1180px) {
    .catalog-grid,
    .search-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding-bottom: 70px;
    }

    .hero-visual {
        max-width: 760px;
    }
}

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

    .mobile-toggle {
        display: block;
    }

    .stat-grid,
    .featured-grid,
    .category-grid,
    .compact-grid,
    .catalog-grid,
    .search-grid,
    .mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .sticky-panel {
        position: static;
    }

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

    .detail-cover {
        width: 180px;
    }

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

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

    .header-inner {
        height: 72px;
    }

    .brand-subtitle {
        display: none;
    }

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

    .hero-section {
        min-height: auto;
        padding-top: 94px;
    }

    .hero-inner {
        min-height: auto;
        gap: 30px;
    }

    .hero-visual {
        grid-template-columns: 1fr;
    }

    .hero-poster {
        min-height: 360px;
    }

    .stat-grid,
    .movie-grid,
    .featured-grid,
    .category-grid,
    .compact-grid,
    .catalog-grid,
    .search-grid,
    .mini-grid {
        grid-template-columns: 1fr;
    }

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

    .category-tile img {
        display: none;
    }

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

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

    .detail-cover {
        width: min(230px, 74vw);
    }

    .detail-hero {
        padding-top: 102px;
    }

    .rank-row {
        grid-template-columns: 32px 48px 1fr;
    }

    .rank-score {
        display: none;
    }

    .section,
    .page-hero {
        padding: 54px 0;
    }

    .page-main {
        padding-top: 72px;
    }
}
