/* 归途路 — documentary archive: paper, serif headlines, satellite imagery and news photos carry the page. */
:root {
  --bg: #f5f2eb; --bg2: #ebe6da; --card: #fffdf8; --ink: #1b1a18; --ink2: #4f4c46; --ink3: #8a857b;
  --line: #ddd6c8; --line2: #c9c1b0; --accent: #b3261e; --map-bg: #0d0f12;
  --ok: #2f7d4a; --ok-bg: #e3f0e6; --warn: #a06a00; --warn-bg: #f7ecd2; --bad: #b4261d; --bad-bg: #f6e0dd;
  --spec: #5b56a6; --spec-bg: #e8e6f5;
  --serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  --sans: -apple-system, "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --r: 4px; --top: 56px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141519; --bg2: #1b1d22; --card: #1e2026; --ink: #ecebe6; --ink2: #b8b5ad; --ink3: #817e77;
    --line: #2f3138; --line2: #44464e; --accent: #ff5a4c;
    --ok: #6cc58b; --ok-bg: #1f3427; --warn: #e2b04a; --warn-bg: #3a301b; --bad: #ff7a6e; --bad-bg: #3f2220;
    --spec: #aaa5f0; --spec-bg: #2a2943; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141519; --bg2: #1b1d22; --card: #1e2026; --ink: #ecebe6; --ink2: #b8b5ad; --ink3: #817e77;
  --line: #2f3138; --line2: #44464e; --accent: #ff5a4c;
  --ok: #6cc58b; --ok-bg: #1f3427; --warn: #e2b04a; --warn-bg: #3a301b; --bad: #ff7a6e; --bad-bg: #3f2220;
  --spec: #aaa5f0; --spec-bg: #2a2943; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 52px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.8 var(--sans); }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.3; letter-spacing: .01em; }
h2 small { font: 400 .85rem var(--sans); color: var(--ink3); margin-left: .5em; letter-spacing: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--ink3); }
.small { font-size: .875rem; }
.eyebrow { font: 600 .74rem/1.4 var(--sans); letter-spacing: .18em; color: var(--accent); margin: 0 0 .6rem; }
.eyebrow.light { color: #f0c9a8; }
.eyebrow a { color: inherit; text-decoration: none; }
.btn { display: inline-block; font: 600 .9rem var(--sans); padding: .55em 1.3em; border-radius: 2px; border: 0;
  background: var(--accent); color: #fff; cursor: pointer; text-decoration: none; letter-spacing: .05em; }
.btn:hover { filter: brightness(1.1); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: .3em .8em; z-index: 99; }
.skip:focus { left: 8px; }
.sec-h { font-size: clamp(1.4rem, 3vw, 1.75rem); margin: 3.2rem 0 1.4rem; display: flex; align-items: baseline; gap: .7em; flex-wrap: wrap; }
.sec-h > span { font: 600 .8rem var(--sans); color: var(--accent); letter-spacing: .1em; border-top: 2px solid var(--accent); padding-top: .2em; }

/* header / footer */
.top { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: var(--top); gap: 12px; }
.brand { font: 700 1.25rem var(--serif); text-decoration: none; display: flex; align-items: center; gap: .55em; white-space: nowrap; }
.brand small { font: 400 .76rem var(--sans); color: var(--ink3); letter-spacing: .05em; }
.brand-mark { width: 30px; height: 30px; flex: none; display: block; }
.top nav { display: flex; gap: 1.4em; font-size: .92rem; }
.top nav a { text-decoration: none; color: var(--ink2); padding: .3em 0; }
.top nav a[aria-current] { color: var(--ink); font-weight: 600; box-shadow: 0 2px 0 var(--accent); }
.foot { margin-top: 6rem; background: #1a1b1e; color: #b9b6ae; font-size: .86rem; line-height: 1.75; }
.foot a { color: #ecebe6; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; padding-top: 3rem; padding-bottom: 2rem; }
.foot p { margin: 0 0 .4rem; }
.foot .eyebrow { color: #ff7a6e; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #2d2f34; padding-top: 1rem; padding-bottom: 2.4rem; color: #7f7c75; font-size: .8rem; }
.brand-mini { font-family: var(--serif); color: #ecebe6; }

/* badges & citations */
.badge { display: inline-block; font: 600 .72rem/1.6 var(--sans); padding: 0 .55em; border-radius: 2px; white-space: nowrap; }
.b-multi_source { color: var(--ok); background: var(--ok-bg); }
.b-single_source { color: var(--warn); background: var(--warn-bg); }
.b-conflict { color: var(--bad); background: var(--bad-bg); }
.b-speculation { color: var(--spec); background: var(--spec-bg); }
.cn { position: relative; white-space: nowrap; }
.cn-b { font: 700 .66rem/1 var(--sans); min-width: 1.7em; height: 1.7em; padding: 0 .35em; margin-left: .3em; border-radius: 99px; border: 1.5px solid;
  background: transparent; cursor: pointer; vertical-align: .3em; }
.cn-multi_source { color: var(--ok); } .cn-single_source { color: var(--warn); }
.cn-b:hover, .cn.open .cn-b { background: currentColor; }
.cn-b:hover::after, .cn.open .cn-b::after { content: ""; }
.cn.open .cn-b, .cn-b:hover { color: var(--card); }
.cn.open .cn-multi_source, .cn-multi_source:hover { background: var(--ok); }
.cn.open .cn-single_source, .cn-single_source:hover { background: var(--warn); }
.cn-pop { display: none; position: absolute; z-index: 25; left: 50%; top: 1.9em; transform: translateX(-50%); width: min(380px, 86vw);
  white-space: normal; background: var(--card); border: 1px solid var(--line2); border-radius: var(--r); box-shadow: 0 10px 30px rgba(0,0,0,.18);
  padding: .7rem .8rem; font: .84rem/1.6 var(--sans); text-align: left; }
.cn.open .cn-pop, .cn:focus-within .cn-pop { display: block; }
.cn-pop b { display: block; font-size: .72rem; color: var(--ink3); letter-spacing: .1em; margin-bottom: .3rem; }
.cn-pop a { display: block; text-decoration: none; padding: .35rem 0; border-top: 1px solid var(--line); color: var(--ink2); }
.cn-pop a:hover span { color: var(--ink); text-decoration: underline; }
.cn-pop code { font: 700 .72rem ui-monospace, Menlo, monospace; margin-right: .4em; color: var(--ink3); }
.cn-pop .badge { margin-right: .4em; }
.legend-inline { font-size: .8rem; color: var(--ink3); }
.legend-inline .badge { margin: 0 .2em; }
.tag { display: inline-block; font-size: .78rem; padding: 0 .6em; margin: 0 .3em .3em 0; border: 1px solid var(--line); border-radius: 99px; color: var(--ink2); }

/* draft banner */
.draft { background: repeating-linear-gradient(-45deg, var(--warn-bg), var(--warn-bg) 12px, var(--bg2) 12px, var(--bg2) 24px);
  color: var(--ink); font-size: .85rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.draft strong { background: var(--warn); color: #fff; padding: 0 .5em; border-radius: 2px; margin-right: .6em; }

/* ── home ── */
.hero { position: relative; background: var(--map-bg); color: #f2f0ea; overflow: hidden; }
.hero-map { height: min(74vh, 680px); }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,11,13,.82) 0%, rgba(10,11,13,.55) 38%, rgba(10,11,13,0) 65%), linear-gradient(0deg, rgba(10,11,13,.6), transparent 40%); }
.hero-text { position: absolute; left: 0; right: 0; bottom: 3rem; pointer-events: none; }
.hero-text > * { max-width: 34rem; }
.hero-text h1 { max-width: none; }
.hero-text h1 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); margin: 0 0 1rem; text-shadow: 0 2px 16px rgba(0,0,0,.6); }
.hero-text p { color: #d9d5cb; margin: 0 0 1.4rem; }
.hero-text .btn { pointer-events: auto; }
.evpin { position: relative; display: block; width: 16px; height: 16px; text-decoration: none; }
.evpin i { position: absolute; inset: 0; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 4px rgba(255,59,48,.3), 0 0 16px #ff3b30; transition: transform .2s; }
.evpin span { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); font: 600 13px var(--sans); color: #fff; background: rgba(0,0,0,.75);
  padding: 2px 8px; border-radius: 2px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.evpin:hover span, .evpin:focus span, .evpin.hot span { opacity: 1; }
.evpin:hover i, .evpin.hot i { transform: scale(1.35); }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line); }
.stats div { padding: 1.6rem 0 1.4rem; border-left: 1px solid var(--line); padding-left: 1.2rem; }
.stats div:first-child { border-left: 0; padding-left: 0; }
.stats b { display: block; font: 700 2.2rem/1.1 var(--serif); }
.stats span { font-size: .84rem; color: var(--ink3); }
.archive-head { display: flex; align-items: baseline; gap: 1.2rem; flex-wrap: wrap; margin-top: 3.4rem; }
.archive-head h2 { font-size: 1.9rem; margin: 0; }
.archive-head p { margin: 0; }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 1.4rem 0 .6rem; }
.toolbar input, .toolbar select { font: inherit; font-size: .9rem; padding: .45em .8em; border: 1px solid var(--line2); border-radius: 2px; background: var(--card); color: var(--ink); }
.toolbar input { flex: 1 1 240px; max-width: 360px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button, .filter button { font: .84rem var(--sans); border: 1px solid var(--line2); background: transparent; color: var(--ink2); border-radius: 99px; padding: .25em .95em; cursor: pointer; }
.chips button.on, .filter button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.evlist { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px 24px; }
.evlist li[hidden] { display: none; }
.evcard { display: block; text-decoration: none; height: 100%; }
.evcard-img { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #2a2c30, #121316); overflow: hidden; border-radius: 2px; }
.evcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.evcard:hover .evcard-img img { transform: scale(1.04); }
.evcard-cat { position: absolute; left: 10px; top: 10px; font: 600 .74rem var(--sans); color: #fff; background: rgba(0,0,0,.6); padding: .1em .6em; border-radius: 2px; letter-spacing: .1em; }
.evcard-draft { position: absolute; right: 10px; top: 10px; font: 600 .74rem var(--sans); color: #111; background: #f2c14e; padding: .1em .6em; border-radius: 2px; }
.evcard-body { padding: .9rem 0 0; }
.evcard-kicker { margin: 0; font-size: .82rem; color: var(--accent); font-weight: 600; }
.evcard h3 { margin: .25rem 0 .35rem; font-size: 1.32rem; transition: color .2s; }
.evcard:hover h3 { color: var(--accent); }
.evcard-sub { margin: 0 0 .5rem; color: var(--ink2); font-size: .93rem; line-height: 1.7; }
.evcard-meta { margin: 0; display: flex; gap: .9em; flex-wrap: wrap; font-size: .8rem; color: var(--ink3); }
.evcard-meta .dead { color: var(--ink); font-weight: 600; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 5rem; padding-top: 2rem; border-top: 2px solid var(--ink); }
.principles h3 { font-size: 1.05rem; margin: 0 0 .4rem; }
.principles p { margin: 0; font-size: .88rem; color: var(--ink2); line-height: 1.7; }

/* ── event ── */
.ev-hero { position: relative; min-height: min(68vh, 620px); display: flex; align-items: flex-end; background: #16171a; color: #f4f2ec; overflow: hidden; }
.ev-hero.no-cover { min-height: 300px; background: linear-gradient(135deg, #2b2620, #121316); }
.ev-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ev-hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,9,11,.88) 0%, rgba(8,9,11,.45) 45%, rgba(8,9,11,.15) 100%); }
.ev-hero-text { position: relative; padding-bottom: 2.6rem; padding-top: 4rem; width: 100%; }
.ev-hero h1 { font-size: clamp(2rem, 5.2vw, 3.5rem); margin: 0 0 .5rem; max-width: 22em; text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.ev-hero .sub { font: 400 clamp(1.05rem, 2.2vw, 1.3rem)/1.6 var(--serif); color: #e2ded5; margin: 0 0 1rem; max-width: 34em; }
.status-line { margin: 0; font-size: .9rem; color: #d6d2c8; display: flex; align-items: center; gap: .5em; }
.st-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff5a4c; }
.st-resolved { background: #9fd0a9; }
.cover-credit { position: absolute; right: 12px; bottom: 8px; margin: 0; font-size: .7rem; color: rgba(255,255,255,.7); max-width: 60%; text-align: right; }
.cover-credit a { color: inherit; }
.keybar { background: var(--card); border-bottom: 1px solid var(--line); }
.keys { display: grid; grid-template-columns: 1fr 1.6fr 1.2fr 1fr 1.2fr; margin: 0 auto; }
.keys > div { padding: 1.1rem 1.1rem 1rem; border-left: 1px solid var(--line); }
.keys > div:first-child { border-left: 0; padding-left: 0; }
.keys dt { font-size: .72rem; letter-spacing: .15em; color: var(--ink3); margin-bottom: .2rem; }
.keys dd { margin: 0; font-weight: 600; line-height: 1.5; }
.keys dd.dead { color: var(--accent); }
.keys small { display: block; font-weight: 400; color: var(--ink3); font-size: .78rem; margin-top: .2rem; }
.toc { position: sticky; top: var(--top); z-index: 20; background: color-mix(in srgb, var(--bg) 94%, transparent); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.toc-in { display: flex; gap: 1.6em; overflow-x: auto; scrollbar-width: none; }
.toc a { flex: none; text-decoration: none; font-size: .88rem; color: var(--ink3); padding: .8em 0; border-bottom: 2px solid transparent; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--ink); border-bottom-color: var(--accent); }
.story { max-width: 800px; }
.story-body { max-width: 720px; }
.story-body > p { font: 400 1.12rem/2 var(--serif); margin: 0 0 1.3rem; }
.story-body .legend-inline { margin-top: 1.8rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.photo { margin: 0; }
.photo .zoom { all: unset; display: block; cursor: zoom-in; width: 100%; }
.photo img { width: 100%; height: auto; display: block; background: var(--bg2); border-radius: 2px; }
.gallery .photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.photo figcaption { font-size: .86rem; line-height: 1.6; margin-top: .5em; color: var(--ink2); }
.photo .pcredit { display: block; color: var(--ink3); font-size: .78rem; }
.photo.inline { margin: 2rem 0 2.2rem; }
@media (min-width: 1100px) { .photo.inline { margin-left: -60px; margin-right: -60px; } }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
#lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; }
#lightbox::backdrop { background: rgba(0,0,0,.88); }
#lightbox img { max-width: 94vw; max-height: 90vh; display: block; }
.lb-close { position: fixed; top: 12px; right: 18px; font-size: 2rem; color: #fff; background: none; border: 0; cursor: pointer; }

/* map */
.mapsec { position: relative; margin: 2.6rem 0 0; background: var(--map-bg); color: #ecebe6; }
.map { width: 100%; height: min(78vh, 760px); scroll-margin-top: 56px; }
.map-ui { position: absolute; inset: 16px; pointer-events: none; display: flex; justify-content: space-between; align-items: flex-start; }
.map-ui > * { pointer-events: auto; }
.chapters { width: 340px; max-height: 100%; overflow: auto; background: rgba(13, 15, 18, .82); border-color: rgba(255,255,255,.12);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #ecebe6; padding: .9rem; }
.ch-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .4rem; }
.ch-head h2 { margin: 0; font-size: 1.15rem; }
.chapters ol { list-style: none; margin: 0; padding: 0; counter-reset: ch; }
.chapters li button { all: unset; display: block; cursor: pointer; padding: .6rem .7rem; border-radius: 4px; border-left: 3px solid transparent;
  font-size: .85rem; line-height: 1.6; color: #b9b6ae; counter-increment: ch; }
.chapters li button b { display: block; color: #ecebe6; font-size: .95rem; }
.chapters li button b::before { content: counter(ch) "  "; color: #ff4a3d; }
.chapters li button span { display: none; }
.chapters li button .cite { display: none; }
.chapters li button[aria-current] { background: rgba(255,255,255,.07); border-left-color: #ff4a3d; }
.chapters li button[aria-current] span, .chapters li button[aria-current] .cite { display: inline; }
.chapters li button:hover { background: rgba(255,255,255,.05); }
.chapters .ref { filter: saturate(.8); }
.map-legend { list-style: none; margin: 0; padding: .6rem .9rem; background: rgba(13,15,18,.82); border-radius: var(--r); font-size: .82rem; }
.map-legend li { display: flex; align-items: center; gap: .5em; }
.map-legend i, .sw { display: inline-block; width: 22px; height: 4px; border-radius: 2px; background: var(--c); box-shadow: 0 0 6px var(--c); }
.sw { margin-right: .5em; vertical-align: middle; }
.map-legend small { color: #8f8c85; }
.map-credit { position: absolute; right: 8px; bottom: 4px; margin: 0; font-size: .7rem; color: rgba(255,255,255,.75);
  text-shadow: 0 1px 2px #000; max-width: calc(100% - 16px); text-align: right; line-height: 1.4; }
.lbl { font: 500 13px var(--sans); color: #fff; text-shadow: 0 0 3px #000, 0 0 8px #000; white-space: nowrap; pointer-events: none; }
.lbl-lake { color: #bfe6ff; font-style: italic; }
.lbl-peak::before { content: "▲ "; font-size: 9px; color: #fff; }
.lbl-range { letter-spacing: .5em; color: #f2e4c4; font-size: 12px; }
.lbl-place::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #fff; margin-right: 5px; vertical-align: 2px; }
.daymark { font: 700 11px var(--sans); color: #fff; background: #d81b1b; padding: 1px 5px; border-radius: 3px; box-shadow: 0 0 0 1.5px #fff; transition: opacity .3s; }
.pin { font: 600 12px var(--sans); color: #111; background: #ffd23f; padding: 2px 8px; border-radius: 3px; position: relative; box-shadow: 0 2px 6px rgba(0,0,0,.5); }
.pin::after { content: ""; position: absolute; left: 50%; bottom: -6px; margin-left: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: #ffd23f; }
.pin-dot { width: 12px; height: 12px; border-radius: 50%; background: #ffd23f; box-shadow: 0 0 0 3px rgba(255,210,63,.35), 0 0 0 9px rgba(255,210,63,.15); }

.mapsec { margin-top: 3.4rem; }

/* body columns */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.side-col { position: sticky; top: calc(var(--top) + 60px); margin-top: 3.2rem; max-height: calc(100vh - var(--top) - 80px); overflow: auto; }
.side { padding: 0 0 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.side h2 { margin: 0 0 .8rem; font-size: 1.15rem; }
.vid b { font-family: var(--serif); margin-right: .5em; }
.srclist { margin: 0; padding: 0; list-style: none; counter-reset: s; font-size: .88rem; }
.srclist li { margin-bottom: .95rem; padding-left: 1.9em; position: relative; counter-increment: s; line-height: 1.6; }
.srclist li::before { content: counter(s); position: absolute; left: 0; top: .1em; font: 700 .72rem/1.7 var(--sans); width: 1.45em; text-align: center; border: 1px solid var(--line2); border-radius: 50%; color: var(--ink3); }
.src-pub { display: block; font-weight: 600; font-size: .8rem; color: var(--ink); }
.src-pub em { font-style: normal; font-weight: 400; color: var(--warn); }
.srclist a { text-decoration: none; color: var(--ink2); border-bottom: 1px solid var(--line); }
.srclist a:hover { border-color: var(--accent); color: var(--ink); }
.srclist small { display: block; font-size: .76rem; color: var(--ink3); }
.srclist li:target { background: var(--warn-bg); }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7.4em; top: .4em; bottom: .4em; width: 1px; background: var(--line2); }
.timeline li { display: grid; grid-template-columns: 6.6em 1fr; gap: 1.6em; padding: 0 0 1.2rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(7.4em - 5px); top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--bg); }
.timeline li.tl-single_source::before { background: var(--warn); }
.timeline li.tl-conflict::before { background: var(--bad); }
.timeline time { font: 700 .86rem/1.9 var(--sans); color: var(--ink2); text-align: right; }
.timeline p { margin: 0; line-height: 1.8; }
.tl-ref { font: 600 .68rem ui-monospace, Menlo, monospace; color: var(--ink3); text-decoration: none; border-bottom: 1px dotted; margin-left: .3em; }

.lessons { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.lesson { padding: 1.2rem 0 1.4rem; border-top: 2px solid var(--ink); position: relative; }
.lesson-n { font: 700 2.4rem/1 var(--serif); color: var(--accent); display: block; margin-bottom: .4rem; }
.lesson h3 { margin: 0 0 .5rem; font-size: 1.2rem; }
.lesson p { margin: 0; color: var(--ink2); line-height: 1.85; }

.note { font-size: .88rem; color: var(--ink2); }
.filter { display: flex; flex-wrap: wrap; gap: 6px; margin: .8rem 0 1.2rem; }
.factlist { list-style: none; margin: 0; padding: 0; }
.fact { border-left: 3px solid var(--ok); padding: .7rem 1rem .7rem 1rem; margin-bottom: .55rem; background: var(--card); border-radius: 0 var(--r) var(--r) 0; }
.fact.f-single_source { border-color: var(--warn); }
.fact.f-conflict { border-color: var(--bad); }
.fact.f-speculation { border-color: var(--spec); }
.fact:target { box-shadow: 0 0 0 2px var(--accent); }
.fact-h { display: flex; gap: .6em; align-items: center; flex-wrap: wrap; font-size: .8rem; color: var(--ink3); }
.fact-h code { font: 700 .8rem ui-monospace, Menlo, monospace; color: var(--ink2); }
.fact-h time { margin-left: auto; }
.claim { margin: .25rem 0; }
.fnote { margin: .2rem 0; font-size: .84rem; color: var(--ink2); }
.fnote::before { content: "注："; color: var(--ink3); }
.fact details { font-size: .86rem; }
.fact summary { cursor: pointer; color: var(--ink3); }
.fact blockquote { margin: .4rem 0; padding: .3rem .8rem; border-left: 2px solid var(--line); color: var(--ink2); font-family: var(--serif); }
.fact blockquote p { margin: 0; }
.fact blockquote cite { font: normal .78rem var(--sans); color: var(--ink3); }
.fact blockquote cite a { text-decoration: none; border-bottom: 1px dotted; }
.fact[hidden] { display: none; }

.related { margin-top: 2rem; }
.rel-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rel-list a { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; text-decoration: none; }
.rel-list img { width: 120px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; background: var(--bg2); }
.rel-list small { display: block; color: var(--ink3); font-size: .78rem; }
.rel-list b { font: 700 1rem/1.45 var(--serif); }
.rel-list a:hover b { color: var(--accent); }

/* about */
.prose { max-width: 760px; padding-top: 2.6rem; }
.prose h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.prose h2 { margin-top: 2.6rem; }
.prose ul { padding-left: 1.2em; }
.defs { list-style: none; padding: 0; }
.defs li { margin-bottom: .5rem; }
.defs .badge { margin-right: .8em; min-width: 5.2em; text-align: center; }

/* responsive */
@media (max-width: 960px) {
  .cols { grid-template-columns: 1fr; }
  .side-col { position: static; max-height: none; overflow: visible; }
  .keys { grid-template-columns: 1fr 1fr; }
  .keys > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .keys > div:nth-child(-n+2) { border-top: 0; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats div:nth-child(4) { border-left: 0; padding-left: 0; }
  .principles { grid-template-columns: 1fr 1fr; }
  .rel-list { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 720px) {
  .brand small { display: none; }
  .hero-map { height: 64vh; }
  .hero-shade { background: linear-gradient(0deg, rgba(10,11,13,.92) 10%, rgba(10,11,13,.2) 70%); }
  .hero-text { bottom: 1.6rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div { border-left: 0 !important; padding-left: 0 !important; padding: 1rem 0; }
  .stats b { font-size: 1.7rem; }
  .lessons { grid-template-columns: 1fr; }
  .timeline::before { left: 4px; }
  .timeline li { grid-template-columns: 1fr; gap: 0; padding-left: 1.4rem; }
  .timeline li::before { left: 0; }
  .timeline time { text-align: left; }
  .principles { grid-template-columns: 1fr; gap: 18px; }
  .ev-hero { min-height: 72vh; }
  .story-body > p { font-size: 1.06rem; }
  .map { height: 62vh; }
  .map-ui { position: static; display: block; padding: 0 16px 1rem; }
  .chapters { width: auto; background: #15171b; backdrop-filter: none; }
  .chapters li button span { display: inline; }
  .map-legend { margin-top: 10px; }
  .map-credit { position: static; padding: .4rem 16px 1rem; text-align: left; }
  .cover-credit { max-width: 90%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.evcard-kicker { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* satellite covers: the event is at the centre of the crop */
.sat-pin { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; z-index: 1; }
.sat-pin i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 2px #fff, 0 0 14px rgba(255,59,48,.9); }
.sat-pin i::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255,59,48,.7); animation: ping 2.4s ease-out infinite; }
.sat-pin em { position: absolute; left: 14px; top: -11px; font: 600 12px var(--sans); font-style: normal; color: #fff; background: rgba(0,0,0,.6); padding: 1px 7px; border-radius: 2px; white-space: nowrap; }
.ev-hero .sat-pin { top: 50%; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sat-pin i::after { animation: none; } }
.keys dd.safe { color: var(--ok); }

/* about */
.about-head { background: var(--card); border-bottom: 1px solid var(--line); padding: 4rem 0 3rem; }
.about-head h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin: 0 0 1.2rem; }
.lede { font: 400 1.15rem/1.9 var(--serif); color: var(--ink2); max-width: 40em; margin: 0; }
.pipeline ol { list-style: none; margin: 2.6rem auto 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: p; max-width: 1180px; }
.pipeline li { counter-increment: p; padding: 0 1rem 0 0; position: relative; }
.pipeline li::before { content: counter(p); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: var(--bg); font: 700 .9rem var(--sans); margin-bottom: .7rem; }
.pipeline li::after { content: ""; position: absolute; top: 1rem; left: 2.4rem; right: .6rem; height: 1px; background: var(--line2); }
.pipeline li:last-child::after { display: none; }
.pipeline li:last-child::before { background: var(--accent); }
.pipeline b { display: block; font: 700 1.05rem var(--serif); }
.pipeline span { font-size: .86rem; color: var(--ink2); line-height: 1.7; display: block; margin-top: .2rem; }
.prose h2 { display: flex; align-items: baseline; gap: .7em; }
.prose h2 > span { font: 600 .8rem var(--sans); color: var(--accent); letter-spacing: .1em; border-top: 2px solid var(--accent); padding-top: .2em; }
.prose h2[id] { scroll-margin-top: 80px; }
.callout { background: var(--warn-bg); border-left: 3px solid var(--warn); padding: .8rem 1rem; border-radius: 0 var(--r) var(--r) 0; }
@media (max-width: 860px) { .pipeline ol { grid-template-columns: 1fr; gap: 1rem; } .pipeline li { display: grid; grid-template-columns: 2.6rem 1fr; } .pipeline li::before { grid-row: span 2; } .pipeline li::after { display: none; } }
.map-credit { right: 56px; max-width: calc(100% - 72px); }
@media (max-width: 720px) {
  .map-credit { right: auto; max-width: none; }
  /* citation list as a bottom sheet: an absolutely placed box can run off a narrow screen */
  .cn-pop { position: fixed; left: 8px; right: 8px; bottom: 8px; top: auto; transform: none; width: auto; max-height: 60vh; overflow: auto; box-shadow: 0 -6px 30px rgba(0,0,0,.25); }
}

/* ───────── timeline page: one centre line, titles alternate left and right ───────── */
.tlx-head { padding-top: 2.6rem; text-align: center; }
.tlx-head h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); margin: 0 0 .4rem; }
.tlx-head > p.muted { margin: 0 0 1.2rem; font: .92rem var(--sans); }
.tlx-head .chips { justify-content: center; }
.tlx { position: relative; max-width: 960px; padding-top: 2rem; padding-bottom: 4rem; }
.tlx::before { content: ""; position: absolute; left: 50%; top: 2rem; bottom: 4rem; width: 2px; margin-left: -1px; background: var(--line2); }
.tlx-year[hidden], .tlx-item[hidden] { display: none; }
.tlx-y { position: relative; z-index: 1; width: max-content; margin: 1.6rem auto .4rem; padding: .2em .9em; font: 600 1.05rem var(--sans);
  letter-spacing: .06em; color: var(--bg); background: var(--ink); border-radius: 99px; }
.tlx-year:first-child .tlx-y { margin-top: 0; }
.tlx ol { list-style: none; margin: 0; padding: 0; }
.tlx-item { position: relative; width: 50%; padding: .7rem 0; box-sizing: border-box; }
.tlx-item.l { padding-right: 34px; text-align: right; }
.tlx-item.r { margin-left: 50%; padding-left: 34px; }
.tlx-item::before { content: ""; position: absolute; top: 1.35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); box-sizing: border-box; z-index: 1; }
.tlx-item.l::before { right: -6px; }
.tlx-item.r::before { left: -6px; }
.tlx-item::after { content: ""; position: absolute; top: calc(1.35rem + 5px); width: 22px; height: 2px; background: var(--line2); }
.tlx-item.l::after { right: 6px; }
.tlx-item.r::after { left: 6px; }
.tlx-item a { display: inline-block; text-decoration: none; color: var(--ink); max-width: 100%; }
.tlx-item time { display: block; font: 600 .8rem var(--sans); color: var(--accent); }
.tlx-item time span { font-weight: 400; color: var(--ink3); margin: 0 .5em; }
.tlx-item b { display: block; font: 600 1.12rem/1.45 var(--serif); margin-top: .1rem; transition: color .2s; }
.tlx-item a:hover b, .tlx-item a:focus-visible b { color: var(--accent); }
.tlx-item:hover::before { background: var(--accent); }

@media (max-width: 720px) {
  .tlx-head { text-align: left; }
  .tlx-head .chips { justify-content: flex-start; }
  .tlx::before { left: 22px; }
  .tlx-y { margin-left: 0; }
  .tlx-item, .tlx-item.l, .tlx-item.r { width: auto; margin-left: 0; padding: .6rem 0 .6rem 50px; text-align: left; }
  .tlx-item.l::before, .tlx-item.r::before { left: 16px; right: auto; }
  .tlx-item.l::after, .tlx-item.r::after { left: 28px; right: auto; width: 14px; }
}

/* map · scroll-driven chapters: the map stays (sticky) while chapter cards scroll over it */
.scrolly { background: var(--map-bg); }
.scrolly-stage { position: sticky; top: var(--top); height: calc(100vh - var(--top)); height: calc(100svh - var(--top)); overflow: hidden; }
.scrolly .map { height: 100%; scroll-margin-top: 0; }
.scrolly .map-legend { position: absolute; right: 16px; top: 64px; }
.scrolly-dots { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.scrolly-dots li { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.3); transition: background .3s, transform .3s; }
.scrolly-dots li.on { background: #ff4a3d; }
.steps { position: relative; margin-top: calc(-100vh + var(--top)); margin-top: calc(-100svh + var(--top)); padding: 38vh 0 46vh; pointer-events: none; z-index: 2; }
.step { pointer-events: auto; width: min(400px, calc(100% - 32px)); margin: 0 0 72vh max(16px, calc((100% - 1180px) / 2 + 16px));
  background: rgba(13, 15, 18, .86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #e7e5df;
  border: 1px solid rgba(255,255,255,.1); border-left: 3px solid rgba(255,255,255,.18); border-radius: var(--r); padding: 1.1rem 1.25rem 1.2rem;
  opacity: .55; transition: opacity .4s, border-color .4s; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.step.on, .step-intro { opacity: 1; }
.step.on { border-left-color: #ff4a3d; }
.step:last-child { margin-bottom: 0; }
.step-n { font: 700 .78rem var(--sans); letter-spacing: .12em; color: #ff6a5c; }
.step h2 { margin: 0 0 .5rem; font-size: 1.45rem; color: #fff; }
.step h3 { margin: .2rem 0 .45rem; font-size: 1.2rem; color: #fff; }
.step p { margin: 0; font-size: .95rem; line-height: 1.75; }
.step .small { color: #b9b6ae; }
.step .cn-b { vertical-align: 2px; }
.scrolly .map-credit { right: 56px; bottom: 6px; }
@media (max-width: 720px) {
  .scrolly .map-ui, .scrolly .map-legend { display: none; }
  .scrolly-dots { right: 8px; }
  .steps { padding: 55vh 0 40vh; }
  .step { margin-left: 16px; margin-bottom: 80vh; width: calc(100% - 32px); }
  .scrolly .map-credit { position: absolute; left: 8px; right: 48px; bottom: 4px; padding: 0; font-size: .62rem; }
}
@media (prefers-reduced-motion: reduce) { .step { transition: none; } }

/* /map/: world accident map */
.page-map .foot { display: none; }
.wm { position: relative; height: calc(100vh - var(--top)); height: calc(100dvh - var(--top)); background: var(--map-bg); color: #ecebe6; overflow: hidden; }
.wm-map, .wm .wm-map.maplibregl-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.wm-panel { position: absolute; left: 16px; top: 16px; bottom: 16px; width: 340px; display: flex; flex-direction: column;
  background: rgba(13,15,18,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px; z-index: 3; overflow: hidden; }
.wm-grip { display: none; }
.wm-body { padding: 1rem 1rem .4rem; overflow: auto; flex: 1; }
.wm-body h1 { margin: 0 0 .3rem; font-size: 1.5rem; color: #fff; }
.wm-body .muted { color: #9a978f; }
.wm-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: .8rem 0 .2rem; }
.wm-chips button { font: 500 .8rem var(--sans); color: #d8d5ce; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 99px; padding: .2em .8em; cursor: pointer; display: inline-flex; align-items: center; gap: .4em; }
.wm-chips button.on { background: #ecebe6; color: #111; border-color: #ecebe6; }
.wm-chips i, .wm-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); display: inline-block; flex: none; box-shadow: 0 0 0 2px rgba(255,255,255,.25); }
.wm-list { list-style: none; margin: .4rem -.4rem 0; padding: 0; }
.wm-list button { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: .7rem; padding: .55rem .5rem;
  border-radius: 5px; cursor: pointer; }
.wm-list button:hover, .wm-list li.on button { background: rgba(255,255,255,.08); }
.wm-list button:focus-visible { outline: 2px solid #7cc4ff; }
.wm-list span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wm-list b { font: 600 .9rem/1.4 var(--serif); color: #f2f0ea; }
.wm-list small { font-size: .74rem; color: #8f8c85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm-list em { font: 700 .78rem var(--sans); font-style: normal; color: #ff8a7e; background: rgba(255,90,76,.14); border-radius: 99px; padding: 0 .55em; }
.wm-card { position: absolute; right: 16px; bottom: 34px; width: 320px; z-index: 3; background: #111317; border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px; overflow: hidden; box-shadow: 0 16px 50px rgba(0,0,0,.5); }
.wm-card-in { display: block; text-decoration: none; color: inherit; }
.wm-card-in img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.wm-card-in > div { padding: .8rem 1rem 1rem; }
.wm-k { margin: 0; font: 600 .75rem var(--sans); letter-spacing: .06em; color: #ff8a7e; }
.wm-card h2 { margin: .2rem 0 .3rem; font-size: 1.12rem; color: #fff; }
.wm-s { margin: 0 0 .4rem; font-size: .86rem; line-height: 1.6; color: #c9c6be; }
.wm-m { margin: 0 0 .5rem; font-size: .78rem; color: #8f8c85; }
.wm-go { font: 600 .85rem var(--sans); color: #ffb3a8; }
.wm-card-in:hover .wm-go { text-decoration: underline; }
.wm-x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 1.1rem; cursor: pointer; }
.wm-credit { position: absolute; left: 372px; bottom: 4px; margin: 0; font-size: .68rem; color: rgba(255,255,255,.7); text-shadow: 0 1px 2px #000; z-index: 2; }
.wm-tip .maplibregl-popup-content { background: #111317; color: #f2f0ea; font: 500 12.5px var(--sans); padding: 4px 9px; border-radius: 4px; }
.wm-tip .maplibregl-popup-tip { display: none; }
@media (max-width: 760px) {
  .wm-panel { left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 62%; border-radius: 12px 12px 0 0; border-bottom: 0; }
  .wm-panel.closed .wm-body { display: none; }
  .wm-grip { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: .7rem 1rem; background: none; border: 0;
    color: #ecebe6; font: 600 .92rem var(--sans); cursor: pointer; }
  .wm-grip i { width: 34px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.35); }
  .wm-card { left: 12px; right: 12px; width: auto; bottom: 64px; }
  .wm-card-in img { aspect-ratio: 16 / 6; }
  .wm-credit { left: 8px; bottom: 52px; font-size: .6rem; }
  .wm .maplibregl-ctrl-bottom-right { bottom: 52px; }
}

/* /lessons/: safety lessons grouped by theme */
.lesson-theme { display: inline-block; font: 600 .74rem var(--sans); letter-spacing: .04em; color: var(--accent); text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 99px; padding: 0 .7em; margin-bottom: .35rem; }
.lesson-theme:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.lx-head { padding: 3.2rem 0 2rem; border-bottom: 1px solid var(--line); background:
  radial-gradient(1200px 300px at 80% -10%, color-mix(in srgb, var(--accent) 10%, transparent), transparent); }
.lx-head h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin: 0 0 1rem; }
.lx-lead { max-width: 40em; color: var(--ink2); margin: 0 0 1.6rem; }
.lx-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.lx-nav a { text-decoration: none; font: 500 .9rem var(--sans); padding: .35em .95em; border: 1px solid var(--line2); border-radius: 99px; background: var(--card); }
.lx-nav a:hover { border-color: var(--ink); }
.lx-nav small { color: var(--ink3); margin-left: .45em; }
.lx { padding-bottom: 3rem; }
.lx-sec { padding: 2.6rem 0 1rem; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--top) + 12px); }
.lx-sec-h { display: flex; gap: 1.1rem; align-items: flex-start; margin-bottom: 1.4rem; }
.lx-n { font: 700 2.6rem/1 var(--serif); color: var(--accent); }
.lx-sec-h h2 { margin: .1rem 0 .2rem; font-size: 1.55rem; }
.lx-sec-h p { margin: 0; color: var(--ink3); }
.lx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.lx-card { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: var(--r); padding: 1.1rem 1.2rem 1rem;
  display: flex; flex-direction: column; gap: .5rem; }
.lx-card h3 { margin: 0; font-size: 1.12rem; }
.lx-card p { margin: 0; color: var(--ink2); line-height: 1.85; flex: 1; }
.lx-src { display: flex; gap: .7rem; align-items: center; text-decoration: none; margin-top: .4rem; padding-top: .7rem; border-top: 1px dashed var(--line2); }
.lx-src img { width: 64px; height: 42px; object-fit: cover; border-radius: 3px; flex: none; }
.lx-src span { display: flex; flex-direction: column; min-width: 0; }
.lx-src small { color: var(--ink3); font-size: .75rem; }
.lx-src b { font: 600 .88rem/1.4 var(--serif); }
.lx-src:hover b { color: var(--accent); }
.lx-foot { margin-top: 2rem; max-width: 52em; }
@media (max-width: 720px) { .lx-grid { grid-template-columns: 1fr; } .lx-n { font-size: 2rem; } }

/* sharing */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 1.6rem 0 .4rem; padding: .8rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share-t { font: 600 .85rem var(--sans); color: var(--ink3); margin-right: .4rem; }
.share-b { font: 500 .85rem var(--sans); color: var(--ink); background: var(--card); border: 1px solid var(--line2); border-radius: 99px; padding: .3em 1em;
  cursor: pointer; text-decoration: none; }
.share-b:hover { border-color: var(--ink); }
.flink { text-decoration: none; color: inherit; }
.flink:hover code { color: var(--accent); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 10px); background: var(--ink); color: var(--bg); padding: .55em 1.1em;
  border-radius: 6px; font-size: .9rem; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; z-index: 100; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* header nav on phones: one scrollable row instead of wrapped words */
.top nav a { white-space: nowrap; }
@media (max-width: 720px) {
  .top-in { gap: 10px; }
  .brand { flex: none; }
  .top nav { min-width: 0; overflow-x: auto; scrollbar-width: none; gap: 1em; font-size: .86rem;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 14px; }
  .top nav::-webkit-scrollbar { display: none; }
}
.hero-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.btn.ghost { background: rgba(255,255,255,.08); color: #f2f0ea; box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
.btn.ghost:hover { background: rgba(255,255,255,.16); }

/* ── /places/: continent → country → region ── */
.pl-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; margin-bottom: 1rem; }
.pl-h h2 { margin: 0; font-size: 1.6rem; }
.pl-h span { color: var(--ink3); font-size: .92rem; }
.pl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1.6rem; }
.pl-chips a { text-decoration: none; font: 500 .85rem var(--sans); padding: .25em .8em; border: 1px solid var(--line2); border-radius: 99px; background: var(--card); }
.pl-chips a:hover { border-color: var(--ink); }
.pl-chips small, .pl-country h3 small, .pl-region h4 small { color: var(--ink3); margin-left: .4em; font-weight: 400; }
.pl-country { padding: 1.2rem 0 1.4rem; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--top) + 12px); }
.pl-country h3 { margin: 0 0 .8rem; font-size: 1.25rem; }
.pl-regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.pl-region { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: .9rem 1rem .6rem; scroll-margin-top: calc(var(--top) + 12px); }
.pl-region:target { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent); }
.pl-region h4 { margin: 0 0 .5rem; font: 600 1rem var(--sans); }
.pl-evs { list-style: none; margin: 0; padding: 0; }
.pl-evs li + li { border-top: 1px dashed var(--line); }
.pl-evs a { display: grid; grid-template-columns: 3.2em minmax(0, 1fr); column-gap: .6em; padding: .45rem 0; text-decoration: none; line-height: 1.45; }
.pl-evs time { font: 600 .82rem var(--sans); color: var(--accent); padding-top: .12em; grid-row: span 2; }
.pl-evs b { font-weight: 600; font-size: .95rem; }
.pl-evs a:hover b { color: var(--accent); }
.pl-evs small { color: var(--ink3); font-size: .8rem; }
.placeline { display: block; font-size: .85rem; margin-top: .15rem; }
.placeline a { color: var(--accent); text-decoration: none; }
.placeline a:hover { text-decoration: underline; }
.wm-place { display: flex; align-items: center; gap: .5em; font-size: .85rem; color: #a9a59c; margin: .6rem 0 0; }
.wm-place select { flex: 1; font: inherit; color: #ecebe6; background: #1e2026; border: 1px solid rgba(255,255,255,.18); border-radius: 6px; padding: .25em .5em; }
