/* ============================================================
   香香漫画 · 全站样式表
   站点定位：漫画题材索引与阅读帮助站
   视觉方向：公共交通站风格
   ============================================================ */

/* ============================================================
   Base · 基础变量 / 重置 / 字体 / 通用元素
   ============================================================ */
:root {
  /* 色彩变量 */
  --ink: #121A24;
  --ink-soft: #1F2A38;
  --paper: #F7F6F3;
  --paper-deep: #EFEEE9;
  --line-blue: #155A8A;
  --line-blue-dark: #0F4266;
  --signal-yellow: #F5B82E;
  --signal-yellow-dark: #D9A020;
  --line-daily: #EF6A4B;
  --line-adventure: #3E9A7E;
  --line-fantasy: #8E6DB4;
  --line-romance: #D66B79;
  --line-mystery: #4A6FA5;
  --text-main: #2A3441;
  --text-sub: #5C6A7A;
  --text-light: #8A96A3;
  --line-light: #E1E0DB;
  --white: #FFFFFF;

  /* 字体族 */
  --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", Roboto, sans-serif;

  /* 基础尺寸 */
  --header-h: 76px;
  --shell-w: 1180px;
  --radius: 8px;
  --radius-sm: 4px;
  --transition: .2s ease;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-main);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--line-blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--line-blue-dark);
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

figure {
  margin: 0;
}

/* 屏幕阅读器专用 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 通用容器 */
.header-shell,
.footer-shell,
.hero-welcome,
.route-wall,
.service-gateway,
.editorial-picks,
.faq-teaser,
.boundary-notice,
.inner-main,
.layout-shell {
  width: 100%;
  max-width: var(--shell-w);
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   Layout · 全站骨架（页头 / 页脚 / 内页主容器）
   ============================================================ */

/* ---------- 页头 ---------- */
.site-header {
  background: var(--ink);
  border-bottom: 3px solid var(--signal-yellow);
  position: relative;
  z-index: 50;
}

.header-shell {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 24px;
}

/* 品牌区 */
.brand-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1.2;
}

.brand-tag {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: .5px;
  line-height: 1.2;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 10px;
}

/* 主导航 */
.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-sm);
  line-height: 1.4;
  transition: background var(--transition), color var(--transition);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.is-current {
  color: var(--ink);
  background: var(--signal-yellow);
  font-weight: 600;
}

/* 汉堡按钮（桌面隐藏） */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-sm);
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0;
}

.footer-shell {
  padding: 48px 24px 36px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand-col .footer-brand {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-slogan {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: .5px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--signal-yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  max-width: var(--shell-w);
  margin: 0 auto;
}

/* ---------- 内页主容器 ---------- */
.site-main {
  display: block;
}

.inner-main {
  padding: 32px 24px 64px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--text-sub);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--line-blue);
}

.breadcrumb-current {
  color: var(--text-main);
  font-weight: 500;
}

.breadcrumb-sep {
  color: var(--text-light);
  font-size: 12px;
}

/* 页面标题区（站牌风格） */
.page-header {
  background: var(--ink);
  border-left: 6px solid var(--signal-yellow);
  padding: 32px 36px;
  margin-bottom: 40px;
  border-radius: var(--radius);
}

.page-description {
  font-size: 13px;
  font-weight: 600;
  color: var(--signal-yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 12px;
}

.page-header-desc,
.page-lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 720px;
  line-height: 1.7;
}

/* 内页通用 section 标题 */
.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  padding-left: 14px;
  border-left: 4px solid var(--line-blue);
  line-height: 1.4;
  margin-bottom: 20px;
}

/* ============================================================
   Components · 通用组件（按钮 / 卡片 / 折叠 / 表格 / 提示条）
   ============================================================ */

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  line-height: 1.4;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: var(--signal-yellow);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--signal-yellow-dark);
  color: var(--ink);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

/* ---------- 文本链接 ---------- */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  color: var(--line-blue);
  font-size: 14px;
  transition: color var(--transition);
}

.text-link:hover {
  color: var(--line-blue-dark);
}

/* ---------- 线路编号圆标 ---------- */
.route-badge,
.line-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  font-family: "SF Mono", "Cascadia Code", Consolas, monospace;
}

/* 线路色 */
.route-daily .route-badge,
.line-badge-daily {
  background: var(--line-daily);
}

.route-adventure .route-badge,
.line-badge-adventure {
  background: var(--line-adventure);
}

.route-fantasy .route-badge,
.line-badge-fantasy {
  background: var(--line-fantasy);
}

.route-romance .route-badge,
.line-badge-romance {
  background: var(--line-romance);
}

.route-mystery .route-badge,
.line-badge-mystery {
  background: var(--line-mystery);
}

/* ---------- 折叠块（FAQ） ---------- */
.faq-item {
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: background var(--transition);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--line-blue);
  line-height: 1;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item[open] summary {
  background: var(--paper);
}

.faq-item .faq-answer {
  padding: 0 20px 18px;
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.8;
}

.faq-item .faq-answer p:not(:last-child) {
  margin-bottom: 8px;
}

/* ---------- 通用 section 标题 ---------- */
.section-heading {
  margin-bottom: 28px;
}

.section-index {
  font-size: 13px;
  font-weight: 700;
  color: var(--line-blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.section-heading h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 8px;
}

.section-note {
  font-size: 15px;
  color: var(--text-sub);
  max-width: 640px;
}

/* ---------- 边界提示条 ---------- */
.boundary-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--paper-deep);
  border-left: 4px solid var(--line-blue);
  padding: 20px 28px;
  margin: 40px auto 0;
  border-radius: var(--radius);
}

.boundary-notice p {
  font-size: 14px;
  color: var(--text-sub);
  flex: 1;
}

.boundary-notice strong {
  color: var(--ink);
}

.boundary-link {
  font-weight: 600;
  color: var(--line-blue);
  white-space: nowrap;
  font-size: 14px;
}

/* ---------- 内容提示条（departure / notice） ---------- */
.content-note {
  background: var(--paper-deep);
  border-left: 4px solid var(--line-blue);
  padding: 18px 24px;
  border-radius: var(--radius);
  margin: 32px 0;
}

.content-note p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ---------- 站内关联链接条 ---------- */
.related-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 16px 0;
  font-size: 14px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  margin-top: 40px;
}

.related-links-label {
  font-weight: 600;
  color: var(--ink);
  margin-right: 4px;
}

.related-links-item {
  color: var(--line-blue);
  padding: 4px 0;
  transition: color var(--transition);
}

.related-links-item:hover {
  color: var(--line-blue-dark);
}

/* ============================================================
   Pages · 首页
   ============================================================ */

/* ---------- Hero 导乘区 ---------- */
.hero-welcome {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 64px 24px 56px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--line-blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-kicker::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--signal-yellow);
}

.hero-copy h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(18, 26, 36, 0.1);
}

.hero-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* ---------- 题材封面墙 ---------- */
.route-wall {
  padding: 56px 24px 24px;
}

.cover-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.cover-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(18, 26, 36, 0.06);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.cover-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-blue);
  box-shadow: 0 8px 24px rgba(18, 26, 36, 0.1);
}

.cover-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.cover-card-body {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 14px;
}

.cover-card-body .route-badge {
  width: 30px;
  height: 30px;
  font-size: 13px;
}

.cover-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.cover-desc {
  display: block;
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 2px;
  line-height: 1.4;
}

/* ---------- 服务通道条 ---------- */
.service-gateway {
  padding: 56px 24px 24px;
}

.gateway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gateway-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--line-light);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.gateway-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-blue);
  box-shadow: 0 8px 20px rgba(18, 26, 36, 0.08);
}

.gateway-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--paper-deep);
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--line-blue);
}

.gateway-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.gateway-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.gateway-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--line-blue);
}

/* ---------- 编辑手账选文 ---------- */
.editorial-picks {
  padding: 56px 24px 24px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.editorial-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.editorial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(18, 26, 36, 0.08);
}

.editorial-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.editorial-body {
  padding: 20px 20px 24px;
}

.editorial-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--line-blue);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.editorial-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 8px;
}

.editorial-body p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 12px;
}

.editorial-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--line-blue);
}

/* ---------- FAQ 快速折叠 ---------- */
.faq-teaser {
  padding: 56px 24px 24px;
}

.faq-teaser-list {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin-bottom: 20px;
}

.faq-more-link {
  margin-top: 8px;
}

/* ============================================================
   Pages · 内页通用（route / departure / editorial / faq / notice）
   ============================================================ */

/* 双栏布局（editorial / notice） */
.page-layout.layout-shell,
.layout-shell.notice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  align-items: start;
}

/* ============================================================
   Pages · 选线索引 route
   ============================================================ */

.route-guide-intro {
  margin-bottom: 40px;
}

.route-guide-intro p {
  font-size: 15px;
  color: var(--text-main);
  max-width: 720px;
  line-height: 1.8;
}

.route-guide-intro p + p {
  margin-top: 12px;
}

.route-lines {
  display: grid;
  gap: 24px;
  margin-bottom: 48px;
}

.route-line-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-light);
  padding: 28px;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.route-line-card:hover {
  border-color: var(--line-blue);
  box-shadow: 0 4px 16px rgba(18, 26, 36, 0.06);
}

.route-line-main {
  min-width: 0;
}

.route-line-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.line-badge {
  width: 40px;
  height: 40px;
  font-size: 15px;
}

.route-line-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.route-line-tagline {
  font-size: 15px;
  font-weight: 500;
  color: var(--line-blue);
  margin-bottom: 8px;
}

.route-line-desc {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 16px;
}

.route-line-meta {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
}

.meta-row {
  display: flex;
  gap: 12px;
  font-size: 14px;
}

.meta-row dt {
  color: var(--text-light);
  font-weight: 500;
  flex-shrink: 0;
  min-width: 64px;
}

.meta-row dd {
  color: var(--text-main);
}

.route-line-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--line-blue);
  padding: 6px 0;
  min-height: 44px;
}

.route-line-link::after {
  content: "→";
  font-size: 16px;
  transition: transform var(--transition);
}

.route-line-link:hover::after {
  transform: translateX(4px);
}

.route-line-figure {
  border-radius: var(--radius);
  overflow: hidden;
  align-self: center;
}

.route-line-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* 选择指引 */
.route-choice-guide {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--line-light);
  margin-bottom: 48px;
}

.choice-guide-intro {
  font-size: 15px;
  color: var(--text-main);
  max-width: 720px;
  margin-bottom: 24px;
}

.choice-question-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
}

.choice-question-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.choice-question-desc {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 12px;
}

.choice-answer {
  font-size: 14px;
  color: var(--text-main);
}

.choice-answer strong {
  color: var(--ink);
  margin-right: 8px;
}

.choice-answer a {
  margin: 0 4px;
  font-weight: 600;
}

.choice-guide-outro {
  font-size: 15px;
  color: var(--text-main);
  margin-top: 16px;
}

.choice-guide-outro a {
  font-weight: 600;
}

/* 关联阅读 */
.route-related-links {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line-light);
  margin-bottom: 32px;
}

.related-intro {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.related-link-list {
  display: grid;
  gap: 12px;
}

.related-link-item {
  display: block;
  padding: 12px;
  background: var(--paper);
  border-radius: var(--radius-sm);
}

.related-link-item a {
  font-weight: 600;
  font-size: 15px;
}

.related-link-desc {
  display: block;
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 4px;
}

/* ============================================================
   Pages · 发车节奏 departure
   ============================================================ */

.content-section {
  margin-bottom: 48px;
}

.update-principles {
  max-width: 860px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.principle-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
  padding: 24px;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.principle-card:hover {
  border-color: var(--line-blue);
  box-shadow: 0 4px 12px rgba(18, 26, 36, 0.05);
}

.principle-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3px solid var(--line-blue);
  line-height: 1.4;
}

.principle-card p {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.7;
}

/* 时刻表 */
.section-intro {
  font-size: 15px;
  color: var(--text-sub);
  max-width: 720px;
  margin-bottom: 20px;
}

.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
  background: var(--white);
}

.timetable-table {
  min-width: 640px;
}

.timetable-table thead th {
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 18px;
  text-align: left;
  white-space: nowrap;
}

.timetable-table tbody td {
  padding: 16px 18px;
  font-size: 14px;
  color: var(--text-main);
  border-bottom: 1px solid var(--line-light);
  vertical-align: top;
  line-height: 1.6;
}

.timetable-table tbody tr:last-child td {
  border-bottom: none;
}

.timetable-table tbody tr:nth-child(even) td {
  background: var(--paper);
}

/* 周期示意 */
.schedule-visual {
  max-width: 860px;
}

.schedule-figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-light);
}

.schedule-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.schedule-figure figcaption {
  padding: 12px 20px;
  font-size: 13px;
  color: var(--text-sub);
  background: var(--white);
  text-align: center;
}

/* 回溯卡片 */
.archive-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.archive-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
  padding: 24px;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.archive-card:hover {
  border-color: var(--line-blue);
  box-shadow: 0 4px 12px rgba(18, 26, 36, 0.05);
}

.archive-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.archive-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 12px;
}

.archive-card a {
  font-weight: 600;
  font-size: 14px;
}

/* ============================================================
   Pages · 编辑手账 editorial
   ============================================================ */

.page-editorial .page-header {
  border-left-color: var(--line-adventure);
}

.page-editorial .page-description {
  color: var(--line-adventure);
}

.editorial-article {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
  overflow: hidden;
  margin-bottom: 40px;
}

.article-lead-media {
  border-bottom: 1px solid var(--line-light);
}

.article-lead-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.article-lead-media figcaption {
  padding: 10px 28px;
  font-size: 13px;
  color: var(--text-light);
  background: var(--paper);
  text-align: right;
}

.article-body {
  padding: 36px 48px 40px;
}

.article-standfirst {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.8;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-light);
  margin-bottom: 28px;
}

.article-section {
  margin-bottom: 32px;
}

.article-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  padding-left: 12px;
  border-left: 4px solid var(--line-blue);
  line-height: 1.4;
  margin-bottom: 14px;
}

.article-section p {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.9;
  margin-bottom: 12px;
  max-width: 720px;
}

.article-closing {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.9;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
  font-style: italic;
}

/* 关联阅读 */
.related-reads {
  margin-bottom: 40px;
}

.related-reads .section-desc {
  font-size: 15px;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
  padding: 24px;
  min-height: 100%;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.related-card:hover {
  border-color: var(--line-blue);
  box-shadow: 0 4px 12px rgba(18, 26, 36, 0.05);
}

.related-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.5;
}

.related-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 12px;
}

.related-card a {
  font-weight: 600;
  font-size: 14px;
}

/* 侧栏 */
.editorial-aside {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 24px;
}

.aside-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
  padding: 24px;
}

.aside-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--paper-deep);
  margin-bottom: 16px;
  letter-spacing: .5px;
}

.toc-list {
  display: grid;
  gap: 4px;
}

.toc-item a {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  color: var(--text-sub);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  line-height: 1.5;
}

.toc-item a:hover {
  background: var(--paper);
  color: var(--line-blue);
}

.note-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 12px;
}

.note-card a {
  font-weight: 600;
  font-size: 14px;
}

/* ============================================================
   Pages · 乘务问答 faq
   ============================================================ */

.page-faq .page-header {
  border-left-color: var(--line-romance);
}

.page-faq .page-description {
  color: var(--line-romance);
}

.faq-intro-section {
  margin-bottom: 36px;
}

.faq-intro-section .section-desc {
  font-size: 15px;
  color: var(--text-main);
  max-width: 720px;
  line-height: 1.8;
}

.faq-list-section {
  margin-bottom: 48px;
}

.faq-list-section .faq-item {
  margin-bottom: 12px;
}

.faq-list-section .faq-item[open] {
  border-color: var(--line-blue);
}

.faq-flow-section {
  margin-bottom: 48px;
}

.faq-flow-figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: var(--white);
}

.faq-flow-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.faq-flow-figure figcaption {
  padding: 12px 20px;
  font-size: 13px;
  color: var(--text-sub);
  text-align: center;
}

.flow-note {
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 12px;
  text-align: center;
}

.faq-transfer-section {
  margin-bottom: 20px;
}

.transfer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.transfer-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.transfer-card:hover {
  border-color: var(--line-blue);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(18, 26, 36, 0.06);
}

.transfer-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.transfer-card-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 16px;
}

.transfer-link {
  font-weight: 600;
  font-size: 14px;
}

/* ============================================================
   Pages · 车站公告 notice
   ============================================================ */

.page-notice .page-header {
  border-left-color: var(--line-fantasy);
}

.page-notice .page-description {
  color: var(--line-fantasy);
}

.notice-layout {
  margin-bottom: 40px;
}

.layout-main {
  min-width: 0;
}

.notice-section {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
  padding: 32px;
  margin-bottom: 24px;
}

.notice-section .section-title {
  margin-bottom: 16px;
}

.notice-section p {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.8;
  margin-bottom: 12px;
  max-width: 720px;
}

/* 边界列表 */
.limit-list {
  display: grid;
  gap: 12px;
}

.limit-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 16px;
  background: var(--paper);
  border-radius: var(--radius-sm);
}

.limit-item-title {
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
  flex-shrink: 0;
  min-width: 88px;
  padding-top: 1px;
}

.limit-item-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* 侧栏 */
.layout-aside {
  display: grid;
  gap: 20px;
}

.notice-aside {
  position: sticky;
  top: 24px;
}

.notice-figure {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
  overflow: hidden;
}

.notice-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.notice-figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-sub);
  text-align: center;
  background: var(--white);
}

.aside-links {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
  padding: 24px;
}

.aside-links .aside-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--paper-deep);
  margin-bottom: 16px;
}

.aside-link-list {
  display: grid;
  gap: 4px;
}

.aside-link-item a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text-sub);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  font-weight: 500;
}

.aside-link-item a:hover {
  background: var(--paper);
  color: var(--line-blue);
}

/* 底部提示条 */
.notice-strip {
  background: var(--ink);
  padding: 20px 24px;
  text-align: center;
}

.notice-strip-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  max-width: var(--shell-w);
  margin: 0 auto;
}

/* ============================================================
   Pages · 404 错误页
   ============================================================ */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 48px 24px;
}

.error-panel {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
  padding: 56px 48px;
  max-width: 520px;
  width: 100%;
}

.error-code {
  font-size: 64px;
  font-weight: 800;
  color: var(--line-blue);
  line-height: 1;
  font-family: "SF Mono", "Cascadia Code", Consolas, monospace;
  margin-bottom: 16px;
}

.error-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

.error-desc {
  font-size: 15px;
  color: var(--text-sub);
  margin-bottom: 12px;
  line-height: 1.7;
}

.error-panel .error-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 24px;
  margin: 12px 6px 0;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  background: var(--line-blue);
  color: var(--white);
  transition: background var(--transition);
}

.error-panel .error-link:hover {
  background: var(--line-blue-dark);
  color: var(--white);
}

.error-panel .error-link:last-child {
  background: transparent;
  border: 1px solid var(--line-blue);
  color: var(--line-blue);
}

.error-panel .error-link:last-child:hover {
  background: var(--paper);
}

/* ============================================================
   Responsive · 响应式断点
   ============================================================ */

/* ---------- ≤ 1024px ---------- */
@media (max-width: 1024px) {
  .cover-wall {
    grid-template-columns: repeat(3, 1fr);
  }

  .cover-card:nth-child(4),
  .cover-card:nth-child(5) {
    grid-column: span 1;
  }

  .route-line-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .route-line-figure img {
    height: 200px;
  }

  .footer-shell {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .page-layout.layout-shell,
  .layout-shell.notice-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .editorial-aside,
  .notice-aside {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .toc-card {
    grid-column: 1 / -1;
  }

  .notice-figure {
    grid-column: 1 / -1;
  }
}

/* ---------- ≤ 768px ---------- */
@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  /* 页头 */
  .header-shell {
    padding: 0 16px;
    flex-wrap: wrap;
    min-height: var(--header-h);
    position: relative;
  }

  .brand-name {
    font-size: 22px;
  }

  .brand-tag {
    font-size: 11px;
  }

  /* 导航折叠 */
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    width: 100%;
    order: 3;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    padding: 14px 12px;
    font-size: 16px;
    border-radius: var(--radius-sm);
    text-align: left;
    color: rgba(255, 255, 255, 0.9);
  }

  .nav-link.is-current {
    color: var(--ink);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* 首页 hero */
  .hero-welcome {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 16px 32px;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .hero-image {
    height: 240px;
  }

  /* 首页模块 */
  .route-wall,
  .service-gateway,
  .editorial-picks,
  .faq-teaser {
    padding: 40px 16px 16px;
  }

  .cover-wall {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 12px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .cover-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
  }

  .cover-card img {
    height: 180px;
  }

  .gateway-grid,
  .editorial-grid,
  .principles-grid,
  .archive-cards,
  .related-grid,
  .transfer-grid {
    grid-template-columns: 1fr;
  }

  /* 内页 */
  .inner-main {
    padding: 24px 16px 48px;
  }

  .page-header {
    padding: 24px 20px;
  }

  .page-title {
    font-size: 26px;
  }

  .page-header-desc,
  .page-lead {
    font-size: 15px;
  }

  .breadcrumb {
    font-size: 13px;
  }

  /* 表格 */
  .table-scroll {
    overflow-x: auto;
  }

  /* 编辑手账正文 */
  .article-body {
    padding: 24px 20px 28px;
  }

  .article-lead-img {
    height: 200px;
  }

  .article-section h2 {
    font-size: 18px;
  }

  /* FAQ */
  .faq-item summary {
    font-size: 15px;
    padding: 16px;
  }

  .faq-item .faq-answer {
    padding: 0 16px 16px;
    font-size: 14px;
  }

  /* notice */
  .notice-section {
    padding: 24px 20px;
  }

  .limit-item {
    flex-direction: column;
    gap: 4px;
  }

  .limit-item-title {
    min-width: 0;
  }

  /* 页脚 */
  .footer-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 16px 28px;
  }

  .footer-bottom {
    padding: 16px;
  }

  /* 404 */
  .error-panel {
    padding: 40px 28px;
  }

  .error-code {
    font-size: 52px;
  }
}

/* ---------- ≤ 480px ---------- */
@media (max-width: 480px) {
  .brand-tag {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .page-header {
    padding: 20px 16px;
  }

  .page-title {
    font-size: 24px;
  }

  .route-line-meta .meta-row {
    flex-direction: column;
    gap: 2px;
  }

  .meta-row dt {
    min-width: 0;
  }

  .choice-question-card {
    padding: 16px;
  }

  .choice-answer {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .editorial-aside,
  .notice-aside {
    grid-template-columns: 1fr;
  }

  .article-lead-media figcaption {
    padding: 8px 16px;
    font-size: 12px;
  }

  .notice-section {
    padding: 20px 16px;
  }

  .notice-strip {
    padding: 16px;
  }

  .related-links {
    gap: 6px 12px;
    font-size: 13px;
  }

  .error-panel {
    padding: 32px 20px;
  }

  .error-code {
    font-size: 44px;
  }
}

/* ============================================================
   Motion & Accessibility · 动效与可访问性
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
