@charset "UTF-8";

:root {
    --ink: #142a33;
    --muted: #637680;
    --paper: #f5f8f8;
    --line: #dce6e7;
    --mint: #b5f568;
    --teal: #087e78;
    --white: #fff;
    --radius: 18px;
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a, button { touch-action: manipulation; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid #008d86; outline-offset: 5px; }
img { display: block; width: 100%; height: auto; max-width: 100%; object-fit: cover; background: #d9e5e7; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.35; }
h1 { font-size: clamp(2.15rem, 5vw, 3.7rem); letter-spacing: -.05em; }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); letter-spacing: -.03em; }
h3 { font-size: 1.07rem; }
small, .small { font-size: .875rem; }
.wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; left: 20px; top: -100px; z-index: 10; padding: 10px; background: white; }
.skip:focus { top: 10px; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.topbar { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; background: transparent; }
.brand strong { display: block; font-size: 1.45rem; letter-spacing: -.06em; }
.brand small { display: block; color: var(--muted); font-size: .75rem; letter-spacing: .14em; }
.topnote { color: var(--muted); font-size: .875rem; margin-left: auto; }
.outline, .button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; padding: 12px 21px; border-radius: 9px; border: 1px solid var(--line); font-weight: 700; background: white; color: var(--ink); min-height: 46px; }
.button { background: var(--ink); color: white; border-color: var(--ink); }
.button:hover { background: var(--teal); color: white; }
.button.accent { background: var(--mint); color: var(--ink); border-color: var(--mint); }
.nav { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; padding: 0 0 14px; }
.nav a { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 5px; border-radius: 8px; font-size: .875rem; font-weight: 700; }
.nav a[aria-current="page"] { background: var(--ink); color: var(--mint); }
.nav a:hover { background: #eaf3ef; color: var(--teal); }
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.hero { margin-top: 30px; background: var(--ink); color: white; border-radius: 24px; display: grid; grid-template-columns: 1.12fr 1fr; overflow: hidden; min-height: 390px; }
.hero-copy { padding: 43px 40px; align-self: center; }
.hero .eyebrow { color: var(--mint); }
.hero .eyebrow::before { background: var(--mint); }
.hero h1 { margin: 14px 0 8px; }
.hero h1 a:hover { color: var(--mint); }
.hero-lead { font-size: 1.35rem; color: #e4f2ed; margin-bottom: 14px; }
.hero-copy > p:not(.hero-lead) { color: #bcccd0; max-width: 440px; font-size: .94rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.hero .outline { color: white; background: transparent; border-color: #62747a; }
.hero-art { position: relative; min-width: 0; }
.hero-art img { height: 100%; aspect-ratio: 1.3; min-height: 390px; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #142a3340, #142a3300 40%), linear-gradient(0deg, #142a33e8, transparent 60%); pointer-events: none; }
.hero-caption { position: absolute; z-index: 1; bottom: 30px; left: 30px; right: 25px; }
.hero-caption small { color: var(--mint); }
.hero-caption h2 { margin-top: 5px; font-size: 2rem; }
.hero-caption p { color: #e0ebed; font-size: .9rem; margin-top: 8px; }
.searchstrip { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; background: white; padding: 20px 24px; margin-top: 20px; border: 1px solid var(--line); border-radius: 12px; }
.searchstrip label { font-weight: 700; }
.searchstrip input { flex: 1; min-width: 100px; border: 0; border-left: 1px solid var(--line); padding: 5px 16px; background: transparent; color: var(--ink); }
.searchstrip span { color: var(--muted); font-size: .875rem; }
.section { margin-top: 64px; scroll-margin-top: 25px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-head h2 { display: flex; align-items: center; gap: 10px; }
.section-head h2 .icon { width: 25px; height: 25px; color: var(--teal); }
.section-head p { color: var(--muted); margin-top: 7px; font-size: .94rem; }
.more { font-size: .875rem; font-weight: 700; flex-shrink: 0; }
.grid-six { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.book-card { min-width: 0; }
.cover { position: relative; overflow: hidden; border-radius: 12px; background: #dce9e8; }
.cover img { aspect-ratio: 3 / 4; transition: transform .3s; }
.book-card:hover .cover img { transform: scale(1.035); }
.cover .badge { position: absolute; top: 10px; left: 10px; background: #142a33e8; color: white; border: none; }
.book-card h3 { margin-top: 13px; }
.book-card p { font-size: .85rem; color: var(--muted); margin-top: 5px; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 5px; font-size: .75rem; border: 1px solid var(--line); color: var(--teal); }
.update-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 35px; background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 26px; }
.update-row { display: grid; grid-template-columns: 50px 1fr auto; gap: 14px; align-items: center; padding: 19px 0; border-bottom: 1px solid var(--line); }
.update-row:nth-last-child(-n+2) { border-bottom: 0; }
.update-row img { width: 50px; aspect-ratio: 1; border-radius: 9px; }
.update-row p { color: var(--muted); font-size: .85rem; }
.update-row time { font-size: .8rem; color: var(--teal); }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.category { display: flex; align-items: start; gap: 14px; padding: 22px 17px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.category > .icon { color: var(--teal); width: 28px; height: 28px; margin-top: 3px; }
.category p { font-size: .8rem; color: var(--muted); margin-top: 5px; }
.category:hover { border-color: var(--teal); }
.ranking { display: grid; grid-template-columns: .8fr 1.2fr; background: #e3eee9; border-radius: var(--radius); padding: 34px; gap: 42px; }
.ranking-intro h3 { font-size: 2.1rem; margin: 10px 0 14px; }
.ranking-intro p { color: #4f6863; }
.rank-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.rank-list li { display: flex; align-items: center; gap: 14px; padding-bottom: 15px; border-bottom: 1px solid #bbd1c6; }
.rank-number { font: italic 700 2rem Georgia, serif; color: var(--teal); }
.rank-list h3 { font-size: 1rem; }
.rank-list p { color: var(--muted); font-size: .8rem; }
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.spotlight article { display: grid; grid-template-columns: 42% 58%; background: white; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.spotlight img { height: 100%; aspect-ratio: 3 / 4; }
.spot-copy { padding: 24px; display: flex; flex-direction: column; align-items: start; }
.spot-copy h3 { font-size: 1.35rem; margin: 12px 0; }
.spot-copy p { font-size: .875rem; color: var(--muted); margin-bottom: 16px; }
.spot-copy .more { margin-top: auto; }
.feature-wide { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; background: #fff; border-radius: var(--radius); overflow: hidden; }
.feature-wide img { height: 100%; aspect-ratio: 16 / 10; }
.feature-copy { padding: 34px 34px 34px 0; align-self: center; }
.feature-copy h3 { margin: 10px 0 16px; font-size: 1.85rem; }
.feature-copy p { color: var(--muted); }
.shelf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.shelf-tile { padding: 22px; background: #edf0f7; border-radius: 4px 18px 18px 4px; border-left: 5px solid #7992b2; }
.shelf-tile:nth-child(even) { background: #e9f0e3; border-left-color: #7d995e; }
.shelf-tile h3 { margin: 9px 0; }
.shelf-tile p { font-size: .875rem; color: var(--muted); }
.journey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; border-block: 1px solid var(--line); padding-block: 28px; }
.journey article { display: grid; grid-template-columns: 36px 1fr; gap: 10px; }
.journey span { color: var(--teal); font-family: Georgia, serif; font-size: 1.5rem; }
.journey p { color: var(--muted); font-size: .875rem; margin-top: 9px; }
.bookshelf { background: white; border: 1px solid var(--line); padding: 28px; border-radius: var(--radius); }
.bookshelf p { color: var(--muted); }
.saved-list { margin-top: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.saved-list:empty { display: none; }
.saved-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--paper); border-radius: 8px; padding: 12px 16px; }
.saved-row button { background: transparent; border: 0; color: var(--muted); min-height: 40px; }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
details { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 18px 22px; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); padding-top: 12px; font-size: .94rem; }
.about { display: grid; grid-template-columns: .6fr 1.4fr; gap: 50px; padding: 34px 0; border-top: 2px solid var(--ink); }
.about-mark { display: flex; align-items: center; gap: 15px; margin-top: 18px; }
.about-mark img { width: 60px; height: 60px; background: transparent; }
.about p { color: var(--muted); margin-bottom: 14px; }
.subscribe { display: flex; justify-content: space-between; align-items: center; gap: 35px; padding: 36px 42px; background: var(--ink); color: white; border-radius: var(--radius); margin-bottom: 48px; }
.subscribe p { color: #c6d5d8; margin-top: 12px; max-width: 720px; }
.brand-square { width: 116px; height: 116px; border-radius: 22px; flex-shrink: 0; background: transparent; }
.site-footer { border-top: 1px solid var(--line); background: white; padding: 27px 0; font-size: .875rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .875rem; padding-top: 26px; }
.breadcrumb span::before { content: "/"; margin-right: 10px; color: #9cacae; }
.page-intro { margin-top: 25px; padding: 38px; border-radius: var(--radius); background: #e3eee9; }
.page-intro h1 { font-size: 2.5rem; margin-top: 10px; }
.page-intro p { max-width: 850px; color: #49665e; margin-top: 16px; }
.detail-hero { display: grid; grid-template-columns: 250px 1fr; gap: 42px; margin-top: 30px; background: white; padding: 34px; border-radius: 20px; border: 1px solid var(--line); }
.detail-hero > img { aspect-ratio: 3 / 4; border-radius: 12px; }
.detail-copy { align-self: center; }
.detail-copy h1 { font-size: 2.7rem; margin: 14px 0; }
.detail-copy p { color: var(--muted); }
.meta-row { display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: .875rem; color: var(--muted); margin: 14px 0 22px; }
.chapter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.chapter-link { display: block; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.chapter-link h3 { margin-top: 8px; }
.chapter-link p { color: var(--muted); font-size: .875rem; margin-top: 10px; }
.reading-intro { max-width: 820px; margin: 35px auto 0; text-align: center; }
.reading-intro h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 12px 0; }
.reading-intro .meta-row { justify-content: center; }
.reading-note { max-width: 780px; padding: 22px; margin: 28px auto; background: #e5eee9; border-radius: 12px; }
.reading-note h2 { font-size: 1rem; margin-bottom: 8px; }
.reading-note p { font-size: .9rem; color: #49665e; }
.reading-tools { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 24px 0; }
.reader { max-width: 780px; margin: 32px auto; }
.panel { margin-bottom: 36px; background: white; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.panel img { aspect-ratio: 4 / 3; object-fit: cover; }
.panel figcaption { padding: 25px 30px; }
.panel h2 { font-size: .875rem; color: var(--teal); margin-bottom: 10px; }
.panel p { line-height: 2; font-size: var(--reading-size, 1.12rem); }
.endnote { text-align: center; padding: 32px; border-block: 1px solid var(--line); }
.endnote p { margin-top: 12px; color: var(--muted); }
.chapter-nav { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin: 28px 0 50px; }
.chapter-nav a { text-align: center; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.empty-results { background: white; padding: 20px; border-radius: 12px; }
[hidden] { display: none !important; }
.search-mode .grid-six { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.night { --paper: #142129; --ink: #e1eeee; --white: #20333c; --muted: #b1c4cd; --line: #3d535c; --teal: #9ddb93; background: var(--paper); color: var(--ink); }
.night .panel, .night .chapter-nav a, .night .site-header, .night .site-footer { background: var(--white); }
.night .outline { background: #20333c; color: #e1eeee; }
.night .nav a[aria-current="page"] { background: #0b151b; }
.night .reading-note { background: #273d38; }
.night .reading-note p { color: #cfdfd5; }

@media (max-width: 1000px) {
    .hero-copy { padding: 30px; }
    .grid-six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .spotlight article { grid-template-columns: 38% 62%; }
    .spot-copy { padding: 18px; }
    .ranking { gap: 24px; }
    .shelf-grid { grid-template-columns: repeat(2, 1fr); }
    .nav a { flex-direction: column; gap: 4px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .wrap { width: calc(100% - 32px); }
    .topbar { min-height: 78px; gap: 12px; }
    .brand strong { font-size: 1.25rem; }
    .brand small { font-size: .7rem; }
    .brand img { width: 38px; height: 38px; }
    .topnote { display: none; }
    .topbar .outline { padding: 8px 11px; font-size: .8rem; }
    .nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; padding-bottom: 12px; }
    .nav a { font-size: .8rem; flex-direction: row; gap: 5px; padding: 9px 2px; }
    .nav .icon { width: 16px; height: 16px; }
    .hero { grid-template-columns: 1fr; margin-top: 20px; border-radius: 16px; }
    .hero-copy { padding: 30px 25px; }
    .hero-art img { min-height: 240px; height: 240px; aspect-ratio: 16 / 10; }
    .hero-caption { bottom: 20px; left: 25px; }
    .hero-caption h2 { font-size: 1.6rem; }
    .hero-lead { font-size: 1.1rem; }
    .searchstrip { padding: 14px; gap: 10px; }
    .searchstrip label { font-size: .875rem; }
    .searchstrip input { width: 60%; padding-left: 10px; }
    .searchstrip span { width: 100%; }
    .section { margin-top: 44px; }
    .section-head { align-items: start; gap: 10px; }
    .section-head p { font-size: .85rem; }
    .more { font-size: .8rem; }
    .grid-six { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
    .book-card h3 { font-size: 1rem; }
    .update-grid { grid-template-columns: 1fr; padding: 5px 17px; }
    .update-row:nth-last-child(2) { border-bottom: 1px solid var(--line); }
    .update-row { grid-template-columns: 42px 1fr auto; gap: 10px; }
    .update-row img { width: 42px; }
    .update-row h3 { font-size: .94rem; }
    .category { flex-direction: column; padding: 18px; gap: 10px; }
    .category h3 { font-size: 1rem; }
    .ranking { grid-template-columns: 1fr; padding: 23px; }
    .rank-list { gap: 14px; }
    .rank-list h3 { font-size: .875rem; }
    .rank-number { font-size: 1.5rem; }
    .spotlight { grid-template-columns: 1fr; }
    .spotlight article { grid-template-columns: 36% 64%; }
    .spot-copy p { font-size: .85rem; }
    .feature-wide { grid-template-columns: 1fr; gap: 0; }
    .feature-copy { padding: 24px; }
    .feature-wide img { aspect-ratio: 16 / 9; }
    .shelf-tile { padding: 16px; }
    .journey { grid-template-columns: 1fr; gap: 26px; }
    .bookshelf { padding: 22px; }
    .saved-list, .faq { grid-template-columns: 1fr; }
    .about { grid-template-columns: 1fr; gap: 22px; }
    .subscribe { padding: 27px; gap: 20px; flex-direction: column-reverse; align-items: start; }
    .brand-square { width: 66px; height: 66px; border-radius: 13px; }
    .page-intro { padding: 26px; }
    .page-intro h1 { font-size: 2rem; }
    .detail-hero { grid-template-columns: 1fr; gap: 25px; padding: 24px; }
    .detail-hero > img { max-width: 190px; margin-inline: auto; }
    .detail-copy h1 { font-size: 2rem; }
    .chapter-grid { grid-template-columns: 1fr; }
    .panel figcaption { padding: 20px; }
    .chapter-nav { gap: 8px; }
    .chapter-nav a { padding: 12px 6px; font-size: .85rem; }
    .reading-tools .outline { padding: 10px 15px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
