:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#173238;background:#eef4f2;--ink:#173238;--muted:#48666b;--edge:#d9e6e2;--green:#12594f}
*{box-sizing:border-box}
body{margin:0}
.wrap{max-width:1320px;margin:auto;padding:0 clamp(16px,4vw,64px)}
header{padding:22px 0;display:flex;justify-content:space-between;align-items:center;gap:18px;border-bottom:1px solid var(--edge);flex-wrap:wrap}
.branding{display:flex;align-items:baseline;gap:12px}
.branding strong{letter-spacing:.05em;font-size:19px}.branding span{color:var(--green)}.branding small{color:var(--muted);font-size:12px}
nav{display:flex;gap:5px;flex-wrap:wrap}
a{color:var(--green)}
nav a,footer a{border-radius:9px;text-decoration:none;padding:8px 10px;font-weight:700;font-size:14px}
nav a:hover,footer a:hover{background:#dcebe6}
nav a[aria-current]{background:var(--green);color:white}
.hero{padding:34px 0 24px}.eyebrow{color:var(--green);font-weight:730;font-size:14px;letter-spacing:.07em}.eyebrow span{margin:0 7px}
h1{margin:8px 0 10px;font-size:clamp(30px,5vw,52px);line-height:1.13;letter-spacing:-.025em}
.hero p,.note p{margin:0;line-height:1.65;color:var(--muted)}
.layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:18px;align-items:start}
section{background:#fff;border:1px solid var(--edge);border-radius:18px;padding:clamp(14px,2.2vw,28px);min-width:0}
h2{margin:0 0 14px;font-size:20px}.map h2{margin-bottom:5px}
ol{list-style:none;padding:0;margin:0}
li{display:grid;grid-template-columns:28px 1fr;gap:11px;padding:11px 0;border-bottom:1px solid #edf2ef}
li:last-child{border-bottom:0}
.badge{width:26px;height:26px;border-radius:99px;display:grid;place-items:center;font-size:13px;font-weight:750;background:#e4f1ec;color:var(--green)}
h3{font-size:16px;margin:1px 0 4px}li p{color:var(--muted);margin:0;font-size:14px;line-height:1.6}
.note{margin-top:17px;background:#edf5f1;padding:13px 16px;border-radius:11px;font-size:14px}.note p{margin-top:4px}
.sub{font-size:13px;color:var(--muted);margin-bottom:14px;line-height:1.55}
figure{border:1px solid var(--edge);border-radius:12px;margin:0 0 12px;overflow:hidden;background:#f3f9f8}
figcaption{font-weight:730;background:#e6f0ed;padding:8px 12px;font-size:14px}
svg{display:block;width:100%;height:auto;color:var(--ink)}
.leg{fill:none;stroke:#227b66;stroke-width:2.4}.leg.rail{stroke:#2d647e}.leg.bus{stroke:#a05226}.leg.optional{stroke:#667477;stroke-dasharray:5 5}
.pin circle{fill:#247667;stroke:white;stroke-width:2}.pin.hotel circle{fill:#933b74}.pin.rail circle{fill:#2a627f}.pin.airport circle{fill:#813f27}
.num,.label,.north text{text-anchor:middle}.num{font-size:12px;fill:white;font-weight:800}.label{font-size:13px;font-weight:750;fill:#173238;stroke:#f3f9f8;stroke-width:4;stroke-linejoin:round;paint-order:stroke fill}.north{fill:#34535c;font-size:12px}
.legend{display:flex;gap:8px 14px;flex-wrap:wrap;margin-top:12px;color:var(--muted);font-size:12px}
.legend span{display:inline-flex;align-items:center;gap:5px}.legend span:before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;background:#247667}.legend .hotel:before{background:#933b74}.legend .rail:before{background:#2a627f}.legend .airport:before{background:#813f27}
.legend .line:before{width:13px;height:0;border-radius:0;border-top:2px solid #227b66}.legend .train:before{border-color:#2d647e}.legend .bus:before{border-color:#a05226}.legend .dash:before{border-top:2px dashed #667477}
details{margin-top:15px;padding-top:10px;border-top:1px solid var(--edge);font-size:13px;color:var(--muted)}summary{font-weight:700;cursor:pointer;color:var(--green)}details p{line-height:1.55}.links{display:flex;gap:8px 14px;flex-wrap:wrap;margin-top:10px}
footer{padding:18px 0 25px;display:flex;justify-content:space-between}
@media(max-width:760px){.layout{grid-template-columns:1fr}.hero{padding-top:24px}.wrap{padding:0 12px}header{padding:14px 0;gap:10px}nav a{padding:7px 8px}}

[hidden]{display:none!important}
.sequence.scroll-sequence .layout{position:sticky;top:var(--pin,12px)}
.sequence.scroll-sequence .runway{height:var(--runway)}
.story-head,.step-title,.step-controls{display:flex;align-items:center;gap:10px}
.story-head,.step-controls{justify-content:space-between}
.story-head h2{margin:0}
.counter{background:#e4f1ec;color:var(--green);padding:5px 10px;border-radius:20px;font-size:12px;font-weight:750;font-variant-numeric:tabular-nums}
.step-index{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0 18px}
button{font:inherit;cursor:pointer}
.step-index button,.step-controls button{border:1px solid #d2e2dc;border-radius:9px;background:#f2f8f5;color:var(--green);font-size:14px;font-weight:700;padding:7px 10px}
.step-index button.is-past{background:#e0f0e9}
.step-index button[aria-current]{background:var(--green);border-color:var(--green);color:white}
.step-controls button:hover,.step-index button:not([aria-current]):hover{background:#dcebe6}
.step-controls button[aria-disabled=true]{opacity:.42;cursor:default}
.step-title .badge{flex:none}.step-title h3{font-size:clamp(20px,2vw,26px);margin:0}
.step dl{margin:14px 0 16px}.step dt{font-size:13px;color:var(--green);font-weight:770;margin-top:10px}.step dd{font-size:14px;line-height:1.6;margin:3px 0 0}
.focus-art{margin-top:12px;border-radius:10px;background:linear-gradient(135deg,#e6f2ee,#f5f8f2);display:flex;align-items:center;gap:13px;padding:2px 13px;color:var(--muted);font-size:11px;letter-spacing:.08em}
.focus-art svg{width:64px;height:64px;flex:none;fill:none;stroke:#3e7668;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hint{color:var(--muted);font-size:12px;margin:9px 0 0}
.map-art{fill:none;stroke:#537773;stroke-width:2.15;stroke-linecap:round;stroke-linejoin:round}
.pin.is-current circle{stroke:#eab647;stroke-width:4}
[data-reveal]{transition:opacity .22s ease}
.is-future{visibility:hidden;opacity:0}
@media(prefers-reduced-motion:reduce){[data-reveal]{transition:none}}
.sequence.scroll-sequence .layout{top:12px}
.sequence.scroll-sequence .map figure svg{max-height:clamp(125px,23vh,220px)}
.sequence:not(.scroll-sequence) .hint{touch-action:none;padding:8px 10px;text-align:center;border-radius:8px;background:#f1f6f4}

.spot-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.spot-photos figure { margin: 0; }
.spot-photos figure > a { display: block; }
.spot-photos img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.spot-photos figcaption {
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1.4;
}
.spot-photos figcaption a { white-space: nowrap; }

header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #f4f8f7;
  padding: 8px 0;
  gap: 8px 14px;
}
header nav[aria-label="选择日期"] {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 3px;
}
header nav a { text-align: center; white-space: nowrap; }
.stop-nav {
  display: flex;
  flex: 0 0 100%;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.stop-nav > span { font-size: 12px; font-weight: 750; white-space: nowrap; }
.stop-list {
  display: flex;
  gap: 5px;
  min-width: 0;
  overflow-x: auto;
  padding: 3px 2px;
}
.stop-list button {
  flex: none;
  white-space: nowrap;
  border: 1px solid #c7dcd4;
  border-radius: 8px;
  padding: 6px 9px;
  background: white;
  color: var(--green);
  font: inherit;
  font-size: 13px;
}
.stop-list b { margin-right: 2px; }
.stop-list button[aria-current="step"] {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.sequence.scroll-sequence .layout { top: var(--journey-top, 72px); }
.story { scroll-margin-top: var(--journey-top, 110px); }
.story-body { margin-top: 12px; }
@media (max-width: 940px) {
  header .branding { display: none; }
  header nav[aria-label="选择日期"] { width: 100%; }
  header nav a { padding: 7px 2px; }
}

:root {
  --paper: #f7fafc;
  --surface: #fff;
  --wash: #edf5fb;
  --ink: #172c40;
  --muted: #4d6171;
  --edge: #dbe5ec;
  --green: #235679;
  color: var(--ink);
  background: var(--paper);
}
:root, :root[data-theme="vermilion"] {
  --paper: #faf9f7;
  --wash: #faeae6;
  --ink: #302322;
  --muted: #64534f;
  --edge: #e9d9d3;
  --green: #b22e2b;
}
:root[data-theme="lantern"] {
  --paper: #faf4ec;
  --wash: #f3e6e0;
  --ink: #38242a;
  --muted: #654e54;
  --edge: #e5d3ca;
  --green: #782b45;
}
header { background: var(--surface); padding: 10px; border-radius: 0 0 16px 16px; }
.hero { padding-block: clamp(24px, 5vw, 48px) 24px; }
.hero h1 { letter-spacing: -.04em; }
.story, .map { border-color: var(--edge); border-radius: 22px; background: var(--surface); }
.stop-list button { border-color: var(--edge); border-radius: 999px; }
nav a:hover, footer a:hover, .counter, .badge,
.step-controls button, .sequence:not(.scroll-sequence) .hint,
.map figcaption { background: var(--wash); }
.counter, .badge, .step-controls button { color: var(--green); }
.step-controls button { border-color: var(--edge); }
.spot-photos { gap: 5px; overflow: hidden; border-radius: 15px; }
.spot-photos figure { border: 0; border-radius: 0; background: var(--wash); }
.spot-photos img { aspect-ratio: 3 / 2; }
.spot-photos figure > a { cursor: zoom-in; }
.spot-photos figcaption { background: var(--wash); color: var(--ink); }
.theme-picker { position: relative; margin: 0; padding: 0; border: 0; }
.theme-picker summary { padding: 6px 10px; border: 1px solid var(--edge); border-radius: 999px; }
.theme-menu {
  position: absolute; right: 0; top: calc(100% + 5px); width: 158px;
  display: grid; gap: 4px; padding: 6px; background: white;
  border: 1px solid var(--edge); border-radius: 13px; box-shadow: 0 8px 28px #17323823;
}
.theme-menu button {
  display: flex; align-items: center; justify-content: space-between;
  border: 0; border-radius: 8px; padding: 8px; background: white;
  color: var(--ink); white-space: nowrap;
}
.theme-menu button[aria-pressed="true"] { background: var(--wash); font-weight: 700; }
.theme-menu i { width: 22px; height: 12px; border-radius: 6px; background: #b22e2b; }
[data-theme-choice="lantern"] i { background: #782b45; }
.photo-viewer { max-width: min(880px, 92vw); border: 0; border-radius: 18px; padding: 12px; }
.photo-viewer::backdrop { background: #131b23cc; }
.photo-viewer img { display: block; max-width: 100%; max-height: 72vh; margin: auto; }
.photo-viewer form { display: flex; justify-content: flex-end; margin-bottom: 6px; }
.photo-viewer button { border: 0; border-radius: 999px; font-size: 22px; width: 34px; height: 34px; }
.photo-viewer p { margin: 8px 4px 0; }
@media (max-width: 940px) {
  header nav[aria-label="选择日期"] { flex: 1; min-width: 0; width: auto; }
  header .theme-picker { flex: none; }
}
header nav a[aria-current]:hover { background: var(--green); }
header nav a:focus-visible, .stop-list button:focus-visible,
.theme-menu button:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }

/* Visual hierarchy: a poster title above a quieter itinerary and map. */
:root {
  --curve: 10px;
  --button-base: color-mix(in srgb, var(--green) 72%, #111);
}
header {
  border-radius: 0;
  padding: 8px 0 6px;
  box-shadow: 0 1px 0 var(--edge);
}
header nav[aria-label="选择日期"] a {
  border-radius: 0;
  border-bottom: 2px solid transparent;
}
header nav[aria-label="选择日期"] a[aria-current],
header nav[aria-label="选择日期"] a[aria-current]:hover {
  color: var(--green);
  background: var(--wash);
  border-bottom-color: var(--green);
}
.stop-nav { border-top: 1px solid var(--edge); padding-top: 3px; }
.stop-list button { border: 0; border-radius: 4px; padding: 7px 9px; }
.stop-list button[aria-current="step"] { background: var(--wash); color: var(--green); box-shadow: inset 0 -2px var(--green); }
.theme-picker summary { border-radius: 6px; }
.theme-menu { box-shadow: 0 4px 12px #00000015; }
.hero {
  background: var(--green);
  color: white;
  padding: clamp(24px, 4vw, 58px);
  margin: 16px 0 28px;
  border-radius: var(--curve);
}
.hero h1 {
  font-size: clamp(34px, 5.6vw, 76px);
  font-weight: 900;
  line-height: 1.08;
  margin: 10px 0 14px;
}
.hero .eyebrow, .hero p { color: white; }
.hero p { max-width: 65ch; font-size: clamp(14px, 1.4vw, 17px); line-height: 1.65; }
.layout { gap: clamp(18px, 3vw, 42px); }
.story, .map { border-radius: var(--curve); box-shadow: none; }
.story { border: 0; background: transparent; padding-inline: 0; }
.story-head { border-bottom: 1px solid var(--edge); padding-bottom: 9px; }
.story-head h2 { font-size: 13px; font-weight: 700; color: var(--muted); }
.counter, .badge { border-radius: 0; background: transparent; }
.counter { padding: 0; }
.step-title .badge { width: auto; min-width: 24px; border-left: 3px solid var(--green); }
.step-title h3 { font-size: clamp(23px, 2.8vw, 39px); font-weight: 850; }
.step dt { color: var(--ink); }
.step dd { max-width: 55ch; line-height: 1.65; }
.focus-art { background: var(--wash); border-radius: var(--curve); }
.spot-photos { border-radius: var(--curve); gap: 7px; }
.spot-photos figure, .spot-photos figcaption { background: transparent; }
.spot-photos figcaption { font-weight: 500; padding: 5px 0; }
.map figure { border-radius: 6px; }
.map figcaption { background: transparent; border-bottom: 1px solid var(--edge); }
.sequence:not(.scroll-sequence) .hint { background: transparent; padding-inline: 0; }
.step-controls button {
  min-height: 42px;
  border-radius: 7px;
  background: var(--surface);
  border: 1px solid var(--edge);
}
.step-controls [data-next]:not([aria-disabled="true"]) {
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
  box-shadow: 0 3px var(--button-base);
}
:is(.step-controls button, .stop-list button, .theme-menu button):not([aria-disabled="true"]):hover {
  box-shadow: inset 0 0 0 1px var(--green);
}
.step-controls [data-next]:not([aria-disabled="true"]):hover {
  background: var(--button-base);
  box-shadow: 0 3px var(--button-base);
}
:is(.step-controls button, .stop-list button, .theme-menu button):not([aria-disabled="true"]):active {
  transform: translateY(2px);
}
.step-controls [data-next]:not([aria-disabled="true"]):active { box-shadow: 0 1px var(--button-base); }
.step-controls button[aria-disabled="true"] { opacity: .5; box-shadow: none; background: var(--wash); }
:is(button, summary, a):focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
@media (max-width: 760px) {
  header { padding-inline: 0; }
  .stop-nav { flex-wrap: nowrap; }
  .stop-list { flex: 1; }
  .hero { margin-bottom: 12px; padding-inline: 15px; }
  .story { padding-block: 10px; }
}
