/* ==========================================================================
   爆料公社 · yfjfjj.com
   全站样式表：档案式信息排版
   --------------------------------------------------------------------------
   目录
   01. base       基础重置、字体、色彩变量
   02. layout     页头、导航、主容器、内页骨架、页脚
   03. components 按钮、徽标、表格、折叠问答、延伸阅读、图片
   04. pages      首页与各内页业务模块
   05. responsive 断点适配
   ========================================================================== */

/* ==========================================================================
   01. base
   ========================================================================== */

:root {
  --ink: #14342c;
  --ink-soft: #1f2a26;
  --paper: #f7f4ee;
  --surface: #ffffff;
  --brick: #b2552f;
  --brick-dark: #9a4826;
  --moss: #6b7f76;
  --line: #ddd5c8;
  --line-strong: #c9bfae;
  --radius: 4px;
  --shadow-soft: 0 1px 2px rgba(20, 52, 44, 0.06);
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "思源宋体", "Songti SC", Georgia, serif;
  --font-sans: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", "Menlo", "Consolas", monospace;
  --shell: 1120px;
  --content: 780px;
  --aside: 300px;
  --gap-col: 40px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.35;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
  font-weight: 600;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

a:hover {
  color: var(--brick);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

figcaption {
  font-size: 13px;
  color: var(--moss);
  line-height: 1.6;
}

strong {
  font-weight: 600;
  color: var(--ink);
}

/* 屏幕阅读器专用文本 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   02. layout
   ========================================================================== */

/* 页头 --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 6px rgba(20, 52, 44, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 68px;
}

.brand {
  flex: 0 0 auto;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  padding: 8px 0;
}

.brand:hover {
  color: var(--brick);
}

/* 主导航 ------------------------------------------------------------- */
.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 22px;
}

.nav-link {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--brick);
  border-bottom-color: var(--line-strong);
}

.nav-link.is-current {
  font-weight: 600;
  color: var(--ink);
  border-bottom-color: var(--brick);
}

/* 移动端汉堡按钮 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
  cursor: pointer;
  position: relative;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background-color: var(--ink);
}

.nav-toggle::before {
  top: 16px;
  box-shadow: 0 6px 0 var(--ink);
}

.nav-toggle::after {
  bottom: 16px;
}

/* 移动端导航面板 */
.mobile-nav {
  background-color: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px 20px;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  display: block;
  min-height: 48px;
  padding: 12px 14px;
  font-size: 16px;
  color: var(--ink-soft);
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mobile-nav-link.is-current {
  font-weight: 600;
  color: var(--ink);
  border-color: var(--brick);
  background-color: #fbf7f1;
}

.mobile-nav-link:hover {
  border-color: var(--line-strong);
  color: var(--brick);
}

.mobile-nav-close {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--moss);
  background-color: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.mobile-nav-close:hover {
  color: var(--brick);
  border-color: var(--line-strong);
}

/* 主容器 ------------------------------------------------------------- */
.site-main {
  display: block;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

.inner-main {
  padding-top: 28px;
  padding-bottom: 64px;
}

.home-main {
  padding-bottom: 72px;
}

/* 面包屑 ------------------------------------------------------------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--moss);
}

.breadcrumb a {
  color: var(--moss);
  border-bottom: 1px solid transparent;
}

.breadcrumb a:hover {
  color: var(--brick);
  border-bottom-color: var(--line-strong);
}

.breadcrumb-sep {
  color: var(--line-strong);
}

.breadcrumb-current {
  color: var(--ink-soft);
}

/* 页面标题区 --------------------------------------------------------- */
.page-header {
  margin-bottom: 6px;
}

.page-title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--ink);
}

section.page-title {
  max-width: var(--content);
  margin-bottom: 32px;
}

section.page-title .page-lead,
section.page-title .page-lede {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--moss);
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0;
  font-size: 13px;
  color: var(--moss);
  letter-spacing: 0.02em;
}

/* 双栏容器：主内容在前，aside 在后 */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--content)) var(--aside);
  gap: var(--gap-col);
  align-items: start;
}

.main-column,
.content-main {
  min-width: 0;
}

.side-column,
.content-aside {
  min-width: 0;
}

/* 页脚 --------------------------------------------------------------- */
.site-footer {
  background-color: var(--ink);
  color: #d6ded9;
  margin-top: 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 40px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 48px 24px 36px;
}

.footer-title {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #f7f4ee;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: #c3cec8;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.footer-links a:hover {
  color: #ffffff;
  border-bottom-color: var(--brick);
}

.footer-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #b6c2bc;
}

.footer-bottom {
  border-top: 1px solid rgba(221, 213, 200, 0.22);
}

.footer-bottom .footer-brand,
.footer-bottom .footer-claim {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
  font-size: 13px;
  color: #9fafa8;
  line-height: 1.7;
}

.footer-bottom .footer-brand {
  padding-top: 20px;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.05em;
  color: #e6ece8;
}

.footer-bottom .footer-claim {
  padding-bottom: 24px;
}

/* ==========================================================================
   03. components
   ========================================================================== */

/* 按钮 --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.btn-primary {
  background-color: var(--brick);
  border-color: var(--brick);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--brick-dark);
  border-color: var(--brick-dark);
  color: #ffffff;
}

.btn-ghost {
  background-color: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--brick);
  color: var(--brick);
}

/* 状态徽标 ----------------------------------------------------------- */
.badge,
.status-badge {
  display: inline-block;
  padding: 2px 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.6;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  color: var(--moss);
  background-color: var(--surface);
  white-space: nowrap;
}

.badge-serial,
.badge-weekly,
.status-serial {
  border-color: rgba(178, 85, 47, 0.45);
  color: var(--brick);
  background-color: #fbf3ee;
}

.badge-biweekly {
  border-color: var(--line-strong);
  color: var(--moss);
  background-color: #f4f1ea;
}

.badge-done,
.status-done {
  border-color: rgba(107, 127, 118, 0.5);
  color: #4f625a;
  background-color: #eef2ef;
}

/* 表格 --------------------------------------------------------------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-soft);
}

.table-scroll:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 2px;
}

.table-scroll-hint {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--moss);
}

.data-table,
.book-table,
.catalog-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.6;
  background-color: var(--surface);
}

.data-table thead th,
.book-table thead th,
.catalog-table thead th {
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
  color: var(--ink);
  background-color: #f1ece2;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}

.data-table tbody th,
.data-table tbody td,
.book-table tbody th,
.book-table tbody td,
.catalog-table tbody th,
.catalog-table tbody td {
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.data-table tbody th,
.book-table tbody th,
.catalog-table tbody th {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td,
.book-table tbody tr:last-child th,
.book-table tbody tr:last-child td,
.catalog-table tbody tr:last-child th,
.catalog-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover,
.book-table tbody tr:hover,
.catalog-table tbody tr:hover {
  background-color: #faf7f1;
}

.data-table caption,
.book-table caption,
.catalog-table caption {
  text-align: left;
}

.table-note {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--moss);
}

.table-note a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

.table-note a:hover {
  color: var(--brick);
  border-bottom-color: var(--brick);
}

/* 折叠问答 ----------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-soft);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 14px 18px;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--brick);
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "\2212";
}

.faq-item[open] .faq-question {
  border-bottom: 1px solid var(--line);
}

.faq-answer {
  padding: 14px 18px 18px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.faq-answer p {
  margin: 0;
}

.faq-more {
  margin: 18px 0 0;
  font-size: 15px;
}

.faq-more a {
  color: var(--ink);
  border-bottom: 1px solid var(--brick);
  padding-bottom: 1px;
}

.faq-more a:hover {
  color: var(--brick);
}

/* 延伸阅读通用条目 --------------------------------------------------- */
.further-list,
.readnext-list,
.read-more-list,
.related-list,
.readmore-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.further-item,
.readnext-item,
.read-more-item,
.related-item,
.readmore-item {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: background-color 150ms ease, border-color 150ms ease;
}

.further-item:hover,
.readnext-item:hover,
.read-more-item:hover,
.related-item:hover,
.readmore-item:hover {
  border-left-color: var(--brick);
  background-color: #faf7f1;
}

.further-link,
.read-more-link,
.readnext-item > a,
.related-item > a,
.readmore-item > a {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
}

.further-link:hover,
.read-more-link:hover,
.readnext-item > a:hover,
.related-item > a:hover,
.readmore-item > a:hover {
  color: var(--brick);
  border-bottom-color: var(--brick);
}

.further-reason,
.read-more-reason,
.readnext-reason,
.related-reason,
.readmore-item p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--moss);
}

/* 图片容器 ----------------------------------------------------------- */
.hero-figure,
.catalog-figure,
.genre-figure,
.guide-figure,
.about-figure,
.materials-figure,
.note-figure,
.content-figure {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #ece7dd;
}

.hero-figure img,
.catalog-figure img,
.genre-figure img,
.guide-figure img,
.about-figure img,
.materials-figure img,
.note-figure img,
.content-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 320px;
}

.catalog-figure {
  aspect-ratio: 16 / 7;
  margin-bottom: 32px;
}

.genre-figure {
  aspect-ratio: 16 / 9;
  margin: 0 0 18px;
}

.guide-figure {
  aspect-ratio: 16 / 9;
  margin: 20px 0;
}

.about-figure {
  aspect-ratio: 16 / 9;
  margin: 20px 0 4px;
}

.materials-figure {
  aspect-ratio: 4 / 3;
}

.note-figure {
  aspect-ratio: 4 / 3;
}

.content-figure {
  aspect-ratio: 16 / 7;
  margin: 0 0 18px;
}

.hero-figure img {
  min-height: 240px;
  aspect-ratio: 4 / 3;
}

.hero-figure figcaption,
.catalog-figure figcaption,
.genre-figure figcaption,
.guide-figure figcaption,
.about-figure figcaption,
.materials-figure figcaption,
.note-figure figcaption,
.content-figure figcaption {
  padding: 10px 14px;
  background-color: var(--surface);
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   04. pages
   ========================================================================== */

/* ------------------------------ 首页 ------------------------------- */

.hero {
  padding: 40px 0 48px;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--gap-col);
  align-items: center;
}

.hero-text {
  min-width: 0;
}

.hero-eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brick);
}

.hero-text h1 {
  margin: 0 0 18px;
  font-size: 40px;
  line-height: 1.3;
}

.hero-lead {
  max-width: 34em;
  margin: 0 0 26px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--moss);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background-color: var(--surface);
}

.hero-status-text {
  font-size: 14px;
  color: var(--ink-soft);
}

/* 通用区块头 */
.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0 0 8px;
}

.section-lead {
  max-width: 62em;
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--moss);
}

.genre-entry,
.book-overview,
.rhythm-band,
.submit-steps,
.editor-note,
.faq-block {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.faq-block {
  border-bottom: 0;
}

/* 题材入口行 */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.genre-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 148px;
  padding: 18px 18px 16px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: border-color 150ms ease, background-color 150ms ease;
}

.genre-card:hover {
  border-left-color: var(--brick);
  background-color: #faf7f1;
}

.genre-name {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.genre-scope {
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 1.7;
  color: var(--moss);
}

.genre-arrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--brick);
  letter-spacing: 0.04em;
}

.genre-card:hover .genre-arrow {
  color: var(--brick-dark);
}

/* 作品总览 */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.filter-link {
  display: inline-block;
  padding: 7px 14px;
  font-size: 14px;
  color: var(--ink-soft);
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.filter-link:hover {
  color: var(--brick);
  border-color: var(--line-strong);
}

.filter-link-status {
  color: var(--moss);
  background-color: #f4f1ea;
}

.book-table {
  min-width: 760px;
}

.book-table tbody th {
  white-space: normal;
}

.book-row td:last-child {
  min-width: 200px;
  color: var(--moss);
}

/* 更新节奏带 */
.rhythm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rhythm-card {
  padding: 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.rhythm-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.rhythm-cycle {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brick);
}

.rhythm-card p:last-child {
  font-size: 15px;
  line-height: 1.75;
  color: var(--moss);
}

/* 投稿四步（首页） */
.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step-list .step-item {
  position: relative;
  padding: 20px 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.step-list .step-index {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brick);
}

.step-list .step-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.step-list .step-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--moss);
}

.step-list .step-item p a {
  color: var(--ink);
  border-bottom: 1px solid var(--brick);
}

.step-list .step-item p a:hover {
  color: var(--brick);
}

/* 编辑手记摘要 */
.note-body {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--gap-col);
  align-items: start;
}

.note-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.note-item {
  padding-left: 16px;
  border-left: 3px solid var(--line);
}

.note-item:hover {
  border-left-color: var(--brick);
}

.note-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.note-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--moss);
}

.note-more {
  margin: 24px 0 0;
  font-size: 15px;
}

.note-more a {
  color: var(--ink);
  border-bottom: 1px solid var(--brick);
  padding-bottom: 1px;
}

.note-more a:hover {
  color: var(--brick);
}

/* ---------------------------- 作品目录 ----------------------------- */

.catalog-filter {
  margin-bottom: 36px;
}

.catalog-filter h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.catalog-filter-note {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--moss);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.filter-row:last-child {
  border-bottom: 1px solid var(--line);
}

.filter-row-label {
  flex: 0 0 auto;
  min-width: 68px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--moss);
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-table-section {
  margin-bottom: 44px;
}

.catalog-table-section h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.catalog-table {
  min-width: 780px;
}

.catalog-row td:last-child {
  min-width: 220px;
  color: var(--moss);
}

.field-guide {
  margin-bottom: 44px;
}

.field-guide h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.field-lede {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--moss);
}

.field-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
}

.field-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.field-item {
  padding: 16px 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.field-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.field-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--moss);
}

.reading-advice {
  margin-bottom: 44px;
}

.reading-advice h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.advice-lede {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--moss);
}

.advice-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.advice-item {
  padding: 16px 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-strong);
  border-radius: var(--radius);
}

.advice-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.advice-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--moss);
}

.further-reading h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

/* ---------------------------- 题材分区 ----------------------------- */

.page-head {
  margin-bottom: 28px;
}

.page-head .page-title {
  margin-bottom: 10px;
}

.page-head .page-lead {
  max-width: var(--content);
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--moss);
}

.page-head .page-meta {
  font-size: 13px;
  color: var(--moss);
}

.genre-intro {
  margin-bottom: 32px;
}

.genre-intro h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.genre-intro p {
  font-size: 16px;
  line-height: 1.8;
}

.genre-block {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.genre-block h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.genre-block h3 {
  margin: 20px 0 6px;
  font-size: 16px;
  color: var(--brick);
}

.genre-block p {
  font-size: 16px;
  line-height: 1.8;
}

.aside-block {
  margin-bottom: 24px;
  padding: 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.aside-title {
  margin: 0 0 10px;
  font-size: 17px;
}

.aside-note {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--moss);
}

.aside-block .data-table {
  min-width: 420px;
  font-size: 14px;
}

.aside-block .table-scroll {
  box-shadow: none;
}

.aside-block .related-list {
  gap: 10px;
}

.aside-block .related-item {
  padding: 10px 12px;
  box-shadow: none;
}

.aside-block .related-item > a {
  font-size: 15px;
}

.aside-block .related-reason {
  font-size: 13px;
}

/* ---------------------------- 连载更新 ----------------------------- */

.section-title {
  margin: 0 0 8px;
  font-size: 24px;
}

.section-intro {
  max-width: 62em;
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--moss);
}

.rhythm-section,
.recent-section,
.follow-section,
.change-section,
.related-section {
  margin-bottom: 44px;
}

.rhythm-section .rhythm-grid {
  gap: 16px;
}

.rhythm-section .rhythm-name {
  margin: 0 0 8px;
  font-size: 19px;
}

.rhythm-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--moss);
}

.recent-section .data-table {
  min-width: 720px;
}

.recent-section .table-note {
  margin-top: 14px;
}

.follow-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: follow;
}

.follow-item {
  position: relative;
  padding: 16px 18px 16px 54px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.follow-item::before {
  counter-increment: follow;
  content: counter(follow, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--brick);
}

.follow-name {
  margin: 0 0 6px;
  font-size: 16px;
}

.follow-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--moss);
}

.change-text {
  font-size: 16px;
  line-height: 1.8;
}

.change-link {
  margin: 12px 0 0;
  font-size: 15px;
}

.change-link a {
  color: var(--ink);
  border-bottom: 1px solid var(--brick);
  padding-bottom: 1px;
}

.change-link a:hover {
  color: var(--brick);
}

/* ---------------------------- 投稿与连载 --------------------------- */

.section {
  margin-bottom: 44px;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.scope-col {
  padding: 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.scope-subtitle {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--ink);
}

.scope-col > p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--moss);
}

.scope-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scope-list li {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.scope-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background-color: var(--brick);
}

.materials-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--gap-col);
  align-items: start;
}

.materials-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: material;
}

.materials-item {
  position: relative;
  padding: 14px 16px 14px 46px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.materials-item::before {
  counter-increment: material;
  content: counter(material);
  position: absolute;
  top: 15px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--brick);
}

.materials-name {
  margin: 0 0 4px;
  font-size: 16px;
}

.materials-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--moss);
}

.step-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: track;
}

.step-track .step-item {
  position: relative;
  padding: 20px 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.step-track .step-num {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brick);
}

.step-track .step-name {
  margin: 0 0 8px;
  font-size: 17px;
}

.step-track .step-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--moss);
}

.submit-returns .data-table {
  min-width: 620px;
}

.submit-returns .data-table tbody th {
  white-space: normal;
  min-width: 160px;
}

.serial-body > p {
  font-size: 16px;
  line-height: 1.8;
}

.serial-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.serial-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.serial-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 1px;
  background-color: var(--brick);
}

.read-next h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

/* ---------------------------- 阅读指南 ----------------------------- */

.guide-section {
  margin-bottom: 40px;
}

.guide-body p {
  font-size: 16px;
  line-height: 1.85;
}

.chapter-tree {
  margin-top: 24px;
  padding: 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.chapter-tree-title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.chapter-tree-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 2px solid var(--line);
  padding-left: 16px;
}

.chapter-tree-item {
  position: relative;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.chapter-tree-item::before {
  content: "";
  position: absolute;
  top: 12px;
  left: -16px;
  width: 12px;
  height: 1px;
  background-color: var(--line-strong);
}

.chapter-tree-item.level-1 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
}

.chapter-tree-item.level-2 {
  padding-left: 20px;
}

.chapter-tree-item.level-3 {
  padding-left: 40px;
  color: var(--moss);
}

.chapter-tree-item.level-4 {
  padding-left: 60px;
  font-size: 14px;
  color: var(--moss);
}

.guide-section .data-table {
  min-width: 560px;
}

.guide-section .numbered-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: numbered;
}

.guide-section .numbered-item {
  position: relative;
  padding: 16px 18px 16px 54px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.guide-section .numbered-index {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--brick);
}

.guide-section .numbered-title {
  margin: 0 0 4px;
  font-size: 16px;
}

.guide-section .numbered-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--moss);
}

.read-more h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

/* ---------------------------- 关于本站 ----------------------------- */

.about-origin,
.about-policy,
.about-boundary {
  margin-bottom: 40px;
}

.about-origin h2,
.about-policy h2,
.about-boundary h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.about-origin p,
.about-policy > p,
.about-boundary > p {
  font-size: 16px;
  line-height: 1.85;
}

.policy-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
  counter-reset: policy;
}

.policy-item {
  position: relative;
  padding: 18px 20px 18px 58px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.policy-item::before {
  counter-increment: policy;
  content: counter(policy, decimal-leading-zero);
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--brick);
}

.policy-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.policy-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--moss);
}

.boundary-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.boundary-item {
  padding: 16px 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-strong);
  border-radius: var(--radius);
}

.boundary-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.boundary-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--moss);
}

.side-block {
  margin-bottom: 24px;
  padding: 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.side-title {
  margin: 0 0 12px;
  font-size: 17px;
}

.side-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--moss);
}

.side-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 6px;
  height: 1px;
  background-color: var(--brick);
}

.side-block .readmore-list {
  gap: 10px;
}

.side-block .readmore-item {
  padding: 10px 12px;
  box-shadow: none;
}

.side-block .readmore-item > a {
  font-size: 15px;
}

.about-pact {
  padding-top: 8px;
}

.about-pact h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

.pact-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.pact-item {
  padding: 18px 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.pact-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.pact-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--moss);
}

/* ------------------------------ 404 ------------------------------- */

.error-main {
  padding-bottom: 64px;
}

.error-title {
  max-width: var(--content);
  margin: 40px 0 32px;
}

.error-code {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brick);
}

.error-title h1 {
  margin: 0 0 12px;
  font-size: 36px;
}

.error-title .page-lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--moss);
}

.error-body {
  max-width: var(--content);
}

.error-body h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.error-body h2 + ul {
  margin-bottom: 32px;
}

.error-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.error-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.error-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 1px;
  background-color: var(--brick);
}

.error-body p {
  font-size: 15px;
  line-height: 1.85;
}

.error-body p a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

.error-body p a:hover {
  color: var(--brick);
  border-bottom-color: var(--brick);
}

.error-actions {
  margin-top: 26px;
}

.error-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background-color: var(--brick);
  border: 1px solid var(--brick);
  border-radius: var(--radius);
}

.error-home:hover {
  color: #ffffff;
  background-color: var(--brick-dark);
  border-color: var(--brick-dark);
}

/* ---------------------------- 动效增强 ----------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: reveal-in 200ms ease both;
  }

  @keyframes reveal-in {
    from {
      transform: translateY(6px);
    }
    to {
      transform: translateY(0);
    }
  }
}

/* ==========================================================================
   05. responsive
   ========================================================================== */

@media (max-width: 960px) {
  .header-inner {
    min-height: 60px;
    padding: 0 20px;
  }

  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-main {
    padding: 0 20px;
  }

  .inner-main {
    padding-top: 22px;
    padding-bottom: 52px;
  }

  .page-title,
  .error-title h1 {
    font-size: 30px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero {
    padding: 28px 0 36px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-figure {
    min-height: 0;
  }

  .genre-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rhythm-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .step-list,
  .step-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .note-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .materials-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
    padding: 40px 20px 30px;
  }

  .footer-bottom .footer-brand,
  .footer-bottom .footer-claim {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    padding: 0 16px;
    gap: 12px;
  }

  .brand {
    font-size: 19px;
  }

  .mobile-nav {
    padding: 14px 16px 18px;
  }

  .site-main {
    padding: 0 16px;
  }

  .inner-main {
    padding-top: 18px;
    padding-bottom: 44px;
  }

  .page-title,
  .error-title h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 21px;
  }

  h3 {
    font-size: 17px;
  }

  .breadcrumb {
    margin-bottom: 14px;
    font-size: 12px;
  }

  section.page-title {
    margin-bottom: 24px;
  }

  section.page-title .page-lead,
  section.page-title .page-lede {
    font-size: 16px;
  }

  .hero {
    padding: 22px 0 30px;
  }

  .hero-text h1 {
    font-size: 27px;
    line-height: 1.35;
  }

  .hero-lead {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn {
    flex: 1 1 auto;
    min-height: 48px;
    padding: 10px 16px;
  }

  .section-head {
    margin-bottom: 18px;
  }

  .genre-entry,
  .book-overview,
  .rhythm-band,
  .submit-steps,
  .editor-note,
  .faq-block {
    padding: 32px 0;
  }

  .genre-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .genre-card {
    min-height: 0;
    padding: 16px;
  }

  .rhythm-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .step-list,
  .step-track {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .scope-grid,
  .field-columns,
  .pact-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .data-table,
  .book-table,
  .catalog-table {
    font-size: 14px;
  }

  .data-table thead th,
  .book-table thead th,
  .catalog-table thead th {
    padding: 10px 12px;
    font-size: 12px;
  }

  .data-table tbody th,
  .data-table tbody td,
  .book-table tbody th,
  .book-table tbody td,
  .catalog-table tbody th,
  .catalog-table tbody td {
    padding: 11px 12px;
  }

  .aside-block,
  .side-block {
    padding: 16px;
  }

  .faq-question {
    padding: 12px 14px;
    font-size: 16px;
  }

  .faq-answer {
    padding: 12px 14px 16px;
  }

  .filter-row {
    gap: 8px 12px;
  }

  .filter-row-label {
    min-width: 0;
    width: 100%;
  }

  .filter-link {
    padding: 8px 12px;
    font-size: 13px;
  }

  .follow-item {
    padding: 14px 16px 14px 48px;
  }

  .follow-item::before {
    top: 16px;
    left: 16px;
  }

  .materials-item {
    padding: 12px 14px 12px 42px;
  }

  .materials-item::before {
    top: 13px;
    left: 14px;
  }

  .policy-item {
    padding: 16px 16px 16px 50px;
  }

  .policy-item::before {
    top: 18px;
    left: 16px;
  }

  .guide-section .numbered-item {
    padding: 14px 16px 14px 46px;
  }

  .guide-section .numbered-index {
    top: 16px;
    left: 16px;
  }

  .chapter-tree {
    padding: 16px;
  }

  .chapter-tree-item.level-2 {
    padding-left: 14px;
  }

  .chapter-tree-item.level-3 {
    padding-left: 28px;
  }

  .chapter-tree-item.level-4 {
    padding-left: 42px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 32px 16px 24px;
  }

  .footer-bottom .footer-brand,
  .footer-bottom .footer-claim {
    padding-left: 16px;
    padding-right: 16px;
  }

  .error-title {
    margin-top: 28px;
    margin-bottom: 24px;
  }
}
