/* Hallmark · shape: app screen · genre: modern-minimal · theme: custom, 极淡底图 + 地块点亮 (ref 09 light basemap, lit parcels) · redesign: structural, a real faint basemap (water, roads, relief, neighbours) with the apartment cities lit as their own parcels; 4/ logic kept
 * nav: kept (map, ticker) · signature: the cities glow amber on a near-white map, the featured one glows solid · states: hover, active, focus, disabled, pressed, empty search
 * axes: light/grotesk-sans/single-accent · posture: restrained · contrast: pass · v2.3.0 (7f: 7e-glass + faint DEM hillshade + GSAP-driven motion) */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: H, on purpose: the basemap carries detail, so the chrome is three quiet type blocks and one label */
/* Hallmark · waive 39b · button.tk__i is one 城市 cell of the 各城市公寓数 ticker strip, not a standalone control · each cell is the strip height (64 to 84px) each cell names a California city and its apartment count, so older readers can tap it */
@font-face { font-family: "Hanken Grotesk"; src: url("_shared/fonts/hanken-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #F2F2EF;
  --ink: #15171A;
  --ink2: #474B51;
  --ink3: #5C6168;
  /* the legend sits straight on the map, so its text is a step darker than the panels' */
  --ink-lg: #3B3F45;
  --ink-lg3: #4E5359;
  --rule: #E2E2DE;
  --rule-2: #D3D4D0;
  --line: rgba(21, 23, 26, .1);
  --hot: #C2410C;
  --veil: rgba(242, 242, 239, .96);
  --veil-0: rgba(242, 242, 239, 0);
  --lit-1: #FCE8C8;
  --lit-2: #FBDDAF;
  --lit-3: #F9D293;
  --lit-4: #F8C575;
  --lit-5: #F6B855;
  --lit-ink: #9A4F00;
  --ctl: #FDFDFC;
  --paper: #FDFDFC;
  --hover: #F1F1EE;
  --press: #E9E9E6;
  --ctl-off: #ECECEA;
  --halo: rgba(253, 253, 252, .96);
  --shadow: 0 1px 2px rgba(21, 23, 26, .05), 0 8px 24px -12px rgba(21, 23, 26, .22);
  --f-num: "Hanken Grotesk", "PingFang SC", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --f-cn: "PingFang SC", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei", "Hanken Grotesk", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --g: 32px;
  --r: 14px;
  --r-s: 8px;
  --ctl-s: 52px;
  --tk-h: 76px;
  --ring: rgba(168, 76, 10, .5);
  --glass: rgba(253, 253, 252, .58);
  --glass-solid: rgba(253, 253, 252, .78);
  --glass-edge: rgba(255, 255, 255, .7);
  --glass-edge-2: rgba(255, 255, 255, .28);
  --glass-rim: rgba(21, 23, 26, .08);
  --glass-shadow: 0 1px 2px rgba(21, 23, 26, .06), 0 12px 32px -14px rgba(21, 23, 26, .3);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; overflow-x: clip; }
body { overflow: hidden; display: grid; grid-template-rows: minmax(0, 1fr) var(--tk-h); height: 100dvh; background: var(--bg); color: var(--ink); font-family: var(--f-cn); font-size: 18px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
p, dl, dd, ol { margin: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.num { font-family: var(--f-num); font-variant-numeric: tabular-nums lining-nums; }
.en { font-family: var(--f-num); }
[hidden] { display: none !important; }
.nojs { position: fixed; inset: 0; display: grid; place-items: center; padding: 32px; background: var(--bg); font-size: 22px; }

.stage { position: relative; overflow: hidden; }
/* a clean fade under the header; the map's own text under it is hidden in app.js */
.stage::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 176px; z-index: 4; pointer-events: none; background: linear-gradient(var(--veil) 0, var(--veil) 62%, var(--veil-0)); }
#map { position: absolute; inset: 0; }
/* the few MapLibre rules this page needs (the vendor stylesheet is not loaded) */
.maplibregl-map { overflow: hidden; -webkit-tap-highlight-color: transparent; }
.maplibregl-canvas { position: absolute; left: 0; top: 0; }
.maplibregl-canvas-container.maplibregl-interactive { cursor: grab; }
.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan, .maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan .maplibregl-canvas { touch-action: none; }
.maplibregl-marker { position: absolute; left: 0; top: 0; will-change: transform; }

/* the featured city's label: no box, a soft paper halo; Chinese, English one step down, then the count and county */
.mlab { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; display: grid; gap: 4px; opacity: 0; white-space: nowrap; text-shadow: 0 0 2px var(--halo), 0 0 6px var(--halo), 0 0 14px var(--halo), 0 0 24px var(--halo); }
/* the header and controls wait for app.js to bring them in (it shows them at once under reduced motion) */
/* M05: only until app.js is running; if it never runs (no WebGL, a script failed) they show once the page has loaded */
html.pre .stats, html.pre .ctl-grp, html.pre .ctl--play { visibility: hidden; }
/* the card's fade in/out, the tooltip, the ring and the ticker hover are run by GSAP in app.js */
.mlab b { display: flex; align-items: center; gap: 8px; font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: .02em; }
.mlab b .ic { width: 24px; height: 24px; }
.mlab__en { font-size: 24px; font-weight: 500; line-height: 1.15; color: var(--ink2); }
.mlab__n { display: flex; align-items: baseline; margin-top: 4px; font-size: 20px; color: var(--ink2); }
.mlab__n .num { font-size: 28px; font-weight: 700; color: var(--lit-ink); margin-right: 4px; font-variant-numeric: tabular-nums lining-nums; }
.mlab__cty { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--rule-2); }
.mlab[data-pos="l"] { justify-items: end; text-align: right; }
.mlab[data-pos="l"] .mlab__n, .mlab[data-pos="l"] b { justify-content: flex-end; }
.mlab[data-pos="t"], .mlab[data-pos="b"] { justify-items: center; text-align: center; }

/* hot / new: one icon style everywhere, on the map as a small paper disc */
.pin { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); pointer-events: none; }
.pin .ic { width: 18px; height: 18px; }
/* rolling numbers hold their final width (set in app.js) and grow from the right, so the unit beside them never moves */
.mlab__n .num, .stats .num { display: inline-block; text-align: right; }
/* the breathing ring: one thin muted-orange circle that grows and fades every 3 s */
.ring { width: 0; height: 0; pointer-events: none; }
.ring i { position: absolute; left: -130px; top: -130px; width: 260px; height: 260px; border-radius: 50%; border: 1.5px solid var(--ring); }
.pin.is-cur, .pin.is-hid { visibility: hidden; }
.flag { display: inline-grid; place-items: center; font-style: normal; }
.ic { width: 18px; height: 18px; display: block; }
.ic--hot { fill: var(--hot); }
.ic--new { fill: var(--ink); }

.tip { position: absolute; left: 0; top: 0; z-index: 8; pointer-events: none; display: grid; grid-template-columns: auto auto; column-gap: 12px; align-items: baseline; padding: 8px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-s); box-shadow: var(--shadow); opacity: 0; }
.tip b { font-size: 20px; }
.tip .num { font-size: 20px; font-weight: 700; color: var(--lit-ink); }
.tip small { grid-column: 1 / -1; font-size: 18px; color: var(--ink2); font-family: var(--f-num); }

/* header: brand, then the totals, shown once, divided by hairlines */
.hd, .find, .ctrls, .legend, .mapnote { position: absolute; z-index: 5; }
.hd { left: var(--g); top: 28px; display: grid; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; display: block; }
.brand h1 { text-wrap: balance; margin: 0; font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: .04em; }
.brand .en { font-size: 18px; color: var(--ink2); letter-spacing: .01em; }
.stats { display: flex; align-items: flex-end; }
.stats > div { padding: 0 28px; border-left: 1px solid var(--rule-2); }
.stats > div:first-child { padding-left: 0; border-left: 0; }
.stats dd { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.stats .num { font-size: 48px; font-weight: 700; line-height: .92; letter-spacing: -.02em; font-variant-numeric: tabular-nums lining-nums; }
.stats .u { font-size: 18px; color: var(--ink2); font-weight: 500; letter-spacing: .04em; }

/* search: same height, radius and hairline as the controls */
.find { right: var(--g); top: 28px; }
.find__open { display: flex; align-items: center; gap: 8px; height: var(--ctl-s); padding: 0 20px 0 16px; border-radius: var(--r); background: var(--ctl); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 19px; font-weight: 600; }
.find__open svg, .search svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.find__open:hover { background: var(--hover); }
.find__open:active { background: var(--press); }
.find__box { display: none; width: 420px; }
.find.open .find__open { display: none; }
.find.open .find__box { display: block; }
.search { display: flex; align-items: center; gap: 8px; height: var(--ctl-s); padding: 0 4px 0 16px; border-radius: var(--r); background: var(--ctl); border: 1px solid var(--line); box-shadow: var(--shadow); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 20px; }
.search input::placeholder { color: var(--ink3); }
.search input::-webkit-search-cancel-button { display: none; }
.find__x { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-s); }
.find__x svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.find__x:hover { background: var(--hover); }
.sug { list-style: none; margin: 8px 0 0; padding: 4px; background: var(--ctl); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.sug li + li button { border-top: 1px solid var(--rule); }
.sug li + li button[aria-selected="true"], .sug li + li button:hover, .sug li:has(+ li button[aria-selected="true"]) button { border-top-color: transparent; }
.sug button { width: 100%; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: var(--r-s); text-align: left; }
.sug button[aria-selected="true"], .sug button:hover { background: var(--hover); }
.sug .s1 { display: grid; }
.sug b { display: inline-flex; align-items: center; gap: 4px; font-size: 21px; }
.sug .s1 .en { font-size: 18px; color: var(--ink2); }
.sug .s2 { font-size: 18px; color: var(--ink2); white-space: nowrap; }
.sug .s2 .num { font-size: 21px; font-weight: 700; color: var(--lit-ink); }
.sug__none { padding: 12px; font-size: 18px; color: var(--ink2); }

/* controls: zoom in, out and reset as one hairline-divided column; pause on its own */
.ctrls { right: var(--g); bottom: 32px; display: grid; gap: 12px; }
.ctl-grp { display: grid; border-radius: var(--r); background: var(--ctl); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.ctl-grp .ctl + .ctl { border-top: 1px solid var(--rule); }
.ctl { width: var(--ctl-s); height: var(--ctl-s); display: grid; place-items: center; background: var(--ctl); color: var(--ink); transition: background-color .15s ease; }
.ctl-grp .ctl { width: calc(var(--ctl-s) - 2px); }
.ctl svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ctl:hover { background: var(--hover); }
.ctl:active { background: var(--press); }
.ctl:disabled { background: var(--ctl-off); color: var(--ink3); cursor: not-allowed; }
.ctl--play { border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ctl--play .i-play { display: none; fill: currentColor; stroke: none; }
.ctl--play[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ctl--play[aria-pressed="true"] .i-play { display: block; }
.ctl--play[aria-pressed="true"] .i-pause { display: none; }

/* legend: the five count steps, the two marks, then the map credit */
.legend { left: var(--g); bottom: 20px; display: grid; gap: 8px; font-size: 18px; color: var(--ink-lg); text-shadow: 0 0 3px var(--bg), 0 0 10px var(--bg); }
.legend__t { color: var(--ink); font-weight: 600; }
.scale { display: flex; list-style: none; padding: 0; }
.scale li { display: grid; gap: 4px; width: 48px; }
.scale .num { font-size: 18px; line-height: 1; color: var(--ink-lg); }
.sw { display: block; height: 12px; border-right: 2px solid var(--bg); }
.scale li:first-child .sw { border-radius: 3px 0 0 3px; }
.scale li:last-child .sw { border-radius: 0 3px 3px 0; border-right: 0; }
.sw--1 { background: var(--lit-1); } .sw--2 { background: var(--lit-2); } .sw--3 { background: var(--lit-3); } .sw--4 { background: var(--lit-4); } .sw--5 { background: var(--lit-5); }
.legend__f { display: flex; gap: 20px; margin-top: 4px; }
.legend__f > span { display: inline-flex; align-items: center; gap: 8px; }
.attrib { margin-top: 4px; font-size: 13px; line-height: 1.3; color: var(--ink-lg3); white-space: nowrap; }
.attrib a { color: inherit; text-decoration: none; }
.attrib a + a { margin-left: 4px; }
.attrib a:hover { text-decoration: underline; }
.attrib a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.attrib__off { display: none; }
.offline .attrib__off { display: inline; }
.mapnote { left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 12px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); font-size: 20px; }

/* ticker */
.tk { position: relative; z-index: 6; border-top: 1px solid var(--rule); background: var(--paper); overflow: hidden; }
.tk__vp { height: 100%; overflow: hidden; touch-action: pan-y; cursor: grab; }
.tk__track { display: flex; height: 100%; width: max-content; will-change: transform; }
.tk__i { display: flex; align-items: center; gap: 12px; height: 100%; padding: 0 28px; border-right: 1px solid var(--rule); white-space: nowrap; transition: background-color .15s ease; }
.tk__i:hover { background: var(--hover); }
.tk__i:active { background: var(--press); }
.tk__zh { display: inline-flex; align-items: center; gap: 4px; font-size: 23px; font-weight: 700; }
.tk__en { font-size: 18px; color: var(--ink2); }
.tk__n { font-size: 18px; color: var(--ink2); }
.tk__n .num { font-size: 23px; font-weight: 700; color: var(--lit-ink); font-variant-numeric: tabular-nums lining-nums; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.find__open:focus-visible, .ctl:focus-visible, .find__x:focus-visible, .sug button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.search:focus-within { border-color: var(--ink3); box-shadow: 0 0 0 2px var(--ink), var(--shadow); }
.search input:focus-visible { outline: 0; }
.ctl-grp .ctl:focus-visible, .tk__i:focus-visible { outline: 3px solid var(--ink); outline-offset: -4px; }

@media (min-width: 1700px) {
  .stage::before { height: 210px; }
  :root { --g: 48px; --tk-h: 84px; --ctl-s: 60px; --r: 16px; }
  .hd { top: 36px; gap: 24px; } .find { top: 36px; }
  .brand h1 { font-size: 28px; } .brand .en { font-size: 20px; } .brand img { width: 48px; height: 48px; }
  .stats .num { font-size: 60px; } .stats .u { font-size: 22px; } .stats > div { padding: 0 32px; }
  .find__open { font-size: 21px; }
  .mlab b { font-size: 48px; } .mlab b .ic { width: 28px; height: 28px; } .mlab__en { font-size: 28px; } .mlab__n { font-size: 22px; } .mlab__n .num { font-size: 34px; }
  .legend { font-size: 20px; bottom: 24px; } .scale li { width: 56px; } .scale .num { font-size: 20px; } .sw { height: 14px; } .attrib { font-size: 14px; }
  .ctrls { bottom: 40px; }
  .tk__zh { font-size: 26px; } .tk__n .num { font-size: 26px; font-variant-numeric: tabular-nums lining-nums; } .tk__en, .tk__n { font-size: 20px; } .tk__i .ic { width: 20px; height: 20px; }
}
@media (max-height: 700px) and (min-width: 760px) {
  .stage::before { height: 150px; }
  .hd { top: 20px; gap: 16px; } .find { top: 20px; }
  .stats .num { font-size: 40px; }
  .legend { gap: 4px; bottom: 16px; } .legend__f { margin-top: 0; }
  .ctrls { bottom: 20px; gap: 8px; } :root { --ctl-s: 48px; }
}
@media (max-width: 759px) {
  :root { --g: 16px; --tk-h: 66px; --ctl-s: 48px; --r: 12px; }
  .stage::before { height: 156px; background: linear-gradient(var(--bg) 0, var(--bg) 62%, var(--veil-0)); }
  .hd { top: 16px; gap: 12px; }
  .brand { gap: 8px; } .brand img { width: 32px; height: 32px; } .brand h1 { font-size: 20px; } .brand .en { font-size: 15px; }
  .stats > div { padding: 0 16px; } .stats .num { font-size: 30px; } .stats .u { font-size: 15px; } .stats dd { gap: 4px; }
  .find { top: 16px; }
  .find__open { width: 48px; padding: 0; justify-content: center; } .find__open span { display: none; }
  .find.open { left: var(--g); } .find__box { width: auto; }
  .ctrls { bottom: 16px; gap: 8px; }
  .legend { bottom: 12px; right: 76px; gap: 4px; font-size: 15px; }
  .legend__t { font-size: 15px; }
  .scale li { width: 36px; } .scale .num { font-size: 13px; } .sw { height: 10px; }
  .legend__f { margin-top: 2px; }
  .attrib { font-size: 11px; margin-top: 2px; white-space: normal; }
  .mlab b { font-size: 30px; } .mlab b .ic { width: 20px; height: 20px; } .mlab__en { font-size: 18px; } .mlab__n { font-size: 16px; margin-top: 2px; } .mlab__n .num { font-size: 22px; } .mlab__cty { margin-left: 8px; padding-left: 8px; }
  .pin { width: 28px; height: 28px; } .pin .ic { width: 16px; height: 16px; }
  .ring i { left: -90px; top: -90px; width: 180px; height: 180px; }
  .tk__i { padding: 0 20px; gap: 8px; } .tk__zh { font-size: 20px; } .tk__n .num { font-size: 20px; font-variant-numeric: tabular-nums lining-nums; } .tk__en, .tk__n { font-size: 15px; } .tk__i .ic { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ctl, .tk__i { transition: none; }
  .ring { display: none; }
}

/* 7e-glass: liquid glass on three surfaces only (totals, city card, map buttons).
   Everywhere: a frosted panel (blur + light tint) with a thin specular rim, so text stays dark-on-light.
   Chromium only: app.js adds .lg-on and points each panel at its own SVG displacement map, which bends the map at the rim. */
.stats, .mlab, .ctl-grp, .ctl--play { --gl-r: var(--r); background: var(--glass-solid); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); border: 1px solid var(--glass-rim); box-shadow: inset 1px 1px 0 var(--glass-edge), inset -1px -1px 0 var(--glass-edge-2), var(--glass-shadow); }
.stats { padding: 16px 24px; border-radius: var(--r); }
.mlab { padding: 16px 20px; border-radius: var(--r); text-shadow: none; }
.ctl-grp .ctl, .ctl--play { background: transparent; }
.ctl-grp .ctl:hover, .ctl--play:hover { background: var(--glass-edge-2); }
.ctl--play[aria-pressed="true"] { background: var(--ink); }
html.lg-on .stats, html.lg-on .mlab, html.lg-on .ctl-grp, html.lg-on .ctl--play { background: var(--glass); }
@media (max-width: 600px) {
  .stats { padding: 12px 16px; border-radius: var(--r-s); }
  .mlab { padding: 12px 16px; border-radius: var(--r-s); }
}
/* people who ask for less transparency get the plain 7e panels back */
@media (prefers-reduced-transparency: reduce) {
  .stats, .mlab, .ctl-grp, .ctl--play, html.lg-on .stats, html.lg-on .mlab, html.lg-on .ctl-grp, html.lg-on .ctl--play { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.ctl--play[aria-pressed="true"], html.lg-on .ctl--play[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
@media (max-width: 600px) {
  .stats { padding: 8px 12px; }
  .stats > div { padding: 0 12px; }
}
/* M11: narrow phones (iPhone 375/390 and smaller): the totals fit inside the screen with the usual 16px margin */
@media (max-width: 420px) {
  .stats { padding: 8px 12px; }
  .stats > div { padding: 0 8px; }
  .stats .num { font-size: 28px; }
  .stats .u { font-size: 14px; letter-spacing: .02em; }
  .stats dd { gap: 4px; }
}
@media (max-width: 350px) {
  .stats > div { padding: 0 4px; }
  .stats .num { font-size: 23px; }
  .stats .u { font-size: 13px; letter-spacing: 0; }
}

/* 7h: no WebGL - the title and totals stay, the map area says plainly why it is empty */
#nogl { position: absolute; z-index: 5; left: 50%; top: 54%; transform: translate(-50%, -50%); width: min(88vw, 560px); margin: 0; text-align: center; font-size: 32px; line-height: 1.5; font-weight: 600; color: var(--ink); }
html.no-gl body { grid-template-rows: minmax(0, 1fr); }
html.no-gl .find, html.no-gl .ctrls, html.no-gl .legend, html.no-gl .mlab, html.no-gl .tip { display: none; }
@media (max-width: 760px) { #nogl { font-size: 24px; } }

/* ---- 7i: text atlas below the full-screen map (crawlers, screen readers, small screens) ----
   The map + ticker keep their exact 100dvh grid; the list sits just past the fold so a display never shows it. */
body { position: relative; overflow: visible; }
/* no scrollbar gutter, so a desktop with classic scrollbars keeps the map at full width; wheel/keys/skip link still scroll */
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
.nojs { position: absolute; }
.skip { position: absolute; left: 16px; top: 16px; z-index: 50; padding: 12px 18px; background: var(--ink); color: var(--paper); font-size: 18px; border-radius: var(--r-s); text-decoration: none; transform: translateY(-200%); }
.skip:focus, .skip:focus-visible { transform: none; outline: 3px solid var(--lit-ink); outline-offset: 2px; }
.atlas { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--rule); color: var(--ink); }
.atlas:focus, .stage:focus { outline: 0; }
.atlas__in { max-width: 1120px; margin: 0 auto; padding: 56px var(--g) 64px; }
.atlas h2 { margin: 0 0 12px; font-size: 32px; font-weight: 600; line-height: 1.25; }
.atlas__lead { margin: 0 0 24px; font-size: 20px; color: var(--ink2); line-height: 1.6; }
.atlas__note { margin: 0 0 32px; font-size: 18px; color: var(--ink3); }
.at-county { padding: 24px 0; border-top: 1px solid var(--rule); }
.at-county h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 12px; font-size: 22px; font-weight: 600; }
.at-county h3 .at-en { font-family: var(--f-num); font-size: 18px; font-weight: 500; color: var(--ink2); }
.at-county h3 .at-sum { margin-left: auto; font-size: 18px; font-weight: 500; color: var(--ink2); }
.at-county h3 .at-sum .num { color: var(--lit-ink); font-weight: 600; }
.at-county ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); column-gap: 32px; }
.at-county li { display: flex; align-items: baseline; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 18px; line-height: 1.4; }
.at-county li .at-en { flex: 1; min-width: 0; font-family: var(--f-num); color: var(--ink2); overflow-wrap: anywhere; }
.at-county li .at-n { white-space: nowrap; color: var(--ink2); }
.at-county li .at-n .num { color: var(--ink); font-weight: 600; }
.atlas__back { margin: 32px 0 0; font-size: 18px; }
.atlas__back a { color: var(--lit-ink); }
@media (max-width: 640px) {
  .atlas__in { padding: 40px 20px 48px; }
  .atlas h2 { font-size: 26px; }
  .at-county h3 .at-sum { margin-left: 0; width: 100%; }
}
