:root {
    --ink: #18392f;
    --muted: #62766d;
    --yellow: #f4da52;
    --paper: #f5f7f4;
    --line: #dfe6df;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.75 "Microsoft YaHei", "PingFang SC", sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: #7c6410; }
button, input { font: inherit; }
button, .button { cursor: pointer; border: 1px solid var(--ink); border-radius: 9px; padding: 10px 20px; background: var(--ink); color: white; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
button:hover, .button:hover { background: #2e5145; color: white; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #b08c00; outline-offset: 4px; }
.button.light { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.wrap { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.top { background: white; border-bottom: 1px solid var(--line); }
.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 48px; height: 48px; }
.brand strong { display: block; font-size: 24px; letter-spacing: 2px; }
.brand small { display: block; color: var(--muted); font-size: 12px; letter-spacing: 2px; }
.search { display: flex; gap: 8px; }
.search input { min-width: 0; width: 260px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.nav { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; padding-bottom: 15px; }
.nav a { padding: 9px 3px; text-align: center; white-space: nowrap; border-radius: 7px; font-size: 14px; }
.nav a[aria-current="page"] { background: var(--ink); color: white; }
.ui { margin-right: 7px; color: #938021; }
.hero { margin-top: 36px; display: grid; grid-template-columns: 1.1fr 1fr; background: var(--ink); color: white; border-radius: 20px; overflow: hidden; min-height: 390px; }
.hero-copy { padding: 40px; align-self: center; }
.eyebrow { font-size: 13px; letter-spacing: 3px; color: #718479; text-transform: uppercase; }
.hero .eyebrow { color: var(--yellow); }
h1 { font-size: clamp(30px,4vw,46px); line-height: 1.3; margin: 12px 0 20px; }
.hero h1 a:hover { color: var(--yellow); }
.hero p { color: #d2ded5; }
.hero-art { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 28px; background: #254d3e; align-items: center; }
.hero-art img { aspect-ratio: 3/4; object-fit: cover; width: 100%; height: auto; border-radius: 12px; }
.hero-art a:last-child { transform: translateY(15px); }
.hero-art figcaption { color: #ecf2e7; font-size: 14px; margin-top: 8px; }
figure { margin: 0; min-width: 0; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.section { margin-top: 64px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
h2 { font-size: 26px; margin: 0; line-height: 1.45; }
h3 { font-size: 18px; margin: 12px 0 5px; }
p { margin: 10px 0; }
.muted, .meta { color: var(--muted); }
.meta { font-size: 14px; }
.grid { display: grid; gap: 22px; }
.six { grid-template-columns: repeat(6,minmax(0,1fr)); }
.four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.cover { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; display: block; border-radius: 12px; background: #d8e1d7; }
.book h3 { font-size: 16px; }
.book p { font-size: 14px; }
.chip { display: inline-block; background: #e9eddb; border-radius: 5px; padding: 2px 8px; font-size: 12px; color: #425b38; }
.category { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.category .ui { font-size: 28px; }
.category p { font-size: 14px; color: var(--muted); }
.panel { border: 1px solid var(--line); background: white; border-radius: 14px; padding: 26px; }
.rank { list-style: none; margin: 0; padding: 0; }
.rank li { border-bottom: 1px solid var(--line); padding: 16px 0; display: flex; gap: 16px; align-items: center; }
.rank li:last-child { border-bottom: 0; }
.rank b { font-size: 26px; font-weight: 500; color: #9b8221; }
.rank span { display: block; font-size: 14px; color: var(--muted); }
.feature { display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: center; }
.feature img { max-height: 260px; }
.editorial { background: #e8eddb; }
.timeline { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; border-top: 2px solid #c9d6be; padding-top: 18px; }
.timeline time { color: #8c7221; font-weight: 700; }
.banner { background: var(--yellow); padding: 32px; border-radius: 14px; }
.shelf-list { display: grid; gap: 12px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.shelf-list a { padding: 14px; background: var(--paper); border-radius: 8px; }
details { padding: 20px 0; border-bottom: 1px solid var(--line); }
summary { font-weight: 600; cursor: pointer; }
.about { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; border-top: 1px solid var(--line); padding-top: 36px; }
.subscribe { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--ink); color: white; border-radius: 16px; padding: 36px; }
.subscribe p { color: #cbd9ce; }
.subscribe img { width: 100px; height: 100px; }
footer { margin-top: 50px; padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.crumb { display: flex; flex-wrap: wrap; gap: 12px; padding: 25px 0; font-size: 14px; }
.page-title { padding: 30px; border-radius: 16px; background: #e8eddb; }
.reader { max-width: 850px; margin: 36px auto 0; }
.reader figure { margin: 32px 0; background: white; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.reader figure img { width: 100%; height: auto; aspect-ratio: 4/3; display: block; object-fit: cover; background: #dce5dd; }
.reader figcaption { padding: 26px; font-size: 18px; line-height: 2; }
.reader figcaption p { margin-bottom: 16px; }
.reader-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.reader-nav a { text-align: center; padding: 14px 6px; background: #e4eada; border-radius: 8px; }
.search-results { margin-top: 24px; }
[hidden] { display: none !important; }
img { max-width: 100%; }
@media (max-width: 1000px) {
    .six { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .four { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .nav { grid-template-columns: repeat(5,minmax(0,1fr)); }
    .hero-copy { padding: 26px; }
    .hero-art { padding: 20px; gap: 10px; }
    .feature { grid-template-columns: 110px 1fr; gap: 16px; }
}
@media (max-width: 620px) {
    .wrap { width: calc(100% - 28px); }
    .brand-row { flex-wrap: wrap; padding: 18px 0; gap: 15px; }
    .search { width: 100%; }
    .search input { flex: 1; width: 0; }
    .nav { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
    .hero { grid-template-columns: 1fr; margin-top: 26px; }
    .hero-art { padding: 0 26px 30px; background: transparent; }
    .hero-art img { aspect-ratio: 4/3; }
    .hero-art a:last-child { transform: none; }
    .section { margin-top: 42px; }
    .section-head { align-items: flex-start; }
    h2 { font-size: 22px; }
    .six, .three, .two, .timeline { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .grid { gap: 16px; }
    .category, .panel { padding: 18px; }
    .feature { grid-template-columns: 1fr; gap: 8px; }
    .feature img { max-height: none; }
    .feature h3 { font-size: 17px; }
    .about { grid-template-columns: 1fr; gap: 16px; }
    .subscribe { padding: 24px; flex-wrap: wrap; }
    .subscribe img { width: 72px; height: 72px; }
    .reader figcaption { padding: 20px; font-size: 16px; }
    .reader-nav { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
