:root {
    --ink: #10130f;
    --paper: #f5f7f2;
    --card: #ffffff;
    --lime: #c7ff38;
    --green: #5d8d22;
    --muted: #687063;
    --line: #dfe5da;
    --danger: #ff5f57;
    --radius: 18px;
    --shadow: 0 16px 44px rgba(19, 28, 15, 0.09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.75;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(16, 19, 15, 0.96);
    color: #fff;
    backdrop-filter: blur(14px);
}

.header-inner,
.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.header-inner {
    display: flex;
    min-height: 76px;
    align-items: center;
    gap: 26px;
}

.brand {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
}

.brand img {
    width: 168px;
    height: 46px;
}

.brand-title {
    margin: 0;
    font-size: inherit;
    line-height: 1;
}

.nav-list {
    display: flex;
    margin: 0;
    padding: 0;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    list-style: none;
}

.nav-list a {
    display: flex;
    padding: 9px 10px;
    align-items: center;
    gap: 5px;
    border-radius: 9px;
    color: #d9ded4;
    font-size: 14px;
    white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.active {
    background: var(--lime);
    color: var(--ink);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 1px solid #444b40;
    border-radius: 10px;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.page-main {
    padding: 28px 0 64px;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 490px;
    border-radius: 28px;
    background: #20251e;
    box-shadow: var(--shadow);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-media {
    min-height: 490px;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-copy {
    display: flex;
    padding: 54px 44px 72px;
    flex-direction: column;
    justify-content: center;
    background: var(--ink);
    color: #fff;
}

.tag,
.eyebrow {
    display: inline-flex;
    width: fit-content;
    padding: 4px 10px;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    background: var(--lime);
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.hero-copy h2 {
    margin: 18px 0 14px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.18;
}

.hero-copy p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 24px;
    color: #cdd3c8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.button {
    display: inline-flex;
    width: fit-content;
    min-height: 44px;
    padding: 9px 18px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    background: var(--lime);
    color: var(--ink);
    font-weight: 800;
    cursor: pointer;
}

.hero-control {
    position: absolute;
    z-index: 4;
    bottom: 22px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(16, 19, 15, 0.68);
    color: #fff;
    cursor: pointer;
}

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

.hero-dots {
    position: absolute;
    z-index: 4;
    right: 86px;
    bottom: 34px;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.hero-dot.active {
    width: 28px;
    border-radius: 99px;
    background: var(--lime);
}

.ticker {
    display: grid;
    margin: 22px 0 36px;
    padding: 16px 20px;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.ticker strong {
    color: var(--green);
}

.ticker time {
    color: var(--muted);
    font-size: 13px;
}

.section {
    margin-top: 48px;
}

.section-head {
    display: flex;
    margin-bottom: 20px;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.section-title {
    margin: 0;
    font-size: 27px;
    line-height: 1.25;
}

.section-title span {
    color: var(--green);
}

.section-head p {
    margin: 4px 0 0;
    color: var(--muted);
}

.more {
    flex: 0 0 auto;
    color: var(--green);
    font-weight: 700;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.story-card {
    display: flex;
    overflow: hidden;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.story-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.story-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #dde3d8;
}

.story-body {
    display: flex;
    padding: 18px;
    flex: 1;
    flex-direction: column;
}

.story-body h3 {
    margin: 12px 0 8px;
    font-size: 19px;
    line-height: 1.45;
}

.story-body p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 16px;
    color: var(--muted);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.meta {
    display: flex;
    margin-top: auto;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}

.rank-panel {
    display: grid;
    padding: 28px;
    grid-template-columns: 1fr 1fr;
    gap: 16px 30px;
    border-radius: 22px;
    background: var(--ink);
    color: #fff;
}

.rank-item {
    display: grid;
    padding: 14px 0;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #343a31;
}

.rank-num {
    color: var(--lime);
    font-size: 28px;
    font-weight: 900;
}

.about {
    display: grid;
    padding: 38px;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 32px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
}

.about-mark {
    display: grid;
    min-height: 210px;
    place-items: center;
    border-radius: 18px;
    background: var(--lime);
    font-size: 72px;
    font-weight: 900;
}

.about h2 {
    margin: 0 0 12px;
    font-size: 30px;
}

.app-banner {
    display: grid;
    margin-top: 52px;
    padding: 34px 38px;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
    border-radius: 24px;
    background: linear-gradient(120deg, #151914, #2e3927);
    color: #fff;
}

.app-banner h2 {
    margin: 0 0 8px;
}

.app-banner p {
    margin: 0 0 18px;
    color: #cfd7c9;
}

.app-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.app-code {
    width: 116px;
    height: 116px;
    padding: 8px;
    border-radius: 14px;
    background: #fff;
}

.subscribe-note {
    min-height: 26px;
    margin-top: 8px;
    color: var(--lime);
    font-size: 14px;
}

.breadcrumb {
    display: flex;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
}

.category-hero {
    display: grid;
    padding: 36px;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 20px;
    border-radius: 24px;
    background: var(--ink);
    color: #fff;
}

.category-hero h1 {
    margin: 10px 0;
    font-size: clamp(34px, 5vw, 56px);
}

.category-hero p {
    max-width: 720px;
    margin: 0;
    color: #cdd3c8;
}

.category-count {
    color: var(--lime);
    font-size: 64px;
    font-weight: 900;
}

.featured-story {
    display: grid;
    overflow: hidden;
    margin-top: 26px;
    grid-template-columns: 1.1fr 0.9fr;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
}

.featured-story img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
}

.featured-copy {
    display: flex;
    padding: 34px;
    flex-direction: column;
    justify-content: center;
}

.featured-copy h2 {
    margin: 14px 0 10px;
    font-size: 30px;
    line-height: 1.35;
}

.list-stack {
    display: grid;
    gap: 16px;
}

.list-card {
    display: grid;
    overflow: hidden;
    grid-template-columns: 260px 1fr;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.list-card img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
}

.list-card .story-body {
    padding: 22px;
}

.pagination-box {
    margin-top: 24px;
    padding: 22px;
    border: 1px dashed #b9c4b2;
    border-radius: 16px;
    text-align: center;
}

.article-shell {
    display: grid;
    grid-template-columns: minmax(0, 790px) minmax(240px, 1fr);
    align-items: start;
    gap: 30px;
}

.article {
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
}

.article h1 {
    margin: 14px 0;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.25;
}

.article-lead {
    margin: 24px 0;
    padding: 18px 20px;
    border-left: 4px solid var(--lime);
    background: #f2f6ed;
    color: #44503e;
}

.article h2 {
    margin: 36px 0 12px;
    font-size: 27px;
}

.article h3 {
    margin: 26px 0 8px;
    font-size: 21px;
}

.article figure {
    margin: 28px 0;
}

.article figure img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    object-fit: cover;
    background: #dde3d8;
}

.article figcaption {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.article-end {
    margin-top: 34px;
    padding: 20px;
    border-radius: 14px;
    background: var(--ink);
    color: #dce2d7;
}

.article-nav {
    display: grid;
    margin-top: 22px;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.article-nav a {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.sidebar {
    position: sticky;
    top: 102px;
    display: grid;
    gap: 18px;
}

.side-box {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.side-box h2 {
    margin: 0 0 12px;
    font-size: 21px;
}

.side-box ul {
    margin: 0;
    padding-left: 20px;
}

.side-box li {
    margin: 10px 0;
}

.site-footer {
    padding: 44px 0 24px;
    background: #0f120e;
    color: #d4d9d0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-grid h2,
.footer-grid h3 {
    margin-top: 0;
    color: #fff;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.copyright {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid #2d332b;
    color: #929a8e;
    font-size: 13px;
}
