:root {
    color-scheme: dark;
    --bg: #020617;
    --panel: #0f172a;
    --panel-soft: #111c33;
    --panel-hover: #1e293b;
    --text: #ffffff;
    --muted: #94a3b8;
    --soft: #cbd5e1;
    --line: rgba(148, 163, 184, 0.18);
    --ocean: #0ea5e9;
    --ocean-dark: #0284c7;
    --ocean-soft: rgba(14, 165, 233, 0.18);
    --amber: #f59e0b;
    --shadow: 0 24px 70px rgba(2, 6, 23, 0.45);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 0%, rgba(14, 165, 233, 0.16), transparent 32rem),
        radial-gradient(circle at 85% 10%, rgba(245, 158, 11, 0.08), transparent 30rem),
        var(--bg);
}

body.is-menu-open {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(2, 6, 23, 0.78);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1180px, calc(100% - 32px));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

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

.logo-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ocean), var(--ocean-dark));
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.35);
    font-size: 14px;
}

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

.nav-link,
.mobile-link {
    color: var(--soft);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: #ffffff;
    background: var(--ocean-soft);
}

.header-search {
    margin-left: auto;
    width: min(320px, 28vw);
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
}

.header-search input,
.mobile-search input,
.search-card input,
.filter-panel input,
.filter-bar input {
    width: 100%;
    color: #ffffff;
    background: transparent;
    border: 0;
    outline: none;
}

.header-search input {
    padding: 11px 14px;
}

.header-search button,
.mobile-search button {
    border: 0;
    color: #ffffff;
    background: var(--ocean);
    padding: 11px 16px;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.8);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: #ffffff;
    border-radius: 99px;
}

.mobile-panel {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 16px;
}

.mobile-search {
    display: flex;
    margin-top: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.9);
}

.mobile-search input {
    padding: 13px 14px;
}

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

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

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

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

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.48), rgba(2, 6, 23, 0.08)),
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0) 42%);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 620px;
    display: flex;
    align-items: center;
}

.hero-copy {
    width: min(680px, 100%);
    animation: fadeUp 0.75s ease both;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--ocean), var(--ocean-dark));
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(14, 165, 233, 0.22);
}

.hero h1,
.page-hero h1,
.detail-info h1 {
    margin: 18px 0 16px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.hero p,
.page-hero p,
.detail-info p {
    margin: 0;
    color: var(--soft);
    font-size: 18px;
    line-height: 1.8;
}

.hero-meta,
.card-meta,
.info-pills,
.hero-actions,
.chip-row,
.tag-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-meta {
    margin-top: 20px;
    color: var(--muted);
}

.hero-meta span,
.info-pills span,
.tag-list span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-actions {
    margin-top: 30px;
}

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

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

.btn-primary {
    background: var(--ocean);
    color: #ffffff;
    box-shadow: 0 14px 32px rgba(14, 165, 233, 0.28);
}

.btn-primary:hover {
    background: var(--ocean-dark);
}

.btn-ghost {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

.hero-dot {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
    width: 36px;
    background: #ffffff;
}

.search-panel {
    margin-top: -48px;
    position: relative;
    z-index: 5;
}

.search-card,
.filter-panel,
.filter-bar {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(15, 23, 42, 0.92);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.search-card h2,
.section-head h2,
.detail-article h2,
.side-card h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -0.03em;
}

.search-card p,
.section-head p {
    margin: 6px 0 0;
    color: var(--muted);
}

.search-card input,
.filter-panel input,
.filter-bar input {
    max-width: 430px;
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.72);
}

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

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

.section-more {
    flex: none;
    color: #7dd3fc;
    font-weight: 800;
}

.movie-grid {
    display: grid;
    gap: 20px;
}

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

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

.movie-card {
    display: block;
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.96));
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
    transition: transform 0.24s ease, border 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(14, 165, 233, 0.38);
    box-shadow: 0 24px 60px rgba(2, 132, 199, 0.18);
}

.card-poster {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0f172a;
}

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

.movie-card:hover .card-poster img,
.ranking-hero-card:hover img,
.compact-item:hover img {
    transform: scale(1.06);
    filter: saturate(1.08);
}

.card-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent 58%);
}

.card-type {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.92);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.play-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(14, 165, 233, 0.9);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

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

.card-content {
    padding: 16px;
}

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

.card-content p {
    min-height: 42px;
    margin: 8px 0 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    color: #64748b;
    font-size: 13px;
}

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

.rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 300px);
    gap: 18px;
    overflow-x: auto;
    padding: 4px 4px 18px;
    scrollbar-color: var(--ocean) rgba(15, 23, 42, 0.8);
}

.highlight-section {
    padding: 34px;
    margin-top: 62px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(15, 23, 42, 0.72);
}

.category-grid,
.category-overview-grid,
.ranking-showcase {
    display: grid;
    gap: 18px;
}

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

.category-tile,
.category-overview-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(14, 165, 233, 0.16), rgba(15, 23, 42, 0.95)),
        var(--panel);
    transition: transform 0.24s ease, border 0.24s ease;
}

.category-tile:hover,
.category-overview-card:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, 0.42);
}

.category-tile {
    min-height: 154px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-tile span,
.category-overview-body span {
    color: #7dd3fc;
    font-weight: 800;
}

.category-tile strong {
    color: var(--soft);
    font-size: 14px;
    line-height: 1.65;
}

.two-column-section {
    display: grid;
    grid-template-columns: 1fr 0.86fr;
    gap: 28px;
}

.compact-list,
.ranking-table {
    display: grid;
    gap: 12px;
}

.compact-item {
    display: grid;
    grid-template-columns: auto 92px 1fr;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.72);
    transition: background 0.2s ease, border 0.2s ease;
}

.compact-item:hover {
    background: rgba(30, 41, 59, 0.84);
    border-color: rgba(14, 165, 233, 0.32);
}

.compact-item img {
    width: 92px;
    height: 58px;
    object-fit: cover;
    border-radius: 12px;
    background: #0f172a;
    transition: transform 0.24s ease;
}

.compact-item h3 {
    margin: 0 0 4px;
    font-size: 15px;
    line-height: 1.4;
}

.compact-item p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.rank-num {
    min-width: 40px;
    color: var(--amber);
    font-size: 20px;
    font-weight: 900;
}

.page-shell {
    padding-bottom: 70px;
}

.page-hero {
    position: relative;
    margin-top: 42px;
    padding: 68px;
    border: 1px solid var(--line);
    border-radius: 32px;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.22), transparent 22rem),
        linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
    box-shadow: var(--shadow);
}

.slim-hero h1,
.category-hero h1,
.ranking-hero h1 {
    font-size: clamp(42px, 7vw, 74px);
}

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

.category-overview-card {
    overflow: hidden;
}

.category-covers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 150px;
    overflow: hidden;
    background: #0f172a;
}

.category-covers img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-overview-body {
    padding: 22px;
}

.category-overview-body h2 {
    margin: 0 0 8px;
}

.category-overview-body p {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.65;
}

.filter-panel {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 24px;
}

.filter-panel input,
.filter-bar input {
    max-width: none;
}

.chip-row {
    gap: 8px;
}

.filter-chip {
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--soft);
    background: rgba(2, 6, 23, 0.48);
    padding: 9px 14px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
    color: #ffffff;
    border-color: rgba(14, 165, 233, 0.46);
    background: var(--ocean-soft);
}

.empty-state {
    display: none;
    margin-top: 28px;
    padding: 38px;
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: 22px;
}

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

.ranking-showcase {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 24px;
}

.ranking-hero-card {
    position: relative;
    min-height: 260px;
    border-radius: 24px;
    overflow: hidden;
    background: #0f172a;
}

.ranking-hero-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease;
}

.ranking-hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent 58%);
}

.ranking-hero-card div {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2;
}

.ranking-hero-card span {
    color: var(--amber);
    font-size: 13px;
    font-weight: 900;
}

.ranking-hero-card h2 {
    margin: 6px 0;
    font-size: 18px;
}

.ranking-hero-card p {
    margin: 0;
    color: var(--soft);
    font-size: 13px;
    line-height: 1.55;
}

.ranking-table .compact-item {
    grid-template-columns: 56px 118px 1fr;
}

.ranking-table .compact-item img {
    width: 118px;
    height: 72px;
}

.detail-page {
    padding-bottom: 70px;
}

.detail-hero {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    background: #020617;
}

.detail-bg {
    filter: blur(8px) saturate(1.05);
    transform: scale(1.05);
    opacity: 0.55;
}

.detail-bg-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.62)),
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.08) 48%);
}

.detail-wrap {
    position: relative;
    z-index: 2;
    padding: 38px 0 52px;
}

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

.breadcrumb a:hover {
    color: #7dd3fc;
}

.watch-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
    gap: 28px;
    align-items: start;
}

.player-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 26px;
    overflow: hidden;
    background: #000000;
    box-shadow: var(--shadow);
}

.player-card video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    object-fit: cover;
    cursor: pointer;
}

.center-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 84px;
    height: 84px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(14, 165, 233, 0.92);
    box-shadow: 0 18px 42px rgba(14, 165, 233, 0.3);
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.center-play span {
    display: inline-block;
    margin-left: 5px;
    font-size: 32px;
}

.player-card.is-playing .center-play {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.88);
}

.player-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 22px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), transparent);
    pointer-events: none;
}

.player-title strong {
    font-size: 20px;
}

.player-title span {
    color: var(--soft);
}

.detail-panel {
    display: grid;
    grid-template-columns: 138px 1fr;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(15, 23, 42, 0.84);
    backdrop-filter: blur(16px);
}

.detail-cover {
    width: 138px;
    height: 206px;
    object-fit: cover;
    border-radius: 18px;
    background: #0f172a;
}

.detail-info h1 {
    margin-top: 14px;
    font-size: clamp(30px, 4vw, 48px);
}

.detail-info dl {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.detail-info dl div {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 10px;
    color: var(--soft);
}

.detail-info dt {
    color: var(--muted);
}

.detail-info dd {
    margin: 0;
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    margin-top: 44px;
}

.detail-article,
.side-card {
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(15, 23, 42, 0.78);
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.18);
}

.detail-article {
    padding: 34px;
}

.detail-article section + section {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.detail-article p {
    color: var(--soft);
    font-size: 17px;
    line-height: 2;
    white-space: pre-line;
}

.side-card {
    position: sticky;
    top: 96px;
    align-self: start;
    padding: 22px;
}

.side-card .compact-item {
    grid-template-columns: 88px 1fr;
}

.side-card .compact-item .rank-num {
    display: none;
}

.side-card .compact-item img {
    width: 88px;
    height: 58px;
}

.site-footer {
    margin-top: 76px;
    border-top: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.82);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.5fr 1.2fr;
    gap: 36px;
    padding: 42px 0;
}

.footer-grid p {
    color: var(--muted);
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--soft);
}

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

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

.footer-bottom {
    padding: 18px;
    text-align: center;
    color: #64748b;
    border-top: 1px solid var(--line);
}

[data-card].is-hidden {
    display: none;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

    .side-card {
        position: static;
    }
}

@media (max-width: 820px) {
    .header-inner {
        height: 66px;
        gap: 14px;
    }

    .main-nav,
    .header-search {
        display: none;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    body.is-menu-open .mobile-panel {
        display: grid;
        gap: 8px;
    }

    .hero,
    .hero-content {
        min-height: 560px;
    }

    .hero-control {
        display: none;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 42px;
    }

    .search-card,
    .section-head,
    .detail-panel,
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .search-card input {
        max-width: none;
    }

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

    .page-hero {
        padding: 38px 24px;
    }

    .detail-panel {
        grid-template-columns: 110px 1fr;
    }

    .detail-cover {
        width: 110px;
        height: 162px;
    }

    .detail-article {
        padding: 24px;
    }
}

@media (max-width: 560px) {
    .container,
    .header-inner,
    .mobile-panel {
        width: min(100% - 22px, 1180px);
    }

    .site-logo {
        font-size: 18px;
    }

    .logo-mark {
        width: 34px;
        height: 34px;
    }

    .hero,
    .hero-content {
        min-height: 520px;
    }

    .hero-copy {
        padding-top: 28px;
    }

    .hero p,
    .page-hero p,
    .detail-info p {
        font-size: 16px;
    }

    .hero-actions,
    .card-meta,
    .tag-list {
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .grid-large,
    .grid-compact,
    .category-grid,
    .category-overview-grid,
    .ranking-showcase {
        grid-template-columns: 1fr;
    }

    .highlight-section {
        padding: 22px;
    }

    .compact-item,
    .ranking-table .compact-item,
    .side-card .compact-item {
        grid-template-columns: 88px 1fr;
    }

    .compact-item .rank-num {
        display: none;
    }

    .compact-item img,
    .ranking-table .compact-item img {
        width: 88px;
        height: 58px;
    }

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

    .detail-wrap {
        padding-top: 24px;
    }

    .watch-layout {
        gap: 18px;
    }

    .player-title {
        display: none;
    }

    .center-play {
        width: 66px;
        height: 66px;
    }

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

    .detail-cover {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 4;
    }

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