:root {
  --bg: #f8f9fa;
  --surface: #fff;
  --ink: #202122;
  --muted: #54595d;
  --line: #c8ccd1;
  --blue: #3366cc;
  --blue-soft: #eef3ff;
  --gold: #b8860b;
  --max: 1240px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); line-height: 1.7; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input { font: inherit; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { max-width: var(--max); height: 72px; margin: auto; padding: 0 24px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); min-width: 270px; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; background: #202122; color: #fff; font-family: serif; font-size: 23px; border-radius: 3px; }
.brand strong { display: block; font-family: Georgia, "Noto Serif SC", serif; font-size: 18px; letter-spacing: .02em; }
.brand small { display: block; color: var(--muted); font-size: 11px; line-height: 1.2; }
.top-nav { margin-left: auto; display: flex; gap: 4px; }
.top-nav a { color: var(--muted); padding: 7px 12px; border-radius: 4px; font-size: 14px; }
.top-nav a:hover { color: var(--blue); background: var(--blue-soft); text-decoration: none; }
.mobile-menu { display: none; border: 0; background: transparent; font-size: 23px; color: var(--muted); }
.page-shell { max-width: var(--max); margin: 0 auto; padding: 30px 24px 64px; min-height: calc(100vh - 140px); }
.hero { text-align: center; padding: 46px 15px 40px; }
.eyebrow { color: var(--gold); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { margin: 10px 0 8px; font-family: Georgia, "Noto Serif SC", serif; font-weight: 600; font-size: clamp(32px, 5vw, 52px); letter-spacing: .06em; }
.hero p { color: var(--muted); margin: 0 auto 25px; max-width: 620px; font-size: 15px; }
.search-box { max-width: 720px; margin: auto; display: flex; background: #fff; border: 1px solid #a2a9b1; border-radius: 4px; box-shadow: 0 2px 7px #0000000b; }
.search-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 2px #36c3; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 14px 16px; background: transparent; font-size: 16px; }
.search-box button { border: 0; border-left: 1px solid var(--line); background: #f8f9fa; color: #202122; padding: 0 22px; cursor: pointer; font-weight: 600; }
.search-box button:hover { background: var(--blue); color: white; }
.quick-links { margin-top: 15px; display: flex; justify-content: center; gap: 16px; font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 10px 0 38px; }
.stat { background: var(--surface); padding: 18px; text-align: center; }
.stat strong { display: block; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.stat span { color: var(--muted); font-size: 13px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); margin: 35px 0 15px; }
.section-heading h2 { margin: 0; font-family: Georgia, "Noto Serif SC", serif; font-size: 22px; font-weight: 600; }
.section-heading a { font-size: 13px; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.entry-card { background: var(--surface); border: 1px solid var(--line); padding: 16px; min-height: 126px; transition: transform .15s, border-color .15s, box-shadow .15s; }
.entry-card:hover { transform: translateY(-2px); border-color: #8aa4d8; box-shadow: 0 4px 14px #00000010; }
.entry-card h3 { margin: 0 0 6px; font-family: "Noto Serif SC", serif; font-size: 17px; font-weight: 600; }
.entry-card h3 a { color: var(--ink); }
.entry-card h3 a:hover { color: var(--blue); }
.entry-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.page-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 24px; }
.page-title h1 { margin: 0; font-family: Georgia, "Noto Serif SC", serif; font-size: 32px; font-weight: 600; }
.page-title p { margin: 0; color: var(--muted); font-size: 13px; }
.breadcrumb { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.results-meta { color: var(--muted); font-size: 13px; margin: 15px 0; }
.empty { padding: 50px 20px; text-align: center; color: var(--muted); background: var(--surface); border: 1px solid var(--line); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 28px; align-items: start; }
.article { background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 4vw, 42px); }
.article h1 { font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(30px, 4vw, 44px); line-height: 1.25; margin: 0 0 10px; font-weight: 600; }
.article .lead { color: var(--muted); font-size: 13px; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 24px; }
.article-body { white-space: pre-line; font-family: "Noto Serif SC", "Songti SC", serif; font-size: 16px; line-height: 2; }
.article-body p { margin: 0 0 1.2em; }
.article-body .body-link { color: var(--blue); border-bottom: 1px dotted #8aa4d8; }
.article-body .body-link:hover { background: var(--blue-soft); text-decoration: none; }
.article-pager { display: flex; justify-content: space-between; gap: 20px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.article-pager a:last-child { margin-left: auto; text-align: right; }
.load-more-wrap { display: flex; justify-content: center; margin-top: 24px; }
.load-more { border: 1px solid var(--line); background: var(--surface); color: var(--blue); padding: 10px 22px; border-radius: 4px; cursor: pointer; }
.load-more:hover { border-color: var(--blue); background: var(--blue-soft); }
.load-more:disabled { cursor: wait; color: var(--muted); }
.back-to-top { position: fixed; right: 24px; bottom: 24px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--blue); box-shadow: 0 3px 12px #0002; cursor: pointer; font-size: 20px; }
.back-to-top:hover { background: var(--blue); color: white; }
.sidebar { display: grid; gap: 15px; }
.side-box { background: var(--surface); border: 1px solid var(--line); padding: 18px; }
.side-box h3 { margin: 0 -18px 13px; padding: 0 18px 12px; border-bottom: 1px solid var(--line); font-size: 16px; font-family: Georgia, "Noto Serif SC", serif; }
.related-list { display: flex; flex-wrap: wrap; gap: 7px; }
.related-list a { padding: 3px 7px; background: var(--blue-soft); border-radius: 3px; font-size: 13px; }
.initial-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.initial-grid a { width: 39px; height: 39px; display: grid; place-items: center; color: var(--ink); background: var(--surface); border: 1px solid var(--line); font-family: serif; font-size: 17px; }
.initial-grid a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.info-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.info-table th, .info-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.info-table th { width: 120px; background: #f8f9fa; }
.notice { padding: 13px 15px; background: #f8f9fa; border-left: 3px solid var(--gold); color: var(--muted); font-size: 13px; }
.site-footer { max-width: var(--max); margin: auto; padding: 20px 24px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; display: flex; justify-content: space-between; gap: 20px; }
.fade-in { animation: fade .22s ease-out; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(3, 1fr); } .detail-layout { grid-template-columns: 1fr; } .sidebar { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 650px) { .header-inner { height: 62px; padding: 0 16px; } .brand { min-width: 0; } .brand strong { font-size: 16px; } .brand small { display: none; } .top-nav { display: none; } .mobile-menu { display: block; margin-left: auto; } .top-nav.open { display: flex; position: absolute; top: 62px; left: 0; right: 0; background: white; border-bottom: 1px solid var(--line); padding: 10px 16px; z-index: 10; } .page-shell { padding: 18px 16px 44px; } .hero { padding: 30px 0; } .hero h1 { font-size: 34px; } .stats { margin-bottom: 26px; } .stat { padding: 12px 5px; } .stat strong { font-size: 20px; } .card-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; } .entry-card { padding: 12px; min-height: 120px; } .entry-card h3 { font-size: 15px; } .entry-card p { font-size: 12px; } .page-title { display: block; } .page-title p { margin-top: 5px; } .sidebar { grid-template-columns: 1fr; } .site-footer { display: block; } .site-footer div + div { margin-top: 4px; } }
