:root {
    --ink: #142325;
    --muted: #617174;
    --accent: #087f72;
    --mint: #d7f8b8;
    --paper: #ffffff;
    --line: #e2e9e8;
    --back: #f4f7f7;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    color: var(--ink);
    background: var(--back);
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
}

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

a:hover {
    color: var(--accent);
}

button, input, select {
    font: inherit;
}

button, .button {
    cursor: pointer;
    min-height: 44px;
}

button, .button, .pill {
    border-radius: 8px;
}

button {
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    padding: 8px 16px;
}

:focus-visible {
    outline: 3px solid #009c89;
    outline-offset: 4px;
}

.wrap {
    width: calc(100% - 48px);
    max-width: 1200px;
    margin-inline: auto;
}

.site-header {
    background: #142325;
    color: #fff;
    padding: 22px 0 0;
}

.topline, .brand, .section-heading, .meta, .tools, .footer-links, .breadcrumbs, .between {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topline, .section-heading, .between {
    justify-content: space-between;
}

.brand {
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand img {
    width: 40px;
    height: 40px;
}

.brand small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #aac3be;
    letter-spacing: 3px;
    line-height: 1.3;
}

.header-note {
    color: #c2d3cf;
    font-size: 14px;
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 14px;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 22px;
}

.nav a {
    padding: 12px 5px;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #cad6d3;
    font-size: 14px;
}

.nav a[aria-current="page"], .nav a:hover {
    color: #d7f8b8;
    border-color: #d7f8b8;
}

.icon {
    width: 19px;
    height: 19px;
    stroke: currentColor;
    stroke-width: 1.7;
    fill: none;
    flex-shrink: 0;
    vertical-align: middle;
}

.menu-toggle {
    display: none;
}

.hero {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 0.85fr 1.55fr;
    background: #e4f0ed;
    border-radius: 18px;
    overflow: hidden;
}

.hero-copy {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.eyebrow {
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1 {
    font-size: clamp(27px, 3vw, 40px);
    line-height: 1.4;
    margin-bottom: 14px;
}

h2 {
    font-size: 24px;
    line-height: 1.45;
    margin-bottom: 4px;
}

h3 {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.hero h1 {
    font-size: clamp(34px, 4vw, 50px);
    letter-spacing: 2px;
}

.hero-tagline {
    font-size: 23px;
    font-weight: 600;
    line-height: 1.6;
}

.hero-copy p {
    color: #486660;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
}

.button:hover {
    color: white;
    background: #075e54;
}

.button.secondary {
    background: white;
    color: var(--ink);
    border-color: var(--line);
}

.cover {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #c7dcda;
    border-radius: 10px;
    isolation: isolate;
}

.cover img, .scene img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.cover:hover img {
    transform: scale(1.035);
}

.cover::after {
    content: "";
    position: absolute;
    inset: 40% 0 0;
    background: linear-gradient(transparent, #102624bb);
    z-index: 0;
    pointer-events: none;
}

.play-dot {
    position: absolute;
    left: 14px;
    bottom: 14px;
    color: white;
    background: #ffffff25;
    border: 1px solid #ffffff70;
    border-radius: 50%;
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    z-index: 1;
    font-size: 12px;
}

.duration {
    position: absolute;
    right: 12px;
    bottom: 13px;
    padding: 1px 7px;
    background: #122325c9;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    z-index: 1;
    font-variant-numeric: tabular-nums;
}

.hero .cover {
    border-radius: 0;
    aspect-ratio: auto;
    min-height: 390px;
}

.hero .play-dot {
    left: auto;
    right: 30px;
    top: 28px;
    width: 56px;
    height: 56px;
    font-size: 19px;
}

.hero-caption {
    position: absolute;
    bottom: 28px;
    left: 30px;
    right: 30px;
    color: white;
    z-index: 1;
}

.hero-caption h2 {
    max-width: 520px;
    font-size: 25px;
    margin: 10px 0;
}

.hero-caption p {
    font-size: 14px;
    color: #e0edeb;
    margin: 0;
}

.hero .duration {
    bottom: auto;
    top: 40px;
    left: 24px;
    right: auto;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
}

.quick-links a {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px 24px;
    background: white;
}

.quick-links .icon {
    color: var(--accent);
    width: 24px;
    height: 24px;
}

.quick-links small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.section {
    margin-top: 52px;
}

.section-heading {
    margin-bottom: 22px;
    align-items: flex-end;
    gap: 18px;
}

.section-heading h2 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-heading h2 .icon {
    color: var(--accent);
    width: 24px;
    height: 24px;
}

.section-heading p, .muted {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 0;
}

.more {
    color: var(--accent);
    white-space: nowrap;
    font-size: 14px;
    padding: 7px 0;
}

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

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

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

.card {
    min-width: 0;
}

.card h3 {
    margin: 12px 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.2em;
}

.card .summary {
    font-size: 14px;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 7px 0;
    min-height: 3.6em;
}

.meta {
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
}

.pill {
    display: inline-block;
    padding: 2px 9px;
    color: var(--accent);
    background: #e8f3ef;
    font-size: 12px;
}

.split {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 28px;
}

.panel {
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 25px;
}

.timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.timeline-item {
    border-left: 2px solid #aed6c4;
    padding-left: 17px;
}

.timeline-item time {
    color: var(--accent);
    font-size: 12px;
}

.timeline-item p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 0;
}

.mini-list {
    display: grid;
    gap: 18px;
}

.mini {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.mini h3 {
    font-size: 15px;
    margin-bottom: 3px;
}

.mini .play-dot {
    display: none;
}

.mini .duration {
    bottom: 6px;
    right: 6px;
}

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

.category {
    display: block;
    border-radius: 12px;
    padding: 24px;
    background: #e6efef;
    border: 1px solid #dbe6e5;
}

.category:nth-child(4n + 2) {
    background: #eef0e1;
}

.category:nth-child(4n + 3) {
    background: #e4eef7;
}

.category:nth-child(4n) {
    background: #f3eae4;
}

.category .icon {
    width: 30px;
    height: 30px;
    margin-bottom: 12px;
}

.category p {
    color: #526465;
    font-size: 14px;
    margin-bottom: 0;
}

.travel-band {
    background: #173d3a;
    color: white;
    border-radius: 16px;
    padding: 28px;
}

.travel-band .muted, .travel-band .meta, .travel-band .summary {
    color: #bcceca;
}

.travel-band .more, .travel-band h2 .icon {
    color: var(--mint);
}

.travel-band .grid {
    grid-template-columns: 1fr 1fr 1fr;
}

.editorial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: center;
}

.editorial .cover {
    aspect-ratio: 16 / 10;
}

.editorial-copy {
    padding: 15px 20px;
}

.editorial-copy h3 {
    font-size: 28px;
    margin-top: 15px;
}

.editorial-copy p {
    color: var(--muted);
}

.rank-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 34px;
}

.rank-list li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.rank-no {
    font-size: 29px;
    font-weight: 800;
    color: var(--accent);
    font-style: italic;
}

.rank-score {
    color: #a44c1a;
    font-size: 14px;
}

.rank-list h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.topic-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.topic-card .cover {
    border-radius: 0;
}

.topic-body {
    padding: 20px;
}

.topic-body p {
    font-size: 14px;
    color: var(--muted);
}

.topic-body ul {
    margin: 0;
    padding-left: 18px;
    font-size: 14px;
}

.tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tags a {
    border: 1px solid var(--line);
    background: white;
    padding: 9px 17px;
    border-radius: 7px;
    font-size: 14px;
}

.about-block {
    border-top: 1px solid var(--line);
    padding-top: 36px;
    display: grid;
    grid-template-columns: 0.6fr 1.4fr;
    gap: 40px;
}

.about-block p {
    color: var(--muted);
    margin: 0;
}

.subscribe {
    margin-bottom: 48px;
    background: #dbf1d7;
    padding: 32px;
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 24px;
    align-items: center;
    border-radius: 14px;
}

.subscribe img {
    width: 80px;
    height: 80px;
}

.subscribe p {
    color: #426548;
    font-size: 14px;
    margin: 8px 0 0;
}

.site-footer {
    padding: 38px 0 25px;
    background: #142325;
    color: #ccd6d4;
}

.footer-links {
    flex-wrap: wrap;
    gap: 12px 24px;
    margin: 22px 0;
    font-size: 14px;
}

.site-footer p {
    color: #a6b9b5;
    font-size: 14px;
}

.copyright {
    border-top: 1px solid #344643;
    padding-top: 20px;
    font-size: 12px;
}

.breadcrumbs {
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--muted);
    padding-top: 28px;
    margin-bottom: 24px;
}

.channel-head {
    padding: 35px;
    background: #e4f0ed;
    border-radius: 14px;
    border-left: 5px solid var(--accent);
    margin-bottom: 35px;
}

.channel-head p {
    color: #496660;
    max-width: 850px;
    margin-bottom: 0;
}

.article-title {
    max-width: 980px;
}

.article-top {
    margin-bottom: 28px;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 30px;
}

.article-main, aside {
    min-width: 0;
}

.article-main .section {
    margin-top: 30px;
}

.article-main h2 {
    margin-bottom: 16px;
    font-size: 22px;
}

.article-main p {
    line-height: 2;
}

.player {
    background: #101b1d;
    color: white;
    border-radius: 12px;
    overflow: hidden;
}

.player-screen {
    position: relative;
    aspect-ratio: 16 / 9;
}

.player-screen img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(#0002, transparent 50%, #0009);
    pointer-events: none;
}

.big-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    width: 68px;
    height: 68px;
    background: #ffffffdd;
    color: #123c35;
    z-index: 2;
    border: none;
    font-size: 24px;
}

.scene-label {
    position: absolute;
    bottom: 16px;
    left: 20px;
    right: 20px;
    z-index: 2;
    font-size: 14px;
}

.preview-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 3px 10px;
    background: #142325bb;
    border-radius: 5px;
    font-size: 12px;
    z-index: 2;
}

.player-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    padding: 12px;
}

.player-controls button {
    padding: 5px 10px;
    background: #233739;
    border-color: #405355;
    color: white;
    font-size: 14px;
}

.player-controls input {
    accent-color: #bdec9c;
    min-width: 0;
}

.progress {
    flex: 1 1 120px;
}

.volume {
    width: 65px;
}

.timer {
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.player-note {
    padding: 0 16px 16px;
    font-size: 13px;
    color: #bacfcc;
    margin: 0;
}

.player.is-expanded {
    position: fixed;
    inset: 0;
    z-index: 100;
    border-radius: 0;
    overflow: auto;
}

.player:fullscreen, .player.is-expanded {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.player:fullscreen .player-screen, .player.is-expanded .player-screen {
    height: min(80vh, 56.25vw);
    flex-shrink: 0;
}

.scene {
    margin: 0;
}

.scene img {
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 8px;
}

.scene figcaption {
    color: var(--muted);
    font-size: 14px;
    margin-top: 8px;
}

.highlights {
    padding-left: 22px;
}

.highlights li {
    margin-bottom: 12px;
}

.prev-next {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.prev-next a {
    padding: 18px;
    background: #e6efed;
    border-radius: 10px;
    font-size: 14px;
}

.prev-next small {
    display: block;
    color: var(--muted);
}

.tools {
    margin-top: 20px;
    flex-wrap: wrap;
}

.prose {
    max-width: 850px;
    min-height: 42vh;
}

.to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    box-shadow: 0 4px 18px #102c2420;
    z-index: 3;
    color: var(--accent);
}

.saved-card[hidden], [hidden] {
    display: none !important;
}

.status {
    font-size: 14px;
    color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
