* {
    box-sizing: border-box;
}
:root {
    color-scheme: dark;
    --bg: #101425;
    --panel: #1c233b;
    --ink: #f7f4ee;
    --muted: #c2c8da;
    --accent: #ffca65;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    line-height: 1.75;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: var(--accent);
}
a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
h1, h2, h3,
p {
    margin: 0 0 0.8em;
}
.wrap {
    width: min(1200px, 92%);
    margin: auto;
}
.skip {
    position: absolute;
    left: 1rem;
    top: -100px;
}
.skip:focus {
    top: 0;
    background: var(--bg);
    z-index: 5;
}
.site-header {
    border-bottom: 1px solid #39415e;
}
.brandbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    gap: 16px;
}
.brand {
    font-size: 30px;
    font-weight: 800;
    color: var(--accent);
}
.brand span,
.edition {
    font-size: 13px;
    color: var(--muted);
    margin-left: 12px;
}
.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 30px;
    padding: 12px 0;
    font-size: 15px;
}
.hero {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 32px;
    align-items: center;
    padding: 40px 0;
}
.hero-copy {
    padding: 20px 0;
}
.eyebrow {
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 1px;
}
h1 {
    font-size: clamp(30px, 5vw, 56px);
    line-height: 1.25;
}
h1 span {
    display: block;
    color: var(--accent);
}
.hero-copy p, .chapter-head p, .story p,
.lead {
    color: var(--muted);
}
.cta {
    display: inline-block;
    background: var(--accent);
    color: #141827;
    padding: 10px 20px;
    font-weight: bold;
}
.cta:hover {
    color: #141827;
    background: #ffe2a9;
}
.hero-art {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: repeat(2, 180px);
    gap: 8px;
}
.hero-art a {
    position: relative;
    overflow: hidden;
    border: 1px solid #56617e;
}
.hero-art a:first-child {
    grid-row: span 2;
}
.hero-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-art span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(transparent, #080b19);
    font-weight: bold;
}
.index-band {
    background: #232039;
    padding: 24px;
    border-left: 4px solid var(--accent);
}
.index-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.index-grid a {
    border-top: 1px solid #78718a;
    padding-top: 12px;
}
.index-grid strong,
.index-grid span {
    display: block;
}
.index-grid span {
    color: var(--muted);
    font-size: 14px;
}
.chapter {
    margin: 42px 0;
}
.chapter-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 14px;
    border-bottom: 1px solid #39415e;
}
.chapter-head h2,
.chapter-head p {
    margin-bottom: 4px;
}
.chapter-head > a {
    margin-left: auto;
    white-space: nowrap;
    color: var(--accent);
}
.chapter-no {
    font-size: 46px;
    font-weight: 900;
    color: var(--accent);
}
.story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.story {
    background: var(--panel);
    border: 1px solid #39415e;
    min-width: 0;
}
.story img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.story-copy {
    padding: 18px;
}
.story h3 {
    font-size: 20px;
    margin: 4px 0;
}
.story p {
    font-size: 15px;
}
.read {
    color: var(--accent);
    font-size: 14px;
}
.guide,
.intro {
    padding: 30px;
    background: var(--panel);
    margin: 32px 0;
}
.crumb {
    margin: 24px 0;
    color: var(--muted);
    font-size: 14px;
}
.detail {
    max-width: 850px;
    margin: 30px auto;
    padding: 32px;
    background: var(--panel);
}
.detail h1 {
    font-size: clamp(26px, 4vw, 40px);
}
.detail figure {
    margin: 24px 0;
}
.detail figure img {
    width: min(100%, 480px);
    margin: auto;
}
figcaption {
    color: var(--muted);
    text-align: center;
    font-size: 13px;
    margin-top: 8px;
}
.detail section {
    margin-top: 28px;
}
.detail h2 {
    border-left: 3px solid var(--accent);
    padding-left: 12px;
    font-size: 22px;
}
.footer {
    border-top: 1px solid #39415e;
    padding: 28px 0;
    color: var(--muted);
    font-size: 14px;
}
@media (max-width: 760px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 20px 0;
        gap: 12px;
    }
    .hero-art {
        grid-template-rows: repeat(2, 120px);
    }
    .edition {
        display: none;
    }
    .brand span {
        display: block;
        margin: 0;
    }
    .index-grid,
    .story-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .chapter-head {
        flex-wrap: wrap;
        gap: 10px;
    }
    .detail, .guide,
    .intro {
        padding: 20px;
    }
}
@media (max-width: 480px) {
    .story-grid {
        grid-template-columns: 1fr;
    }
    .story > a {
        display: grid;
        grid-template-columns: 115px 1fr;
        align-items: start;
    }
    .story img {
        aspect-ratio: 1;
    }
    .story-copy {
        padding: 10px;
    }
    .story h3 {
        font-size: 17px;
    }
    .story p {
        font-size: 13px;
    }
    .index-band {
        padding: 16px;
    }
}
