:root {
    --ink: #162727;
    --muted: #657575;
    --green: #087f72;
    --mint: #baf36b;
    --paper: #f5f7f7;
    --line: #dde5e4;
    --dark: #102c2b;
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.75 "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    overflow-wrap: anywhere;
}

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

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

button, input {
    font: inherit;
}

button, .button {
    cursor: pointer;
}

button, .button, .pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: white;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}

.button.primary {
    background: var(--mint);
    border-color: var(--mint);
    color: #14352b;
}

:focus-visible {
    outline: 3px solid #23a996;
    outline-offset: 4px;
}

img {
    display: block;
    max-width: 100%;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    background: #d5e4df;
}

.icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

.site-header {
    background: white;
    border-bottom: 1px solid var(--line);
}

.header-top {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    white-space: nowrap;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.brand img {
    width: 42px;
    height: 42px;
    aspect-ratio: 1;
    background: transparent;
}

.brand small {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 2px;
    display: block;
    line-height: 1.3;
}

.header-note {
    margin-left: auto;
    color: var(--muted);
    font-size: 14px;
}

.nav {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    padding-bottom: 12px;
    flex-wrap: wrap;
}

.nav a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
}

.nav a[aria-current="page"] {
    color: var(--green);
    background: #e9f6f0;
    font-weight: 700;
}

.menu-toggle {
    display: none;
}

section {
    margin-block: 58px;
}

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

.section-head h2 {
    margin: 0;
    font-size: 25px;
    letter-spacing: -0.8px;
    display: flex;
    align-items: center;
    gap: 11px;
}

.section-head h2 .icon {
    color: var(--green);
    width: 23px;
    height: 23px;
}

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

.more {
    font-size: 14px;
    color: var(--green);
    white-space: nowrap;
}

.eyebrow {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.hero {
    display: grid;
    grid-template-columns: 0.88fr 1.4fr;
    background: var(--dark);
    color: white;
    border-radius: 22px;
    overflow: hidden;
    margin-top: 30px;
    margin-bottom: 20px;
}

.hero-copy {
    padding: 38px;
    align-self: center;
}

.hero .eyebrow {
    color: var(--mint);
}

.hero h1 {
    font-size: clamp(27px, 3vw, 40px);
    line-height: 1.35;
    margin: 15px 0;
    letter-spacing: -1.5px;
}

.hero h1 a:hover {
    color: white;
}

.hero-copy p {
    color: #bfd3ce;
    font-size: 14px;
    margin-bottom: 26px;
}

.hero-quote {
    font-size: 24px;
    line-height: 1.5;
    display: block;
    margin: 0 0 15px;
}

.hero-media {
    position: relative;
    min-height: 410px;
    display: block;
    color: white;
}

.hero-media img {
    position: absolute;
    height: 100%;
}

.hero-media::after, .feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5, 23, 25, 0.92), rgba(5, 23, 25, 0.04) 80%);
    pointer-events: none;
}

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

.hero-caption h2 {
    font-size: 23px;
    margin: 10px 0;
    color: white;
}

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

.play-large {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 1px solid #ffffff99;
    border-radius: 50%;
    background: #ffffff20;
    backdrop-filter: blur(5px);
    margin-bottom: 16px;
    color: white;
}

.ribbon {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    font-size: 14px;
    padding: 15px 6px;
    border-bottom: 1px solid var(--line);
}

.ribbon strong {
    color: var(--green);
}

.ribbon span:last-child {
    margin-left: auto;
    color: var(--muted);
}

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

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

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

.card {
    min-width: 0;
}

.thumb {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #d9e6e1;
}

.thumb img {
    transition: transform 0.25s ease;
}

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

.play-dot, .duration, .cover-tag {
    position: absolute;
    z-index: 1;
    color: white;
    background: #102c2bcc;
    font-size: 12px;
    border-radius: 5px;
    line-height: 1.8;
}

.duration {
    right: 10px;
    bottom: 10px;
    padding: 2px 7px;
    font-variant-numeric: tabular-nums;
}

.play-dot {
    left: 10px;
    bottom: 10px;
    width: 30px;
    height: 28px;
    display: grid;
    place-items: center;
}

.play-dot .icon {
    width: 16px;
    height: 16px;
}

.cover-tag {
    left: 10px;
    top: 10px;
    padding: 2px 9px;
}

.card h3 {
    margin: 12px 0 6px;
    font-size: 16px;
    line-height: 1.65;
    min-height: 2.8em;
}

.card h3, .card .summary {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.summary {
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 10px;
}

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

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

.category {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px;
    position: relative;
}

.category .icon {
    color: var(--green);
    background: #e4f2ec;
    padding: 8px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.category:nth-child(4n+2) .icon {
    background: #edf0ff;
    color: #58699d;
}

.category:nth-child(4n+3) .icon {
    background: #fff0dc;
    color: #986517;
}

.category:nth-child(4n) .icon {
    background: #fce7ed;
    color: #a9536e;
}

.category h3 {
    margin: 8px 0 3px;
    font-size: 16px;
}

.category p {
    margin: 0;
    font-size: 12px;
    color: var(--muted);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 35px;
}

.timeline {
    border-left: 2px solid var(--line);
    padding-left: 23px;
}

.timeline-item {
    padding: 0 0 20px;
    position: relative;
    display: grid;
    grid-template-columns: 135px minmax(0, 1fr);
    gap: 18px;
}

.timeline-item::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    position: absolute;
    left: -28px;
    top: 8px;
}

.timeline-item h3 {
    margin: 3px 0 4px;
    font-size: 16px;
}

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

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

.rank-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.rank-list li:last-child {
    border: 0;
}

.rank-number {
    color: var(--green);
    font-size: 26px;
    font-style: italic;
    font-weight: 800;
}

.rank-list h3 {
    font-size: 14px;
    margin: 0 0 3px;
}

.rank-list small {
    font-size: 12px;
    color: var(--muted);
}

.heat {
    font-size: 16px;
    color: var(--green);
    font-weight: 700;
}

.feature {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 280px;
}

.feature img {
    position: absolute;
    height: 100%;
}

.feature-copy {
    position: relative;
    z-index: 1;
    padding: 90px 28px 28px;
    color: white;
}

.feature-copy h3 {
    margin: 10px 0;
    font-size: 23px;
}

.feature-copy p {
    color: #e4ece9;
    font-size: 14px;
}

.dark-section {
    background: var(--dark);
    border-radius: 20px;
    padding: 30px;
    color: white;
}

.dark-section .section-head h2 .icon, .dark-section .more {
    color: var(--mint);
}

.dark-section .summary, .dark-section .meta, .dark-section .section-head p {
    color: #bdd1cd;
}

.city-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.city-layout .feature {
    min-height: 100%;
}

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

.city-list .timeline-item {
    padding: 0;
}

.city-list .timeline-item::before {
    display: none;
}

.food-section {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    border-top: 4px solid #dfa848;
}

.food-section .grid .thumb {
    border-radius: 70px 70px 12px 12px;
}

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

.topic-copy {
    padding: 18px 22px;
}

.topic-copy h3 {
    margin: 0 0 8px;
    font-size: 19px;
}

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

.topic-copy ul {
    padding-left: 20px;
    font-size: 14px;
}

.editor-note {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) 180px;
    align-items: center;
    gap: 28px;
    border-block: 1px solid var(--line);
    padding: 30px 0;
}

.editor-stamp {
    font-size: 45px;
    font-weight: 800;
    line-height: 1;
    color: var(--green);
}

.editor-note h3 {
    font-size: 22px;
    margin: 0 0 10px;
}

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

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

.tags .pill:nth-child(3n) {
    background: #e8f3ed;
}

.about {
    display: grid;
    grid-template-columns: 0.65fr 1.5fr;
    gap: 45px;
    align-items: start;
}

.about h2 {
    font-size: 32px;
    margin-top: 5px;
}

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

.subscribe {
    background: var(--mint);
    padding: 32px;
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    border-radius: 18px;
}

.subscribe img {
    aspect-ratio: 1;
    border-radius: 20px;
}

.subscribe h2 {
    margin: 0 0 6px;
    font-size: 24px;
}

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

.subscribe .button {
    background: var(--dark);
    color: white;
    border: 0;
}

.footer {
    background: white;
    border-top: 1px solid var(--line);
    padding: 35px 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 25px;
}

.footer p {
    color: var(--muted);
    font-size: 12px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 23px;
    max-width: 570px;
    font-size: 14px;
}

.copyright {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.breadcrumb {
    color: var(--muted);
    font-size: 14px;
    margin-block: 27px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.page-title {
    max-width: 880px;
    margin: 25px 0;
}

.page-title h1 {
    font-size: clamp(27px, 4vw, 40px);
    line-height: 1.45;
    margin: 8px 0 16px;
}

.page-title p {
    color: var(--muted);
}

.category-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 38px;
    padding: 30px;
    background: #e5f1ed;
    border-radius: 20px;
}

.category-hero .page-title {
    align-self: center;
}

.category-hero .feature {
    min-height: 320px;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 0.8fr);
    gap: 35px;
    align-items: start;
}

.article-body {
    min-width: 0;
}

.article-body section {
    margin-block: 36px;
}

.article-body h2 {
    font-size: 24px;
}

.article-body p {
    color: #485f5b;
}

.side-panel {
    background: white;
    border: 1px solid var(--line);
    padding: 22px;
    border-radius: 16px;
}

.side-panel .card + .card {
    margin-top: 25px;
}

.side-panel h2 {
    margin-top: 0;
    font-size: 21px;
}

.player {
    background: #091716;
    border-radius: 16px;
    overflow: hidden;
    color: white;
}

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

.stage img {
    height: 100%;
}

.stage-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    width: 68px;
    height: 68px;
    background: #102c2ba8;
    color: white;
    border: 1px solid white;
}

.preview-label {
    position: absolute;
    top: 15px;
    left: 15px;
    border-radius: 5px;
    padding: 3px 10px;
    font-size: 12px;
    background: #102c2bd9;
}

.stage-caption {
    position: absolute;
    bottom: 0;
    margin: 0;
    padding: 22px 18px 12px;
    width: 100%;
    background: linear-gradient(transparent, #000b);
    font-size: 14px;
    color: white !important;
}

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

.player-controls button {
    background: transparent;
    color: white;
    border: 0;
    padding: 6px 10px;
}

.player-controls input {
    min-width: 30px;
    accent-color: var(--mint);
}

.seek {
    flex: 1;
    width: 100px;
}

.player-controls .volume {
    width: 55px;
}

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

.player-status {
    font-size: 12px;
    color: #b8cbc6;
    padding: 0 18px 12px;
    margin: 0;
}

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

.player:fullscreen .stage, .player.is-expanded .stage {
    max-height: calc(100vh - 120px);
    width: 100%;
}

.player:fullscreen img, .player.is-expanded img {
    object-fit: contain;
}

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

body.player-expanded {
    overflow: hidden;
}

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

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

figure {
    margin: 0;
    min-width: 0;
}

figure img {
    border-radius: 12px;
}

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

.highlights {
    padding: 24px 24px 24px 44px;
    background: #e7f2ed;
    border-radius: 12px;
}

.highlights li + li {
    margin-top: 12px;
}

.end-note {
    padding: 24px;
    border-block: 1px solid var(--line);
    text-align: center;
}

.pagination {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 28px 0 45px;
}

.pagination a, .pagination span {
    padding: 18px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 14px;
}

.library-list li {
    padding-block: 12px;
    border-bottom: 1px solid var(--line);
}

.notice {
    background: #e9f2ee;
    padding: 20px;
    border-radius: 12px;
}

.back-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 5;
    background: var(--dark);
    color: white;
    border: 0;
    width: 44px;
    padding: 10px;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    background: var(--dark);
    color: white;
    border-radius: 10px;
    padding: 12px 22px;
    z-index: 20;
    max-width: calc(100% - 40px);
}

[hidden] {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        transition: none !important;
    }
}
