/* Brand and layout */
:root {
    --ink: #142235;
    --muted: #657387;
    --paper: #f4f6f9;
    --line: #e0e6ed;
    --accent: #007d6d;
    --mint: #66ebc6;
    --night: #102735;
    --radius: 16px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font: 16px/1.75 "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: var(--accent);
}
button, input {
    font: inherit;
}
button, .button {
    cursor: pointer;
}
button, .button, nav a {
    min-height: 44px;
}
button {
    color: inherit;
}
img {
    display: block;
    width: 100%;
    object-fit: cover;
    background: #cbd6dc;
}
svg {
    display: block;
}
h1, h2, h3, p {
    margin: 0;
}
h1 {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.35;
    letter-spacing: -1px;
}
h2 {
    font-size: 25px;
    line-height: 1.4;
}
h3 {
    font-size: 17px;
    line-height: 1.55;
}
p {
    color: var(--muted);
}
:focus-visible {
    outline: 3px solid #007d6d;
    outline-offset: 4px;
}
.wrap {
    width: calc(100% - 48px);
    max-width: 1200px;
    margin-inline: auto;
}
.skip {
    position: absolute;
    left: 20px;
    top: -80px;
    padding: 12px;
    z-index: 10;
    background: white;
}
.skip:focus {
    top: 10px;
}
.topbar {
    background: white;
    border-bottom: 1px solid var(--line);
}
.masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 20px 15px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 23px;
    font-weight: 800;
    white-space: nowrap;
}
.brand img {
    width: 39px;
    height: 39px;
    background: transparent;
}
.brand small {
    display: block;
    font-size: 12px;
    color: var(--muted);
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1.2;
}
.header-note {
    color: var(--muted);
    font-size: 14px;
}
.header-note b {
    color: var(--accent);
}
.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: white;
    border-radius: 8px;
    padding: 8px 16px;
}
.nav {
    display: flex;
    justify-content: space-between;
    gap: 7px;
    padding-bottom: 9px;
}
.nav a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 15px;
    border-radius: 7px;
    font-size: 15px;
    white-space: nowrap;
}
.nav a[aria-current="page"] {
    color: var(--accent);
    background: #e4f6ef;
    font-weight: 700;
}
.icon {
    font-size: 20px;
    color: var(--accent);
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    padding: 10px 22px;
    background: var(--accent);
    color: white;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
}
.button:hover {
    background: #006859;
    color: white;
}
.button.secondary {
    color: var(--ink);
    border-color: var(--line);
    background: white;
}
.eyebrow {
    display: block;
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 12px;
}
.section {
    margin-block: 44px;
}
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}
.section-head h2 {
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-head p {
    font-size: 14px;
    margin-top: 4px;
}
.more {
    color: var(--muted);
    white-space: nowrap;
    font-size: 14px;
}
/* Lead recommendation */
.hero {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    margin-top: 28px;
    background: var(--night);
    border-radius: 20px;
    overflow: hidden;
    color: white;
}
.hero-copy {
    padding: 38px 34px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.hero .eyebrow {
    color: var(--mint);
}
.hero p {
    margin: 15px 0 22px;
    color: #bed0d9;
    font-size: 15px;
    line-height: 1.9;
}
.hero .button {
    background: var(--mint);
    color: #102c28;
}
.hero-visual {
    position: relative;
    display: block;
    min-height: 330px;
    overflow: hidden;
}
.hero-visual img {
    height: 100%;
    position: absolute;
    inset: 0;
    aspect-ratio: 16 / 9;
}
.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #071724ee, #10273508 80%);
}
.hero-caption {
    position: absolute;
    z-index: 1;
    bottom: 26px;
    left: 28px;
    right: 24px;
}
.hero-caption h2 {
    color: white;
    font-size: 30px;
    margin: 7px 0;
}
.hero-caption p {
    color: #d3e1e6;
    margin: 0;
}
.pill {
    display: inline-block;
    background: #e8f4ef;
    color: #006653;
    padding: 3px 10px;
    font-size: 12px;
    border-radius: 5px;
}
.hero-caption .pill {
    background: #ffffff26;
    color: white;
}
.quickbar {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    padding: 16px 4px;
    font-size: 14px;
}
.quickbar span {
    color: var(--muted);
}
/* Landscape cards */
.grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card {
    min-width: 0;
}
.cover {
    display: block;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #cad7dc;
    aspect-ratio: 16 / 9;
}
.cover img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    transition: transform .25s ease;
}
.cover:hover img {
    transform: scale(1.04);
}
.play-icon {
    position: absolute;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background: #0a1828b3;
    border: 1px solid #ffffff70;
    font-size: 14px;
    z-index: 1;
}
.duration {
    position: absolute;
    right: 8px;
    bottom: 8px;
    color: white;
    background: #081523ba;
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 12px;
    z-index: 1;
}
.cover-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ffffffed;
    font-size: 12px;
    padding: 1px 7px;
    border-radius: 4px;
}
.card h3 {
    margin: 11px 0 5px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.card p {
    font-size: 14px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.meta {
    color: var(--muted);
    font-size: 12px;
    margin-top: 9px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
}
.card .meta {
    justify-content: space-between;
}
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.feature {
    display: grid;
    grid-template-columns: 46% 1fr;
    align-items: center;
    gap: 22px;
    background: white;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
}
.feature .cover {
    aspect-ratio: 4 / 3;
}
.feature h3 {
    margin: 8px 0;
    font-size: 19px;
}
.feature p {
    font-size: 14px;
}
/* Timelines and ranking */
.updates-rank {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 36px;
}
.timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 26px;
}
.timeline-item {
    display: flex;
    gap: 14px;
    border-top: 1px solid var(--line);
    padding-top: 16px;
}
.date-box {
    color: var(--accent);
    flex-shrink: 0;
    font-size: 12px;
    line-height: 1.4;
}
.date-box b {
    display: block;
    font-size: 27px;
    font-weight: 500;
}
.timeline-item p {
    font-size: 13px;
    margin-top: 5px;
}
.ranking {
    background: #e9eff5;
    border-radius: 16px;
    padding: 24px;
}
.rank-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.rank-list li {
    display: flex;
    gap: 15px;
    padding: 11px 0;
    border-bottom: 1px solid #d6e0e9;
}
.rank-list li:last-child {
    border: 0;
}
.rank-num {
    color: #5f7e91;
    font-size: 25px;
    font-weight: 800;
    font-style: italic;
    line-height: 1.3;
}
.rank-list li:first-child .rank-num {
    color: #d45d36;
}
.rank-list p {
    font-size: 12px;
    margin-top: 2px;
}
.rank-list a {
    font-size: 15px;
    font-weight: 700;
}
.categories {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.category-tile {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
}
.category-tile:nth-child(3n+1) {
    background: #edf6f3;
}
.category-tile:nth-child(3n+2) {
    background: #edf1f9;
}
.category-tile p {
    font-size: 13px;
    margin-top: 5px;
}
.category-tile .icon {
    font-size: 29px;
}
/* Curated collections */
.shorts-band {
    background: #182b3c;
    color: white;
    padding: 28px;
    border-radius: 18px;
}
.shorts-band .section-head p, .shorts-band .meta, .shorts-band .card p {
    color: #b9c9d5;
}
.shorts-band .more, .shorts-band .icon {
    color: var(--mint);
}
.shorts-band .grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}
.shorts-band .cover {
    aspect-ratio: 3 / 4;
}
.shorts-band .cover-tag {
    color: var(--ink);
}
.shorts-band h3 {
    font-size: 15px;
}
.anime-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 25px;
}
.anime-lead {
    background: #e4edf7;
    border-radius: 16px;
    overflow: hidden;
}
.anime-lead .cover {
    border-radius: 0;
}
.anime-lead .copy {
    padding: 20px;
}
.anime-lead h3 {
    font-size: 23px;
    margin-bottom: 8px;
}
.anime-lead p {
    font-size: 14px;
}
.compact-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-content: start;
}
.compact-card .cover {
    aspect-ratio: 16 / 9;
}
.compact-card h3 {
    margin-top: 9px;
}
.topics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.topic-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}
.topic-card .cover {
    border-radius: 0;
}
.topic-copy {
    padding: 20px;
}
.topic-copy h3 {
    margin-bottom: 8px;
}
.topic-copy p, .topic-copy > a {
    font-size: 14px;
}
.topic-copy > a {
    display: block;
    margin-top: 10px;
    color: var(--accent);
}
.editor-pick {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    background: #e6eeeb;
    border-radius: 16px;
    overflow: hidden;
}
.editor-pick .cover {
    border-radius: 0;
    height: 100%;
}
.editor-pick .copy {
    padding: 27px 34px;
}
.editor-pick h3 {
    font-size: 24px;
    margin: 5px 0 12px;
}
.editor-pick p {
    margin-bottom: 18px;
}
.tag-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tag-strip a {
    border: 1px solid var(--line);
    padding: 8px 18px;
    background: white;
    border-radius: 7px;
    font-size: 14px;
}
.about-strip {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding-block: 30px;
    border-block: 1px solid var(--line);
}
.about-strip p {
    font-size: 15px;
    line-height: 1.9;
}
.subscribe {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: #d9f0e9;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 38px;
}
.subscribe p {
    color: #385f55;
    font-size: 14px;
    margin: 8px 0 13px;
}
.subscribe img {
    width: 94px;
    height: 94px;
    background: transparent;
    flex-shrink: 0;
}
.site-footer {
    background: #eaf0f4;
    border-top: 1px solid var(--line);
    padding: 32px 0 20px;
}
.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.footer-main p {
    font-size: 13px;
    margin-top: 13px;
    max-width: 420px;
}
.footer-links {
    display: flex;
    gap: 14px 25px;
    flex-wrap: wrap;
    align-content: start;
    justify-content: flex-end;
    max-width: 470px;
    font-size: 14px;
}
.copyright {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid #d6e0e9;
    padding-top: 18px;
    margin-top: 25px;
    font-size: 12px;
    color: var(--muted);
}
/* Category and detail routes */
.breadcrumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px;
    margin: 24px 0;
}
.channel-head {
    background: white;
    border: 1px solid var(--line);
    border-left: 5px solid var(--accent);
    border-radius: 12px;
    padding: 26px 30px;
}
.channel-head p {
    max-width: 900px;
    margin-top: 12px;
}
.channel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.detail-intro {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 34px;
    margin-top: 22px;
}
.detail-intro h1 {
    font-size: 34px;
    margin: 10px 0;
}
.detail-intro p {
    font-size: 15px;
    margin: 18px 0;
}
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 32px;
}
.prose {
    background: white;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 14px;
}
.prose h2 {
    font-size: 23px;
    margin-bottom: 15px;
}
.prose h3 {
    margin: 25px 0 8px;
}
.prose p {
    line-height: 2;
    margin-bottom: 16px;
}
.prose ul {
    color: var(--muted);
    padding-left: 22px;
}
.scene-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}
figure {
    margin: 0;
    min-width: 0;
}
figure img {
    aspect-ratio: 16 / 9;
    border-radius: 10px;
}
figcaption {
    font-size: 14px;
    color: var(--muted);
    margin-top: 9px;
}
.next-prev {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    border-block: 1px solid var(--line);
    padding-block: 22px;
    margin-top: 32px;
    font-size: 14px;
}
.player {
    margin: 26px 0 16px;
    background: #091721;
    color: white;
    border-radius: 14px;
    overflow: hidden;
}
.player-screen {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 580px;
}
.player-screen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #091721;
}
.player-screen > button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #071925c9;
    border: 1px solid #ffffff90;
    border-radius: 50%;
    width: 74px;
    height: 74px;
    color: white;
    font-size: 28px;
}
.player-label {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #081d2ad9;
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 13px;
}
.player-caption {
    position: absolute;
    bottom: 12px;
    left: 15px;
    right: 15px;
    background: #091721c9;
    color: white;
    padding: 8px 14px;
    font-size: 14px;
}
.controls {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 16px;
    background: #152a38;
    font-size: 13px;
}
.controls button {
    color: white;
    background: transparent;
    border: 0;
    padding: 5px 10px;
    flex-shrink: 0;
}
.controls input[type="range"] {
    accent-color: var(--mint);
    min-width: 0;
}
.seek {
    flex: 1;
    width: 100%;
}
.volume {
    width: 70px;
}
.controls button:disabled {
    opacity: .65;
    cursor: default;
}
.player-note {
    font-size: 14px;
    margin-bottom: 20px;
}
.player:fullscreen {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.player:fullscreen .player-screen {
    max-height: calc(100vh - 90px);
}
.archive-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.archive-list .feature {
    grid-template-columns: 38% 1fr;
}
.notice {
    color: #466675;
    background: #e9f0f4;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 18px;
}
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100% - 32px);
    background: #102735;
    color: white;
    border-radius: 8px;
    padding: 12px 22px;
    z-index: 100;
}
.back-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 44px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 50%;
    box-shadow: 0 4px 16px #10273512;
    z-index: 9;
}
[hidden] {
    display: none !important;
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        transition: none !important;
    }
}
