:root {
    --bg: #070b1b;
    --surface: #0f1633;
    --surface-soft: #151e42;
    --card: #111936;
    --text: #f7f8ff;
    --muted: #a9b1d3;
    --primary: #7c5cff;
    --primary-light: #a991ff;
    --cyan: #45d9ff;
    --gold: #ffc66d;
    --line: rgba(255, 255, 255, 0.11);
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background: var(--bg);
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    line-height: 1.7;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    pointer-events: none;
    background: radial-gradient(circle at 14% 8%, rgba(124, 92, 255, 0.18), transparent 30%), radial-gradient(circle at 88% 18%, rgba(69, 217, 255, 0.1), transparent 28%);
}

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

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

button,
input {
    font: inherit;
}

.container {
    width: calc(100% - 40px);
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 16px;
    color: #090d20;
    background: #ffffff;
    border-radius: 10px;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: relative;
    z-index: 20;
    background: rgba(7, 11, 27, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.header-main {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(260px, 420px) auto;
    gap: 26px;
    align-items: center;
    min-height: 86px;
}

.site-title {
    margin: 0;
    font-size: 21px;
}

.site-title a {
    display: inline-flex;
    gap: 12px;
    align-items: center;
}

.site-title img {
    width: 48px;
    height: 48px;
}

.header-search,
.search-large {
    display: flex;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--line);
    border-radius: 999px;
}

.header-search input,
.search-large input {
    min-width: 0;
    flex: 1;
    padding: 11px 18px;
    color: var(--text);
    background: transparent;
    border: 0;
    outline: 0;
}

.header-search button,
.search-large button {
    padding: 10px 19px;
    color: #ffffff;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary), #4d82ff);
    border: 0;
}

.menu-toggle {
    display: none;
    padding: 9px 14px;
    color: var(--text);
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 10px;
}

.site-nav {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
}

.nav-link {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    color: var(--muted);
    font-size: 14px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-icon,
.section-icon {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), #4bb8e8);
    border-radius: 9px;
}

.breadcrumbs {
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: 50px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs > * + *::before {
    margin-right: 10px;
    content: "/";
    opacity: 0.45;
}

.hero-section {
    padding: 36px 0 58px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    padding: 7px 12px;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    background: rgba(69, 217, 255, 0.08);
    border: 1px solid rgba(69, 217, 255, 0.18);
    border-radius: 999px;
}

.hero-copy h2,
.page-hero h1 {
    max-width: 760px;
    margin: 20px 0 18px;
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.hero-copy > p,
.page-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    font-weight: 700;
    border-radius: 13px;
}

.button-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), #4d82ff);
    box-shadow: 0 12px 32px rgba(91, 83, 255, 0.26);
}

.button-ghost {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
}

.button-small {
    min-height: 38px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
    display: flex;
    gap: 34px;
    margin: 34px 0 0;
}

.hero-stats div {
    min-width: 78px;
}

.hero-stats dt {
    font-size: 24px;
    font-weight: 800;
}

.hero-stats dd {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.hero-visual {
    position: relative;
    min-width: 0;
}

.hero-visual > img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.hero-feature {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    min-width: 180px;
    padding: 14px 18px;
    background: rgba(7, 11, 27, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(12px);
}

.hero-feature span {
    color: var(--cyan);
    font-size: 12px;
}

.hero-feature strong {
    font-size: 18px;
}

.quick-strip {
    background: linear-gradient(90deg, rgba(124, 92, 255, 0.16), rgba(69, 217, 255, 0.08));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.quick-inner {
    display: flex;
    gap: 28px;
    align-items: center;
    min-height: 62px;
    overflow: hidden;
}

.quick-inner a {
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quick-label {
    flex: 0 0 auto;
    color: var(--gold);
    font-weight: 800;
}

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

.section-tint {
    background: rgba(255, 255, 255, 0.025);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.section-heading > div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 12px;
    align-items: center;
}

.section-heading h2 {
    margin: 0;
    font-size: 29px;
    line-height: 1.25;
}

.section-heading p {
    grid-column: 2;
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.text-link {
    flex: 0 0 auto;
    color: var(--cyan);
    font-weight: 700;
}

.featured-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
    gap: 26px;
}

.featured-main,
.media-card {
    min-width: 0;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.poster {
    position: relative;
    display: block;
    overflow: hidden;
}

.poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: var(--surface-soft);
}

.featured-main .poster img {
    aspect-ratio: 16 / 9;
}

.score {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 4px 9px;
    color: #18110a;
    font-size: 12px;
    font-weight: 900;
    background: var(--gold);
    border-radius: 8px;
}

.poster-shade {
    position: absolute;
    inset: 55% 0 0;
    background: linear-gradient(transparent, rgba(5, 8, 20, 0.78));
}

.card-copy {
    padding: 18px;
}

.card-copy h3 {
    margin: 0;
    font-size: 18px;
}

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

.meta-row {
    display: flex;
    justify-content: space-between;
    color: #7f89b2;
    font-size: 12px;
}

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

.mini-feature {
    display: grid;
    grid-template-columns: 44px 132px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-height: 142px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.mini-feature .rank {
    color: var(--primary-light);
    font-size: 22px;
    font-weight: 900;
}

.mini-feature img {
    width: 132px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
}

.mini-feature h3,
.mini-feature p {
    margin: 0;
}

.mini-feature p {
    display: -webkit-box;
    margin-top: 7px;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.cinematic-section {
    background: linear-gradient(180deg, #090d1f, #11172d);
}

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

.cinema-card {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    border-radius: 24px;
}

.cinema-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cinema-card > div {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 30px;
    background: linear-gradient(transparent 25%, rgba(6, 9, 23, 0.92));
}

.cinema-card h3 {
    margin: 5px 0;
    font-size: 28px;
}

.cinema-card p {
    display: -webkit-box;
    max-width: 520px;
    margin: 0 0 18px;
    overflow: hidden;
    color: #c0c6dc;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rank-board {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.rank-row {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) minmax(110px, 0.4fr) 60px;
    gap: 20px;
    align-items: center;
    min-height: 70px;
    padding: 0 24px;
    border-bottom: 1px solid var(--line);
}

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

.rank-row > strong {
    color: var(--primary-light);
    font-size: 18px;
}

.rank-row > span {
    color: var(--muted);
}

.rank-row .rank-title {
    overflow: hidden;
    color: var(--text);
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-row .rank-score {
    color: var(--gold);
    text-align: right;
}

.anime-section {
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.1), rgba(255, 98, 180, 0.05));
}

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

.bubble-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    border-radius: 32px 18px 32px 18px;
}

.bubble-image img {
    width: 180px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
}

.bubble-card h3,
.bubble-card p {
    margin: 6px 0;
}

.bubble-card p {
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.bubble-card span {
    color: #ff9bd2;
    font-size: 12px;
}

.documentary-section {
    background: #0d171d;
}

.documentary-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
    gap: 50px;
    align-items: center;
}

.documentary-copy h2 {
    margin: 17px 0 10px;
    font-size: 38px;
}

.documentary-copy p {
    color: #b4c6c5;
}

.documentary-stack {
    display: grid;
    gap: 16px;
}

.documentary-stack article {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.documentary-stack img {
    width: 210px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 11px;
}

.documentary-stack h3,
.documentary-stack p {
    margin: 0;
}

.documentary-stack p {
    display: -webkit-box;
    margin-top: 6px;
    overflow: hidden;
    color: #a8b9b9;
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.short-card {
    min-height: 245px;
    padding: 30px;
    background: linear-gradient(145deg, #181c3f, #11162f);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.short-number {
    color: var(--gold);
    font-size: 12px;
}

.short-card h3 {
    margin: 25px 0 5px;
    font-size: 25px;
}

.short-card p {
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.short-card a {
    color: var(--cyan);
    font-weight: 700;
}

.family-section {
    background: linear-gradient(180deg, #101936, #182044);
}

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

.family-card {
    display: grid;
    grid-template-columns: 48% minmax(0, 1fr);
    overflow: hidden;
    color: #19213d;
    background: #f6e8b3;
    border-radius: 22px;
}

.family-card:nth-child(2) {
    background: #c8ecf5;
}

.family-card img {
    width: 100%;
    height: 100%;
    min-height: 285px;
    object-fit: cover;
}

.family-card > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 25px;
}

.family-card h3,
.family-card p {
    margin: 0 0 10px;
}

.family-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.family-card a {
    font-weight: 800;
    text-decoration: underline;
}

.classic-section {
    background: #16120f;
}

.classic-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.classic-timeline article {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 18px;
    padding: 24px;
    background: rgba(255, 237, 202, 0.06);
    border: 1px solid rgba(255, 221, 163, 0.14);
    border-radius: 4px 20px 4px 20px;
}

.classic-timeline time {
    color: var(--gold);
    font-size: 22px;
    font-weight: 900;
}

.classic-timeline h3,
.classic-timeline p {
    margin: 0;
}

.classic-timeline p {
    margin-top: 8px;
    color: #c6bdb3;
    font-size: 13px;
}

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

.channel-grid a {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 12px;
    min-height: 128px;
    padding: 20px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 17px;
}

.channel-grid a > span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), #4bb8e8);
    border-radius: 12px;
}

.channel-grid small {
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.guide-section {
    padding-top: 20px;
}

.guide-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
    gap: 50px;
    padding-top: 42px;
    padding-bottom: 42px;
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.15), rgba(69, 217, 255, 0.08));
    border: 1px solid var(--line);
    border-radius: 26px;
}

.guide-grid > div:first-child {
    padding-left: 42px;
}

.guide-grid h2 {
    margin: 16px 0 8px;
    font-size: 30px;
}

.guide-grid p {
    color: var(--muted);
}

.guide-points {
    display: grid;
    gap: 12px;
    padding-right: 42px;
}

.guide-points div {
    display: flex;
    flex-direction: column;
    padding: 14px 18px;
    background: rgba(8, 12, 30, 0.45);
    border-radius: 13px;
}

.guide-points span {
    color: var(--muted);
    font-size: 13px;
}

.page-hero {
    padding: 50px 0 64px;
    background: linear-gradient(180deg, rgba(124, 92, 255, 0.1), transparent);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: 40px;
    align-items: center;
}

.page-mark {
    display: grid;
    place-items: center;
    width: 150px;
    aspect-ratio: 1;
    color: rgba(255, 255, 255, 0.85);
    font-size: 62px;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.7), rgba(69, 217, 255, 0.35));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 44% 56% 63% 37%;
}

.compact-hero {
    text-align: center;
}

.compact-hero h2,
.compact-hero p {
    margin-left: auto;
    margin-right: auto;
}

.two-column-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.two-column-info article,
.prose-card {
    padding: 32px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.two-column-info h2,
.two-column-info p {
    margin: 0 0 10px;
}

.two-column-info p,
.prose-card p {
    color: var(--muted);
}

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

.compact-grid a {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 18px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.compact-grid strong,
.compact-grid span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-grid span {
    color: var(--muted);
    font-size: 12px;
}

.detail-hero {
    padding: 36px 0 66px;
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.13), rgba(69, 217, 255, 0.05));
}

.detail-grid {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 46px;
    align-items: center;
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: var(--surface-soft);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.detail-copy h1 {
    margin: 16px 0 8px;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1.1;
}

.detail-copy > p {
    max-width: 760px;
    color: var(--muted);
    font-size: 17px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.detail-meta span {
    padding: 5px 10px;
    color: #c4cae4;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 46px;
    align-items: start;
}

.article-main {
    padding: 34px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.article-main h2 {
    margin: 28px 0 10px;
}

.article-main h2:first-child {
    margin-top: 0;
}

.article-main p {
    color: #c0c6dd;
}

.fact-panel {
    position: sticky;
    top: 20px;
    padding: 24px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.fact-panel h2 {
    margin-top: 0;
}

.fact-panel dl,
.fact-panel dd {
    margin: 0;
}

.fact-panel dl div {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.fact-panel dt {
    color: var(--muted);
}

.prev-next {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding-top: 30px;
    padding-bottom: 70px;
}

.prev-next a {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 15px;
}

.prev-next a:last-child {
    text-align: right;
}

.prev-next span {
    color: var(--muted);
    font-size: 12px;
}

.prose-card h2 {
    margin: 30px 0 8px;
}

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

.search-large {
    max-width: 700px;
    margin: 28px auto 12px;
}

.search-large input {
    padding: 16px 22px;
}

.search-item[hidden] {
    display: none;
}

.empty-state,
.not-found {
    text-align: center;
}

.empty-state {
    padding: 80px 20px;
    color: var(--muted);
}

.not-found {
    display: grid;
    place-items: center;
    min-height: 62vh;
    padding: 70px 0;
}

.not-found .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.not-found .container > span {
    color: transparent;
    font-size: clamp(100px, 20vw, 240px);
    font-weight: 900;
    line-height: 0.8;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    background-clip: text;
}

.not-found h1 {
    margin: 35px 0 10px;
    font-size: 34px;
}

.not-found p {
    max-width: 620px;
    color: var(--muted);
}

.site-footer {
    padding: 62px 0 25px;
    background: #050817;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 38px;
}

.footer-brand img {
    width: 180px;
    height: auto;
}

.footer-brand p {
    max-width: 330px;
    color: var(--muted);
}

.footer-grid h2 {
    margin: 0 0 12px;
    font-size: 15px;
}

.footer-grid > div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-grid a {
    color: var(--muted);
    font-size: 13px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 22px;
    color: #70799d;
    font-size: 12px;
    border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
    .header-main {
        grid-template-columns: 1fr minmax(260px, 0.7fr) auto;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        display: none;
    }

    .site-nav.is-open {
        display: block;
    }

    .nav-inner {
        grid-template-columns: repeat(4, 1fr);
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .hero-grid,
    .featured-layout,
    .documentary-grid,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 38px;
    }

    .hero-visual {
        max-width: none;
    }

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

    .featured-main .poster img {
        aspect-ratio: 16 / 8;
    }

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

    .guide-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .guide-grid > div:first-child {
        padding-right: 42px;
    }

    .guide-points {
        padding-left: 42px;
    }

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

    .fact-panel {
        position: static;
    }

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

@media (max-width: 720px) {
    .container {
        width: calc(100% - 40px);
    }

    .header-main {
        grid-template-columns: 1fr auto;
        gap: 12px;
        min-height: 72px;
    }

    .site-title span {
        font-size: 17px;
    }

    .site-title img {
        width: 40px;
        height: 40px;
    }

    .header-search {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-bottom: 12px;
    }

    .nav-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-link {
        justify-content: flex-start;
        padding-left: 18px;
    }

    .hero-section,
    .content-section {
        padding: 48px 0;
    }

    .hero-copy h2,
    .page-hero h1 {
        font-size: 38px;
    }

    .hero-stats {
        gap: 18px;
    }

    .quick-inner a:nth-of-type(n + 2) {
        display: none;
    }

    .section-heading {
        align-items: flex-start;
    }

    .section-heading > div {
        grid-template-columns: auto 1fr;
    }

    .section-heading p {
        grid-column: 1 / -1;
        margin-top: 10px;
    }

    .section-heading .text-link {
        display: none;
    }

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

    .card-copy {
        padding: 14px;
    }

    .cinema-grid,
    .bubble-grid,
    .shorts-rail,
    .family-grid,
    .classic-timeline,
    .two-column-info,
    .prev-next {
        grid-template-columns: 1fr;
    }

    .cinema-card {
        min-height: 350px;
    }

    .rank-row {
        grid-template-columns: 42px minmax(0, 1fr) 44px;
        gap: 10px;
        padding: 0 14px;
    }

    .rank-row > span:nth-child(3) {
        display: none;
    }

    .bubble-card {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .bubble-image img {
        width: 110px;
    }

    .documentary-stack article {
        grid-template-columns: 125px minmax(0, 1fr);
    }

    .documentary-stack img {
        width: 125px;
    }

    .family-card {
        grid-template-columns: 42% minmax(0, 1fr);
    }

    .family-card img {
        min-height: 260px;
    }

    .channel-grid {
        grid-template-columns: 1fr;
    }

    .guide-grid {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .guide-grid > div:first-child,
    .guide-points {
        padding-left: 22px;
        padding-right: 22px;
    }

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

    .page-mark {
        display: none;
    }

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

    .detail-poster {
        max-width: 260px;
        margin: 0 auto;
    }

    .detail-copy {
        text-align: center;
    }

    .detail-meta,
    .detail-copy .hero-actions {
        justify-content: center;
    }

    .detail-copy .button {
        width: 100%;
    }

    .article-main {
        padding: 24px;
    }

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

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

@media (max-width: 420px) {
    .mini-feature {
        grid-template-columns: 36px 86px minmax(0, 1fr);
        gap: 10px;
    }

    .mini-feature img {
        width: 86px;
    }

    .poster-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .bubble-card,
    .documentary-stack article {
        grid-template-columns: 1fr;
    }

    .bubble-image img,
    .documentary-stack img {
        width: 100%;
        border-radius: 14px;
    }

    .bubble-image img {
        aspect-ratio: 16 / 10;
    }

    .family-card {
        grid-template-columns: 1fr;
    }

    .family-card img {
        min-height: 190px;
        aspect-ratio: 16 / 9;
    }

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