:root {
    color-scheme: dark;
    --bg: #070a12;
    --surface: #101522;
    --surface-2: #171e2e;
    --text: #f6f8ff;
    --muted: #9ca8bd;
    --line: rgba(255, 255, 255, 0.09);
    --accent: #30e0c1;
    --accent-2: #8e6bff;
    --orange: #ff8a4c;
    --max: 1200px;
    --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; max-width: 100%; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(7, 10, 18, 0.86); backdrop-filter: blur(18px); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(135deg, var(--accent), #1687ff); box-shadow: 0 8px 24px rgba(48, 224, 193, 0.22); }
.brand-play { margin-left: 2px; color: #061118; font-size: 14px; }
.brand-name { font-weight: 800; font-size: 21px; letter-spacing: -0.04em; }
.brand-name span { color: var(--accent); }
.main-nav { display: flex; align-items: stretch; gap: 2px; margin-left: auto; }
.nav-item { min-height: 76px; padding: 0 10px; display: flex; align-items: center; gap: 5px; color: var(--muted); border-bottom: 2px solid transparent; font-size: 14px; white-space: nowrap; }
.nav-item:hover, .nav-item.is-active { color: var(--text); border-bottom-color: var(--accent); }
.nav-glyph { color: var(--accent); }
.header-search, .menu-button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--surface); }
.menu-button { display: none; cursor: pointer; }
.icon { width: 20px; height: 20px; vertical-align: middle; }
.hero { min-height: 630px; padding-block: 56px 76px; display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 64px; }
.hero-copy h1 { margin: 8px 0 2px; font-size: clamp(64px, 9vw, 112px); line-height: .95; letter-spacing: -.09em; }
.hero-copy h1 a { background: linear-gradient(120deg, #fff 20%, #76ffe8 62%, #6d8dff); -webkit-background-clip: text; color: transparent; }
.hero-kicker, .eyebrow { color: var(--accent); font-size: 12px; letter-spacing: .18em; font-weight: 800; }
.hero-title { max-width: 620px; margin: 24px 0 10px; font-size: clamp(24px, 3vw, 40px); line-height: 1.25; font-weight: 800; }
.hero-summary { max-width: 580px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { min-height: 48px; padding: 11px 21px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 13px; cursor: pointer; font-weight: 700; }
.button.primary { color: #07100e; background: var(--accent); box-shadow: 0 12px 30px rgba(48, 224, 193, .2); }
.button.ghost { color: var(--text); border-color: var(--line); background: rgba(255,255,255,.04); }
.hero-stats { margin-top: 34px; display: flex; gap: 24px; color: var(--muted); font-size: 13px; }
.hero-stats b { display: block; color: var(--text); font-size: 18px; }
.hero-media { position: relative; }
.hero-cover { position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: 34px; transform: rotate(1.5deg); box-shadow: 0 35px 90px rgba(0,0,0,.55); }
.hero-cover::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgba(4,7,13,.85)); }
.hero-cover img, .video-cover img, .poster-cover img, .category-feature-cover img { height: 100%; object-fit: cover; }
.play-badge { position: absolute; z-index: 2; left: 50%; top: 50%; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; transform: translate(-50%,-50%); color: #07100e; background: rgba(48,224,193,.92); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.duration { position: absolute; z-index: 2; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 7px; background: rgba(0,0,0,.78); font-size: 12px; }
.hero-caption { position: absolute; z-index: 3; left: 28px; right: 28px; bottom: 24px; display: grid; pointer-events: none; }
.hero-caption span { color: var(--accent); font-size: 12px; font-weight: 700; }
.hero-caption strong { font-size: 22px; }
.hero-caption small { color: #c4ccda; }
section { margin-bottom: 100px; }
.section-heading { margin-bottom: 28px; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.section-heading h2 { margin: 5px 0 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.2; letter-spacing: -.04em; }
.text-link { color: var(--accent); font-weight: 700; white-space: nowrap; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.category-tile { min-height: 215px; padding: 24px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, var(--surface-2), var(--surface)); transition: transform .2s ease, border-color .2s ease; }
.category-tile:hover { transform: translateY(-4px); border-color: currentColor; }
.category-icon { font-size: 30px; color: var(--accent); }
.category-tile strong { margin-top: 12px; font-size: 20px; }
.category-tile p { margin: 4px 0 14px; color: var(--muted); font-size: 13px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile-arrow { margin-top: auto; font-size: 13px; color: var(--accent); }
.video-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.video-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.video-cover { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.video-cover img { transition: transform .35s ease; }
.video-card:hover .video-cover img { transform: scale(1.045); }
.video-card .play-badge { width: 44px; height: 44px; opacity: .9; }
.card-body { padding: 18px; }
.category-pill { display: inline-flex; padding: 3px 9px; border-radius: 999px; color: var(--accent); background: rgba(48,224,193,.1); font-size: 12px; font-weight: 700; }
.category-pill.orange { color: #ff9f6e; background: rgba(255,138,76,.1); }
.category-pill.violet, .category-pill.purple { color: #aa96ff; background: rgba(142,107,255,.12); }
.category-pill.blue { color: #75b8ff; background: rgba(66,150,255,.12); }
.category-pill.pink { color: #ff8fc9; background: rgba(255,94,173,.11); }
.category-pill.lime, .category-pill.green { color: #83e28f; background: rgba(94,214,117,.11); }
.category-pill.red { color: #ff8181; background: rgba(255,90,90,.11); }
.category-pill.gold { color: #ffd36e; background: rgba(255,194,61,.11); }
.card-body h3 { min-height: 3.1em; margin: 9px 0 6px; font-size: 18px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-body p { height: 4.9em; margin: 0 0 14px; overflow: hidden; color: var(--muted); font-size: 13px; line-height: 1.65; }
.meta-row { display: flex; justify-content: space-between; color: #7f8a9d; font-size: 12px; }
.meta-row span { display: inline-flex; align-items: center; gap: 5px; }
.meta-row .icon { width: 15px; height: 15px; }
.feature-layout { display: grid; grid-template-columns: 1.45fr .9fr; gap: 22px; }
.feature-main .video-cover { aspect-ratio: 16/8.5; }
.feature-main .card-body h3 { min-height: auto; font-size: 28px; }
.feature-side { display: grid; gap: 14px; }
.video-card.compact { display: grid; grid-template-columns: 170px 1fr; }
.compact .video-cover { height: 100%; aspect-ratio: auto; }
.compact .play-badge { width: 34px; height: 34px; }
.compact .card-body { padding: 14px; }
.compact .card-body h3 { min-height: auto; margin: 5px 0; font-size: 15px; }
.compact .card-body p { display: none; }
.dark-band, .ranking-section { padding-block: 80px; background: #0c1220; border-block: 1px solid var(--line); }
.poster-row { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.poster-card { position: relative; display: grid; }
.poster-cover { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: 18px; }
.poster-card .play-badge { width: 44px; height: 44px; }
.poster-number { margin-top: -34px; z-index: 3; font-size: 64px; line-height: 1; color: var(--surface); -webkit-text-stroke: 1px rgba(255,255,255,.45); }
.poster-card strong { margin-top: 8px; font-size: 16px; }
.poster-card small { color: var(--muted); }
.short-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.short-card { position: relative; aspect-ratio: 9/14; overflow: hidden; border-radius: 22px; }
.short-card img { height: 100%; object-fit: cover; }
.short-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(5,7,12,.92)); }
.short-overlay { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; display: grid; }
.short-overlay b { color: var(--accent); font-size: 12px; }
.short-overlay strong { font-size: 17px; }
.short-overlay small { color: #c1c8d5; }
.anime-layout { display: grid; grid-template-columns: 1.3fr .85fr; grid-template-rows: 1fr 1fr; gap: 18px; }
.anime-card { min-height: 220px; display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.anime-card img { height: 100%; object-fit: cover; }
.anime-card > div { padding: 24px; }
.anime-card span { color: #8de88e; font-size: 12px; font-weight: 700; }
.anime-card h3 { margin: 5px 0 8px; font-size: 22px; }
.anime-card p { color: var(--muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.anime-1 { grid-row: 1/3; grid-template-columns: 1fr; }
.anime-1 img { aspect-ratio: 16/9; }
.classic-grid { border-top: 1px solid var(--line); }
.classic-item { display: grid; grid-template-columns: 100px 1fr 1.7fr auto; align-items: center; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.classic-year { font-size: 30px; color: var(--accent); font-weight: 800; }
.classic-item h3 { margin: 0; font-size: 20px; }
.classic-item p, .classic-item small { color: var(--muted); }
.classic-item p { margin: 0; font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.release-timeline { display: grid; grid-template-columns: repeat(4,1fr); }
.release-item { position: relative; display: grid; grid-template-columns: auto 18px 1fr; gap: 12px; align-items: center; padding-right: 20px; }
.release-item::after { content: ""; position: absolute; top: 50%; left: 72px; right: 0; height: 1px; z-index: -1; background: var(--line); }
.release-item time { color: var(--accent); font-weight: 800; }
.release-item > span { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(48,224,193,.1); }
.release-item > div { padding: 13px; border-radius: 14px; background: var(--surface); }
.release-item strong, .release-item small { display: block; }
.release-item small { color: var(--muted); }
.ranking-layout { display: grid; grid-template-columns: 1.45fr .55fr; gap: 60px; }
.ranking-list { margin: 0; padding: 0; list-style: none; }
.ranking-list li { display: grid; grid-template-columns: 54px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rank-no { font-size: 24px; font-weight: 900; color: #536077; }
.ranking-list li:nth-child(-n+3) .rank-no { color: var(--orange); }
.ranking-list small { display: block; color: var(--muted); }
.ranking-list b { color: var(--accent); font-size: 13px; }
.ranking-note { align-self: center; padding: 32px; border-radius: 28px; background: linear-gradient(150deg, #422f77, #16263b); }
.ranking-note > span { color: #c8baff; font-size: 12px; }
.ranking-note h3 { font-size: 28px; line-height: 1.3; }
.ranking-note p { color: #c2c8d6; }
.topic-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
.topic-card { position: relative; min-height: 390px; overflow: hidden; border-radius: 26px; }
.topic-card img { height: 100%; object-fit: cover; }
.topic-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(6,8,14,.94)); }
.topic-content { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; display: grid; }
.topic-content small { color: var(--accent); }
.topic-content strong { font-size: 24px; }
.topic-content em { margin: 8px 0 14px; color: #c3c9d5; font-style: normal; font-size: 13px; }
.topic-content b { font-size: 13px; }
.editorial-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.editorial-card { padding: 24px; display: grid; grid-template-columns: 58px 1fr; gap: 18px; border: 1px solid var(--line); border-radius: 20px; }
.editor-avatar { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: #07100e; background: var(--accent); font-size: 22px; font-weight: 900; }
.editorial-card h3 { margin: 2px 0 5px; }
.editorial-card small, .editorial-card p { color: var(--muted); }
.editorial-card p { margin: 0; font-size: 14px; }
.mosaic-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.mosaic-1 { grid-column: span 2; grid-row: span 2; }
.mosaic-1 .video-cover { aspect-ratio: 16/10; }
.mosaic-1 .card-body h3 { font-size: 24px; }
.mosaic-6 { grid-column: span 2; }
.tags-section { padding: 36px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.tag-cloud a { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; color: #c7cfdd; }
.tag-cloud a:hover { color: var(--bg); background: var(--accent); }
.about-section { padding: 60px; display: grid; grid-template-columns: .45fr 1fr; gap: 56px; border-radius: 32px; background: linear-gradient(135deg, #0e3233, #151b32 65%); }
.about-number { color: rgba(255,255,255,.12); font-size: clamp(55px,10vw,130px); font-weight: 900; line-height: 1; }
.about-section h2, .app-section h2 { margin: 8px 0 18px; font-size: clamp(30px,4vw,48px); line-height: 1.2; }
.about-section p, .app-section p { color: #bdc6d5; }
.app-section { padding: 54px 70px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 70px; border: 1px solid rgba(48,224,193,.22); border-radius: 32px; background: radial-gradient(circle at 90% 10%, rgba(48,224,193,.16), transparent 38%), var(--surface); }
.app-copy { max-width: 720px; }
.subscribe-status { display: block; margin-top: 12px; color: var(--muted); }
.brand-qr { width: 190px; padding: 18px; display: grid; justify-items: center; border-radius: 22px; color: #07100e; background: #f4fff9; }
.qr-grid { width: 126px; height: 126px; padding: 8px; display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; background: white; }
.qr-grid i { border-radius: 2px; background: #e5ece9; }
.qr-grid i.on { background: #091713; }
.brand-qr b { margin-top: 8px; }
.brand-qr small { font-size: 12px; }
.site-footer { padding-top: 64px; background: #05070c; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 48px; padding-bottom: 44px; }
.footer-grid h2 { font-size: 15px; }
.footer-grid p, .footer-grid a { color: var(--muted); font-size: 14px; }
.footer-grid > div:not(:first-child) a { display: block; margin: 8px 0; }
.footer-brand { margin-bottom: 16px; }
.copyright { padding: 20px 0; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: #6f798a; font-size: 13px; }
.back-top { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 44px; height: 44px; border: 0; border-radius: 50%; opacity: 0; pointer-events: none; color: #07100e; background: var(--accent); box-shadow: 0 12px 30px rgba(0,0,0,.35); transition: opacity .2s; }
.back-top.visible { opacity: 1; pointer-events: auto; }
.breadcrumb { padding-block: 26px 8px; display: flex; flex-wrap: wrap; gap: 9px; color: var(--muted); font-size: 13px; }
.category-hero { margin: 18px 0 78px; padding: 64px 0; background: radial-gradient(circle at 10% 20%, rgba(48,224,193,.17), transparent 34%), #0d1422; }
.category-hero.violet, .category-hero.purple { background: radial-gradient(circle at 10% 20%, rgba(142,107,255,.25), transparent 34%), #11101e; }
.category-hero.orange, .category-hero.red, .category-hero.gold { background: radial-gradient(circle at 10% 20%, rgba(255,138,76,.22), transparent 34%), #17110f; }
.category-hero-inner { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 68px; }
.category-symbol { width: 56px; height: 56px; margin-bottom: 14px; display: grid; place-items: center; border-radius: 17px; color: #061118; background: var(--accent); font-size: 27px; }
.category-hero h1 { margin: 6px 0 14px; font-size: clamp(42px,7vw,78px); line-height: 1.1; }
.category-hero p { color: var(--muted); font-size: 17px; }
.category-feature { position: relative; min-width: 0; }
.category-feature-cover { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: 26px; }
.category-feature-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(4,7,13,.75)); }
.category-feature > span { position: absolute; z-index: 3; left: 22px; bottom: 20px; display: grid; }
.category-feature small { color: var(--accent); }
.category-feature strong { font-size: 22px; }
.category-feature em { color: #c7cfdb; font-style: normal; }
.category-videos { grid-template-columns: repeat(3,1fr); }
.channel-notes { padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; border-radius: 26px; background: var(--surface); }
.channel-notes h2 { font-size: 34px; }
.channel-notes p { color: var(--muted); }
.mini-rank { margin: 0; padding: 0; list-style: none; }
.mini-rank li { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.mini-rank b { color: var(--accent); }
.mini-rank span { color: var(--muted); font-size: 13px; }
.watch-layout { max-width: 1080px; }
.watch-header { max-width: 880px; margin: 32px auto 30px; text-align: center; }
.watch-header h1 { margin: 14px 0 12px; font-size: clamp(34px,6vw,62px); line-height: 1.18; letter-spacing: -.04em; }
.watch-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 13px; }
.watch-intro { color: #c7d0df; font-size: 17px; text-align: left; }
.player-shell { margin-bottom: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 25px; background: #020305; box-shadow: 0 25px 70px rgba(0,0,0,.5); }
.player-screen { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.player-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.44)); }
.player-screen img { height: 100%; object-fit: cover; }
.player-center { position: absolute; z-index: 3; left: 50%; top: 50%; width: 80px; height: 80px; transform: translate(-50%,-50%); border: 0; border-radius: 50%; color: #061118; background: var(--accent); font-size: 26px; cursor: pointer; }
.player-message { position: absolute; z-index: 3; left: 24px; bottom: 18px; color: #dde5f2; font-size: 13px; }
.player-controls { min-height: 62px; padding: 0 18px; display: flex; align-items: center; gap: 14px; }
.player-controls button { width: 38px; height: 38px; display: grid; place-items: center; border: 0; color: var(--text); background: transparent; cursor: pointer; }
.player-time { font-variant-numeric: tabular-nums; font-size: 13px; white-space: nowrap; }
.player-progress { height: 6px; flex: 1; overflow: hidden; border-radius: 999px; background: #2a3040; }
.player-progress span { display: block; width: 0; height: 100%; background: var(--accent); transition: width .3s; }
.player-shell.is-playing .player-progress span { width: 42%; }
.player-shell.is-playing .player-center { opacity: 0; }
.watch-tools { margin-bottom: 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.watch-tools p { max-width: 760px; margin: 0; color: var(--muted); font-size: 14px; }
.favorite-button { min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--surface); white-space: nowrap; cursor: pointer; }
.favorite-button[aria-pressed="true"] { color: #07100e; background: var(--accent); }
.story-section { display: grid; grid-template-columns: 1fr 330px; gap: 60px; }
.story-copy h2 { font-size: 40px; }
.story-copy h3 { margin-top: 32px; font-size: 22px; }
.story-copy p { color: #b8c2d2; }
.watch-card { align-self: start; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.watch-card > span { font-size: 34px; color: var(--accent); }
.watch-card h2 { margin-bottom: 8px; }
.watch-card p { color: var(--muted); font-size: 14px; }
.scene-gallery { margin-top: 80px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: 18px; background: var(--surface); }
.gallery-grid img { aspect-ratio: 16/10; object-fit: cover; }
.gallery-grid figcaption { padding: 12px 15px; color: var(--muted); font-size: 13px; }
.ending-note { padding: 32px; border-left: 4px solid var(--accent); border-radius: 0 18px 18px 0; background: var(--surface); }
.ending-note span { color: var(--accent); font-size: 13px; font-weight: 800; }
.episode-nav { margin-bottom: 80px; display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.episode-nav a, .episode-nav .nav-empty { padding: 20px; display: grid; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.episode-nav a:last-child, .episode-nav .nav-empty:last-child { text-align: right; }
.episode-nav small { color: var(--muted); }
.nav-empty { opacity: .55; }
.related-grid { grid-template-columns: repeat(3,1fr); }
@media (max-width: 1020px) {
    .container { width: min(calc(100% - 32px), var(--max)); }
    .menu-button { display: grid; margin-left: auto; }
    .header-search { display: none; }
    .main-nav { position: absolute; left: 16px; right: 16px; top: 68px; padding: 12px; display: none; grid-template-columns: repeat(2,1fr); border: 1px solid var(--line); border-radius: 18px; background: #0c111d; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
    .main-nav.open { display: grid; }
    .nav-item { min-height: 46px; border: 0; border-radius: 10px; }
    .nav-item.is-active { background: rgba(48,224,193,.1); }
    .hero { min-height: auto; grid-template-columns: 1fr 1fr; gap: 32px; }
    .hero-copy h1 { font-size: 68px; }
    .hero-stats { gap: 16px; }
    .category-grid, .video-grid { grid-template-columns: repeat(2,1fr); }
    .poster-row { grid-template-columns: repeat(5, minmax(180px,1fr)); overflow-x: auto; padding-bottom: 10px; }
    .short-grid { grid-template-columns: repeat(5, minmax(190px,1fr)); overflow-x: auto; }
    .classic-item { grid-template-columns: 80px 1fr 1.5fr; }
    .classic-item small { display: none; }
    .release-timeline { grid-template-columns: repeat(2,1fr); gap: 20px 0; }
    .topic-grid { grid-template-columns: 1fr 1fr; }
    .topic-1 { grid-column: span 2; }
    .footer-grid { grid-template-columns: repeat(2,1fr); }
    .category-hero-inner { gap: 32px; }
}
@media (max-width: 720px) {
    .container { width: min(calc(100% - 24px), var(--max)); }
    .header-inner { min-height: 66px; }
    .site-header .brand-name { font-size: 19px; }
    .hero { padding-block: 34px 60px; grid-template-columns: 1fr; }
    .hero-copy h1 { font-size: clamp(62px,22vw,88px); }
    .hero-title { font-size: 27px; }
    .hero-media { order: -1; }
    .hero-cover { border-radius: 22px; transform: none; }
    .hero-stats { justify-content: space-between; gap: 8px; }
    section { margin-bottom: 68px; }
    .section-heading { align-items: start; }
    .section-heading h2 { font-size: 30px; }
    .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .category-tile { min-height: 190px; padding: 18px; }
    .feature-layout, .ranking-layout, .channel-notes, .story-section { grid-template-columns: 1fr; }
    .video-card.compact { grid-template-columns: 125px 1fr; }
    .video-grid, .category-videos { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .card-body { padding: 13px; }
    .card-body h3 { font-size: 15px; }
    .card-body p { display: none; }
    .meta-row { display: grid; gap: 2px; }
    .anime-layout { grid-template-columns: 1fr; grid-template-rows: auto; }
    .anime-card, .anime-1 { grid-row: auto; grid-template-columns: .8fr 1.2fr; }
    .anime-1 img { aspect-ratio: auto; }
    .classic-item { grid-template-columns: 66px 1fr; gap: 12px; }
    .classic-item p, .classic-item small { display: none; }
    .release-timeline { grid-template-columns: 1fr; }
    .ranking-section { padding-block: 56px; }
    .ranking-layout { gap: 30px; }
    .ranking-list li { grid-template-columns: 42px 1fr; }
    .ranking-list b { display: none; }
    .topic-grid, .editorial-grid, .mosaic-grid { grid-template-columns: 1fr; }
    .topic-1, .mosaic-1, .mosaic-6 { grid-column: auto; grid-row: auto; }
    .editorial-card { grid-template-columns: 46px 1fr; padding: 18px; }
    .editor-avatar { width: 46px; height: 46px; }
    .about-section { padding: 34px 24px; grid-template-columns: 1fr; gap: 22px; }
    .about-number { font-size: 66px; }
    .app-section { padding: 34px 24px; grid-template-columns: 1fr; gap: 32px; }
    .brand-qr { justify-self: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .copyright { display: grid; }
    .category-hero { padding: 42px 0; }
    .category-hero-inner { grid-template-columns: 1fr; }
    .category-hero h1 { font-size: 48px; }
    .channel-notes { padding: 26px 20px; gap: 30px; }
    .watch-header { text-align: left; }
    .watch-meta { justify-content: flex-start; }
    .player-center { width: 62px; height: 62px; }
    .player-time { display: none; }
    .watch-tools { align-items: start; flex-direction: column; }
    .gallery-grid { grid-template-columns: 1fr; }
    .episode-nav { grid-template-columns: 1fr; }
    .episode-nav a:last-child, .episode-nav .nav-empty:last-child { text-align: left; }
    .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
    .category-grid { grid-template-columns: 1fr; }
    .video-grid, .category-videos { grid-template-columns: 1fr; }
    .card-body p { display: block; }
    .hero-actions .button { width: 100%; }
    .hero-stats { font-size: 12px; }
}