/* ==========================================================
   路过的路 — 纸、墨、沥青
   宋体正文 · 仿宋标注 · 黑为主，红只作记号
   不带框的版面；示意图里没有大面积黑块
   加载顺序：base.css → 各页 <style> → 本文件
   ========================================================== */

:root {
  /* ---- 纸 ---- */
  --paper: #f2ede1;
  --paper-2: #eae3d3;
  --paper-3: #ddd5c2;

  /* ---- 墨 ---- */
  --ink: #000000;
  --ink-soft: #3a362d;
  --ink-faint: #7b7465;
  --line: #cec5b0;
  --line-2: #a99f88;

  /* ---- 校徽红：只在记号上出现 ---- */
  --red: #a31f24;
  --red-deep: #7c1317;
  --orange: #a31f24;
  --orange-soft: #c58c8a;

  /* ---- 沥青 ---- */
  --asphalt: #3b3731;
  --asphalt-2: #4a453d;

  --yellow: #efe7d3;
  --green: #2b2822;
  --stone: #9a9284;
  --slate: #5c7078;
  --tree: #6e7a66;

  /* ---- 字：宋体为主，仿宋只做注记 ---- */
  --song: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC",
    "Source Han Serif CN", "Noto Serif CJK SC", "SimSun", "Songti TC",
    "AR PL UMing CN", Georgia, serif;
  --fang: "FangSong", "STFangsong", "FangSong_GB2312", "Noto Serif SC",
    "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", "SimSun",
    "AR PL UMing CN", Georgia, serif;
  --display: var(--song);
  --serif: var(--song);
  --sans: var(--song);
  --mono: var(--fang);

  /* ---- 斑驳：细颗粒 + 白颗粒 ---- */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E");
  --grain-lt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .14 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* ---------------------------- 底子 ---------------------------- */

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    var(--grain),
    radial-gradient(760px 460px at 88% -8%, rgba(0, 0, 0, 0.05), transparent 64%),
    radial-gradient(560px 420px at 4% 42%, rgba(163, 31, 36, 0.035), transparent 68%),
    radial-gradient(720px 300px at 18% 78%, rgba(0, 0, 0, 0.035), transparent 70%),
    radial-gradient(900px 540px at 64% 106%, rgba(0, 0, 0, 0.04), transparent 70%);
  background-size: 180px 180px, auto, auto, auto;
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--song);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.012em;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--red); color: var(--paper); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

h1.big {
  font-family: var(--song);
  font-weight: 700;
  font-size: clamp(40px, 6.6vw, 78px);
  line-height: 1.06;
  letter-spacing: 0.008em;
  margin: 16px 0 18px;
}
h1.big em { font-style: normal; color: inherit; }
h1.big .dot { color: var(--red); }

h2.sec {
  font-family: var(--song);
  font-weight: 700;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.28;
  letter-spacing: 0.006em;
}

.lede {
  font-family: var(--song);
  color: var(--ink-soft);
  font-size: clamp(15.5px, 1.45vw, 17.5px);
  line-height: 1.95;
  max-width: 42ch;
}
.lede strong { color: var(--ink); font-weight: 700; }

.small { font-size: 13px; line-height: 1.8; color: var(--ink-soft); }
.tiny {
  font-family: var(--fang);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  line-height: 1.7;
}
.mono { font-family: var(--fang); font-size: 11.5px; letter-spacing: 0.12em; }
.muted { color: var(--ink-soft); }
.red { color: var(--red); }

.kicker {
  font-family: var(--fang);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  color: var(--ink-soft);
  gap: 12px;
}
.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--red);
  border: 0;
}

.section {
  border-top: 1px solid var(--line);
  position: relative;
}
.section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--red);
}

.sec-head { margin-bottom: 24px; }
.sec-head .num {
  font-family: var(--fang);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--red);
  background: none;
  border: 0;
  padding: 0;
  transform: none;
  font-weight: 400;
}
.sec-head .note { font-family: var(--fang); color: var(--ink-faint); }

/* 页面顶部：标题在左，导语落到右下 */
.page-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 30px;
}
.page-head .kicker { grid-column: 1 / -1; }
.page-head h1.big { grid-column: 1 / span 8; margin-bottom: 0; text-wrap: balance; }
.page-head .lede {
  grid-column: 9 / span 4;
  align-self: end;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.9;
  max-width: 32ch;
}
.page-head .hero-aside,
.page-head .method-row { grid-column: 1 / -1; }
@media (max-width: 860px) {
  .page-head h1.big,
  .page-head .lede { grid-column: 1 / -1; }
  .page-head .lede { margin-top: 14px; margin-bottom: 0; max-width: 44ch; }
}

/* ---------------------------- 页头 ---------------------------- */

.site-head {
  background-color: rgba(242, 237, 225, 0.95);
  background-image: var(--grain);
  border-bottom: 1px solid var(--ink);
  box-shadow: none;
}
.site-head::after { display: none; }

.site-head .wrap { min-height: 62px; }

.brand {
  gap: 11px;
  font-family: var(--fang);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
}
.brand .mark {
  width: 18px;
  height: 14px;
  flex: none;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 18px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 12px / 18px 2px no-repeat,
    linear-gradient(var(--red), var(--red)) 0 2px / 5px 10px no-repeat;
}
.brand b {
  font-family: var(--song);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.12em;
}
.brand span.en { color: var(--ink-faint); font-size: 9px; letter-spacing: 0.18em; }

.nav { gap: 20px; align-items: center; }
.nav a {
  position: relative;
  border: 0;
  padding: 4px 0;
  background: none;
  font-family: var(--fang);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}
.nav a:hover { color: var(--ink); background: none; border: 0; }
.nav a:hover::after { transform: scaleX(1); }
.nav a.is-active {
  color: var(--ink);
  background: none;
  border: 0;
  box-shadow: none;
}
.nav a.is-active::after { transform: scaleX(1); }
.nav a .idx {
  color: var(--red);
  font-size: 9px;
  letter-spacing: 0.08em;
  margin-right: 5px;
}
.nav a.is-active .idx { color: var(--red); }

@media (max-width: 720px) {
  body { background-attachment: scroll; }
  .brand b { font-size: 16px; }
  .brand .mark { width: 15px; height: 12px; background-size: 15px 2px, 15px 2px, 4px 8px; background-position: 0 0, 0 10px, 0 2px; }
  .nav { gap: 13px; }
  .nav a { padding: 3px 0; font-size: 12px; letter-spacing: 0.1em; }
  .nav a .idx { display: none; }
  .site-head .wrap { min-height: 54px; }
}

/* ---------------------------- 控件 ---------------------------- */

.btn {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  border-radius: 0;
  box-shadow: none;
  padding: 11px 18px;
  font-family: var(--song);
  letter-spacing: 0.08em;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn:active { transform: none; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 4px 0;
  box-shadow: none;
}
.btn.ghost:hover { background: transparent; color: var(--red); border-color: var(--red); }
.btn.small { padding: 6px 11px; font-size: 12.5px; }

.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  padding: 5px 9px;
  font-family: var(--song);
  border-radius: 0;
}
.chip:hover { border-color: var(--ink); color: var(--ink); background: var(--paper-2); }
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.chip[aria-pressed="true"]:hover { background: var(--ink); border-color: var(--ink); }
.chip .n { color: var(--red); }
.chip[aria-pressed="true"] .n { color: #d9a9a6; }

.panel {
  border: 0;
  border-top: 2px solid var(--ink);
  background: transparent;
  padding: 18px 0;
  position: relative;
}
.panel::after { display: none; }

.field > label { font-family: var(--fang); letter-spacing: 0.14em; }
.field input[type="text"],
.field textarea,
.tray-send input,
.addwrap input,
.counter-box input {
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: rgba(234, 227, 211, 0.55);
  font-family: var(--song);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--red); outline-offset: 0; }
.field .hint { font-family: var(--fang); }

.form-msg.ok, .tray-msg.ok { color: var(--ink); }
.form-msg.err, .tray-msg.err { color: var(--red); }

/* 圆角一律收掉（圆形图表元素除外） */
.chip, .tagsum span, .entry .tagx, .guess-opt, .cloud button,
.dcard .dswap, .sticker .sv, .who .chips span, .method-row .m,
.map-words .mw-tags span, .lens { border-radius: 0; }

/* ---------------------------- 首页共用 ---------------------------- */

.hero-aside {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 44px;
  align-items: baseline;
  justify-content: flex-start;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  padding: 12px 0 0;
  margin-top: 26px;
}
.hero-aside .stat {
  background: none;
  padding: 0;
  font-family: var(--fang);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
}
.hero-aside .stat b {
  display: inline-block;
  font-family: var(--song);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
  margin-right: 8px;
  margin-bottom: 0;
  line-height: 1.1;
}

.feats { gap: 0; background: none; border: 0; }
.feat {
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  padding: 24px 26px 26px 0;
  position: relative;
}
.feat::before { display: none; }
.feat:hover { background: transparent; }
.feat:hover::before { background: none; }
.feat .fnum { color: var(--red); font-size: 10px; }
.feat h2 { font-family: var(--song); font-weight: 700; letter-spacing: 0.006em; }
.feat:hover h2 { color: var(--red); }
.feat p { color: var(--ink-soft); }
.feat .go {
  align-self: flex-start;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  color: var(--ink);
  font-family: var(--fang);
}
.feat:hover .go { color: var(--red); border-color: var(--red); }

/* ---------------------------- 地图 ---------------------------- */

.map-shell {
  border: 1px solid var(--line-2);
  background-color: var(--paper-2);
  background-image: var(--grain);
}
.map-shell::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 9px;
  height: 9px;
  background: var(--red);
}
.map-shade { fill: #e6dfcf; }
.map-block { fill: #e2dbca; stroke: #d2c9b4; stroke-width: 1; }
.map-park { fill: #ded8c7; stroke: #c9c6b5; stroke-width: 1; }
.map-road-casing { stroke: #f8f3e6; stroke-width: 14; }
.map-road-base { stroke: #b5ac97; stroke-width: 9.5; }
.map-road-lit { stroke: var(--red); }
.map-label {
  font-family: var(--song);
  fill: var(--ink-soft);
  stroke: var(--paper);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.map-label.on { fill: var(--ink); font-weight: 700; }
.map-count { font-family: var(--fang); fill: var(--red); }
.map-school { fill: var(--ink); }
.map-school-label { font-family: var(--song); fill: var(--ink); font-weight: 700; }
.map-legend { font-family: var(--fang); fill: var(--ink-faint); letter-spacing: 0.12em; }
.map-tool {
  border: 1px solid var(--line-2);
  background: rgba(242, 237, 225, 0.94);
  border-radius: 0;
  font-family: var(--fang);
  letter-spacing: 0.1em;
}
.map-tool:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.map-hint {
  font-family: var(--fang);
  color: var(--ink-faint);
  background: rgba(242, 237, 225, 0.82);
  letter-spacing: 0.1em;
}
.road-g:focus-visible .map-road-hit { stroke: rgba(163, 31, 36, 0.3); }
.road-g:hover .map-road-hit { stroke: rgba(163, 31, 36, 0.12); }

/* ---------------------------- 记忆墙 ---------------------------- */

.map-words {
  background: rgba(242, 237, 225, 0.95);
  border: 0;
  border-left: 2px solid var(--red);
  padding: 9px 12px;
}
.map-words .mw-tags span {
  background: rgba(234, 227, 211, 0.7);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.map-words .mw-tags i { color: var(--red); }
.map-words:empty { display: none; }

.mission {
  border: 0;
  border-top: 1px solid var(--line-2);
  background: transparent;
  padding: 12px 0;
}
.mission .mtag { color: var(--red); font-family: var(--fang); }
.mission .mroad { font-family: var(--song); font-weight: 700; font-size: 19px; }
.mission .mgo {
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  border-radius: 0;
  padding: 4px 0;
  font-family: var(--fang);
}
.mission .mgo:hover { background: transparent; color: var(--red); border-color: var(--red); }

.road-top { border-bottom: 1px solid var(--ink); }
.road-top .rn { font-family: var(--song); font-weight: 700; }
.road-top .cnt { font-family: var(--fang); }
.road-top .cnt b { color: var(--ink); font-family: var(--song); }

.guess {
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  padding: 16px 0 4px;
}
.guess-head { color: var(--red); font-family: var(--fang); }
.guess-head span { font-family: var(--song); }
.guess-opt {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  font-family: var(--song);
}
.guess-opt:hover { border-color: var(--ink); background: var(--paper-2); }
.guess-opt.right { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.guess-opt.wrong { opacity: 0.35; }
.bar-row { font-family: var(--fang); }
.bar-row .bt { background: var(--paper-3); }
.bar-row .bt i { background: var(--ink-soft); }
.bar-row.top .bt i { background: var(--red); }
.bar-row .bn { font-family: var(--fang); }

.cloud .cl { font-family: var(--fang); }
.cloud button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  border-radius: 0;
  font-family: var(--song);
}
.cloud button:hover { border-color: var(--red); color: var(--red); background: transparent; }
.cloud button i { color: var(--red); }

.entry {
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  padding: 11px 0 0;
}
.entry .tagx {
  border: 0;
  background: var(--paper-2);
  color: var(--ink-soft);
  padding: 1px 7px;
}
.entry .meta { font-family: var(--fang); }
.entry .report { font-family: var(--fang); }
.empty-entry {
  border: 1px dashed var(--line-2);
  background: transparent;
}

.tray {
  border: 0;
  border-top: 2px solid var(--ink);
  background: transparent;
  position: relative;
}
.tray::before { display: none; }
.tray-head {
  border-bottom: 1px solid var(--line);
  padding: 16px 0 11px;
}
.tray-head h2 { font-family: var(--song); font-weight: 700; }
.tray-head .where { font-family: var(--fang); }
.tray-head .where b { color: var(--red); font-family: var(--song); }
.mode-row { border-bottom: 1px solid var(--line); }
.mode-btn {
  border-radius: 0;
  font-family: var(--fang);
  letter-spacing: 0.1em;
  padding: 9px 14px;
}
.mode-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.deck { padding: 16px 0 4px; }
.dcard {
  border: 0;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--ink);
  background: transparent;
  border-radius: 0;
  padding: 12px 0 10px 14px;
}
.dcard:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 700px) {
  .dcard { border-left: 0; padding-left: 0; }
}
.dcard .dword { font-family: var(--song); font-weight: 700; }
.dcard .dlab { color: var(--red); font-family: var(--fang); }
.dcard .dswap { border-radius: 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 2px 0; }
.dcard .dswap:hover { color: var(--red); border-color: var(--red); }
.pgroup { border-top: 1px solid var(--line-2); }
.pgroup.others { border-top-color: var(--red); }
.addwrap button { background: var(--ink); border: 1px solid var(--ink); }
.addwrap button:hover { background: var(--red); border-color: var(--red); }
.sticker .sv { border: 0; background: var(--paper-2); border-radius: 0; }
.sticker .sv button:hover { color: var(--red); }
.tray-foot { border-top: 1px solid var(--line); padding: 14px 0 0; }
.tagsum span { border: 0; background: var(--paper-2); color: var(--ink-soft); }
.tagsum span i { color: var(--red); }

/* ---------------------------- 走过 ---------------------------- */

.person-tabs {
  border: 0;
  border-top: 1px solid var(--ink);
  border-right: 0;
  border-bottom: 1px solid var(--line);
  margin-top: 18px;
}
.person-tab {
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  padding: 11px 12px 11px 0;
}
.person-tab:hover { background: transparent; }
.person-tab[aria-pressed="true"] {
  background: transparent;
  box-shadow: inset 0 -2px 0 var(--ink);
}
.person-tab[aria-pressed="true"] b { color: var(--ink); }
.person-tab[aria-pressed="true"] span { color: var(--red); }

.who {
  border: 0;
  border-top: 0;
  border-left: 2px solid var(--ink);
  background: transparent;
  padding: 15px 0 14px 18px;
}
.who .wname { font-family: var(--song); font-weight: 700; }
.who .task em { color: var(--red); }
.who .chips span { border: 1px solid var(--line); background: transparent; color: var(--ink-soft); }

.route-title { font-family: var(--song); font-weight: 700; }
.strip { border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; }
.stop .at { color: var(--red); font-family: var(--fang); }
.stop h3 { font-family: var(--song); font-weight: 700; }
.stop:nth-child(odd) { background: transparent; }
.say { border-left: 2px solid var(--red); }
.say .sl { color: var(--red); font-family: var(--fang); }
.shot { background: transparent; border: 0; }
.shot .cap { font-family: var(--fang); color: var(--ink-faint); }
.next { border: 0; border-top: 1px solid var(--ink); background: transparent; padding: 18px 0; }

.stops { border: 0; }
.stop { border-top: 1px solid var(--line); }
.step-btn { border: 1px solid var(--line); background: transparent; }
.step-btn[aria-pressed="true"] { background: var(--ink); }

/* ---------------------------- 共用 ---------------------------- */

.preset {
  border: 1px solid transparent;
  border-top: 1px solid var(--line-2);
  background: transparent;
}
.preset:hover { border-color: transparent; border-top-color: var(--ink); background: transparent; }
.preset b { font-family: var(--song); }
.sim { border: 1px solid var(--line-2); }
.plan { background: var(--paper-2); border-bottom: 1px solid var(--line-2); }
.focus {
  background: transparent;
  color: var(--ink);
  background-image: none;
  border-top: 2px solid var(--red);
  border-bottom: 0;
  border-left: 3px solid var(--ink);
  padding: 10px 0 9px 14px;
  display: flex;
  align-items: baseline;
  gap: 8px 14px;
}
.focus .fl { color: var(--red); font-family: var(--fang); }
.focus b { font-family: var(--song); font-weight: 700; font-size: 22px; }
.focus .ft { font-size: 16px; font-family: var(--song); }
.controls { border-top: 1px solid var(--line); padding: 14px 0 16px; }
.seg button, .toggles button {
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--song);
}
.seg button[aria-pressed="true"], .toggles button[aria-pressed="true"] {
  background: var(--paper-2);
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--red);
}
.personas { gap: 0 26px; }
.persona {
  border: 0;
  border-top: 1px solid var(--line-2);
  background: transparent;
  padding: 13px 0;
}
.persona:hover { background: transparent; }
.persona[aria-pressed="true"] {
  background: transparent;
  box-shadow: none;
  border-top-color: var(--red);
}
.p-head b { font-family: var(--song); font-weight: 700; }
.verdict { border: 1px solid var(--line); color: var(--ink-faint); font-family: var(--fang); }
.verdict.good { border-color: var(--ink); color: var(--ink); background: transparent; }
.verdict.mid { border-color: var(--line-2); color: var(--ink-soft); }
.verdict.bad { border-color: var(--red); color: var(--red); }
.p-meter { background: var(--paper-3); }
.p-meter i { background: var(--ink); }
.p-needs li.ok span { color: var(--ink); }
.p-needs li.no span { color: var(--red); }
.theory .th { border-top: 1px solid var(--ink); }
.theory .th b { font-family: var(--song); font-weight: 700; }

/* ---------------------------- 名字 ---------------------------- */

.method-row .m {
  border: 0;
  border-bottom: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink-faint);
  font-family: var(--fang);
  border-radius: 0;
  padding: 3px 2px;
}
.method-row .m.on { border-color: var(--red); color: var(--red); background: transparent; }
.quiz {
  border: 0;
  border-top: 1px solid var(--line-2);
  background: transparent;
  padding: 18px 0 6px;
}
.quiz::before { display: none; }
.quiz.done { border-top-color: var(--ink); }
.quiz .now { font-family: var(--song); font-weight: 700; }
.quiz .ask { font-family: var(--fang); color: var(--ink-faint); }
.quiz .opt {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: var(--song);
  padding: 8px 2px;
}
.quiz .opt:hover:not([disabled]) { border-color: var(--ink); background: var(--paper-2); }
.quiz .opt.right { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.quiz .opt.right .k { color: var(--orange-soft); }
.quiz .opt.wrong { opacity: 0.4; background: transparent; }
.quiz .method-badge { border: 0; border-bottom: 1px solid var(--red); color: var(--red); border-radius: 0; }
.quiz .old-name b { color: var(--red); }
.quiz .more { border-top: 1px dashed var(--line); }
.all-done { border: 0; border-left: 2px solid var(--red); background: transparent; }

/* ---------------------------- 看路 ---------------------------- */

.lens-row { border: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.lensbtn {
  background: transparent;
  border-right: 1px solid var(--line);
  padding: 12px 10px 13px 0;
}
.lensbtn:hover { background: transparent; }
.lensbtn[aria-pressed="true"] { background: transparent; box-shadow: inset 0 -2px 0 var(--ink); }
.lensbtn[aria-pressed="true"] b { color: var(--ink); }
.lensbtn[aria-pressed="true"] span { color: var(--red); }
.lensbtn b { font-family: var(--song); font-weight: 700; }
.scene-card { border: 1px solid var(--line-2); border-top: 0; background: transparent; }
#sceneWrap { background: var(--paper-2); }
.scene-cap .cn { color: var(--red); font-family: var(--fang); }
.scene-cap .cb { font-family: var(--song); font-weight: 700; }
.scene-cap .cnote { font-family: var(--fang); }
.anno-list li::before { border: 1px solid var(--red); color: var(--red); }
.lens-tools button {
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  padding: 4px 0;
  font-family: var(--fang);
}
.lens-tools button:hover { background: transparent; color: var(--red); border-color: var(--red); }
.small-rules { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.small-rules b { font-family: var(--song); font-weight: 700; }

/* ---------------------------- 页脚：一段沥青 ---------------------------- */

.foot {
  background-color: var(--asphalt);
  background-image:
    var(--grain-lt),
    radial-gradient(680px 240px at 24% -20%, rgba(255, 255, 255, 0.07), transparent 70%),
    repeating-linear-gradient(94deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 9px);
  color: #bdb4a4;
  border-top: 0;
  margin-top: 64px;
  padding: 32px 0 38px;
  position: relative;
}
.foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 76px;
  height: 2px;
  background: var(--red);
}
.foot .sig { font-family: var(--fang); color: #b3aa9a; letter-spacing: 0.18em; }
.foot .small { color: #bdb4a4; }
.foot .links { font-family: var(--fang); letter-spacing: 0.1em; }
.foot .links a { color: #ddd4c4; }
.foot a:hover { color: #fff; }
.foot .links a:hover { color: var(--orange-soft); }

/* ---------------------------- 示意图里的小字 ---------------------------- */

svg text { font-family: var(--fang); }
.map-shell svg text { letter-spacing: 0.03em; }

/* ==========================================================
   旧色 → 纸 / 墨 / 校徽红
   （只调色，不把线条也调灰，示意图才清楚）
   ========================================================== */

[fill="#dd4f27"], [fill="#c0472a"] { fill: #a31f24; }
[stroke="#dd4f27"], [stroke="#c0472a"] { stroke: #a31f24; }
[fill="#f0a184"] { fill: #c58c8a; }
[stroke="#f0a184"] { stroke: #c58c8a; }
[fill="#eec13a"] { fill: #c2a45a; }
[stroke="#eec13a"] { stroke: #c2a45a; }

[fill="#16181b"], [fill="#0e0e0e"] { fill: #000000; }
[stroke="#16181b"], [stroke="#0e0e0e"] { stroke: #000000; }

[fill="#b08b2e"], [stroke="#b08b2e"] { fill: #9a9284; stroke: #9a9284; }
[fill="#8a6a1c"], [stroke="#8a6a1c"] { fill: #6b655a; stroke: #6b655a; }
[fill="#3d4147"], [stroke="#3d4147"] { fill: #2f2b25; stroke: #2f2b25; }
[fill="#4d5157"], [stroke="#4d5157"] { fill: #3a362d; stroke: #3a362d; }
[fill="#5a5d61"], [stroke="#5a5d61"] { fill: #4a453d; stroke: #4a453d; }
[fill="#5b5f65"], [stroke="#5b5f65"] { fill: #3f3b34; stroke: #3f3b34; }
[fill="#514d44"], [stroke="#514d44"] { fill: #28251f; stroke: #28251f; }
[fill="#8a8378"], [stroke="#8a8378"] { fill: #6f6960; stroke: #6f6960; }
[fill="#6f6a5c"], [stroke="#6f6a5c"] { fill: #4a453d; stroke: #4a453d; }
[fill="#7f7a6b"], [stroke="#7f7a6b"] { fill: #5e594e; stroke: #5e594e; }

[fill="#f4f1e7"], [stroke="#f4f1e7"] { fill: #f2ede1; stroke: #f2ede1; }
[fill="#f3efe5"], [stroke="#f3efe5"] { fill: #f2ede1; stroke: #f2ede1; }
[fill="#f7f4ea"], [stroke="#f7f4ea"] { fill: #f6f0e2; stroke: #f6f0e2; }
[fill="#f2eee2"], [stroke="#f2eee2"] { fill: #f0eade; stroke: #f0eade; }
[fill="#f6f3e9"], [stroke="#f6f3e9"] { fill: #f6f1e5; stroke: #f6f1e5; }
[fill="#eee9dc"], [stroke="#eee9dc"] { fill: #f2ecdf; stroke: #f2ecdf; }
[fill="#fbf8ee"], [stroke="#fbf8ee"] { fill: #f9f3e6; stroke: #f9f3e6; }
[fill="#f0e9d6"], [stroke="#f0e9d6"] { fill: #f4eee0; stroke: #f4eee0; }
[fill="#eae5d5"], [stroke="#eae5d5"] { fill: #e7e0d0; stroke: #e7e0d0; }
[fill="#ece8da"], [stroke="#ece8da"] { fill: #eae3d3; stroke: #eae3d3; }
[fill="#ece7d8"], [stroke="#ece7d8"] { fill: #ece5d6; stroke: #ece5d6; }
[fill="#e7e2d2"], [stroke="#e7e2d2"] { fill: #e6dfcf; stroke: #e6dfcf; }
[fill="#e9e4d5"], [stroke="#e9e4d5"] { fill: #e8e1d1; stroke: #e8e1d1; }
[fill="#e6e1d1"], [stroke="#e6e1d1"] { fill: #e4ddcd; stroke: #e4ddcd; }
[fill="#e4dfce"], [stroke="#e4dfce"] { fill: #e1dac9; stroke: #e1dac9; }
[fill="#e3ded0"], [stroke="#e3ded0"] { fill: #e2dbc9; stroke: #e2dbc9; }
[fill="#e2ddcc"], [stroke="#e2ddcc"] { fill: #e1dac8; stroke: #e1dac8; }
[fill="#dfe4dd"], [stroke="#dfe4dd"] { fill: #e6e2d7; stroke: #e6e2d7; }
[fill="#e0dbc9"], [stroke="#e0dbc9"] { fill: #ddd5c2; stroke: #ddd5c2; }
[fill="#dfd9c7"], [stroke="#dfd9c7"] { fill: #dcd4c1; stroke: #dcd4c1; }
[fill="#ddd7c5"], [stroke="#ddd7c5"] { fill: #dad2bf; stroke: #dad2bf; }
[fill="#dcd5c2"], [stroke="#dcd5c2"] { fill: #d9d1be; stroke: #d9d1be; }
[fill="#d9d3c1"], [stroke="#d9d3c1"] { fill: #d7cfbc; stroke: #d7cfbc; }
[fill="#d9d2bf"], [stroke="#d9d2bf"] { fill: #d6cebb; stroke: #d6cebb; }
[fill="#d8d2c0"], [stroke="#d8d2c0"] { fill: #d6cebb; stroke: #d6cebb; }
[fill="#d5cfbd"], [stroke="#d5cfbd"] { fill: #d0c8b4; stroke: #d0c8b4; }
[fill="#d3cdb8"], [stroke="#d3cdb8"] { fill: #d2cab6; stroke: #d2cab6; }
[fill="#d3cdbb"], [stroke="#d3cdbb"] { fill: #d2cab6; stroke: #d2cab6; }
[fill="#d3ccb8"], [stroke="#d3ccb8"] { fill: #d2cab6; stroke: #d2cab6; }
[fill="#d1cab6"], [stroke="#d1cab6"] { fill: #d0c8b4; stroke: #d0c8b4; }
[fill="#cfc9b7"], [stroke="#cfc9b7"] { fill: #ccc4b0; stroke: #ccc4b0; }
[fill="#cfc8b6"], [stroke="#cfc8b6"] { fill: #cbc3af; stroke: #cbc3af; }
[fill="#cfc8b4"], [stroke="#cfc8b4"] { fill: #cbc3af; stroke: #cbc3af; }
[fill="#cfc5ab"], [stroke="#cfc5ab"] { fill: #c6bca6; stroke: #c6bca6; }
[fill="#cdc6b2"], [stroke="#cdc6b2"] { fill: #c7beaa; stroke: #c7beaa; }
[fill="#cdc6b3"], [stroke="#cdc6b3"] { fill: #c7beaa; stroke: #c7beaa; }
[fill="#ccc6b4"], [stroke="#ccc6b4"] { fill: #c7beaa; stroke: #c7beaa; }
[fill="#cbd3ba"], [stroke="#cbd3ba"] { fill: #c9c6b6; stroke: #c9c6b6; }
[fill="#c9c4b4"], [stroke="#c9c4b4"] { fill: #c3bcaa; stroke: #c3bcaa; }
[fill="#c9c3b1"], [stroke="#c9c3b1"] { fill: #c2bba9; stroke: #c2bba9; }
[fill="#c9c2ac"], [stroke="#c9c2ac"] { fill: #c2bba7; stroke: #c2bba7; }
[fill="#c7c0ab"], [stroke="#c7c0ab"] { fill: #c0b9a5; stroke: #c0b9a5; }
[fill="#c6c0ad"], [stroke="#c6c0ad"] { fill: #bdb6a3; stroke: #bdb6a3; }
[fill="#c6bfab"], [stroke="#c6bfab"] { fill: #bdb6a3; stroke: #bdb6a3; }
[fill="#bfb8a1"], [stroke="#bfb8a1"] { fill: #b5ac97; stroke: #b5ac97; }
[fill="#bdb7a3"], [stroke="#bdb7a3"] { fill: #b5ad99; stroke: #b5ad99; }
[fill="#bcb7a7"], [stroke="#bcb7a7"] { fill: #b3ac9b; stroke: #b3ac9b; }
[fill="#b9b29c"], [stroke="#b9b29c"] { fill: #ada690; stroke: #ada690; }
[fill="#b5ae98"], [stroke="#b5ae98"] { fill: #aba48f; stroke: #aba48f; }
[fill="#b3ae9e"], [stroke="#b3ae9e"] { fill: #a9a28f; stroke: #a9a28f; }
[fill="#b0a993"], [stroke="#b0a993"] { fill: #a79d87; stroke: #a79d87; }
[fill="#a9a28c"], [stroke="#a9a28c"] { fill: #a79d87; stroke: #a79d87; }
[fill="#9c957f"], [stroke="#9c957f"] { fill: #8c8471; stroke: #8c8471; }
[fill="#8f8874"], [stroke="#8f8874"] { fill: #8a8274; stroke: #8a8274; }
[fill="#8c8674"], [stroke="#8c8674"] { fill: #7e7768; stroke: #7e7768; }
[fill="#7d786a"], [stroke="#7d786a"] { fill: #6b6658; stroke: #6b6658; }

[fill="#71875f"], [stroke="#71875f"] { fill: #6e7a66; stroke: #6e7a66; }
[fill="#5f7651"], [stroke="#5f7651"] { fill: #5a6653; stroke: #5a6653; }
[fill="#6f8a5f"], [stroke="#6f8a5f"] { fill: #6e7a66; stroke: #6e7a66; }
[fill="#4f6a46"], [stroke="#4f6a46"] { fill: #4f5a47; stroke: #4f5a47; }
[fill="#7d9067"], [stroke="#7d9067"] { fill: #77836c; stroke: #77836c; }
[fill="#8a9a6a"], [stroke="#8a9a6a"] { fill: #9aa185; stroke: #9aa185; }
[fill="#cdd8bc"], [stroke="#cdd8bc"] { fill: #d7d2c3; stroke: #d7d2c3; }
[fill="#a9b79a"], [stroke="#a9b79a"] { fill: #9aa185; stroke: #9aa185; }
[fill="#e6ead9"], [stroke="#e6ead9"] { fill: #ece6d8; stroke: #ece6d8; }
[fill="#dce2cd"], [stroke="#dce2cd"] { fill: #ded8c7; stroke: #ded8c7; }

[fill="#33525f"], [stroke="#33525f"] { fill: #5c7078; stroke: #5c7078; }
[fill="#5b7e8a"], [stroke="#5b7e8a"] { fill: #5c7078; stroke: #5c7078; }
[fill="#3f5a63"], [stroke="#3f5a63"] { fill: #38464c; stroke: #38464c; }
[fill="#9fb3b5"], [stroke="#9fb3b5"] { fill: #a9b3b6; stroke: #a9b3b6; }
[fill="#a3b6b8"], [stroke="#a3b6b8"] { fill: #a9b3b6; stroke: #a9b3b6; }
[fill="#b8c7c6"], [stroke="#b8c7c6"] { fill: #bfc6c6; stroke: #bfc6c6; }
[fill="#c9cfd2"], [stroke="#c9cfd2"] { fill: #cfcec6; stroke: #cfcec6; }
[fill="#dfe6e2"], [stroke="#dfe6e2"] { fill: #e4e0d6; stroke: #e4e0d6; }

[fill="#6a5b45"], [stroke="#6a5b45"] { fill: #3b352d; stroke: #3b352d; }
[fill="#7a5a44"], [stroke="#7a5a44"] { fill: #4a423a; stroke: #4a423a; }
[fill="#8a6a3a"], [stroke="#8a6a3a"] { fill: #5a4c3a; stroke: #5a4c3a; }
[fill="#b08b4e"], [stroke="#b08b4e"] { fill: #8a7a63; stroke: #8a7a63; }
[fill="#6a6354"], [stroke="#6a6354"] { fill: #3b352d; stroke: #3b352d; }

[stop-color="#dfe4dd"] { stop-color: #e6e2d7; }
[stop-color="#f2eee2"] { stop-color: #f0eade; }

/* 手机上地图字大一点，仍然清楚 */
@media (max-width: 640px) {
  .map-label { font-size: 17px; }
  .map-count { font-size: 12px; }
  .map-legend, .map-school-label { font-size: 12px; }
  .map-road-hit { stroke-width: 40; }
  .map-road-base { stroke-width: 11; }
}
