/* ==========================================================================
   天天漫画 · 整站样式表
   视觉方向：可持续品牌风纸感漫画站
   字体：标题思源宋体类衬线，正文系统无衬线
   主色：#2f6f73（冷青强调） 纸底：#faf6f0 墨色：#2b2b2b
   ========================================================================== */

/* ==========================================================================
   Base — 基础变量、重置与全局元素
   ========================================================================== */

:root {
  --paper: #faf6f0;
  --paper-deep: #f4eee5;
  --ink: #2b2b2b;
  --ink-soft: #5a5550;
  --accent: #2f6f73;
  --accent-deep: #24575a;
  --accent-soft: #e3efee;
  --brown: #b58a5f;
  --brown-soft: #f0e6da;
  --line: #e2dbd0;
  --white: #ffffff;
  --radius: 8px;
  --radius-sm: 4px;
  --shadow: 0 6px 24px rgba(43, 43, 43, 0.08);
  --shadow-hover: 0 12px 32px rgba(43, 43, 43, 0.14);
  --font-serif: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "SimSun", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --container: 1200px;
  --header-h: 72px;
  --toolbar-h: 36px;
  --transition: 0.2s ease;
}

/* 暗色模式 */
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1f2424;
    --paper-deep: #262c2c;
    --ink: #e8e2d8;
    --ink-soft: #b6b0a6;
    --accent: #6ba7a9;
    --accent-deep: #8fc0c2;
    --accent-soft: #2a3a3a;
    --brown: #b58a5f;
    --brown-soft: #3a3128;
    --line: #3a4040;
    --white: #2a3030;
    --shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.4);
  }
}

/* 用户手动切换暗色 */
body.theme-dark {
  --paper: #1f2424;
  --paper-deep: #262c2c;
  --ink: #e8e2d8;
  --ink-soft: #b6b0a6;
  --accent: #6ba7a9;
  --accent-deep: #8fc0c2;
  --accent-soft: #2a3a3a;
  --brown: #b58a5f;
  --brown-soft: #3a3128;
  --line: #3a4040;
  --white: #2a3030;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.4);
}

body.theme-light {
  --paper: #faf6f0;
  --paper-deep: #f4eee5;
  --ink: #2b2b2b;
  --ink-soft: #5a5550;
  --accent: #2f6f73;
  --accent-deep: #24575a;
  --accent-soft: #e3efee;
  --brown: #b58a5f;
  --brown-soft: #f0e6da;
  --line: #e2dbd0;
  --white: #ffffff;
  --shadow: 0 6px 24px rgba(43, 43, 43, 0.08);
  --shadow-hover: 0 12px 32px rgba(43, 43, 43, 0.14);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-deep);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

p {
  color: var(--ink-soft);
}

.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;
}

/* ==========================================================================
   Layout — 全站骨架：页头、导航、面包屑、页脚、容器
   ========================================================================== */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* 工具栏 */
.toolbar {
  background: var(--accent);
  color: var(--white);
  font-size: 13px;
  line-height: var(--toolbar-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
}

.toolbar-lang {
  opacity: 0.9;
  font-weight: 500;
}

.toolbar-help {
  color: var(--white);
  opacity: 0.9;
  font-size: 13px;
}

.toolbar-help:hover {
  color: var(--white);
  opacity: 1;
}

.toolbar-status {
  margin-left: auto;
  opacity: 0.9;
  font-size: 13px;
}

.toolbar-status::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7fd1a5;
  margin-right: 6px;
  vertical-align: 2px;
}

/* 页头主体 */
.header-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.brand-tag {
  font-size: 13px;
  color: var(--ink-soft);
  border-left: 2px solid var(--accent);
  padding-left: 8px;
  line-height: 1.4;
}

/* 主导航 */
.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-list a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-list a.is-current {
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-soft);
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* 面包屑 */
.breadcrumb {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px 0;
  font-size: 14px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--line);
  font-size: 12px;
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 500;
}

/* 主内容容器 */
.site-main {
  flex: 1;
  width: 100%;
}

.home-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* 页面标题区 */
.page-header {
  padding: 36px 0 28px;
  border-bottom: 3px double var(--line);
  margin-bottom: 36px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.page-description {
  font-size: 16px;
  line-height: 1.8;
  max-width: 720px;
  color: var(--ink-soft);
}

/* 页脚 */
.site-footer {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  margin-top: auto;
  padding: 48px 24px 0;
}

.footer-cols {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 32px;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: 360px;
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--ink-soft);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-soft);
}

.footer-bottom a {
  color: var(--ink-soft);
  font-size: 13px;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ==========================================================================
   Components — 通用组件：作品卡、入口卡、榜单、更新、书单、FAQ 等
   ========================================================================== */

/* ---------- 作品条目卡（首页） ---------- */
.work-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.work-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.work-card h3 {
  font-size: 16px;
  font-weight: 600;
  padding: 12px 14px 4px;
}

.work-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  margin: 0 14px 8px;
  align-self: flex-start;
}

.work-brief {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  padding: 0 14px 14px;
  flex: 1;
}

/* ---------- 作品条目卡（题材书架页） ---------- */
.comic-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.comic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.comic-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.comic-card h3 {
  font-size: 16px;
  font-weight: 600;
  padding: 12px 14px 4px;
}

.comic-card .tag {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  margin: 0 14px 8px;
  align-self: flex-start;
}

.comic-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  padding: 0 14px 14px;
  flex: 1;
}

/* ---------- 入口卡（首页信息总览） ---------- */
.entry-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: block;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}

.entry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0;
  transition: opacity var(--transition);
}

.entry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.entry-card:hover::before {
  opacity: 1;
}

.entry-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.entry-desc {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- 编号卡（首页招牌推荐） ---------- */
.pick-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pick-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.pick-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--brown);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}

.pick-card h3 {
  font-size: 18px;
  font-weight: 600;
}

.pick-comment {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  flex: 1;
}

.pick-card a {
  font-size: 14px;
  font-weight: 500;
}

/* ---------- 榜单编号列表 ---------- */
.rank-list {
  display: flex;
  flex-direction: column;
}

.rank-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.rank-list li:last-child {
  border-bottom: none;
}

.rank-num {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--brown);
  min-width: 32px;
  text-align: center;
}

.rank-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  flex: 1;
}

.rank-tag {
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  white-space: nowrap;
}

/* ---------- 榜单（人气榜单页） ---------- */
.rank-top3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.rank-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.rank-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.rank-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.rank-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.rank-badge {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: var(--accent);
  border-radius: var(--radius-sm);
  padding: 2px 10px;
  align-self: flex-start;
}

.rank-title {
  font-size: 18px;
  font-weight: 600;
}

.genre-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  align-self: flex-start;
}

.rank-reason {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.text-link {
  font-size: 14px;
  font-weight: 500;
  margin-top: auto;
  padding-top: 6px;
}

.rank-list-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.rank-list-item:last-child {
  border-bottom: none;
}

.rank-list-item .rank-num {
  font-size: 20px;
  line-height: 1.4;
  min-width: 36px;
}

.rank-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rank-info .rank-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.rank-info .genre-tag {
  align-self: flex-start;
}

.rank-info .rank-reason {
  font-size: 14px;
}

/* ---------- 更新摘要（首页） ---------- */
.update-list {
  display: flex;
  flex-direction: column;
}

.update-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.update-list li:last-child {
  border-bottom: none;
}

.update-time {
  font-size: 13px;
  color: var(--brown);
  white-space: nowrap;
  font-weight: 500;
  min-width: 64px;
}

.update-content {
  flex: 1;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.update-list a {
  font-size: 13px;
  white-space: nowrap;
}

/* ---------- 章节头 / 区块头 ---------- */
.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.section-head p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- 题材锚点条 ---------- */
.genre-anchor {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 16px 0 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  -webkit-overflow-scrolling: touch;
}

.genre-anchor a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  transition: all var(--transition);
}

.genre-anchor a:hover {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

/* ---------- 题材章节（首页） ---------- */
.genre-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 120px;
}

.genre-section:last-of-type {
  border-bottom: none;
}

.genre-head {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.genre-num {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: 0.08em;
}

.genre-head h2 {
  font-size: 24px;
  font-weight: 700;
}

.genre-desc {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 640px;
}

.genre-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.genre-more {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.genre-more:hover {
  background: var(--accent);
  color: var(--white);
}

/* ---------- 题材章节（题材书架页） ---------- */
.genre-block {
  margin-bottom: 48px;
  scroll-margin-top: 120px;
}

.genre-header {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}

.genre-header h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.genre-header .genre-desc {
  font-size: 14px;
  color: var(--ink-soft);
}

.more-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  margin-top: 16px;
  padding: 8px 20px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.more-link:hover {
  background: var(--accent);
  color: var(--white);
}

/* ---------- 分类说明 ---------- */
.category-intro {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 40px;
  border-left: 4px solid var(--accent);
}

.category-intro p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  max-width: 800px;
}

/* ---------- 招牌推荐 ---------- */
.featured-picks {
  padding: 48px 0;
  border-top: 3px double var(--line);
  margin-top: 16px;
}

.picks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---------- 榜单预览 ---------- */
.ranking-preview {
  padding: 48px 0;
  border-top: 3px double var(--line);
}

.section-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  margin-top: 16px;
  padding: 8px 20px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.section-link:hover {
  background: var(--accent);
  color: var(--white);
}

/* ---------- 更新摘要（首页区块） ---------- */
.update-preview {
  padding: 48px 0;
  border-top: 3px double var(--line);
}

/* ---------- 站底收束区 ---------- */
.site-boards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 48px 0;
  border-top: 3px double var(--line);
}

.board-link {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: block;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.board-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.board-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.board-desc {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- 编辑选荐书单卡 ---------- */
.booklists {
  margin-bottom: 48px;
}

.booklists > h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.section-note {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.booklist-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  transition: box-shadow var(--transition);
}

.booklist-card:hover {
  box-shadow: var(--shadow);
}

.booklist-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.booklist-no {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--brown);
}

.booklist-head h3 {
  font-size: 20px;
  font-weight: 700;
}

.booklist-theme {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.booklist-items {
  list-style: none;
  margin-bottom: 16px;
  padding-left: 20px;
}

.booklist-items li {
  font-size: 14px;
  color: var(--ink);
  padding: 4px 0;
  position: relative;
}

.booklist-items li::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.booklist-reason {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--paper);
  border-left: 3px solid var(--brown);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 16px;
}

.booklist-links {
  display: flex;
  gap: 16px;
}

.booklist-links a {
  font-size: 14px;
  font-weight: 500;
}

/* ---------- 选书标准 ---------- */
.standards {
  margin-bottom: 48px;
}

.standards > h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.standards-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.standards-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.standard-no {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--brown);
  line-height: 1;
}

.standards-list h3 {
  font-size: 17px;
  font-weight: 600;
}

.standards-list p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.standards-footnote {
  margin-top: 24px;
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.standards-footnote p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
}

.standards-footnote a {
  font-size: 14px;
}

/* ---------- 人气榜单页 ---------- */
.hot-list,
.new-list {
  margin-bottom: 48px;
}

.hot-list > h2,
.new-list > h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.section-desc {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.new-rank-list .rank-reason {
  font-size: 13px;
}

/* ---------- 编辑短评 ---------- */
.editor-note {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 48px;
}

.editor-note h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.editor-note p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.editor-note p:last-child {
  margin-bottom: 0;
}

/* ---------- 相关入口 ---------- */
.related-links {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 3px double var(--line);
}

.related-links > h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: block;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.related-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.related-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.related-item span:last-child {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- 相关链接（人气榜单页） ---------- */
.related-links[aria-label="相关栏目"] {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.related-link {
  display: inline-block;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.related-link:hover {
  background: var(--accent);
  color: var(--white);
}

/* ---------- 更新日志页 ---------- */
.version-switch {
  margin-bottom: 32px;
}

.switch-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.switch-tab {
  display: inline-block;
  padding: 8px 24px;
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.switch-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.switch-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  font-weight: 500;
}

.switch-note {
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 14px 20px;
  line-height: 1.7;
}

/* 时间线 */
.timeline {
  margin-bottom: 48px;
}

.timeline-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.time-group {
  margin-bottom: 28px;
}

.time-group-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--brown);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}

.time-list {
  display: flex;
  flex-direction: column;
}

.time-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.time-item:last-child {
  border-bottom: none;
}

.time-badge {
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  padding: 2px 10px;
  white-space: nowrap;
}

.time-desc {
  flex: 1;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
}

.time-desc a {
  font-size: 14px;
}

.time-meta {
  font-size: 13px;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* 历史归档 */
.archive {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 48px;
}

.archive-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.archive-desc {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.archive-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.archive-link {
  display: inline-block;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.archive-link:hover {
  background: var(--accent);
  color: var(--white);
}

/* 相关卡片（更新日志页） */
.related-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: block;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.related-card-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.related-card-desc {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- 阅读指南页 ---------- */
.layout-shell {
  display: grid;
  gap: 40px;
}

.sidebar-right {
  grid-template-columns: 1fr 340px;
}

/* 主内容区 */
.route {
  min-width: 0;
}

.route-intro {
  margin-bottom: 32px;
}

.route-intro h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.route-intro p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.route-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.route-step {
  display: flex;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--brown);
  line-height: 1.2;
  flex-shrink: 0;
  min-width: 44px;
}

.step-body {
  flex: 1;
  min-width: 0;
}

.step-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.step-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.step-body a {
  font-size: 14px;
  font-weight: 500;
}

.route-tips {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 24px;
}

.route-tips h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.route-tips p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 12px;
}

.route-figure {
  margin-top: 16px;
}

.route-figure img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.route-figure figcaption {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px;
  text-align: center;
}

/* 侧栏 FAQ */
.faq {
  min-width: 0;
}

.faq > h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
  transition: background var(--transition);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--accent);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item summary:hover {
  background: var(--paper);
}

.faq-item p {
  padding: 0 18px 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* 阅读指南页相关链接 */
.related-link-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-link-list a {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: all var(--transition);
  text-align: center;
}

.related-link-list a:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow);
}

/* ---------- 站点说明页 ---------- */
.about-scene {
  margin-bottom: 40px;
}

.scene-figure {
  position: relative;
}

.scene-figure img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.scene-figure figcaption {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px;
  text-align: center;
}

.principles-section,
.standards-section,
.feedback-section {
  margin-bottom: 48px;
}

.principles-section > h2,
.standards-section > h2,
.feedback-section > h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-intro {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  max-width: 720px;
  line-height: 1.7;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.principle-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.principle-num {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--brown);
  line-height: 1;
}

.principle-card h3 {
  font-size: 17px;
  font-weight: 600;
}

.principle-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.standard-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.standard-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.standard-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.standard-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.feedback-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feedback-item {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.feedback-item h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feedback-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.feedback-item a {
  font-size: 14px;
  font-weight: 500;
}

.feedback-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}

/* 站点说明页相关链接 */
.related-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-list .related-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: block;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.related-list .related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.related-list .related-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.related-list .related-desc {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- 首页信息总览 ---------- */
.overview {
  padding: 48px 0 32px;
  text-align: center;
}

.overview-media {
  margin-bottom: 28px;
}

.overview-media img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 21 / 9;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.overview h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.overview-slogan {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 12px;
  line-height: 1.6;
}

.overview-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto 32px;
}

.overview-entries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: left;
}

/* ---------- 404 页 ---------- */
.error-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-content {
  text-align: center;
  padding: 80px 0;
}

.error-code {
  font-family: var(--font-serif);
  font-size: 80px;
  font-weight: 700;
  color: var(--brown);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}

.error-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.error-link {
  display: inline-block;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 500;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.error-link:hover {
  background: var(--accent-deep);
  color: var(--white);
}

/* ---------- 内容媒体（编辑选荐 / 更新日志） ---------- */
.content-media {
  margin-bottom: 24px;
}

.content-media-inline {
  margin: 16px 0 24px;
}

.content-media img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.content-media figcaption {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px;
  text-align: center;
}

/* ==========================================================================
   Pages — 页面级微调（仅限内部业务模块，不覆盖全局骨架）
   ========================================================================== */

/* 首页：题材列表容器 */
.genre-list {
  border-top: 3px double var(--line);
  margin-top: 16px;
}

/* 首页：站底收束区 */
.site-boards {
  border-bottom: 3px double var(--line);
}

/* 编辑选荐页：书单卡片网格 */
.booklists .booklist-card {
  display: flex;
  flex-direction: column;
}

/* 人气榜单页：热读榜前三卡 */
.rank-top3 .rank-card:nth-child(1) .rank-badge {
  background: var(--brown);
}

/* 更新日志页：时间线徽标类型区分 */
.time-item:nth-child(odd) .time-badge {
  background: var(--brown-soft);
  color: var(--brown);
}

/* 阅读指南页：路线步骤编号 */
.route-step:nth-child(1) .step-num {
  color: var(--accent);
}

/* ==========================================================================
   Responsive — 响应式断点：1024 / 768 / 520
   ========================================================================== */

/* ---------- 1024px ---------- */
@media (max-width: 1024px) {
  .overview-entries {
    grid-template-columns: repeat(2, 1fr);
  }

  .rank-top3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .picks-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .standards-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .sidebar-right {
    grid-template-columns: 1fr 300px;
  }

  .related-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .principle-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .feedback-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .related-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .related-link-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* ---------- 768px ---------- */
@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }

  .toolbar {
    padding: 0 16px;
    gap: 12px;
  }

  .toolbar-status {
    display: none;
  }

  .header-main {
    padding: 0 16px;
    gap: 16px;
  }

  .brand-tag {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--header-h) + var(--toolbar-h));
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 16px;
    margin: 0;
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    padding: 12px 16px;
    font-size: 15px;
    text-align: left;
  }

  .home-main,
  .inner-main {
    padding: 0 16px;
  }

  .page-header {
    padding: 24px 0 20px;
    margin-bottom: 24px;
  }

  .page-title {
    font-size: 28px;
  }

  .breadcrumb {
    padding: 16px 16px 0;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .genre-items {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .rank-top3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rank-card {
    flex-direction: row;
    align-items: stretch;
  }

  .rank-card img {
    width: 120px;
    aspect-ratio: 3 / 4;
    flex-shrink: 0;
  }

  .rank-card-body {
    padding: 14px;
  }

  .picks-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .standards-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sidebar-right {
    grid-template-columns: 1fr;
  }

  .faq {
    order: 2;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .related-link-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .principle-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feedback-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .related-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .site-boards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .overview h1 {
    font-size: 28px;
  }

  .overview-slogan {
    font-size: 16px;
  }

  .overview-media img {
    aspect-ratio: 16 / 9;
  }

  .content-media img {
    aspect-ratio: 16 / 9;
  }

  .scene-figure img {
    aspect-ratio: 16 / 9;
  }

  .route-step {
    flex-direction: column;
    gap: 12px;
  }

  .step-num {
    font-size: 24px;
  }

  .booklist-card {
    padding: 20px;
  }

  .booklist-links {
    flex-direction: column;
    gap: 8px;
  }

  .time-item {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .time-badge {
    order: 1;
  }

  .time-desc {
    order: 2;
    flex-basis: calc(100% - 100px);
  }

  .time-meta {
    order: 3;
    padding-left: 0;
  }

  .archive-links {
    flex-direction: column;
    gap: 8px;
  }

  .archive-link {
    text-align: center;
  }

  .switch-tabs {
    flex-direction: column;
    gap: 8px;
  }

  .switch-tab {
    text-align: center;
  }

  .related-links[aria-label="相关栏目"] {
    flex-direction: column;
    gap: 8px;
  }

  .related-link {
    text-align: center;
  }

  .error-code {
    font-size: 60px;
  }

  .error-title {
    font-size: 24px;
  }
}

/* ---------- 520px ---------- */
@media (max-width: 520px) {
  .toolbar {
    font-size: 12px;
  }

  .toolbar-help {
    font-size: 12px;
  }

  .brand-name {
    font-size: 20px;
  }

  .header-main {
    height: 56px;
  }

  .site-nav {
    top: calc(56px + var(--toolbar-h));
  }

  .overview {
    padding: 32px 0 24px;
  }

  .overview h1 {
    font-size: 24px;
  }

  .overview-slogan {
    font-size: 15px;
  }

  .overview-desc {
    font-size: 14px;
  }

  .overview-entries {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .genre-anchor {
    gap: 8px;
  }

  .genre-anchor a {
    padding: 6px 14px;
    font-size: 13px;
  }

  .genre-section {
    padding: 32px 0;
  }

  .genre-head h2 {
    font-size: 20px;
  }

  .genre-items {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-head h2 {
    font-size: 20px;
  }

  .featured-picks,
  .ranking-preview,
  .update-preview {
    padding: 32px 0;
  }

  .rank-list li {
    gap: 10px;
  }

  .rank-num {
    font-size: 16px;
    min-width: 24px;
  }

  .rank-name {
    font-size: 14px;
  }

  .rank-tag {
    font-size: 11px;
    padding: 1px 6px;
  }

  .update-list li {
    flex-wrap: wrap;
    gap: 6px 10px;
  }

  .update-time {
    min-width: 0;
    font-size: 12px;
  }

  .update-content {
    font-size: 13px;
    flex-basis: calc(100% - 80px);
  }

  .update-list a {
    font-size: 12px;
  }

  .board-link {
    padding: 20px;
  }

  .board-title {
    font-size: 18px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .page-title {
    font-size: 24px;
  }

  .page-description {
    font-size: 14px;
  }

  .category-intro {
    padding: 16px 18px;
  }

  .category-intro p {
    font-size: 14px;
  }

  .genre-block {
    margin-bottom: 32px;
  }

  .genre-header h2 {
    font-size: 20px;
  }

  .genre-items {
    grid-template-columns: 1fr;
  }

  .comic-card {
    flex-direction: row;
    align-items: stretch;
  }

  .comic-card img {
    width: 100px;
    aspect-ratio: 3 / 4;
    flex-shrink: 0;
  }

  .comic-card h3 {
    padding: 10px 12px 2px;
  }

  .comic-card .tag {
    margin: 0 12px 6px;
  }

  .comic-card p {
    padding: 0 12px 10px;
    font-size: 12px;
  }

  .rank-card {
    flex-direction: column;
  }

  .rank-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
  }

  .rank-card-body {
    padding: 14px;
  }

  .rank-title {
    font-size: 16px;
  }

  .rank-reason {
    font-size: 12px;
  }

  .rank-list-item {
    flex-direction: column;
    gap: 6px;
  }

  .rank-list-item .rank-num {
    font-size: 16px;
  }

  .rank-info .rank-name {
    font-size: 15px;
  }

  .rank-info .rank-reason {
    font-size: 13px;
  }

  .booklist-card {
    padding: 16px;
  }

  .booklist-head h3 {
    font-size: 18px;
  }

  .booklist-no {
    font-size: 20px;
  }

  .booklist-theme {
    font-size: 14px;
  }

  .booklist-items li {
    font-size: 13px;
  }

  .booklist-reason {
    font-size: 13px;
    padding: 10px 14px;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .related-item {
    padding: 16px;
  }

  .related-title {
    font-size: 15px;
  }

  .related-item span:last-child {
    font-size: 12px;
  }

  .standards-list li {
    padding: 18px;
  }

  .standard-no {
    font-size: 24px;
  }

  .standards-list h3 {
    font-size: 16px;
  }

  .standards-list p {
    font-size: 13px;
  }

  .standards-footnote {
    padding: 14px 16px;
  }

  .standards-footnote p,
  .standards-footnote a {
    font-size: 13px;
  }

  .editor-note {
    padding: 20px;
  }

  .editor-note h2 {
    font-size: 20px;
  }

  .editor-note p {
    font-size: 14px;
  }

  .route-step {
    padding: 18px;
  }

  .step-num {
    font-size: 22px;
    min-width: 36px;
  }

  .step-body h3 {
    font-size: 16px;
  }

  .step-body p {
    font-size: 13px;
  }

  .route-tips {
    padding: 18px;
  }

  .route-tips h2 {
    font-size: 18px;
  }

  .route-tips p {
    font-size: 13px;
  }

  .faq-item summary {
    padding: 12px 38px 12px 14px;
    font-size: 14px;
  }

  .faq-item p {
    padding: 0 14px 14px;
    font-size: 13px;
  }

  .principle-card {
    padding: 18px;
  }

  .principle-num {
    font-size: 24px;
  }

  .principle-card h3 {
    font-size: 16px;
  }

  .principle-card p {
    font-size: 13px;
  }

  .standard-item {
    padding: 16px;
  }

  .standard-title {
    font-size: 15px;
  }

  .standard-item p {
    font-size: 13px;
  }

  .feedback-item {
    padding: 18px;
  }

  .feedback-item h3 {
    font-size: 16px;
  }

  .feedback-item p {
    font-size: 13px;
  }

  .time-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .time-badge {
    order: 1;
  }

  .time-desc {
    order: 2;
    flex-basis: auto;
    font-size: 13px;
  }

  .time-meta {
    order: 3;
    font-size: 12px;
  }

  .archive {
    padding: 20px;
  }

  .archive-title {
    font-size: 20px;
  }

  .archive-desc {
    font-size: 13px;
  }

  .archive-link {
    padding: 8px 20px;
    font-size: 13px;
  }

  .related-card {
    padding: 16px;
  }

  .related-card-title {
    font-size: 15px;
  }

  .related-card-desc {
    font-size: 12px;
  }

  .related-links > h2 {
    font-size: 20px;
  }

  .related-list .related-card {
    padding: 16px;
  }

  .related-list .related-title {
    font-size: 15px;
  }

  .related-list .related-desc {
    font-size: 12px;
  }

  .error-content {
    padding: 60px 0;
  }

  .error-code {
    font-size: 48px;
  }

  .error-title {
    font-size: 22px;
  }

  .error-desc {
    font-size: 14px;
  }

  .error-link {
    padding: 10px 24px;
    font-size: 14px;
  }

  .overview-media img {
    aspect-ratio: 4 / 3;
  }

  .content-media img {
    aspect-ratio: 4 / 3;
  }

  .scene-figure img {
    aspect-ratio: 4 / 3;
  }

  .route-figure img {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- 打印 ---------- */
@media print {
  .site-header,
  .site-footer,
  .toolbar,
  .breadcrumb,
  .genre-anchor,
  .nav-toggle,
  .related-links,
  .site-boards {
    display: none;
  }

  .site-main {
    padding: 0;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  .page-header {
    border-bottom: 2px solid #000;
  }

  a {
    color: #000000;
    text-decoration: underline;
  }
}

/* 程序验收反馈：修复网格孤项 */
@media (min-width: 769px) {
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
