/* Scenarios write-up: static article, same dark calm style as the map. */
@font-face { font-family: "Geist"; src: url(vendor/fonts/Geist-Regular.ttf) format("truetype"); font-weight: 400; }
@font-face { font-family: "Geist"; src: url(vendor/fonts/Geist-Medium.ttf) format("truetype"); font-weight: 500 700; }
@font-face { font-family: "Geist Mono"; src: url(vendor/fonts/GeistMono-Regular.otf) format("opentype"); }
:root { --bg: #0E0F11; --bg1: #131416; --line: #1F2125; --line2: #2B2E33; --text: #E6E4DF; --text2: #8A8E96; --text3: #5D6168; --gold: #C8B68A; --cold: #5B9BD5; --hot: #EE7A3F;
  --font: "Geist", system-ui, sans-serif; --mono: "Geist Mono", ui-monospace, monospace; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; }
a { color: var(--gold); text-decoration: none; } a:hover { text-decoration: underline; }
nav, footer, article { max-width: 720px; margin: 0 auto; padding: 0 20px; }
nav { padding-top: calc(18px + env(safe-area-inset-top)); }
nav a { color: var(--text2); font-size: 14px; display: inline-flex; align-items: center; min-height: 44px; }
.kicker { color: var(--text3); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; margin: 28px 0 6px; }
h1 { font-size: 36px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 14px; }
.lede { font-size: 19px; color: var(--text); margin: 0 0 24px; }
h2 { font-size: 21px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; margin: 44px 0 10px; padding-top: 20px; border-top: 1px solid var(--line); }
p, li { color: #C9C7C2; }
p { margin: 0 0 14px; }
ul { padding-left: 20px; margin: 0 0 14px; } li { margin: 6px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 8px; }
.stats div { background: var(--bg1); border: 1px solid var(--line2); border-radius: 6px; padding: 12px; }
.stats b { display: block; font-family: var(--mono); font-weight: 400; font-size: 21px; color: var(--cold); }
.stats span { font-size: 12.5px; color: var(--text2); line-height: 1.35; display: block; margin-top: 2px; }
.stats div:nth-child(2) b { color: var(--text); }
figure { margin: 18px 0 20px; background: var(--bg1); border: 1px solid var(--line2); border-radius: 6px; padding: 14px 14px 10px; }
figure svg { width: 100%; height: auto; display: block; }
figure text { fill: var(--text3); font-family: var(--mono); font-size: 10px; }
figcaption { color: var(--text2); font-size: 13px; margin-top: 8px; line-height: 1.5; }
.k { display: inline-block; width: 14px; height: 2px; background: var(--c); vertical-align: middle; margin-right: 5px; }
.k.sq { width: 10px; height: 10px; border-radius: 2px; vertical-align: -1px; }
.k.dash { background: repeating-linear-gradient(90deg, var(--c) 0 4px, transparent 4px 7px); }
.tw { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line2); border-radius: 6px; background: var(--bg1); }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th { color: var(--text3); font-weight: 400; font-size: 12px; text-align: right; padding: 10px 8px 6px; line-height: 1.3; vertical-align: bottom; }
td { padding: 9px 8px; border-top: 1px solid var(--line); text-align: right; font-family: var(--mono); font-size: 13.5px; white-space: nowrap; }
th:first-child, td:first-child { text-align: left; font-family: var(--font); white-space: normal; }
tr.us td { color: var(--text); font-weight: 500; }
td.neg { color: var(--cold); } td.pos { color: var(--hot); }
pre { background: var(--bg1); border: 1px solid var(--line2); border-radius: 6px; padding: 12px 14px; overflow-x: auto; font-family: var(--mono); font-size: 12.5px; color: var(--text); }
.src li { font-size: 14px; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--text3); font-size: 13px; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 14px; padding-bottom: calc(36px + env(safe-area-inset-bottom)); }
footer a { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 640px) {
  body { font-size: 16px; }
  nav, footer, article { padding: 0 16px; }
  h1 { font-size: 29px; }
  .lede { font-size: 17.5px; }
  h2 { font-size: 19px; margin-top: 36px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats b { font-size: 19px; }
  figure { padding: 10px 8px 8px; margin-left: -4px; margin-right: -4px; }
  figure text { font-size: 15px; }
  table { font-size: 13px; } td { padding: 9px 7px; font-size: 12.5px; } th { padding: 8px 7px 5px; }
  .opt { display: none; }
  td:first-child + td { white-space: normal; }
}
figure.map { padding: 8px; }
figure.map img { width: 100%; height: auto; display: block; border-radius: 4px; }
.scale { display: inline-flex; align-items: center; gap: 3px; margin: 2px 10px 4px 0; font-size: 12px; color: var(--text2); }
.scale span:first-child { margin-right: 4px; } .scale span:last-child { margin-left: 4px; }
.sw { display: inline-block; width: 22px; height: 10px; background: var(--c); border-radius: 2px; }
tr.sep td { color: var(--text3); font-family: var(--font); font-size: 12px; padding-top: 12px; border-top: 1px solid var(--line2); }
