:root {
    --ink: #1e2138;
    --muted: #747a98;
    --line: #ececf5;
    --paper: #ffffff;
    --canvas: #f7f7fc;
    --brand: #635bff;
    --brand-dark: #3d3a9d;
    --aqua: #1fb8a6;
    --shadow: 0 18px 50px rgba(45, 46, 94, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; object-fit: cover; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner, .page-shell, .site-footer-inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.header-inner { min-height: 76px; display: flex; gap: 28px; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 190px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; color: white; font-weight: 800; border-radius: 14px 14px 14px 5px; background: linear-gradient(145deg, #8c74ff, #4a42c8); box-shadow: 0 9px 20px rgba(99, 91, 255, .25); }
.brand strong { font-size: 19px; letter-spacing: .04em; }
.brand small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .12em; }
.nav { display: flex; flex: 1; align-items: center; gap: 4px; overflow-x: auto; }
.nav a { padding: 10px 12px; color: #656a84; font-size: 14px; white-space: nowrap; border-radius: 12px; transition: .2s ease; }
.nav a:hover, .nav a.active { color: var(--brand-dark); background: #f0efff; }
.search { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fafaff; }
.search input { width: 125px; border: 0; outline: 0; background: transparent; color: var(--ink); }
.hero { position: relative; overflow: hidden; padding: 82px 0 70px; background: radial-gradient(circle at 92% 6%, #d9f9f2 0, transparent 28%), radial-gradient(circle at 6% 16%, #e2ddff 0, transparent 30%), #f8f8fe; }
.hero::after { content: ""; position: absolute; right: 8%; bottom: -110px; width: 280px; height: 280px; border: 1px solid rgba(99,91,255,.14); border-radius: 50%; box-shadow: 0 0 0 34px rgba(99,91,255,.04), 0 0 0 68px rgba(99,91,255,.035); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-dark); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--brand); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 680px; margin-bottom: 22px; font-size: clamp(38px, 5vw, 70px); line-height: 1.12; letter-spacing: -.04em; }
h1 a { color: var(--brand-dark); }
.hero-copy { max-width: 650px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 13px; border: 1px solid transparent; font-weight: 700; cursor: pointer; }
.button-primary { color: white; background: var(--brand); box-shadow: 0 10px 22px rgba(99,91,255,.22); }
.button-quiet { color: var(--brand-dark); background: white; border-color: var(--line); }
.hero-note { color: var(--muted); font-size: 13px; }
.hero-art { position: relative; min-height: 360px; display: grid; place-items: center; }
.hero-card { width: min(100%, 370px); padding: 20px; transform: rotate(4deg); border: 1px solid white; border-radius: 24px; background: rgba(255,255,255,.82); box-shadow: var(--shadow); }
.hero-card img { aspect-ratio: 4 / 3; border-radius: 17px; }
.hero-card-caption { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; }
.hero-card-caption small { color: var(--muted); }
.float-note { position: absolute; right: 0; top: 22px; padding: 12px 14px; color: #3a5360; font-size: 13px; border-radius: 14px; background: #dff9f1; transform: rotate(-6deg); box-shadow: 0 12px 22px rgba(35, 103, 99, .12); }
.section { padding: 72px 0 0; scroll-margin-top: 82px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.section-heading h2 { margin-bottom: 5px; font-size: clamp(25px, 3vw, 36px); letter-spacing: -.04em; }
.section-heading p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.text-link { color: var(--brand-dark); font-weight: 700; white-space: nowrap; }
.category-grid, .card-grid, .rank-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card { min-height: 178px; padding: 23px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.category-card:hover, .work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.category-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 19px; color: var(--brand-dark); font-size: 22px; border-radius: 13px; background: #f0efff; }
.category-card h3 { margin-bottom: 6px; font-size: 18px; }
.category-card p { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.work-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; transition: transform .2s ease, box-shadow .2s ease; }
.work-card img { aspect-ratio: 16 / 10; }
.work-body { padding: 17px; }
.work-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tag { padding: 4px 8px; color: var(--brand-dark); font-size: 11px; border-radius: 999px; background: #efeeff; }
.status { color: var(--aqua); font-size: 11px; font-weight: 700; }
.work-card h3 { margin: 11px 0 5px; font-size: 18px; }
.work-card p { min-height: 52px; margin-bottom: 14px; color: var(--muted); font-size: 13px; }
.section-tint { padding-bottom: 72px; background: #f0f0fb; }
.split-panel { display: grid; grid-template-columns: .92fr 1.08fr; gap: 34px; align-items: stretch; }
.story-panel { padding: 32px; border-radius: 24px; background: linear-gradient(145deg, #3e3a9d, #7768ef); color: white; box-shadow: 0 18px 40px rgba(61,58,157,.22); }
.story-panel p { color: rgba(255,255,255,.78); }
.story-list { display: grid; gap: 12px; }
.story-item { display: flex; justify-content: space-between; gap: 16px; padding: 18px; border-radius: 16px; background: white; border: 1px solid var(--line); }
.story-item strong { display: block; margin-bottom: 4px; }
.story-item span { color: var(--muted); font-size: 13px; }
.rank-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.rank-tab { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: white; cursor: pointer; }
.rank-tab.active { color: white; border-color: var(--brand); background: var(--brand); }
.rank-list { padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.rank-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rank-row:last-child { border-bottom: 0; }
.rank-num { color: var(--brand); font-size: 20px; font-weight: 800; }
.rank-meta { color: var(--muted); font-size: 12px; }
.about { display: grid; grid-template-columns: .86fr 1.14fr; gap: 34px; align-items: center; }
.about-copy { color: var(--muted); }
.about-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.about-point { padding: 18px; border-radius: 17px; background: white; border: 1px solid var(--line); }
.about-point strong { display: block; margin-bottom: 4px; }
.about-point span { color: var(--muted); font-size: 13px; }
.download { margin-top: 72px; padding: 44px; border-radius: 26px; color: white; background: linear-gradient(120deg, #222443, #4947a8); }
.download-grid { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.download h2 { margin-bottom: 7px; }
.download p { max-width: 620px; margin-bottom: 0; color: rgba(255,255,255,.72); }
.download-badge { min-width: 152px; padding: 14px 16px; text-align: center; border: 1px solid rgba(255,255,255,.22); border-radius: 16px; background: rgba(255,255,255,.10); }
.site-footer { margin-top: 72px; padding: 40px 0 24px; color: #aeb0c6; background: #1f2138; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 32px; }
.site-footer .brand strong { color: white; }
.site-footer .brand small { color: #aeb0c6; }
.footer-title { margin-bottom: 12px; color: white; font-weight: 700; }
.footer-links { display: grid; gap: 7px; font-size: 13px; }
.footer-links a:hover { color: white; }
.copyright { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; color: var(--muted); font-size: 13px; }
.breadcrumb a { color: var(--brand-dark); }
.listing-head { padding: 44px 0 12px; }
.listing-head h1 { margin-bottom: 10px; font-size: clamp(34px, 5vw, 56px); }
.listing-head p { max-width: 700px; color: var(--muted); }
.article-card { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.article-card img { aspect-ratio: 16 / 10; border-radius: 14px; }
.article-card h2 { margin-bottom: 7px; font-size: 20px; }
.article-card p { margin-bottom: 9px; color: var(--muted); font-size: 14px; }
.article-meta { color: var(--muted); font-size: 12px; }
.article-layout { max-width: 820px; margin: 0 auto; }
.article-layout h1 { max-width: none; margin-bottom: 13px; font-size: clamp(34px, 5vw, 58px); }
.article-lead { color: var(--muted); font-size: 17px; }
.article-meta-line { display: flex; flex-wrap: wrap; gap: 16px; margin: 20px 0 30px; color: var(--muted); font-size: 13px; }
.reader { padding: 30px; border-radius: 24px; background: white; border: 1px solid var(--line); }
.reader p { color: #50546e; }
.reader h2 { margin-top: 30px; font-size: 25px; }
.reader figure { margin: 26px 0; }
.reader figure img { max-height: 520px; border-radius: 15px; }
.reader figcaption { margin-top: 7px; color: var(--muted); text-align: center; font-size: 12px; }
.chapter-end { margin-top: 30px; padding: 20px; text-align: center; color: var(--brand-dark); border-radius: 16px; background: #f0efff; }
.article-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 25px; }
.empty-nav { visibility: hidden; }
.mobile-menu { display: none; }
@media (max-width: 980px) { .header-inner { gap: 15px; } .brand { min-width: 160px; } .search { display: none; } .category-grid, .card-grid, .rank-grid { grid-template-columns: repeat(2, 1fr); } .hero-grid, .about, .split-panel { grid-template-columns: 1fr; } .hero-art { min-height: 300px; } }
@media (max-width: 640px) { .header-inner, .page-shell, .site-footer-inner { width: min(100% - 28px, 1180px); } .site-header { position: relative; } .header-inner { min-height: auto; padding: 14px 0; flex-wrap: wrap; } .brand { flex: 1; } .nav { order: 3; flex-basis: 100%; padding-bottom: 2px; } .nav a { padding: 8px 10px; font-size: 13px; } .hero { padding: 52px 0 40px; } .hero-art { min-height: 240px; } .float-note { right: 2px; } .section { padding-top: 48px; } .section-heading { align-items: start; flex-direction: column; } .category-grid, .card-grid, .about-points { grid-template-columns: 1fr; } .article-card { grid-template-columns: 1fr; } .article-card img { max-height: 190px; } .download { padding: 28px 22px; } .download-grid, .footer-grid { grid-template-columns: 1fr; display: grid; } .reader { padding: 20px; } .article-nav { flex-direction: column; } .article-nav .empty-nav { display: none; } }
