/* ==========================================================================
   歪歪漫画网 · 全站样式
   配色：米白纸面 / 墨黑正文 / 朱橙强调 / 松绿辅助
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base — 变量、重置、排版基础
   -------------------------------------------------------------------------- */
:root {
  --paper: #F4EFE4;
  --paper-card: #FFFCF4;
  --ink: #1E2521;
  --ink-soft: #5E665F;
  --accent: #C7542E;
  --green: #3F6754;
  --line: #D6CDBD;
  --footer-bg: #12201A;
  --footer-ink: #E9E3D6;
  --footer-soft: #A9B3A9;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-head: "Songti SC", "Noto Serif SC", "SimSun", serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --wrap: 1180px;
  --gap: 32px;
  --radius: 6px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

h1 {
  font-size: clamp(30px, 4.2vw, 46px);
}

h2 {
  font-size: clamp(24px, 3vw, 30px);
}

h3 {
  font-size: 19px;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dd {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 12px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--paper-card);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 8px;
  color: var(--paper-card);
}

/* --------------------------------------------------------------------------
   2. layout — 页头、主导航、移动导航、主容器、页脚
   -------------------------------------------------------------------------- */

/* 页头 */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.brand-tag {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

/* 主导航 */
.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.site-nav a {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-nav a.is-current {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.status-link {
  flex-shrink: 0;
  padding: 6px 0;
  font-size: 13px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.status-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* 移动导航按钮与抽屉 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
}

.mobile-nav {
  display: none;
}

/* 主容器 */
.site-main {
  display: block;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px 72px;
}

.home-main {
  padding-top: 40px;
}

.inner-main {
  padding-top: 20px;
}

/* 页脚 */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 48px 24px 32px;
}

.footer-brand-name {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--footer-ink);
}

.footer-brand-desc {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--footer-soft);
}

.footer-quick {
  margin: 0;
  font-size: 14px;
  color: var(--footer-soft);
}

.footer-quick a {
  color: var(--footer-ink);
  border-bottom: 1px solid rgba(233, 227, 214, 0.35);
}

.footer-quick a:hover {
  color: #F0B49B;
  border-bottom-color: #F0B49B;
}

.footer-quick a + a {
  margin-left: 14px;
}

.footer-col h2 {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--footer-soft);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: 14px;
  color: var(--footer-ink);
}

.footer-col a:hover {
  color: #F0B49B;
}

.footer-status p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--footer-soft);
}

.footer-source {
  border-top: 1px solid rgba(233, 227, 214, 0.18);
}

.footer-source p {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px 24px 24px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--footer-soft);
}

/* --------------------------------------------------------------------------
   3. components — 通用区块、标题、按钮、表格、列表、FAQ
   -------------------------------------------------------------------------- */

/* 区块标题组 */
.section-head {
  margin-bottom: 24px;
}

.section-no,
.section-code,
.section-index,
.section-label,
.page-index,
.page-code,
.topic-code,
.pick-no,
.node-no,
.milestone-no,
.order-no,
.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.section-no,
.section-code,
.section-index,
.section-label,
.page-index,
.page-code {
  margin: 0 0 8px;
}

.section-desc,
.section-intro,
.section-note {
  margin: 0;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.section-intro {
  margin-bottom: 20px;
}

/* 按钮 */
.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  font-size: 15px;
  line-height: 1.4;
  border-radius: var(--radius);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #FFFCF4;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #A8421F;
  border-color: #A8421F;
  color: #FFFCF4;
}

.btn-secondary {
  background: var(--paper-card);
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink);
}

/* 页面标题区 */
.page-header {
  margin-bottom: 20px;
}

.page-title {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 700;
  color: var(--ink);
}

.page-head {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.page-lead {
  margin: 0;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* 结论条 */
.conclusion-bar,
.conclusion,
.mobile-conclusion {
  background: #E7EDE6;
  border: 1px solid #C9D6C8;
  border-radius: var(--radius);
  padding: 20px 24px;
}

.conclusion-label {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--green);
}

.conclusion-label h2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--green);
}

.conclusion-text,
.conclusion-body p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
}

.conclusion-link,
.conclusion-links a,
.mobile-conclusion-links a {
  font-size: 14px;
  color: var(--green);
  border-bottom: 1px solid transparent;
}

.conclusion-link:hover,
.conclusion-links a:hover,
.mobile-conclusion-links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.conclusion-links,
.mobile-conclusion-links {
  margin: 0;
}

.conclusion-links a + a,
.mobile-conclusion-links a + a {
  margin-left: 18px;
}

/* 数据表格 */
.table-wrap,
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table,
.genre-table,
.decision-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.65;
  background: var(--paper-card);
  border: 1px solid var(--line);
}

.data-table caption,
.genre-table caption,
.decision-table caption {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: left;
}

.data-table th,
.data-table td,
.genre-table th,
.genre-table td,
.decision-table th,
.decision-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.data-table thead th,
.genre-table thead th,
.decision-table thead th {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  background: #EFE9DB;
  border-bottom: 1px solid var(--line);
}

.data-table tbody th,
.genre-table tbody th,
.decision-table tbody th {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  white-space: normal;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td,
.genre-table tbody tr:last-child th,
.genre-table tbody tr:last-child td,
.decision-table tbody tr:last-child th,
.decision-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover,
.genre-table tbody tr:hover,
.decision-table tbody tr:hover {
  background: #F7F2E6;
}

/* FAQ 原生展开 */
.faq-section {
  margin: 48px 0 0;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  padding: 16px 32px 16px 0;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* 关联链接组 */
.related-links,
.next-links,
.next-step,
.next-entry,
.next-page-note {
  margin: 40px 0 0;
}

.related-links h2,
.next-links h2,
.next-step h2,
.next-entry h2,
.next-page-note h2 {
  margin-bottom: 12px;
  font-size: 22px;
}

.related-links ul,
.next-links ul,
.next-step-links,
.next-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.related-links a,
.next-links a,
.next-step-links a,
.next-link-list a,
.next-entry-links a,
.next-page-links a {
  font-size: 15px;
  color: var(--green);
  border-bottom: 1px solid var(--line);
}

.related-links a:hover,
.next-links a:hover,
.next-step-links a:hover,
.next-link-list a:hover,
.next-entry-links a:hover,
.next-page-links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.next-page-links a + a,
.next-entry-links a + a {
  margin-left: 18px;
}

/* 图片容器基础 */
figure {
  margin: 0;
}

figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #E8E1D3;
}

figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* 返回顶部 */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: var(--paper-card);
  font-size: 13px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(18, 32, 26, 0.25);
}

.back-to-top:hover {
  background: var(--accent);
  color: var(--paper-card);
}

/* --------------------------------------------------------------------------
   4. pages — 首页各模块
   -------------------------------------------------------------------------- */

/* 首屏 */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  gap: var(--gap);
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  min-width: 0;
}

.hero-kicker {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.hero-copy h1 {
  margin: 0 0 14px;
}

.hero-lead {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
}

.hero-desc {
  margin: 0 0 24px;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  min-width: 0;
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 最近整理批次信息带 */
.batch-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr);
  gap: 1px;
  margin: 32px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.batch-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  background: var(--paper-card);
}

.batch-label {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.batch-value {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink);
}

.batch-item-link a {
  font-size: 14px;
  color: var(--green);
}

.batch-item-link a:hover {
  color: var(--accent);
}

/* 题材属性表 */
.genre-table-section {
  margin-top: 56px;
}

.genre-table-section .genre-table tbody th {
  width: 22%;
}

.genre-table-section .genre-table tbody td:nth-child(2) {
  width: 34%;
}

.genre-table-section .genre-table tbody td:nth-child(3) {
  width: 24%;
}

.genre-table-section .genre-table tbody td:last-child {
  width: 20%;
}

.genre-table-section .genre-table tbody td:last-child a {
  color: var(--green);
  border-bottom: 1px solid var(--line);
}

.genre-table-section .genre-table tbody td:last-child a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.table-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

/* 更新日程带 */
.schedule-strip {
  margin-top: 56px;
}

.schedule-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.schedule-node {
  position: relative;
  min-width: 0;
  padding: 20px 20px 0 0;
  border-right: 1px solid var(--line);
}

.schedule-node:last-child {
  border-right: 0;
  padding-right: 0;
}

.schedule-node::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
}

.node-scope {
  margin: 8px 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.schedule-node a {
  font-size: 14px;
  color: var(--green);
  border-bottom: 1px solid var(--line);
}

.schedule-node a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* 编辑选读榜 */
.editor-picks {
  margin-top: 56px;
}

.pick-list {
  border-top: 1px solid var(--line);
}

.pick-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.pick-no {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
}

.pick-body {
  min-width: 0;
}

.pick-body h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.pick-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.pick-link,
.pick-topic {
  align-self: center;
  font-size: 14px;
  color: var(--green);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.pick-link:hover,
.pick-topic:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* 专题回顾双栏 */
.topic-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: var(--gap);
  align-items: start;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.topic-copy {
  min-width: 0;
}

.topic-copy h2 {
  margin-bottom: 12px;
}

.topic-copy p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.topic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 8px;
}

.topic-links a {
  font-size: 15px;
  color: var(--green);
  border-bottom: 1px solid var(--line);
}

.topic-links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.topic-media {
  min-width: 0;
}

.topic-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* 题材样例 */
.genre-samples {
  margin-top: 56px;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}

.sample-item {
  min-width: 0;
}

.sample-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.sample-item figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sample-item strong {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--ink);
}

.sample-item span {
  font-size: 13px;
  color: var(--ink-soft);
}

/* 阅读说明 */
.reading-notes {
  margin-top: 56px;
}

.notes-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.notes-list li {
  min-width: 0;
}

.notes-list strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--ink);
}

.notes-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.notes-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 24px;
}

.notes-actions a {
  font-size: 15px;
  color: var(--green);
  border-bottom: 1px solid var(--line);
}

.notes-actions a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* --------------------------------------------------------------------------
   5. pages — 内页通用两栏与辅助栏
   -------------------------------------------------------------------------- */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(0, 300px);
  gap: var(--gap);
  align-items: start;
}

.content-main,
.charts-main {
  min-width: 0;
}

.content-aside,
.charts-aside {
  min-width: 0;
}

.aside-block {
  margin-bottom: 24px;
  padding: 18px 20px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.aside-block h2,
.aside-block h3,
.aside-title {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.anchor-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.anchor-list a {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.anchor-list a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.aside-batch p,
.aside-batch {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.aside-batch p {
  margin: 0 0 6px;
}

.aside-batch p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   6. pages — 题材索引
   -------------------------------------------------------------------------- */
.genre-table.genre-figure {
  margin: 0 0 20px;
}

.genre-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.genre-table-grid tbody th {
  width: 20%;
}

.genre-table-grid tbody td:nth-child(2) {
  width: 30%;
}

.genre-table-grid tbody td:nth-child(3) {
  width: 26%;
}

.genre-table-grid tbody td:last-child {
  width: 24%;
}

.genre-table-grid tbody td:last-child a {
  color: var(--green);
  border-bottom: 1px solid var(--line);
}

.genre-table-grid tbody td:last-child a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.status-notes,
.term-blocks {
  margin-top: 48px;
}

.status-list {
  border-top: 1px solid var(--line);
}

.status-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 6px 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.status-item dt {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.status-item dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.status-item dd.status-link {
  grid-column: 2;
}

.status-item dd.status-link a {
  font-size: 14px;
  color: var(--green);
  border-bottom: 1px solid var(--line);
}

.status-item dd.status-link a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.term-block {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.term-block h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.term-block p {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.term-define strong {
  color: var(--ink);
}

.term-related a {
  color: var(--green);
  border-bottom: 1px solid var(--line);
}

.term-related a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.term-related a + a {
  margin-left: 14px;
}

/* --------------------------------------------------------------------------
   7. pages — 更新日程
   -------------------------------------------------------------------------- */
.inner-main > .conclusion,
.inner-main > .conclusion-steps,
.inner-main > .conclusion-bar {
  margin-bottom: 40px;
}

.milestone-band {
  margin-top: 8px;
}

.milestone-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.milestone-node {
  position: relative;
  min-width: 0;
  padding: 20px 16px 0 0;
  border-right: 1px solid var(--line);
}

.milestone-node:last-child {
  border-right: 0;
  padding-right: 0;
}

.milestone-node::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
}

.milestone-scope {
  margin: 8px 0 4px;
  font-family: var(--font-head);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}

.milestone-note {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.milestone-node a {
  font-size: 14px;
  color: var(--green);
  border-bottom: 1px solid var(--line);
}

.milestone-node a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.schedule-figure,
.batch-figure,
.charts-figure,
.check-figure,
.rules-figure {
  margin: 40px 0 0;
}

.schedule-figure img,
.batch-figure img,
.charts-figure img,
.check-figure img,
.rules-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.status-change-table {
  margin-top: 48px;
}

.status-change-table .data-table tbody th {
  width: 18%;
}

.status-change-table .data-table tbody td:nth-child(2) {
  width: 34%;
}

.status-change-table .data-table tbody td:nth-child(3) {
  width: 24%;
}

.status-change-table .data-table tbody td:last-child {
  width: 24%;
}

.status-change-table .data-table tbody td:last-child a {
  color: var(--green);
  border-bottom: 1px solid var(--line);
}

.status-change-table .data-table tbody td:last-child a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.batch-order {
  margin-top: 48px;
}

.order-list {
  border-top: 1px solid var(--line);
}

.order-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 4px 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.order-step .order-no {
  grid-row: span 3;
  font-size: 16px;
  font-weight: 600;
}

.order-step h3 {
  margin: 0;
  font-size: 17px;
}

.order-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.order-step a {
  justify-self: start;
  font-size: 14px;
  color: var(--green);
  border-bottom: 1px solid var(--line);
}

.order-step a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.mobile-conclusion {
  margin-top: 48px;
}

.mobile-conclusion-body p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   8. pages — 编辑选读
   -------------------------------------------------------------------------- */
.charts-layout {
  grid-template-columns: minmax(0, 860px) minmax(0, 280px);
}

.charts-list {
  margin-top: 40px;
}

.charts-list .pick-item {
  grid-template-columns: 56px minmax(0, 1fr) auto;
}

.charts-list .pick-body h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.charts-list .pick-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.charts-list .pick-genre {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--green);
}

.charts-list .pick-reason {
  color: var(--ink-soft);
}

.combo-reading {
  margin-top: 48px;
}

.combo-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.combo-item {
  min-width: 0;
  padding: 16px 18px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.combo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
}

.tag {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--green);
  background: #E7EDE6;
  border-radius: 3px;
}

.combo-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.related-topics {
  margin-top: 40px;
}

.charts-aside .aside-block h3 {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.reason-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: reason;
}

.reason-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  counter-increment: reason;
}

.reason-list li::before {
  content: counter(reason, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}

.boundary-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.boundary-list li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.aside-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aside-links a {
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.aside-links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* --------------------------------------------------------------------------
   9. pages — 阅读自查
   -------------------------------------------------------------------------- */
.conclusion-steps {
  margin-bottom: 40px;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step-item {
  min-width: 0;
  padding: 18px 20px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-item .step-num {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}

.step-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.step-item p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.step-item a {
  font-size: 14px;
  color: var(--green);
  border-bottom: 1px solid var(--line);
}

.step-item a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.decision-section {
  margin-top: 48px;
}

.decision-table tbody td:first-child {
  width: 12%;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}

.decision-table tbody td:nth-child(2) {
  width: 26%;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
}

.decision-table tbody td:nth-child(3) {
  width: 34%;
}

.decision-table tbody td:last-child {
  width: 28%;
}

.device-order {
  margin-top: 48px;
}

.device-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.device-col {
  min-width: 0;
  padding: 20px 22px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.device-col h3 {
  margin: 0 0 12px;
  font-size: 17px;
}

.device-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: device;
}

.device-steps li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  counter-increment: device;
}

.device-steps li::before {
  content: counter(device, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}

.device-steps a {
  color: var(--green);
  border-bottom: 1px solid var(--line);
}

.device-steps a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.next-page-note p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   10. pages — 专题回顾
   -------------------------------------------------------------------------- */
.archive-list {
  margin-top: 48px;
}

.topic-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.56fr);
  gap: var(--gap);
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.topic-text {
  min-width: 0;
}

.topic-code {
  margin: 0 0 6px;
}

.topic-text h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.topic-scope,
.topic-how {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.topic-links {
  margin-top: 10px;
}

.topic-figure {
  min-width: 0;
}

.topic-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.coverage-note {
  margin-top: 48px;
}

.coverage-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.coverage-list li {
  min-width: 0;
}

.coverage-list h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.coverage-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.related-genre {
  margin-top: 48px;
}

.related-genre .genre-table tbody th {
  width: 26%;
}

.related-genre .genre-table tbody td {
  width: 74%;
}

.related-genre .genre-table tbody td a {
  color: var(--green);
  border-bottom: 1px solid var(--line);
}

.related-genre .genre-table tbody td a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.next-entry p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   11. pages — 整理说明
   -------------------------------------------------------------------------- */
.scope-section,
.rules-section,
.feedback-section,
.terminology-section {
  margin-top: 48px;
}

.scope-list {
  border-top: 1px solid var(--line);
}

.scope-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 6px 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.scope-item dt {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.scope-item dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.scope-item dd a {
  color: var(--green);
  border-bottom: 1px solid var(--line);
}

.scope-item dd a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.rules-list {
  border-top: 1px solid var(--line);
  counter-reset: rule;
}

.rules-list li {
  position: relative;
  padding: 16px 0 16px 44px;
  border-bottom: 1px solid var(--line);
  counter-increment: rule;
}

.rules-list li::before {
  content: counter(rule, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}

.rules-list h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.rules-list p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.feedback-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feedback-steps li {
  min-width: 0;
  padding: 18px 20px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feedback-steps h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.feedback-steps p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.term-list {
  border-top: 1px solid var(--line);
}

.term-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 6px 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.term-item dt {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.term-item dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.term-item dd a {
  color: var(--green);
  border-bottom: 1px solid var(--line);
}

.term-item dd a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* --------------------------------------------------------------------------
   12. pages — 404
   -------------------------------------------------------------------------- */
.error-main {
  padding-top: 56px;
}

.error-panel {
  max-width: 640px;
  padding: 36px 32px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.error-panel h1 {
  margin: 0 0 12px;
}

.error-lead {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-hints {
  margin-top: 48px;
}

.error-hints h2 {
  margin-bottom: 16px;
  font-size: 22px;
}

.error-hints ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.error-hints li {
  min-width: 0;
}

.error-hints a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  color: var(--green);
  border-bottom: 1px solid var(--line);
}

.error-hints a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.error-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-soft);
}

.error-note a {
  color: var(--green);
  border-bottom: 1px solid var(--line);
}

.error-note a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* --------------------------------------------------------------------------
   13. responsive — 断点 1100 / 880 / 767 / 480
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .header-inner {
    gap: 18px;
  }

  .site-nav ul {
    gap: 4px 14px;
  }

  .site-nav a {
    font-size: 14px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
  }

  .charts-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
  }

  .milestone-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .milestone-node {
    padding-right: 12px;
  }
}

@media (max-width: 880px) {
  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .status-link {
    margin-left: 0;
  }

  .mobile-nav {
    display: none;
    border-top: 1px solid var(--line);
    background: var(--paper-card);
  }

  .mobile-nav.is-open {
    display: block;
  }

  .mobile-nav ul {
    display: flex;
    flex-direction: column;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 8px 24px 16px;
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 0;
    font-size: 15px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }

  .mobile-nav a:hover,
  .mobile-nav a.is-current {
    color: var(--accent);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: 2;
  }

  .batch-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 0;
  }

  .schedule-node {
    padding: 16px 16px 16px 0;
    border-top: 1px solid var(--line);
  }

  .schedule-node::before {
    top: -5px;
  }

  .topic-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .notes-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .page-layout,
  .charts-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .content-aside,
  .charts-aside {
    margin-top: 8px;
  }

  .milestone-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 0;
  }

  .milestone-node {
    padding: 16px 16px 16px 0;
    border-top: 1px solid var(--line);
  }

  .topic-block {
    grid-template-columns: minmax(0, 1fr);
  }

  .topic-figure {
    order: -1;
  }

  .coverage-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .steps-list,
  .feedback-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .device-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body {
    font-size: 15.5px;
    line-height: 1.7;
  }

  .header-inner {
    padding: 14px 16px;
    gap: 12px;
  }

  .brand-name {
    font-size: 19px;
  }

  .site-main {
    padding: 0 16px 56px;
  }

  .home-main {
    padding-top: 24px;
  }

  .hero {
    gap: 20px;
    padding-bottom: 28px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-desc {
    margin-bottom: 18px;
  }

  .batch-strip {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 24px;
  }

  .genre-table-section,
  .schedule-strip,
  .editor-picks,
  .topic-feature,
  .genre-samples,
  .reading-notes {
    margin-top: 40px;
  }

  /* 表格按行堆叠 */
  .genre-table thead,
  .data-table thead,
  .decision-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .genre-table,
  .data-table,
  .decision-table {
    display: block;
    border: 0;
    background: transparent;
  }

  .genre-table tbody,
  .data-table tbody,
  .decision-table tbody {
    display: block;
  }

  .genre-table tbody tr,
  .data-table tbody tr,
  .decision-table tbody tr {
    display: block;
    margin-bottom: 12px;
    padding: 12px 14px;
    background: var(--paper-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .genre-table tbody tr:hover,
  .data-table tbody tr:hover,
  .decision-table tbody tr:hover {
    background: var(--paper-card);
  }

  .genre-table tbody th,
  .genre-table tbody td,
  .data-table tbody th,
  .data-table tbody td,
  .decision-table tbody th,
  .decision-table tbody td {
    display: block;
    width: auto;
    padding: 4px 0;
    border-bottom: 0;
  }

  .genre-table tbody th,
  .data-table tbody th,
  .decision-table tbody th {
    font-size: 16px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 8px;
    margin-bottom: 4px;
  }

  .genre-table tbody th::before,
  .data-table tbody th::before {
    content: "题材 · ";
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    color: var(--ink-soft);
  }

  .decision-table tbody td:first-child {
    width: auto;
    font-size: 12px;
  }

  .decision-table tbody td:nth-child(2) {
    font-size: 16px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 4px;
  }

  .decision-table tbody td:nth-child(3),
  .decision-table tbody td:last-child {
    width: auto;
  }

  .schedule-band {
    grid-template-columns: minmax(0, 1fr);
  }

  .schedule-node {
    padding: 14px 0;
    border-right: 0;
  }

  .pick-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .pick-link,
  .pick-topic {
    grid-column: 2;
    justify-self: start;
    white-space: normal;
  }

  .sample-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .notes-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .page-head {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .conclusion-bar,
  .conclusion,
  .mobile-conclusion {
    padding: 16px 18px;
  }

  .conclusion-links,
  .mobile-conclusion-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .conclusion-links a + a,
  .mobile-conclusion-links a + a {
    margin-left: 0;
  }

  .status-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .status-item dd.status-link {
    grid-column: 1;
  }

  .scope-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .term-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .order-step {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 4px 12px;
  }

  .combo-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .milestone-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .milestone-node {
    padding: 14px 0;
    border-right: 0;
  }

  .topic-block {
    padding: 22px 0;
  }

  .topic-figure {
    order: 0;
  }

  .rules-list li {
    padding-left: 36px;
  }

  .related-links ul,
  .next-links ul,
  .next-step-links,
  .next-link-list {
    flex-direction: column;
    gap: 8px;
  }

  .next-page-links a + a,
  .next-entry-links a + a {
    margin-left: 0;
  }

  .next-page-links,
  .next-entry-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .error-main {
    padding-top: 32px;
  }

  .error-panel {
    padding: 24px 20px;
  }

  .error-hints ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 36px 16px 24px;
  }

  .footer-source p {
    padding: 14px 16px 20px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 12px 14px;
  }

  .brand-tag {
    font-size: 11px;
  }

  .site-main {
    padding: 0 14px 48px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions a {
    width: 100%;
  }

  .pick-item {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .pick-no {
    font-size: 14px;
  }

  .pick-body h3,
  .charts-list .pick-body h3 {
    font-size: 16px;
  }

  .topic-text h3 {
    font-size: 19px;
  }

  .faq-item summary {
    font-size: 16px;
  }

  .device-col,
  .step-item,
  .feedback-steps li {
    padding: 16px;
  }
}

/* --------------------------------------------------------------------------
   14. 动效与打印
   -------------------------------------------------------------------------- */
@media (hover: hover) {
  .genre-table-section .genre-table tbody td:last-child a,
  .genre-table-grid tbody td:last-child a,
  .related-genre .genre-table tbody td a,
  .status-change-table .data-table tbody td:last-child a {
    transition: color 0.18s ease, border-color 0.18s ease;
  }

  figure img {
    transition: transform 0.18s ease;
  }

  .topic-figure:hover img,
  .sample-item:hover img {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .site-nav,
  .nav-toggle,
  .mobile-nav,
  .back-to-top,
  .status-link,
  .hero-actions,
  .notes-actions,
  .conclusion-links,
  .next-page-links,
  .next-entry-links,
  .footer-quick {
    display: none !important;
  }

  body {
    background: #FFFFFF;
    color: #000000;
    font-size: 12pt;
  }

  .site-header,
  .site-footer {
    background: #FFFFFF;
    color: #000000;
    border-color: #999999;
  }

  .footer-brand-name,
  .footer-col a,
  .footer-col h2,
  .footer-brand-desc,
  .footer-status p,
  .footer-source p {
    color: #000000;
  }

  .site-main {
    max-width: none;
    padding: 0;
  }

  figure img {
    border: 1px solid #999999;
  }

  a {
    color: #000000;
    text-decoration: underline;
  }
}
