/* ==========================================================================
   女神动漫最新版 · 全站样式
   基础 / 布局 / 组件 / 页面 / 响应式
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 基础与变量
   -------------------------------------------------------------------------- */
:root {
  --paper: #f5f2e9;
  --ink: #1e2a26;
  --ink-soft: #4a5651;
  --ink-mute: #6f7a74;
  --route: #2f6f5e;
  --route-dark: #24594b;
  --warm: #e2793c;
  --indigo: #3d5a99;
  --mustard: #c9a227;
  --brick: #b8503c;
  --violet: #7a6ea8;
  --line: #d9d3c2;
  --panel: #ffffff;
  --panel-soft: #fbf9f3;
  --radius: 6px;
  --shadow-sm: 0 1px 0 rgba(30, 42, 38, 0.04);
  --font-base: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", monospace;
  --container: 1120px;
  --gutter: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.site-body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(217, 211, 194, 0.55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(217, 211, 194, 0.55) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--ink);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--route);
  text-decoration: none;
  transition: color 160ms ease;
}

a:hover {
  color: var(--route-dark);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--route);
  outline-offset: 2px;
  border-radius: 3px;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

.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: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: #ffffff;
  border-radius: var(--radius);
  font-size: 14px;
}

.skip-link:focus {
  top: 12px;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   2. 站点骨架：页头 / 导航 / 主区 / 面包屑 / 页标题 / 页脚
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--ink);
  color: #f2efe6;
  border-bottom: 3px solid var(--route);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-logo {
  color: #f7f4ea;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.brand-logo:hover {
  color: #ffffff;
}

.brand-slogan {
  color: #a8b3ac;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  color: #d5dcd6;
  font-size: 14px;
  border-radius: 4px;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.is-current {
  color: #ffffff;
  background: rgba(47, 111, 94, 0.55);
  box-shadow: inset 0 -2px 0 var(--warm);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.btn-primary {
  background: var(--route);
  color: #ffffff;
  border-color: var(--route);
}

.btn-primary:hover {
  background: var(--route-dark);
  border-color: var(--route-dark);
  color: #ffffff;
}

.btn-start {
  white-space: nowrap;
}

.btn-ghost {
  background: transparent;
  color: var(--route);
  border-color: var(--route);
}

.btn-ghost:hover {
  background: var(--route);
  color: #ffffff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #f2efe6;
  border-radius: 1px;
}

.mobile-drawer {
  display: none;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-drawer[hidden] {
  display: none;
}

.drawer-nav {
  padding: 8px 0;
}

.drawer-list {
  display: flex;
  flex-direction: column;
}

.drawer-list li a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 var(--gutter);
  color: #e7ece8;
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-list li a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* 主内容区统一宽度与上下间距 */
.site-main {
  display: block;
}

.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px var(--gutter) 64px;
}

.page-container {
  max-width: var(--container);
  margin: 0 auto;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-mute);
}

.breadcrumb a {
  color: var(--route);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink-soft);
  font-weight: 600;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-mute);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--line);
}

.crumb-tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--route);
  color: #ffffff;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 22px;
}

.page-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

/* 页脚 */
.site-footer {
  background: var(--ink);
  color: #c7d0c9;
  margin-top: 0;
  border-top: 3px solid var(--route);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 44px var(--gutter) 28px;
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(120px, 1fr));
  gap: 32px 28px;
}

.footer-brand {
  min-width: 0;
}

.footer-logo {
  color: #f7f4ea;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.footer-slogan {
  margin-top: 6px;
  color: #93a09a;
  font-size: 13px;
  line-height: 1.6;
}

.footer-intro {
  margin-top: 12px;
  color: #9daaa3;
  font-size: 13px;
  line-height: 1.75;
  max-width: 34em;
}

.footer-col {
  min-width: 0;
}

.footer-col-title {
  margin-bottom: 12px;
  padding-left: 8px;
  border-left: 3px solid var(--warm);
  color: #f2efe6;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-list li a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: #b6c1ba;
  font-size: 13px;
  line-height: 1.6;
}

.footer-list li a::before {
  content: "–";
  margin-right: 6px;
  color: var(--route);
}

.footer-list li a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--gutter) 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  color: #8b9791;
  font-size: 12px;
  line-height: 1.7;
}

.footer-copy {
  color: #8b9791;
}

/* --------------------------------------------------------------------------
   3. 通用组件：色标 / 图例 / 卡片 / 表格 / 折叠 / 目录
   -------------------------------------------------------------------------- */
.legend-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.legend-dot,
.legend-swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex: 0 0 auto;
}

.dot-orange,
.swatch-warm {
  background: var(--warm);
}

.dot-indigo,
.swatch-indigo {
  background: var(--indigo);
}

.dot-mustard,
.swatch-mustard {
  background: var(--mustard);
}

.dot-brick,
.swatch-brick {
  background: var(--brick);
}

.dot-purple,
.swatch-violet {
  background: var(--violet);
}

.dot-warm {
  background: var(--warm);
}

.dot-mist {
  background: var(--violet);
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.color-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.mono-date {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.section-desc {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-mute);
  max-width: 44em;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.title-bar {
  display: inline-block;
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: var(--route);
  flex: 0 0 auto;
}

.title-bar-warm {
  background: var(--warm);
}

.title-bar-indigo {
  background: var(--indigo);
}

.title-bar-mustard {
  background: var(--mustard);
}

.title-bar-violet {
  background: var(--violet);
}

.section-intro {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 40em;
}

.content-section {
  margin-top: 40px;
  scroll-margin-top: 20px;
}

.content-section:first-of-type {
  margin-top: 0;
}

.section-foot {
  margin-top: 16px;
  font-size: 14px;
}

.section-lead {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 40em;
}

.inline-link,
.inline-link-line {
  margin-top: 16px;
  font-size: 14px;
}

.link-more {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  font-weight: 600;
}

.link-more::after {
  content: "›";
  margin-left: 4px;
}

/* 折叠项 */
.faq-item,
.step-details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.faq-item summary,
.step-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker,
.step-details summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after,
.step-details summary::after {
  content: "＋";
  color: var(--route);
  font-size: 16px;
  line-height: 1;
  flex: 0 0 auto;
}

.faq-item[open] summary::after,
.step-details[open] summary::after {
  content: "－";
}

.faq-item p {
  padding: 0 16px 16px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* 右侧锚点目录 */
.content-aside,
.page-aside {
  min-width: 0;
}

.toc,
.anchor-nav {
  position: sticky;
  top: 20px;
  padding: 16px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.toc-title,
.anchor-title,
.anchor-nav-title {
  margin-bottom: 10px;
  padding-left: 8px;
  border-left: 3px solid var(--route);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.toc-list,
.anchor-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc-item a,
.toc-link,
.anchor-link {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 2px 8px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
  border-left: 2px solid transparent;
  border-radius: 3px;
}

.toc-item a::before,
.toc-link::before,
.anchor-link::before {
  content: "–";
  margin-right: 6px;
  color: var(--line);
}

.toc-item a:hover,
.toc-link:hover,
.anchor-link:hover {
  color: var(--route);
  background: rgba(47, 111, 94, 0.07);
}

.toc-item a.is-active,
.toc-link.is-active,
.anchor-link.is-active {
  color: var(--route);
  border-left-color: var(--route);
  background: rgba(47, 111, 94, 0.08);
  font-weight: 600;
}

.toc-item a.is-active::before,
.toc-link.is-active::before,
.anchor-link.is-active::before {
  color: var(--route);
}

.aside-note {
  margin-top: 16px;
  padding: 14px;
  background: var(--panel);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.aside-note-title {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.aside-note-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aside-note-list li a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  font-size: 13px;
  color: var(--route);
}

/* --------------------------------------------------------------------------
   4. 首页
   -------------------------------------------------------------------------- */
.home-main {
  display: block;
}

/* 首屏 */
.hero {
  border-bottom: 1px dashed var(--line);
  background: rgba(255, 255, 255, 0.35);
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px var(--gutter) 44px;
  display: grid;
  grid-template-columns: minmax(0, 5.5fr) minmax(0, 6.5fr);
  gap: 40px;
  align-items: start;
}

.title-block {
  min-width: 0;
}

.kicker {
  display: inline-block;
  padding: 3px 10px;
  margin-bottom: 12px;
  background: rgba(47, 111, 94, 0.12);
  color: var(--route-dark);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}

.title-block h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.hero-lead {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 38em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-figure {
  min-width: 0;
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--panel-soft);
}

.hero-caption {
  padding: 10px 16px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-mute);
  border-bottom: 1px dashed var(--line);
}

.latest-strip {
  padding: 14px 16px 16px;
}

.latest-strip-title {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.latest-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.latest-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.latest-text {
  flex: 1 1 12em;
  min-width: 0;
}

.latest-link {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* 最近更新时间线 */
.timeline-latest {
  max-width: var(--container);
  margin: 0 auto;
  padding: 44px var(--gutter);
}

.timeline-latest .timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 4px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 96px 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 105px;
  top: 0;
  bottom: 0;
  border-left: 1px dashed var(--line);
}

.timeline-item:first-child::before {
  top: 22px;
}

.timeline-item:last-child::before {
  bottom: calc(100% - 26px);
}

.timeline-item .mono-date {
  padding-top: 2px;
  text-align: right;
}

.timeline-item .dot {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  box-shadow: 0 0 0 3px var(--paper);
}

.timeline-body {
  min-width: 0;
  padding-bottom: 4px;
}

.timeline-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}

.timeline-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
}

/* 三组任务入口 */
.task-sections {
  max-width: var(--container);
  margin: 0 auto;
  padding: 44px var(--gutter);
  border-top: 1px dashed var(--line);
}

.task-group {
  padding: 22px 0;
  border-top: 1px dashed var(--line);
}

.task-group:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.task-group-head {
  margin-bottom: 14px;
}

.task-group-head h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.task-group-head p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-mute);
  max-width: 44em;
}

.task-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.task-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--route);
  border-radius: var(--radius);
  color: var(--ink);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.task-card:hover {
  transform: translateY(-2px);
  border-color: var(--route);
  border-left-color: var(--route);
  box-shadow: 0 4px 10px rgba(30, 42, 38, 0.08);
  color: var(--ink);
}

.task-card-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.task-card-use {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.task-card-meta {
  margin-top: 2px;
  font-size: 12px;
  color: var(--route);
  font-weight: 600;
}

/* 题材街区封面墙 */
.district-wall {
  max-width: var(--container);
  margin: 0 auto;
  padding: 44px var(--gutter);
  background: rgba(255, 255, 255, 0.4);
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}

.district-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.district-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 0 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.district-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(30, 42, 38, 0.08);
}

.district-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--panel-soft);
  border-bottom: 3px solid var(--line);
}

.district-card.card-orange img {
  border-bottom-color: var(--warm);
}

.district-card.card-indigo img {
  border-bottom-color: var(--indigo);
}

.district-card.card-mustard img {
  border-bottom-color: var(--mustard);
}

.district-card.card-brick img {
  border-bottom-color: var(--brick);
}

.district-name {
  padding: 0 14px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.district-taste {
  padding: 0 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.district-rhythm {
  padding: 0 14px;
  margin-top: auto;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-mute);
}

.district-more {
  margin-top: 20px;
  font-size: 14px;
}

/* 三条阅读路线提示 */
.route-strip {
  max-width: var(--container);
  margin: 0 auto;
  padding: 44px var(--gutter);
}

.route-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.route-item {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.route-no {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--route);
  flex: 0 0 auto;
}

.route-body {
  min-width: 0;
}

.route-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.route-scene {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.route-via {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-mute);
}

.route-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
}

/* 阅读说明与版权摘要 */
.notice-summary {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px;
  background: rgba(255, 255, 255, 0.4);
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}

.notice-text h2 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.notice-text p {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 38em;
}

.notice-text p:last-child {
  margin-bottom: 0;
}

.notice-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-content: start;
}

.notice-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--route);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 160ms ease, transform 160ms ease;
}

.notice-link:hover {
  transform: translateY(-2px);
  border-color: var(--route);
  color: var(--ink);
}

/* 首页常见问题速览 */
.faq-brief {
  max-width: var(--container);
  margin: 0 auto;
  padding: 44px var(--gutter) 56px;
}

.faq-brief-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.faq-brief-item {
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-brief-q {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink);
}

.faq-brief-a {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.faq-brief-more {
  margin-top: 18px;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   5. 内页通用布局（主内容 + 右侧栏）
   -------------------------------------------------------------------------- */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  align-items: start;
}

.layout-shell {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px var(--gutter) 64px;
}

.content-main,
.page-content {
  min-width: 0;
}

.page-head {
  margin-bottom: 28px;
}

.page-kicker {
  display: inline-block;
  padding: 3px 10px;
  margin-bottom: 10px;
  background: rgba(47, 111, 94, 0.12);
  color: var(--route-dark);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}

.page-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 40em;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-mute);
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-strong {
  font-weight: 700;
  color: var(--ink-soft);
}

.meta-divider {
  color: var(--line);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.7;
}

.meta-row .meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-row dt {
  color: var(--ink-mute);
  font-size: 12px;
}

.meta-row dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.page-figure,
.guide-figure,
.media-figure {
  margin: 22px 0 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-figure img,
.guide-figure img,
.media-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--panel-soft);
}

.page-figure figcaption,
.guide-figure figcaption,
.media-figure figcaption {
  padding: 10px 16px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-mute);
  border-top: 1px dashed var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px;
  margin-bottom: 10px;
  background: rgba(47, 111, 94, 0.12);
  color: var(--route-dark);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}

.eyebrow.tag-violet {
  background: rgba(122, 110, 168, 0.16);
  color: #574a86;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px;
  margin-bottom: 10px;
  background: rgba(47, 111, 94, 0.12);
  color: var(--route-dark);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}

.label-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--route);
}

.label-dot-green {
  background: var(--route);
}

.section-tag {
  display: inline-block;
  padding: 3px 10px;
  margin-bottom: 10px;
  background: rgba(184, 80, 60, 0.14);
  color: #8f3b2b;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}

.section-tag--help {
  background: rgba(47, 111, 94, 0.14);
  color: var(--route-dark);
}

.tag-route {
  background: rgba(47, 111, 94, 0.14);
  color: var(--route-dark);
}

.district-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--route);
}

.district-dot--green {
  background: var(--route);
}

/* --------------------------------------------------------------------------
   6. 题材目录页
   -------------------------------------------------------------------------- */
#districts .district-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

#districts .district-card {
  padding: 0 0 16px;
  border-left: 0;
}

.district-stripe {
  display: block;
  height: 6px;
  width: 100%;
  background: var(--route);
}

.district-card.district-warm .district-stripe {
  background: var(--warm);
}

.district-card.district-indigo .district-stripe {
  background: var(--indigo);
}

.district-card.district-mustard .district-stripe {
  background: var(--mustard);
}

.district-card.district-brick .district-stripe {
  background: var(--brick);
}

.district-card.district-violet .district-stripe {
  background: var(--violet);
}

.district-media {
  margin: 0;
}

.district-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--panel-soft);
}

#districts .district-name {
  padding: 12px 16px 0;
}

#districts .district-taste {
  padding: 0 16px;
  margin-top: 4px;
}

#districts .district-rhythm {
  padding: 0 16px;
  margin-top: 8px;
}

.district-topics {
  padding: 0 16px;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.district-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 10px 16px 0;
  font-size: 13px;
  font-weight: 600;
}

.table-wrap {
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.rhythm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.7;
}

.rhythm-table th,
.rhythm-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.rhythm-table thead th {
  background: var(--panel-soft);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.rhythm-table tbody tr:last-child td {
  border-bottom: 0;
}

.rhythm-table tbody th {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.rhythm-table tbody td {
  color: var(--ink-soft);
}

.rhythm-tag {
  display: inline-block;
  padding: 1px 8px;
  margin-right: 6px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  background: var(--route);
}

.rhythm-warm {
  background: var(--warm);
}

.rhythm-indigo {
  background: var(--indigo);
}

.rhythm-mustard {
  background: var(--mustard);
  color: #3a2f08;
}

.rhythm-brick {
  background: var(--brick);
}

.rhythm-violet {
  background: var(--violet);
}

.compare-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.compare-item {
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.compare-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.compare-item p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.compare-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
}

.next-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.next-item {
  padding: 14px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--mustard);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   7. 更新日志页
   -------------------------------------------------------------------------- */
.week-timeline {
  margin-top: 8px;
}

.week-timeline .timeline-list {
  position: relative;
  margin-top: 20px;
  padding-left: 18px;
  border-left: 1px dashed var(--line);
}

.timeline-week {
  position: relative;
  padding: 0 0 26px 18px;
}

.timeline-week:last-child {
  padding-bottom: 0;
}

.timeline-week::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--route);
  box-shadow: 0 0 0 3px var(--paper);
}

.week-label {
  margin-bottom: 6px;
}

.week-label time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}

.week-body {
  min-width: 0;
}

.week-colors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.6;
}

.week-changes {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.week-changes li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.week-changes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line);
}

.week-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
}

.rest-notes,
.pace-advice {
  margin-top: 40px;
}

.rest-list,
.pace-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.rest-item {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.rest-item .color-dot {
  margin-top: 8px;
}

.rest-type {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
}

.rest-reason {
  grid-column: 2;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.pace-item {
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--route);
  border-radius: var(--radius);
}

.pace-reader {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
}

.pace-rhythm {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.pace-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   8. 标签索引页
   -------------------------------------------------------------------------- */
.dimension-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.dimension-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.dimension-panel h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: rgba(122, 110, 168, 0.12);
  color: #574a86;
  border: 1px solid rgba(122, 110, 168, 0.3);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.6;
}

.dimension-scene {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.dimension-combo {
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-mute);
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

.compare-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.compare-side {
  min-width: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.compare-tag,
.compare-genre {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
}

.compare-tag {
  color: #574a86;
}

.compare-genre {
  color: var(--route-dark);
}

.compare-conclusion {
  grid-column: 1 / -1;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-mute);
}

.misuse-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.misuse-item {
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brick);
  border-radius: var(--radius);
}

.misuse-wrong {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--brick);
}

.misuse-fix {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.misuse-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   9. 阅读指引页
   -------------------------------------------------------------------------- */
.guide-steps,
.guide-routes,
.guide-next {
  margin-top: 40px;
}

.guide-steps {
  margin-top: 0;
}

.step-card {
  margin-top: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--panel-soft);
  border-bottom: 1px solid var(--line);
}

.step-no {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--route);
  flex: 0 0 auto;
}

.step-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.step-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-mute);
}

.step-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  line-height: 1.8;
}

.step-row:last-of-type {
  border-bottom: 0;
}

.step-row dt,
.step-row .step-label {
  font-weight: 700;
  color: var(--ink-mute);
  font-size: 13px;
}

.step-row dd {
  margin: 0;
  color: var(--ink-soft);
}

.step-details {
  border: 0;
  border-top: 1px dashed var(--line);
  border-radius: 0;
  background: var(--panel-soft);
}

.step-details summary {
  font-size: 13px;
  font-weight: 600;
  color: var(--brick);
}

.step-details p {
  padding: 0 16px 14px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.guide-routes .route-card {
  position: relative;
  margin-top: 14px;
  padding: 16px 18px 16px 66px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.guide-routes .route-no {
  position: absolute;
  left: 18px;
  top: 16px;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--route);
}

.guide-routes .route-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.guide-routes .route-scene {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.guide-routes .route-path {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-mute);
}

.guide-next p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 40em;
}

/* --------------------------------------------------------------------------
   10. 问题排查页
   -------------------------------------------------------------------------- */
.symptom-index {
  margin-top: 8px;
}

.symptom-index h2,
.faq-list h2,
.ask-guide h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.symptom-item {
  margin-top: 16px;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scroll-margin-top: 20px;
}

.symptom-item h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink);
}

.symptom-steps {
  margin-top: 8px;
  padding-left: 20px;
  list-style: decimal;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.symptom-steps li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.symptom-hint {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-mute);
}

.faq-list {
  margin-top: 40px;
}

.faq-list .faq-item {
  margin-top: 10px;
}

.ask-guide {
  margin-top: 40px;
}

.ask-guide-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.ask-guide-col {
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.ask-guide-col h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.ask-list {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 16px;
  list-style: disc;
}

.ask-list li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.ask-guide-next {
  margin-top: 16px;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

/* --------------------------------------------------------------------------
   11. 版权与反馈页
   -------------------------------------------------------------------------- */
.source-note,
.dispute-flow,
.feedback-checklist {
  margin-top: 40px;
}

.source-note {
  margin-top: 0;
}

.source-block {
  margin-top: 16px;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.source-block h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink);
}

.source-block p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.flow-step {
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 4px solid var(--route);
  border-radius: var(--radius);
}

.flow-step-no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--route);
}

.flow-step-name {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.flow-step-material,
.flow-step-result {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.flow-step-result {
  padding-top: 6px;
  border-top: 1px dashed var(--line);
  color: var(--ink-mute);
}

.flow-note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-mute);
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.checklist-item {
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--indigo);
  border-radius: var(--radius);
}

.checklist-type {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
}

.checklist-item p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   12. 404
   -------------------------------------------------------------------------- */
.error-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px var(--gutter) 72px;
}

.error-inner {
  max-width: 680px;
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 4px solid var(--warm);
  border-radius: var(--radius);
}

.error-code {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--warm);
}

.error-inner h1 {
  margin-top: 8px;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.error-lead {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.error-tips {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 18px;
  list-style: disc;
}

.error-tips li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* --------------------------------------------------------------------------
   13. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .header-inner {
    gap: 16px;
  }

  .nav-link {
    padding: 0 8px;
    font-size: 13px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 32px;
  }

  .footer-inner {
    grid-template-columns: minmax(200px, 1.4fr) repeat(2, minmax(120px, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
  }

  .nav-list.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list.is-open .nav-link {
    min-height: 48px;
    padding: 0 8px;
    font-size: 15px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-drawer {
    display: block;
  }

  .mobile-drawer[hidden] {
    display: none;
  }

  .header-actions .btn-start {
    display: none;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .content-aside,
  .page-aside {
    order: 2;
  }

  .toc,
  .anchor-nav {
    position: static;
  }

  .toc-list,
  .anchor-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .toc-item a,
  .toc-link,
  .anchor-link {
    min-height: 36px;
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-left-width: 1px;
    border-radius: 999px;
    background: var(--panel);
  }

  .toc-item a::before,
  .toc-link::before,
  .anchor-link::before {
    display: none;
  }

  .toc-item a.is-active,
  .toc-link.is-active,
  .anchor-link.is-active {
    border-color: var(--route);
    background: rgba(47, 111, 94, 0.1);
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .notice-summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  body.site-body {
    background-size: 40px 40px;
  }

  .header-inner {
    padding: 12px 20px;
  }

  .brand-logo {
    font-size: 18px;
  }

  .brand-slogan {
    font-size: 11px;
  }

  .hero-inner {
    padding: 28px 20px 32px;
  }

  .timeline-latest,
  .task-sections,
  .district-wall,
  .route-strip,
  .notice-summary,
  .faq-brief {
    padding-left: 20px;
    padding-right: 20px;
  }

  .timeline-item {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 4px 10px;
  }

  .timeline-item::before {
    left: 9px;
  }

  .timeline-item .mono-date {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    padding-top: 0;
  }

  .timeline-item .dot {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin-top: 6px;
  }

  .timeline-body {
    grid-column: 2;
    grid-row: 2;
  }

  .inner-main,
  .layout-shell {
    padding: 22px 20px 48px;
  }

  .page-title {
    font-size: clamp(26px, 6vw, 32px);
  }

  .flow-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .week-timeline .timeline-list {
    padding-left: 14px;
  }

  .timeline-week {
    padding-left: 14px;
  }

  .timeline-week::before {
    left: -20px;
  }

  .step-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .footer-inner {
    padding: 32px 20px 22px;
  }

  .footer-bottom {
    padding: 16px 20px 28px;
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 10px 20px;
  }

  .brand-slogan {
    display: none;
  }

  .hero-inner {
    padding: 24px 20px 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .district-grid,
  .task-cards,
  .route-list,
  .faq-brief-list,
  .dimension-groups,
  .compare-block,
  .compare-row,
  .ask-guide-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .error-inner {
    padding: 22px 18px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-actions .btn {
    width: 100%;
  }

  .guide-routes .route-card {
    padding-left: 18px;
    padding-top: 44px;
  }

  .guide-routes .route-no {
    top: 14px;
  }

  .rhythm-table th,
  .rhythm-table td {
    padding: 10px 12px;
    font-size: 13px;
  }
}
