/* roulang page: index */
:root {
  --qing: #0E7C66;
  --qing-deep: #0B6554;
  --qing-press: #084C3F;
  --tao: #C46B4A;
  --amber: #E7B15A;
  --ink: #14110E;
  --moss: #1E2420;
  --paper: #F4EFE6;
  --paper-2: #E7E0D4;
  --ground: #EFE8DC;
  --text: #1A1714;
  --muted: #5C564E;
  --line: rgba(26,23,20,.14);
  --light: #F4EFE6;
  --light-muted: #D5CBBF;
  --radius-card: 18px;
  --radius-btn: 12px;
  --shadow: 0 10px 28px rgba(20,17,14,.08);
  --shadow-hover: 0 16px 34px rgba(20,17,14,.12);
  --max: 1120px;
  --header-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  background-color: var(--ground);
  background-image:
    linear-gradient(rgba(14,124,102,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,107,74,.06) 1px, transparent 1px);
  background-size: 100% 28px, 52px 100%;
}
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a {
  color: var(--text);
  text-decoration-line: underline;
  text-decoration-color: var(--qing);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--tao); text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
::selection { background: var(--amber); color: var(--text); }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: var(--light);
  padding: 8px 12px;
  border-radius: var(--radius-btn);
  z-index: 80;
}
.skip:focus { top: 8px; color: var(--light); }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(244,239,230,.96);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, rgba(14,124,102,.85) 0 10px, transparent 10px 16px, rgba(196,107,74,.85) 16px 22px, transparent 22px 32px);
  opacity: .55;
  pointer-events: none;
}
.nav-bar { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.logo {
  color: var(--qing);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  text-decoration: none;
  letter-spacing: 0;
  white-space: nowrap;
}
.logo:hover { color: var(--tao); text-decoration: none; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 18px; }
.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--header-h);
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
}
.site-nav a:hover { color: var(--tao); text-decoration: none; }
.site-nav a.active { color: var(--qing); }
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 14px;
  width: 16px;
  height: 2px;
  background: var(--qing);
}
.nav-toggle {
  display: none;
  margin-left: auto;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--text);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.nav-toggle:hover { transform: translateY(-2px); background: #fff; }
.nav-toggle:active { transform: none; background: var(--paper-2); }
h1 { font-size: 40px; line-height: 1.25; font-weight: 700; }
h2 { font-size: 28px; line-height: 1.35; font-weight: 700; margin-bottom: 12px; }
h3 { font-size: 20px; line-height: 1.4; font-weight: 700; }
.lead { max-width: 68ch; color: var(--muted); margin-bottom: 22px; }
.aux { font-size: 13px; line-height: 1.6; color: var(--muted); }
.section { padding: 72px 0; }
.section-paper { background: rgba(244,239,230,.92); }
.section-sand { background: rgba(231,224,212,.9); }
.section-ink { background: var(--ink); color: var(--light); }
.section-moss { background: var(--moss); color: var(--light); }
.section-ink .lead, .section-moss .lead { color: var(--light-muted); }
.subhead { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.intro { margin-top: 14px; max-width: 62ch; }
.board {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 28px;
  align-items: start;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--qing);
  background: var(--qing);
  color: var(--light);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--qing-deep); color: var(--light); text-decoration: none; }
.btn:active { transform: none; background: var(--qing-press); color: var(--light); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(26,23,20,.28); }
.btn-ghost:hover { background: rgba(196,107,74,.08); color: var(--tao); border-color: var(--tao); }
.btn-ghost:active { background: rgba(196,107,74,.16); transform: none; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 16px 16px 14px;
  min-height: 148px;
}
.metric::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tao);
  box-shadow: 0 0 0 4px rgba(196,107,74,.16);
}
.metric span { display: block; font-size: 13px; line-height: 1.6; color: var(--muted); }
.metric b {
  display: block;
  margin: 6px 0 8px;
  font-size: 32px;
  line-height: 1.2;
  color: var(--qing);
  font-weight: 700;
}
.metric em { display: block; font-style: normal; font-size: 13px; line-height: 1.6; color: var(--text); }
.entry-grid { display: grid; grid-template-columns: 1.4fr .85fr; gap: 16px; }
.entry-card {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 22px 22px 20px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.entry-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.entry-card::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  border: 1px dashed rgba(196,107,74,.45);
  border-radius: 50%;
  pointer-events: none;
}
.entry-wide { background:
  linear-gradient(180deg, rgba(14,124,102,.08), transparent 42%),
  var(--paper);
}
.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 2px 10px;
  border: 1px solid var(--amber);
  background: rgba(231,177,90,.22);
  color: var(--text);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 10px;
}
.entry-card p { color: var(--muted); margin: 10px 0 18px; }
.entry-card .btn { margin-top: auto; align-self: flex-start; }
.matrix { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.matrix article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 18px;
  min-height: 168px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.matrix article:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.matrix article:nth-child(1),
.matrix article:nth-child(2) { grid-column: span 3; }
.matrix article:nth-child(3),
.matrix article:nth-child(4),
.matrix article:nth-child(5) { grid-column: span 2; }
.matrix article:nth-child(6) { grid-column: span 6; }
.matrix h3 { margin: 8px 0; }
.matrix p { color: var(--muted); }
.coord { font-size: 13px; line-height: 1.6; color: var(--tao); font-weight: 700; }
.scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.scene {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 210px;
}
.scene:hover { transform: translateY(-2px); transition: transform .18s ease; }
.scene .mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--tao);
  color: var(--tao);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}
.scene p { color: var(--muted); flex: 1; }
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pane {
  border-radius: var(--radius-card);
  border: 1px solid rgba(244,239,230,.16);
  background: #1B211E;
  padding: 20px;
}
.pane-left { box-shadow: inset 3px 0 0 var(--qing); }
.pane-right { box-shadow: inset 3px 0 0 var(--tao); }
.pane h3 { margin-bottom: 14px; }
.pane li {
  padding: 12px 0;
  border-top: 1px solid rgba(244,239,230,.12);
}
.pane li strong { display: block; color: var(--amber); font-size: 13px; line-height: 1.6; font-weight: 700; }
.pane li span { display: block; color: var(--light); }
.layer {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 14px;
}
.layer-name {
  border-radius: var(--radius-card);
  background: var(--ink);
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  min-height: 100%;
  padding: 12px;
}
.layer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mini {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 12px;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  min-height: 132px;
}
.mini:hover { color: var(--tao); transform: translateY(-2px); text-decoration: none; }
.mini b { display: block; font-size: 16px; line-height: 1.45; margin-bottom: 6px; text-decoration: underline; text-decoration-color: var(--qing); text-underline-offset: 3px; }
.mini:hover b { text-decoration-thickness: 2px; text-decoration-color: var(--tao); }
.mini span { display: block; color: var(--muted); font-size: 13px; line-height: 1.6; font-weight: 400; }
.miles { margin-left: 8px; border-left: 2px solid var(--tao); padding-left: 4px; }
.mile { position: relative; padding: 0 0 26px 28px; }
.mile::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--amber);
  border: 2px solid var(--light);
  box-shadow: 0 0 0 1px var(--tao);
}
.mile h3 { margin-bottom: 6px; }
.mile p { color: var(--light-muted); max-width: 68ch; }
.ruler {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  padding-top: 8px;
}
.ruler::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 27px;
  height: 2px;
  background: linear-gradient(90deg, var(--qing), var(--tao));
  opacity: .7;
}
.tick {
  position: relative;
  text-decoration: none;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 36px 10px 12px;
  min-height: 168px;
  box-shadow: var(--shadow);
}
.tick::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--qing);
  box-shadow: 0 0 0 3px rgba(14,124,102,.15);
}
.tick:hover { color: var(--tao); transform: translateY(-2px); text-decoration: none; }
.tick b { display: block; margin-bottom: 6px; }
.tick span { display: block; color: var(--muted); font-size: 13px; line-height: 1.6; font-weight: 400; }
.news-list { display: flex; flex-direction: column; gap: 10px; }
.news-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.news-row time {
  color: var(--qing);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
}
.news-row h3 { font-size: 18px; line-height: 1.45; margin-bottom: 4px; }
.news-row p { color: var(--muted); }
.more-wrap { margin-top: 16px; }
.more-link { font-weight: 700; }
.stamps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stamp {
  border: 1px dashed rgba(231,177,90,.7);
  border-radius: var(--radius-card);
  padding: 16px;
  background: rgba(255,255,255,.03);
  min-height: 180px;
}
.stamp i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--amber);
  color: var(--amber);
  font-style: normal;
  font-size: 13px;
  margin-bottom: 10px;
}
.stamp p { color: var(--light-muted); }
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.qa-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 16px 18px 18px;
}
.qa dt { font-weight: 700; font-size: 18px; line-height: 1.45; }
.qa dd { margin-top: 8px; color: var(--muted); }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.45;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq-q::after { content: "＋"; color: var(--qing); font-weight: 700; }
.faq-q[aria-expanded="true"]::after { content: "－"; }
.faq-q:hover { color: var(--tao); }
.faq-a { padding: 0 18px 16px; color: var(--muted); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 18px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.quote::before { content: "“"; color: var(--tao); font-size: 40px; line-height: 1; }
.quote p { flex: 1; }
.quote footer { margin-top: 12px; display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: 13px; line-height: 1.6; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step {
  display: block;
  text-decoration: none;
  color: var(--light);
  background: #18211D;
  border: 1px solid rgba(244,239,230,.14);
  border-radius: var(--radius-card);
  padding: 18px;
  min-height: 190px;
}
.step:hover { color: var(--amber); text-decoration: none; transform: translateY(-2px); }
.step em {
  display: block;
  font-style: normal;
  color: var(--qing);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 8px;
}
.step span { display: block; color: var(--light-muted); font-weight: 400; margin-top: 8px; }
.cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.cloud a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  text-decoration: none;
  font-size: 14px;
}
.cloud a:hover { border-color: var(--tao); background: #fff; text-decoration: none; }
.form-card {
  background: var(--paper);
  color: var(--text);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  border: 1px solid rgba(244,239,230,.2);
  padding: 22px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: flex; flex-direction: column; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 700; margin-bottom: 6px; }
.req { color: var(--qing); }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: #fff;
  padding: 10px 12px;
  min-height: 44px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: rgba(14,124,102,.45); }
.is-invalid input, .is-invalid textarea { border-color: var(--tao); background: #FBF7F3; }
.field-msg { display: none; color: var(--tao); font-size: 13px; line-height: 1.6; margin-top: 6px; }
.is-invalid .field-msg { display: block; }
.form-status { margin-top: 12px; min-height: 1.75em; color: var(--qing); }
.site-footer {
  background: var(--ink);
  color: var(--light-muted);
  padding: 36px 0 28px;
  border-top: 3px solid transparent;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, rgba(14,124,102,.9) 0 12px, transparent 12px 18px, rgba(196,107,74,.9) 18px 26px, transparent 26px 36px);
  opacity: .6;
}
.footer-grid { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.footer-grid ul { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-grid a { color: var(--light); text-decoration-color: var(--qing); }
.footer-grid a:hover { color: var(--amber); }
.foot-note { margin-top: 8px; max-width: 36ch; }
.copy { width: min(var(--max), calc(100% - 40px)); margin: 22px auto 0; font-size: 13px; line-height: 1.6; color: var(--light-muted); }
@media (max-width: 1080px) {
  .section { padding: 56px 0; }
  .board, .entry-grid, .compare, .quotes, .steps { grid-template-columns: 1fr 1fr; }
  .scenes, .stamps { grid-template-columns: 1fr 1fr; }
  .matrix article:nth-child(n) { grid-column: span 3; }
  .matrix article:nth-child(6) { grid-column: span 6; }
  .layer-links { grid-template-columns: 1fr 1fr; }
  .ruler { grid-template-columns: repeat(4, 1fr); }
  .ruler::before { display: none; }
}
@media (max-width: 760px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .section { padding: 40px 0; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 50;
    margin: 0;
    background: var(--ink);
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
    padding: 8px 0 16px;
    box-shadow: var(--shadow-hover);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a {
    height: auto;
    color: var(--light);
    padding: 14px 22px;
  }
  .site-nav a.active { color: var(--amber); }
  .site-nav a.active::after { left: 22px; bottom: 8px; background: var(--qing); }
  .board, .entry-grid, .compare, .quotes, .steps, .qa, .scenes, .stamps, .form-grid { grid-template-columns: 1fr; }
  .matrix article, .matrix article:nth-child(6) { grid-column: span 6; }
  .layer { grid-template-columns: 1fr; }
  .layer-name { min-height: 52px; }
  .news-row { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { flex-direction: column; }
  .ruler { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .container, .copy { width: calc(100% - 28px); }
  h1 { font-size: 28px; }
  .logo { font-size: 13px; max-width: calc(100% - 84px); overflow: hidden; text-overflow: ellipsis; }
  .metrics, .layer-links, .ruler { grid-template-columns: 1fr; }
  .metric b { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* roulang page: category1 */
:root {
  --qing: #0E7C66;
  --qing-deep: #0B6554;
  --qing-press: #084C3F;
  --tao: #C46B4A;
  --amber: #E7B15A;
  --ink: #14110E;
  --moss: #1E2420;
  --paper: #F4EFE6;
  --paper-2: #E7E0D4;
  --ground: #EFE8DC;
  --text: #1A1714;
  --muted: #5C564E;
  --line: rgba(26,23,20,.14);
  --light: #F4EFE6;
  --light-muted: #D5CBBF;
  --radius-card: 18px;
  --radius-btn: 12px;
  --shadow: 0 10px 28px rgba(20,17,14,.08);
  --shadow-hover: 0 16px 34px rgba(20,17,14,.12);
  --max: 1120px;
  --header-h: 64px;
}
/* roulang page: category1 */
html { scroll-behavior: smooth; box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body {
  margin: 0;
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  background-color: var(--ground);
  background-image:
    linear-gradient(rgba(14,124,102,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,107,74,.06) 1px, transparent 1px);
  background-size: 100% 28px, 52px 100%;
}
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 40px; line-height: 1.25; font-weight: 700; }
h2 { font-size: 28px; line-height: 1.35; font-weight: 700; }
h3 { font-size: 20px; line-height: 1.4; font-weight: 700; }
a {
  color: var(--text);
  text-decoration-line: underline;
  text-decoration-color: var(--qing);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--tao); text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(244,239,230,.96);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, rgba(14,124,102,.85) 0 10px, transparent 10px 16px, rgba(196,107,74,.85) 16px 22px, transparent 22px 32px);
  opacity: .55;
  pointer-events: none;
}
.nav-bar { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.logo {
  color: var(--qing);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  text-decoration: none;
  letter-spacing: 0;
  white-space: nowrap;
}
.logo:hover { color: var(--tao); text-decoration: none; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 18px; }
.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--header-h);
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
}
.site-nav a:hover { color: var(--tao); text-decoration: none; }
.site-nav a.active { color: var(--qing); }
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 14px;
  width: 16px;
  height: 2px;
  background: var(--qing);
}
.nav-toggle {
  display: none;
  margin-left: auto;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--text);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.nav-toggle:hover { transform: translateY(-2px); background: #fff; }
.nav-toggle:active { transform: none; background: var(--paper-2); }
.lead { max-width: 68ch; color: var(--muted); margin-bottom: 0; font-size: 16px; line-height: 1.75; }
.section { padding: 72px 0; }
.section-paper { background: rgba(244,239,230,.92); }
.section-sand { background: rgba(231,224,212,.9); }
.section-ink { background: var(--ink); color: var(--light); }
.section-moss { background: var(--moss); color: var(--light); }
.section-ink .lead, .section-moss .lead { color: var(--light-muted); }
.aux { color: var(--muted); font-size: 13px; line-height: 1.6; }
.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 2px 10px;
  border: 1px solid var(--amber);
  background: rgba(231,177,90,.22);
  color: var(--text);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--qing);
  background: var(--qing);
  color: var(--light);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--qing-deep); color: var(--light); text-decoration: none; }
.btn:active { transform: none; background: var(--qing-press); color: var(--light); }
.atlas-head-grid {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 28px;
  align-items: end;
}
.count-stamp {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  min-height: 148px;
}
.count-stamp::before {
  content: "";
  position: absolute;
  right: 14px;
  top: 14px;
  width: 54px;
  height: 54px;
  border: 1px dashed rgba(196,107,74,.55);
  border-radius: 50%;
  background:
    linear-gradient(var(--tao), var(--tao)) center/1px 70% no-repeat,
    linear-gradient(var(--tao), var(--tao)) center/70% 1px no-repeat;
  opacity: .7;
}
.count-label { display: block; font-size: 13px; line-height: 1.6; color: var(--muted); }
.count-stamp strong {
  display: block;
  margin-top: 6px;
  color: var(--qing);
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
}
.count-sub { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.filter-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.chip-group {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 16px;
  box-shadow: var(--shadow);
}
.chip-title { font-size: 13px; line-height: 1.6; color: var(--muted); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  min-height: 34px;
  padding: 0 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.chip:hover { transform: translateY(-2px); border-color: var(--tao); color: var(--tao); }
.chip:active { transform: none; }
.chip.is-on {
  background: var(--qing);
  border-color: var(--qing);
  color: var(--light);
}
.chip.is-on:hover { background: var(--qing-deep); color: var(--light); border-color: var(--qing-deep); }
.block-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}
.block-head .aux { max-width: 36ch; text-align: right; }
.atlas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.atlas-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 12px 12px 16px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.atlas-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
  text-decoration: none;
  border: 1px solid var(--line);
  background-color: var(--moss);
  background-image:
    linear-gradient(rgba(244,239,230,.16) 1px, transparent 1px),
    linear-gradient(115deg, rgba(14,124,102,.55), transparent 42%, rgba(196,107,74,.45));
  background-size: 100% 18px, cover;
}
.frame-b { background-image: linear-gradient(rgba(244,239,230,.16) 1px, transparent 1px), linear-gradient(200deg, rgba(196,107,74,.6), transparent 48%, rgba(14,124,102,.4)); }
.frame-c { background-image: linear-gradient(rgba(244,239,230,.16) 1px, transparent 1px), linear-gradient(160deg, rgba(231,177,90,.35), transparent 40%, rgba(14,124,102,.55)); }
.frame .stamp {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border-radius: 999px;
  border: 1px solid var(--amber);
  background: rgba(20,17,14,.72);
  color: var(--light);
  font-size: 13px;
  line-height: 1.6;
  padding: 1px 10px;
}
.atlas-card h3 { margin: 2px 4px 6px; }
.atlas-card h3 a { text-decoration-thickness: 1px; }
.atlas-card time {
  display: block;
  margin: 0 4px 6px;
  color: var(--qing);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
}
.meta {
  margin: 0 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.more-band { padding-top: 0; }
.more-link {
  font-weight: 700;
  font-size: 16px;
  color: var(--qing);
  text-decoration-color: var(--qing);
}
.slice-row {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 14px;
}
.slice {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.slice:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.slice p { color: var(--muted); margin: 8px 0 14px; }
.slice a { margin-top: auto; align-self: flex-start; font-weight: 700; }
.file-path { display: flex; flex-direction: column; gap: 0; max-width: 760px; }
.file-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  position: relative;
  padding: 0 0 18px;
}
.file-step::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 36px;
  bottom: 0;
  width: 1px;
  background: rgba(196,107,74,.55);
}
.file-step:last-child::before { display: none; }
.step-no {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--tao);
  background: rgba(196,107,74,.12);
  color: var(--tao);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.file-step h3 { margin-bottom: 4px; }
.file-step p { color: var(--muted); }
.read-band {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.read-link {
  flex: 0 0 auto;
  min-width: 220px;
  background: rgba(244,239,230,.08);
  border: 1px solid rgba(244,239,230,.2);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  color: var(--light);
  text-decoration: none;
}
.read-link:hover { color: var(--amber); text-decoration: none; }
.read-link strong { display: block; font-size: 16px; line-height: 1.45; margin-bottom: 4px; }
.read-link span { display: block; color: var(--light-muted); font-size: 13px; line-height: 1.6; }
.atlas-qa {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}
.qa-row {
  border-left: 3px solid var(--tao);
  padding: 4px 0 4px 14px;
}
.qa-row dt { font-weight: 700; font-size: 18px; line-height: 1.45; }
.qa-row dd { margin: 6px 0 0; color: var(--muted); }
.section-ink .qa-row dd { color: var(--light-muted); }
.site-footer {
  background: var(--ink);
  color: var(--light);
  padding: 36px 0 20px;
  border-top: 1px solid rgba(244,239,230,.12);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
.site-footer .logo { color: var(--qing); }
.site-footer a { color: var(--light); text-decoration-color: var(--amber); }
.site-footer a:hover { color: var(--amber); }
.site-footer .foot-note { margin-top: 8px; max-width: 42ch; color: var(--light-muted); }
.site-footer ul { display: flex; gap: 16px; flex-wrap: wrap; }
.copy {
  width: min(var(--max), calc(100% - 40px));
  margin: 18px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(244,239,230,.12);
  color: var(--light-muted);
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 1080px) {
  .filter-board { grid-template-columns: 1fr 1fr; }
  .slice-row { grid-template-columns: 1fr; }
  .atlas-head-grid { grid-template-columns: 1fr 200px; }
}
@media (max-width: 760px) {
  .section { padding: 40px 0; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin: 0;
    background: rgba(244,239,230,.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 50;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 12px; }
  .site-nav a { height: 46px; padding: 0 20px; }
  .site-nav a.active::after { bottom: 12px; }
  .atlas-head-grid, .atlas-grid, .atlas-qa, .footer-grid { grid-template-columns: 1fr; display: grid; }
  .footer-grid { display: grid; }
  .count-stamp { max-width: 240px; }
  .block-head { flex-direction: column; align-items: flex-start; }
  .block-head .aux { text-align: left; }
  .logo { font-size: 14px; white-space: normal; }
}
@media (max-width: 520px) {
  .container, .copy { width: min(var(--max), calc(100% - 28px)); }
  h1 { font-size: 28px; }
  .filter-board { grid-template-columns: 1fr; }
  .file-step { grid-template-columns: 58px 1fr; }
  .read-link { min-width: 78%; }
}

/* roulang page: category2 */
:root {
 --qing: #0E7C66;
 --qing-deep: #0B6554;
 --qing-press: #084C3F;
 --tao: #C46B4A;
 --amber: #E7B15A;
 --ink: #14110E;
 --moss: #1E2420;
 --paper: #F4EFE6;
 --paper-2: #E7E0D4;
 --ground: #EFE8DC;
 --text: #1A1714;
 --muted: #5C564E;
 --line: rgba(26,23,20,.14);
 --light: #F4EFE6;
 --light-muted: #D5CBBF;
 --radius-card: 18px;
 --radius-btn: 12px;
 --shadow: 0 10px 28px rgba(20,17,14,.08);
 --shadow-hover: 0 16px 34px rgba(20,17,14,.12);
 --max: 1120px;
 --header-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 color: var(--text);
 font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
 font-size: 16px;
 line-height: 1.75;
 background-color: var(--ground);
 background-image:
  linear-gradient(rgba(14,124,102,.07) 1px, transparent 1px),
  linear-gradient(90deg, rgba(196,107,74,.06) 1px, transparent 1px);
 background-size: 100% 28px, 52px 100%;
}
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 40px; line-height: 1.25; font-weight: 700; }
h2 { font-size: 28px; line-height: 1.35; font-weight: 700; }
h3 { font-size: 20px; line-height: 1.4; font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a {
 color: var(--text);
 text-decoration-line: underline;
 text-decoration-color: var(--qing);
 text-decoration-thickness: 1px;
 text-underline-offset: 3px;
}
a:hover { color: var(--tao); text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
 outline: 2px solid var(--amber);
 outline-offset: 2px;
}
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.aux { font-size: 13px; line-height: 1.6; color: var(--muted); }
.site-header {
 position: sticky;
 top: 0;
 z-index: 40;
 height: var(--header-h);
 background: rgba(244,239,230,.96);
 border-bottom: 1px solid var(--line);
}
.site-header::after {
 content: "";
 position: absolute;
 left: 0;
 right: 0;
 bottom: 0;
 height: 3px;
 background: repeating-linear-gradient(90deg, rgba(14,124,102,.85) 0 10px, transparent 10px 16px, rgba(196,107,74,.85) 16px 22px, transparent 22px 32px);
 opacity: .55;
 pointer-events: none;
}
.nav-bar { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.logo {
 color: var(--qing);
 font-weight: 700;
 font-size: 16px;
 line-height: 1.3;
 text-decoration: none;
 letter-spacing: 0;
 white-space: nowrap;
}
.logo:hover { color: var(--tao); text-decoration: none; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 18px; }
.site-nav a {
 position: relative;
 display: inline-flex;
 align-items: center;
 height: var(--header-h);
 text-decoration: none;
 color: var(--text);
 font-size: 14px;
 line-height: 1.4;
 white-space: nowrap;
}
.site-nav a:hover { color: var(--tao); text-decoration: none; }
.site-nav a.active { color: var(--qing); }
.site-nav a.active::after {
 content: "";
 position: absolute;
 left: 0;
 bottom: 14px;
 width: 16px;
 height: 2px;
 background: var(--qing);
}
.nav-toggle {
 display: none;
 margin-left: auto;
 min-height: 40px;
 padding: 0 14px;
 border-radius: var(--radius-btn);
 border: 1px solid var(--line);
 background: var(--paper);
 color: var(--text);
 cursor: pointer;
 transition: transform .18s ease, background .18s ease;
}
.nav-toggle:hover { transform: translateY(-2px); background: #fff; }
.nav-toggle:active { transform: none; background: var(--paper-2); }
.section { padding: 72px 0; }
.section-paper { background: rgba(244,239,230,.92); }
.section-sand { background: rgba(231,224,212,.9); }
.section-moss { background: var(--moss); color: var(--light); }
.section-moss .aux { color: var(--light-muted); }
.lead { max-width: 68ch; color: var(--muted); margin-top: 8px; }
.badge {
 display: inline-flex;
 align-items: center;
 width: fit-content;
 border-radius: 999px;
 padding: 2px 10px;
 border: 1px solid var(--amber);
 background: rgba(231,177,90,.22);
 color: var(--text);
 font-size: 13px;
 line-height: 1.6;
 font-style: normal;
}
.ruler {
 display: flex;
 justify-content: space-between;
 gap: 8px;
 margin-bottom: 28px;
 padding: 18px 4px 0;
 border-top: 1px dashed rgba(196,107,74,.6);
 overflow-x: auto;
}
.ruler span {
 position: relative;
 flex: 1 0 auto;
 min-width: 64px;
 padding-top: 10px;
 color: var(--muted);
 font-size: 13px;
 line-height: 1.6;
 text-align: center;
}
.ruler span::before {
 content: "";
 position: absolute;
 top: -22px;
 left: 50%;
 width: 8px;
 height: 8px;
 border-radius: 50%;
 background: var(--tao);
 transform: translateX(-50%);
}
.ruler .now { color: var(--qing); font-weight: 700; }
.ruler .now::before { width: 12px; height: 12px; top: -24px; background: var(--qing); }
.ruler em {
 display: block;
 font-style: normal;
 color: var(--qing);
 font-size: 13px;
 line-height: 1.6;
}
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.head-row h1 { max-width: 16ch; }
.batch-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.seg {
 display: flex;
 flex: 1;
 border: 1px solid var(--line);
 border-radius: var(--radius-btn);
 overflow: hidden;
 background: var(--paper);
}
.seg button {
 flex: 1;
 min-height: 44px;
 border: 0;
 border-right: 1px solid var(--line);
 background: transparent;
 cursor: pointer;
 transition: transform .18s ease, background .18s ease, color .18s ease;
}
.seg button:last-child { border-right: 0; }
.seg button:hover { background: rgba(14,124,102,.08); }
.seg button:active { transform: none; background: var(--paper-2); }
.seg button[aria-pressed="true"] {
 background: var(--qing);
 color: var(--light);
 font-weight: 700;
}
.seg button[aria-pressed="true"]:hover {
 transform: translateY(-2px);
 background: var(--qing-deep);
 color: var(--light);
}
.seg button[aria-pressed="true"]:active { transform: none; background: var(--qing-press); }
.batch-count { min-width: 88px; text-align: right; font-weight: 700; color: var(--qing); }
.stream { display: flex; flex-direction: column; gap: 10px; }
.time-card {
 display: grid;
 grid-template-columns: 92px 1fr;
 gap: 14px;
 align-items: start;
 background: var(--paper);
 border: 1px solid var(--line);
 border-radius: var(--radius-card);
 padding: 16px 18px;
 box-shadow: var(--shadow);
 transition: transform .18s ease, box-shadow .18s ease;
}
.time-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.time-card[hidden] { display: none; }
.time-card time {
 color: var(--qing);
 font-weight: 700;
 font-size: 14px;
 line-height: 1.6;
 padding-top: 2px;
}
.time-card p { margin-top: 4px; color: var(--muted); }
.time-card a { font-weight: 700; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pane {
 min-height: 240px;
 padding: 22px;
 border: 1px solid var(--line);
 border-radius: var(--radius-card);
 box-shadow: var(--shadow);
 background: var(--paper);
}
.pane-new { border-top: 4px solid var(--qing); }
.pane-old { border-top: 4px solid var(--tao); background: #EFE6DA; }
.pane h2 { margin-bottom: 8px; }
.pane .kicker { color: var(--tao); font-size: 13px; line-height: 1.6; font-weight: 700; margin-bottom: 8px; }
.pane-new .kicker { color: var(--qing); }
.meta-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.meta-line span { color: var(--muted); }
.hscroller {
 display: flex;
 gap: 12px;
 overflow-x: auto;
 padding: 4px 2px 12px;
 scroll-snap-type: x mandatory;
}
.hscroller a {
 flex: 0 0 220px;
 scroll-snap-align: start;
 display: flex;
 flex-direction: column;
 gap: 8px;
 min-height: 148px;
 padding: 16px;
 background: var(--paper);
 border: 1px solid var(--line);
 border-radius: var(--radius-card);
 box-shadow: var(--shadow);
 text-decoration: none;
 transition: transform .18s ease, box-shadow .18s ease;
}
.hscroller a:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); color: var(--tao); text-decoration: none; }
.hscroller strong { font-size: 16px; line-height: 1.5; text-decoration: underline; text-decoration-color: var(--qing); text-underline-offset: 3px; }
.hscroller a:hover strong { text-decoration-color: var(--tao); text-decoration-thickness: 2px; }
.hscroller em { font-style: normal; color: var(--muted); font-size: 13px; line-height: 1.6; }
.backgrid { display: grid; grid-template-columns: 1.25fr .9fr 1fr; gap: 14px; }
.back-cell {
 padding: 18px 18px 16px;
 background: var(--paper);
 border: 1px solid var(--line);
 border-radius: var(--radius-card);
 box-shadow: var(--shadow);
}
.back-cell:nth-child(1) { border-top: 4px solid var(--qing); }
.back-cell:nth-child(2) { border-top: 4px solid var(--tao); margin-top: 18px; }
.back-cell:nth-child(3) { border-top: 4px solid var(--amber); }
.back-cell p { margin-top: 8px; color: var(--muted); }
.assure { display: flex; flex-direction: column; }
.assure li {
 display: grid;
 grid-template-columns: 52px 1fr;
 gap: 14px;
 align-items: start;
 padding: 16px 0;
 border-bottom: 1px solid rgba(244,239,230,.2);
}
.assure li:first-child { padding-top: 0; }
.assure li:last-child { border-bottom: 0; padding-bottom: 0; }
.assure b {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 36px;
 height: 36px;
 border-radius: 50%;
 border: 1px solid var(--amber);
 color: var(--amber);
 font-size: 14px;
}
.assure h3 { color: var(--light); margin-bottom: 4px; }
.assure p { color: var(--light-muted); }
.tail-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.more-link { font-weight: 700; color: var(--qing); font-size: 16px; }
.more-link:hover { color: var(--tao); }
.mini-qa { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
.mini-qa article { padding: 10px 0 10px 12px; border-left: 3px solid var(--qing); }
.mini-qa p { margin-top: 4px; color: var(--muted); }
.site-footer { background: var(--ink); color: var(--light); padding: 36px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 24px; align-items: start; }
.site-footer a { color: var(--light); text-decoration-color: var(--amber); }
.site-footer .logo { color: var(--qing); }
.site-footer .logo:hover { color: var(--tao); }
.foot-note { margin-top: 10px; max-width: 46ch; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 12px 18px; justify-content: flex-end; }
.copy { color: var(--light-muted); font-size: 13px; line-height: 1.6; margin-top: 22px; }
@media (max-width: 1080px) {
 .backgrid { grid-template-columns: 1fr 1fr; }
 .back-cell:nth-child(2) { margin-top: 0; }
 .back-cell:nth-child(3) { grid-column: 1 / -1; }
 .logo { font-size: 14px; }
 .site-nav ul { gap: 12px; }
 .site-nav a { font-size: 13px; }
}
@media (max-width: 760px) {
 .section { padding: 40px 0; }
 h1 { font-size: 30px; }
 h2 { font-size: 24px; }
 .nav-toggle { display: inline-flex; align-items: center; }
 .site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-left: 0;
  background: rgba(244,239,230,.98);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  z-index: 50;
 }
 .site-nav.open { display: block; }
 .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 12px; }
 .site-nav a { height: auto; padding: 12px 20px; }
 .site-nav a.active::after { bottom: 8px; }
 .head-row, .batch-bar, .split, .mini-qa, .footer-grid { grid-template-columns: 1fr; display: grid; }
 .batch-bar { display: grid; }
 .seg { flex-direction: column; }
 .seg button { border-right: 0; border-bottom: 1px solid var(--line); }
 .seg button:last-child { border-bottom: 0; }
 .batch-count { text-align: left; }
 .time-card { grid-template-columns: 72px 1fr; }
 .backgrid { grid-template-columns: 1fr; }
 .back-cell:nth-child(3) { grid-column: auto; }
 .site-footer ul { justify-content: flex-start; }
 .tail-top { display: grid; }
}
@media (max-width: 520px) {
 .container { width: min(var(--max), calc(100% - 28px)); }
 .logo { font-size: 13px; }
 h1 { font-size: 26px; }
 .time-card { grid-template-columns: 1fr; gap: 4px; }
 .hscroller a { flex-basis: 78%; }
}
