:root {
    --bg-paper: #F9F7F2;
    --bg-tinted: #F2EEE4;
    --surface: #FFFFFF;
    --ink: #1E242B;
    --ink-soft: #4F5A66;
    --ink-muted: #76818E;
    --border: #E6DFD1;
    --brand-blue: #1B5E9E;
    --brand-blue-dark: #134473;
    --brand-blue-soft: #EBF4FC;
    --brand-orange: #E06B14;
    --brand-orange-dark: #C2580C;
    --brand-orange-soft: #FFF4EA;
    --brand-sage: #2B7A5B;
    --brand-sage-soft: #ECF7F2;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 2px 10px rgba(30, 36, 43, 0.05);
    --shadow-md: 0 10px 28px rgba(30, 36, 43, 0.08);
    --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: "Songti SC", "Noto Serif SC", "STSong", Georgia, serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    background: var(--bg-paper);
    color: var(--ink);
    font-family: var(--font-sans);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--brand-blue);
    text-decoration: none;
}

a:hover {
    color: var(--brand-orange);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= Header ================= */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo img {
    height: 46px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    justify-content: flex-end;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    display: inline-block;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: var(--ink);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-link:hover,
.nav-link.is-active {
    background: var(--brand-blue-soft);
    color: var(--brand-blue);
}

.header-search {
    display: flex;
    align-items: center;
    background: var(--bg-paper);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 3px 4px 3px 14px;
    max-width: 245px;
    width: 100%;
}

.header-search input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.875rem;
    color: var(--ink);
    width: 100%;
    min-width: 0;
    font-family: inherit;
}

.header-search button {
    border: none;
    background: var(--brand-blue);
    color: #FFFFFF;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 13px;
    border-radius: 999px;
    cursor: pointer;
    flex-shrink: 0;
    font-family: inherit;
}

.header-search button:hover {
    background: var(--brand-blue-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
}

/* ================= Announcement Banner ================= */
.announce-bar {
    background: linear-gradient(90deg, #164B80 0%, #1E64A8 55%, #164B80 100%);
    color: #FFFFFF;
    border-bottom: 2px solid var(--brand-orange);
}

.announce-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
    flex-wrap: wrap;
}

.announce-badge {
    display: inline-block;
    background: var(--brand-orange);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.announce-text {
    margin: 0;
    font-size: 0.96rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    flex: 1;
    min-width: 180px;
}

.announce-link {
    color: #FFE4C4;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
}

.announce-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* ================= Buttons & Badges ================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.16s ease;
    font-family: inherit;
    text-align: center;
}

.btn-primary {
    background: var(--brand-blue);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--brand-blue-dark);
    color: #FFFFFF;
}

.btn-accent {
    background: var(--brand-orange);
    color: #FFFFFF;
}

.btn-accent:hover {
    background: var(--brand-orange-dark);
    color: #FFFFFF;
}

.btn-outline {
    background: var(--surface);
    color: var(--brand-blue);
    border-color: var(--brand-blue);
}

.btn-outline:hover {
    background: var(--brand-blue-soft);
    color: var(--brand-blue-dark);
}

.btn-ghost-light {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #FFFFFF;
}

.btn-block {
    width: 100%;
}

.eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-orange);
    background: var(--brand-orange-soft);
    padding: 4px 11px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.eyebrow-light {
    background: rgba(255, 255, 255, 0.16);
    color: #FFE1BE;
}

.section-kicker {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-orange);
    margin-bottom: 4px;
    letter-spacing: 0.4px;
}

.text-link {
    color: var(--brand-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

.text-link:hover {
    color: var(--brand-orange);
}

/* ================= Hero ================= */
.hero-section {
    padding: 44px 0 48px;
    background: radial-gradient(circle at 12% 18%, rgba(27, 94, 158, 0.08), transparent 46%),
                radial-gradient(circle at 88% 82%, rgba(224, 107, 20, 0.08), transparent 48%),
                var(--bg-paper);
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    gap: 36px;
    align-items: center;
}

.hero-copy h1 {
    margin: 0 0 16px;
    font-family: var(--font-serif);
    font-size: 2.35rem;
    line-height: 1.28;
    color: var(--ink);
    letter-spacing: 0.4px;
}

.hero-lead {
    margin: 0 0 24px;
    font-size: 1.03rem;
    color: var(--ink-soft);
    max-width: 580px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.stat-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--brand-blue);
}

.stat-item span {
    font-size: 0.84rem;
    color: var(--ink-muted);
}

.hero-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.panel-head h2 {
    margin: 0 0 4px;
    font-size: 1.18rem;
}

.panel-head p {
    margin: 0 0 16px;
    font-size: 0.88rem;
    color: var(--ink-muted);
}

.stage-quick-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stage-quick-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-paper);
    color: var(--ink);
    transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}

.stage-quick-item:hover {
    border-color: var(--brand-blue);
    background: var(--surface);
    transform: translateX(2px);
    color: var(--ink);
}

.stage-pill {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.stage-quick-text {
    flex: 1;
    min-width: 0;
}

.stage-quick-text strong {
    display: block;
    font-size: 0.94rem;
    line-height: 1.3;
}

.stage-quick-text small {
    display: block;
    font-size: 0.8rem;
    color: var(--ink-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stage-arrow {
    color: var(--ink-muted);
    font-weight: 700;
}

/* ================= Sections ================= */
.section {
    padding: 52px 0;
}

.section-tinted {
    background: var(--bg-tinted);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.section-head h2 {
    margin: 0;
    font-size: 1.55rem;
    font-family: var(--font-serif);
    color: var(--ink);
}

.section-more {
    font-weight: 600;
    font-size: 0.94rem;
    white-space: nowrap;
}

/* ================= Books Grid ================= */
.book-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.book-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.book-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.book-cover-link {
    display: block;
    background: #F4F0E8;
    padding: 16px 20px 10px;
}

.book-cover-link img {
    width: 100%;
    max-width: 196px;
    margin: 0 auto;
    border-radius: 6px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.book-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.book-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.tag-stage {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 5px;
}

.tag-neutral {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 5px;
    background: var(--bg-tinted);
    color: var(--ink-soft);
}

.book-rating {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-orange);
}

.book-title {
    margin: 0 0 4px;
    font-size: 1.03rem;
    line-height: 1.4;
}

.book-title a {
    color: var(--ink);
}

.book-title a:hover {
    color: var(--brand-blue);
}

.book-author {
    margin: 0 0 8px;
    font-size: 0.82rem;
    color: var(--ink-muted);
}

.book-excerpt {
    margin: 0 0 14px;
    font-size: 0.87rem;
    color: var(--ink-soft);
    flex: 1;
}

.book-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
    font-size: 0.82rem;
}

.pub-hint {
    color: var(--ink-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ================= Articles Grid ================= */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.article-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--ink-muted);
    margin-bottom: 10px;
}

.cat-badge {
    display: inline-block;
    background: var(--brand-blue-soft);
    color: var(--brand-blue);
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 5px;
    font-size: 0.78rem;
}

.article-card h2,
.article-card h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    line-height: 1.45;
}

.article-card h2 a,
.article-card h3 a {
    color: var(--ink);
}

.article-card h2 a:hover,
.article-card h3 a:hover {
    color: var(--brand-blue);
}

.article-card p {
    margin: 0 0 14px;
    font-size: 0.9rem;
    color: var(--ink-soft);
    flex: 1;
}

.article-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
}

.article-author {
    font-size: 0.82rem;
    color: var(--ink-muted);
}

/* ================= Stores Grid ================= */
.store-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.store-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.store-card-top {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.district-tag {
    background: var(--brand-sage-soft);
    color: var(--brand-sage);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 5px;
}

.type-tag {
    background: var(--brand-orange-soft);
    color: var(--brand-orange);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 5px;
}

.store-card h2,
.store-card h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
}

.store-address,
.store-hours,
.store-desc {
    margin: 0 0 8px;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.store-dl {
    margin: 0 0 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.store-dl div {
    display: flex;
    gap: 8px;
    font-size: 0.9rem;
}

.store-dl dt {
    font-weight: 700;
    color: var(--ink);
    flex-shrink: 0;
}

.store-dl dd {
    margin: 0;
    color: var(--ink-soft);
}

.store-kids-tip {
    margin-top: auto;
    padding: 11px 13px;
    border-radius: var(--radius-sm);
    background: var(--bg-paper);
    border-left: 3px solid var(--brand-orange);
    font-size: 0.87rem;
    color: var(--ink);
}

/* ================= CTA Box ================= */
.section-cta {
    padding-top: 24px;
}

.cta-box {
    background: linear-gradient(135deg, #164B80 0%, #1F6CB3 100%);
    color: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 34px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.cta-content {
    max-width: 620px;
}

.cta-content h2 {
    margin: 0 0 10px;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: #FFFFFF;
}

.cta-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.96rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ================= Subpage Banner & Filters ================= */
.page-banner {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 30px 0 32px;
}

.page-banner-compact {
    padding: 16px 0;
}

.page-banner h1 {
    margin: 8px 0 10px;
    font-family: var(--font-serif);
    font-size: 1.9rem;
    line-height: 1.3;
}

.banner-desc {
    margin: 0;
    color: var(--ink-soft);
    max-width: 760px;
    font-size: 0.97rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--ink-muted);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.filter-pill {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--ink-soft);
    font-size: 0.88rem;
    font-weight: 600;
}

.filter-pill:hover,
.filter-pill.is-active {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #FFFFFF;
}

/* ================= Book Detail ================= */
.book-detail-hero {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.book-detail-cover img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.book-detail-info h1 {
    margin: 0 0 8px;
    font-family: var(--font-serif);
    font-size: 1.85rem;
}

.book-detail-subtitle {
    margin: 0 0 18px;
    color: var(--ink-soft);
    font-size: 1.02rem;
}

.book-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    padding: 16px;
    background: var(--bg-paper);
    border-radius: var(--radius-md);
    margin: 0 0 20px;
}

.book-spec-grid dt {
    font-size: 0.8rem;
    color: var(--ink-muted);
    margin-bottom: 2px;
}

.book-spec-grid dd {
    margin: 0;
    font-weight: 600;
    font-size: 0.93rem;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
    gap: 24px;
    align-items: start;
}

.detail-main-col,
.detail-side-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card,
.qa-card,
.side-tip-card,
.side-list-card,
.notice-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.info-card h2,
.qa-card h2 {
    margin: 0 0 12px;
    font-size: 1.2rem;
    font-family: var(--font-serif);
}

.info-card p {
    margin: 0 0 10px;
    color: var(--ink-soft);
}

.info-card p:last-child {
    margin-bottom: 0;
}

.info-card-edition {
    border-left: 4px solid var(--brand-orange);
}

.info-card-ai {
    border-left: 4px solid var(--brand-blue);
    background: #F6FAFE;
}

.qa-card {
    background: #FFFBF4;
    border-color: #F0DFC2;
}

.qa-intro {
    margin: 0 0 14px;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.qa-list {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qa-list li {
    color: var(--ink);
    font-weight: 500;
    font-size: 0.94rem;
}

.side-tip-card h3,
.side-list-card h3,
.notice-card h3 {
    margin: 0 0 10px;
    font-size: 1.06rem;
}

.side-tip-card p,
.notice-card p {
    margin: 0 0 14px;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.side-list-card ul,
.quick-links-col {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.side-list-card li {
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border);
}

.side-list-card li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.side-list-card li a {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--ink);
}

.side-list-card li a:hover {
    color: var(--brand-blue);
}

.side-list-card li small {
    color: var(--ink-muted);
    font-size: 0.8rem;
}

.related-section {
    margin-top: 44px;
}

/* ================= Classics Table ================= */
.table-wrap {
    overflow-x: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.classic-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.classic-table th,
.classic-table td {
    padding: 15px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    font-size: 0.92rem;
}

.classic-table th {
    background: var(--bg-tinted);
    font-weight: 700;
    color: var(--ink);
}

.classic-table tr:last-child td {
    border-bottom: none;
}

.table-sub {
    font-size: 0.8rem;
    color: var(--ink-muted);
}

/* ================= Article Detail ================= */
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.72fr);
    gap: 28px;
    align-items: start;
}

.article-detail {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow-sm);
}

.article-header h1 {
    margin: 8px 0 14px;
    font-family: var(--font-serif);
    font-size: 1.85rem;
    line-height: 1.35;
}

.article-lead {
    margin: 0 0 24px;
    padding: 16px 18px;
    background: var(--bg-paper);
    border-left: 4px solid var(--brand-blue);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--ink-soft);
    font-size: 0.98rem;
}

.article-prose h2 {
    margin: 28px 0 12px;
    font-size: 1.28rem;
    font-family: var(--font-serif);
    color: var(--brand-blue-dark);
}

.article-prose h3 {
    margin: 20px 0 10px;
    font-size: 1.08rem;
}

.article-prose p {
    margin: 0 0 16px;
    font-size: 1.01rem;
    line-height: 1.85;
    color: var(--ink);
}

.article-prose blockquote {
    margin: 20px 0;
    padding: 16px 20px;
    background: var(--brand-orange-soft);
    border-left: 4px solid var(--brand-orange);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-prose blockquote p {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--ink);
}

.article-bullet {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.bullet-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-orange);
    margin-top: 11px;
    flex-shrink: 0;
}

.article-end-box {
    margin-top: 30px;
    padding: 18px 20px;
    background: var(--bg-paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.93rem;
}

.article-end-box p {
    margin: 0;
}

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ================= Planner ================= */
.planner-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 190px;
    gap: 16px;
    align-items: end;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.planner-field label {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--ink);
}

.planner-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-paper);
    font-size: 0.94rem;
    color: var(--ink);
    font-family: inherit;
}

.plan-result-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.plan-result-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.plan-result-head h2 {
    margin: 0 0 6px;
    font-family: var(--font-serif);
    font-size: 1.5rem;
}

.plan-result-head p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.plan-books-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
}

.plan-book-row {
    display: grid;
    grid-template-columns: 106px 90px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px;
    background: var(--bg-paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.plan-week-tag {
    background: var(--brand-blue);
    color: #FFFFFF;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 6px;
    text-align: center;
}

.plan-book-thumb img {
    width: 84px;
    border-radius: 5px;
    box-shadow: var(--shadow-sm);
}

.plan-book-body h3 {
    margin: 0 0 4px;
    font-size: 1.08rem;
}

.plan-book-meta {
    margin: 0 0 6px;
    font-size: 0.84rem;
    color: var(--ink-muted);
}

.plan-book-sub,
.plan-book-tip {
    margin: 0 0 4px;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.checkin-section {
    padding-top: 22px;
    border-top: 1px dashed var(--border);
}

.checkin-section h3 {
    margin: 0 0 6px;
    font-size: 1.15rem;
}

.checkin-sub {
    margin: 0 0 16px;
    font-size: 0.88rem;
    color: var(--ink-muted);
}

.checkin-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}

.checkin-cell {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 8px;
    text-align: center;
    background: var(--bg-paper);
}

.checkin-day {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 6px;
}

.checkin-box {
    display: block;
    width: 24px;
    height: 24px;
    margin: 0 auto;
    border: 1.5px dashed #B9B0A0;
    border-radius: 50%;
    background: #FFFFFF;
}

/* ================= Search & About & 404 ================= */
.big-search-form {
    display: flex;
    gap: 10px;
    margin: 16px 0 14px;
    max-width: 680px;
}

.big-search-form input {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.98rem;
    font-family: inherit;
    background: var(--bg-paper);
}

.hot-search-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    color: var(--ink-muted);
}

.hot-search-tags a {
    background: var(--bg-tinted);
    padding: 3px 10px;
    border-radius: 999px;
    color: var(--ink-soft);
}

.hot-search-tags a:hover {
    background: var(--brand-blue-soft);
    color: var(--brand-blue);
}

.search-summary {
    margin: 0 0 24px;
    color: var(--ink-soft);
}

.search-group {
    margin-bottom: 36px;
}

.search-group h2 {
    margin: 0 0 16px;
    font-size: 1.28rem;
    font-family: var(--font-serif);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.75fr);
    gap: 24px;
    align-items: start;
}

.about-list {
    padding-left: 20px;
    margin: 10px 0 18px;
    color: var(--ink-soft);
}

.about-list li {
    margin-bottom: 10px;
}

.empty-state {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px 24px;
    text-align: center;
}

.code-404 {
    display: inline-block;
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--brand-orange);
    line-height: 1;
    margin-bottom: 12px;
}

.notice-card {
    margin-top: 26px;
    background: #FFFBF4;
    border-color: #EFE0C4;
}

/* ================= Footer ================= */
.site-footer {
    background: #1B2430;
    color: #CBD5E1;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.8fr));
    gap: 32px;
    padding-top: 46px;
    padding-bottom: 36px;
}

.footer-logo-link {
    display: inline-block;
    background: #FFFFFF;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
}

.footer-logo-link img {
    height: 36px;
    width: auto;
}

.footer-desc {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.75;
    color: #A9B5C4;
}

.footer-col h3 {
    margin: 0 0 14px;
    color: #FFFFFF;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col a {
    color: #B9C4D2;
    font-size: 0.88rem;
}

.footer-col a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.84rem;
    color: #94A3B8;
}

.footer-bottom-inner p {
    margin: 0;
}

.footer-icp a {
    color: #E2E8F0;
    text-decoration: underline;
}

.footer-icp a:hover {
    color: #FFFFFF;
}

/* ================= Responsive ================= */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .book-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .planner-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .nav-toggle {
        display: inline-flex;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        padding: 16px 20px 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        box-shadow: var(--shadow-md);
    }
    .main-nav.is-open {
        display: flex;
    }
    .nav-list {
        flex-direction: column;
        align-items: stretch;
    }
    .nav-link {
        display: block;
        padding: 10px 12px;
    }
    .header-search {
        max-width: 100%;
    }
    .book-detail-hero,
    .detail-content-grid,
    .article-layout,
    .about-grid,
    .store-grid {
        grid-template-columns: 1fr;
    }
    .book-detail-cover img {
        max-width: 200px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 15px;
    }
    .brand-logo img {
        height: 38px;
    }
    .hero-section {
        padding: 28px 0 32px;
    }
    .hero-copy h1 {
        font-size: 1.65rem;
    }
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .section {
        padding: 34px 0;
    }
    .book-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .book-cover-link {
        padding: 10px 10px 6px;
    }
    .book-body {
        padding: 10px 11px 12px;
    }
    .book-title {
        font-size: 0.94rem;
    }
    .book-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .article-grid,
    .planner-form,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .book-spec-grid {
        grid-template-columns: 1fr;
    }
    .article-detail,
    .plan-result-card,
    .cta-box {
        padding: 20px 16px;
    }
    .plan-book-row {
        grid-template-columns: 1fr;
    }
    .plan-book-thumb img {
        width: 110px;
    }
    .checkin-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .big-search-form {
        flex-direction: column;
    }
    .announce-link {
        display: none;
    }
}

/* ================= Print (21天打卡表打印优化) ================= */
@media print {
    .site-header,
    .announce-bar,
    .site-footer,
    .no-print {
        display: none !important;
    }
    body {
        background: #FFFFFF;
    }
    .plan-result-card {
        border: none;
        box-shadow: none;
        padding: 0;
    }
    .checkin-grid {
        grid-template-columns: repeat(7, 1fr);
    }
}
