:root {
  color-scheme: dark;
  --ink: #f1f2f6; --muted: #b0b4c4; --accent: #b5abff; --accent-hover: #d0c8ff;
  --paper: #101115; --surface: #191b22; --masthead: #15171d; --control: #242630;
  --selected: #29263b; --line: #343745; --quiet: #858ba1; --shadow: 0 12px 40px #0003;
  --serif: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font: 100%/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--paper); color: var(--ink);
}
:root[data-theme="light"] {
  color-scheme: light; --ink: #202332; --muted: #555d72; --accent: #6245a5; --accent-hover: #50358f;
  --paper: #f5f6fa; --surface: #fff; --masthead: #fff; --control: #eeeef6;
  --selected: #ede8fa; --line: #cfd3df; --quiet: #647087; --shadow: 0 12px 40px #2620420d;
}
* { box-sizing: border-box }
body { margin: 0 }
a { color: var(--accent); text-underline-offset: .2em }
button, input, select { font: inherit }
button, summary { cursor: pointer }
button { touch-action: manipulation }
[hidden] { display: none !important }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
.frame { width: min(1360px, 94%); margin-inline: auto }
.skip { position: absolute; top: -5rem; left: 1rem; padding: .7rem; z-index: 20; background: var(--surface) }
.skip:focus { top: 0 }
.masthead { background: var(--masthead); border-bottom: 1px solid var(--line) }
.masthead-inner, .site-foot .frame, .section-head, .map-heading { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem }
.masthead-inner { min-height: 76px }
.wordmark { color: var(--ink); display: inline-flex; align-items: center; text-decoration: none; font-size: 1.6rem; font-weight: 750; letter-spacing: -.055em; line-height: 1; flex-shrink: 0 }
.wordmark-tail { color: var(--accent) }
.globe { position: relative; display: block; width: 1.3em; height: 1.3em; margin-right: .4em; border: 2px solid var(--accent); border-radius: 50%; transform: rotate(-24deg) }
.globe::before, .globe::after { content: ""; position: absolute; inset: -2px 20%; border: 2px solid var(--accent); border-radius: 50% }
.globe::after { inset: 42% 0 auto; height: 1px; background: var(--accent); border: 0 }
.site-nav { display: flex; align-items: stretch; gap: clamp(.8rem, 2vw, 2rem); margin-left: auto }
.site-nav a { color: var(--muted); text-decoration: none; padding: 1.5rem 0 1.3rem; border-bottom: 3px solid transparent; font-weight: 570; white-space: nowrap }
.site-nav a[aria-current], .site-nav a:hover { color: var(--ink); border-color: var(--accent) }
.theme-switch { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 44px; padding: .45rem .8rem; border-radius: .5rem; background: var(--control); color: var(--ink); border: 1px solid var(--line); white-space: nowrap; font-size: .9375rem }
.theme-switch:hover { border-color: var(--accent) }
.theme-symbol { width: 1em; height: 1em; flex: none; border: 1.5px solid currentColor; border-radius: 50%; background: linear-gradient(90deg, currentColor 50%, transparent 50%) }
main.frame { min-height: 68vh; padding-bottom: clamp(2rem, 5vw, 4rem) }
.crumbs, .byline, .pager { display: flex; gap: .65rem; align-items: center; flex-wrap: wrap; color: var(--muted) }
.crumbs { padding-top: 1.25rem; font-size: .9375rem }
.heading { padding: clamp(1.25rem, 2vw, 1.75rem) 0 1.25rem }
.heading h1 { font: 690 clamp(2rem, 3.4vw, 3.5rem)/1.15 var(--serif); letter-spacing: -.045em; margin: 0; text-wrap: balance }
.heading p { max-width: 78ch; margin: .8rem 0 0; color: var(--muted) }
.heading .eyebrow, .section-kicker { font-size: .875rem; font-weight: 650; letter-spacing: .07em; color: var(--accent); text-transform: uppercase }
.heading .eyebrow { margin: 0 0 .6rem }
.section-kicker { margin: 0 0 .3rem; display: block }
.heading-copy { min-width: 0 }
.heading-actions { display: flex; flex-direction: column; align-items: center; gap: .65rem; flex-shrink: 0 }
.heading .freshness { font-size: .9375rem; margin-top: .6rem }
.period-links { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 0 1rem }
.period-links a { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem .85rem; border: 1px solid var(--line); border-radius: 2rem; text-decoration: none; color: var(--muted); font-size: .9375rem }
.period-links a:hover, .period-links a[aria-current] { color: var(--ink); border-color: var(--accent); background: var(--selected) }
.read-link, .pager a, .quiet-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: .55rem .9rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; white-space: nowrap }
.read-link { background: var(--accent); border-color: var(--accent); color: var(--paper) }
.read-link:hover { background: var(--accent-hover) }
.quiet-link { font-size: .9375rem }
.pager a:hover, .quiet-button:hover, .days a:hover { border-color: var(--accent); background: var(--selected) }
.quiet-button { font-size: .9375rem }
main.map-page { width: 100% }
.map-page > :is(.heading, .crumbs, .bulletin, .pager, .discovery, .explore-section, .period-links) { width: min(1360px, 94%); margin-inline: auto }
.discovery { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: .65rem 1.25rem; margin-bottom: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: .8rem }
.discovery-copy p { margin: .2rem 0 0; font-size: .9375rem; color: var(--muted) }
.scope-stats { display: flex; gap: clamp(1rem, 2.7vw, 3rem); margin: 0; flex-shrink: 0 }
.scope-stats div { display: flex; flex-direction: column-reverse; align-items: flex-start }
.scope-stats dt { font-size: .875rem; color: var(--muted) }
.scope-stats dd { font-size: 1.7rem; font-weight: 680; line-height: 1.25; margin: 0; font-variant-numeric: tabular-nums }
.map-stage { border-block: 1px solid var(--line); background: var(--paper); color: var(--ink) }
.map-toolbar { background: var(--surface); border-bottom: 1px solid var(--line); padding: .85rem max(1rem, 3vw) .6rem }
.map-toolbar-title { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; margin-bottom: .6rem }
.map-toolbar-title h2 { font-size: 1.15rem; font-weight: 650; margin: 0 }
.map-toolbar-title .status { margin: 0; margin-left: auto }
.map-feed-jump, .reset-symbol, .filter-more-short { display: none }
.map-filters { display: flex; align-items: flex-end; gap: .75rem }
.filter-field { min-width: 0; flex: 1 }
.filter-search { flex: 2 }
.filter-field label { display: block; font-size: .875rem; color: var(--muted); margin-bottom: .3rem }
.filter-field input, .filter-field select { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: .45rem; background-color: var(--paper); color: var(--ink); padding: .5rem .8rem }
.filter-field input::placeholder { color: var(--quiet); opacity: 1 }
.filter-field select { appearance: none; padding-right: 2.25rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%239498ad' stroke-width='1.7' d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7rem center }
.extra-filters { position: relative }
.extra-filters summary { list-style: none; display: flex; align-items: center; gap: .9rem; min-height: 46px; padding: .5rem .9rem; border: 1px solid var(--line); border-radius: .45rem; font-size: .9375rem; white-space: nowrap }
.extra-filters summary::-webkit-details-marker { display: none }
.extra-filters[open] summary { background: var(--selected); border-color: var(--accent) }
.extra-filter-fields { position: absolute; right: 0; top: calc(100% + .5rem); display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; width: min(32rem, 85vw); background: var(--surface); border: 1px solid var(--line); border-radius: .6rem; padding: 1rem; z-index: 5; box-shadow: var(--shadow) }
.filter-summary { font-size: .875rem; color: var(--muted); margin: .65rem 0 0 }
.map-layout { position: relative; height: clamp(430px, 66vh, 900px) }
.map-wrap { height: 100%; position: relative; min-width: 0; background: var(--control) }
#map { height: 100%; width: 100% }
.map-tools { position: absolute; left: .75rem; bottom: .8rem; z-index: 2; display: flex; gap: .5rem }
.map-tools button { min-height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: .45rem; color: inherit; padding: .4rem .8rem; font-size: .9375rem; box-shadow: 0 3px 14px #0004 }
.map-tools button:hover, .map-tools button[aria-pressed=true] { background: var(--selected); border-color: var(--accent) }
.rail-drawer { position: absolute; z-index: 2; top: .75rem; right: .75rem; max-height: calc(100% - 1.5rem); border: 1px solid var(--line); border-radius: .6rem; overflow: auto; background: var(--surface); color: var(--ink); box-shadow: 0 3px 20px #0004; scrollbar-width: thin; scrollbar-color: var(--quiet) var(--surface) }
.rail-drawer[open] { width: min(29rem, 38%); overscroll-behavior: contain }
.rail-drawer summary { display: flex; align-items: center; justify-content: space-between; gap: .7rem; position: sticky; top: 0; z-index: 1; background: var(--control); padding: .8rem 1rem; cursor: pointer; font-size: 1rem; font-weight: 650 }
.rail-drawer summary::-webkit-details-marker { display: none }
.rail-drawer summary:focus-visible { outline-offset: -3px }
.disclosure-arrow { display: inline-block; flex: none; width: .5rem; height: .5rem; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); margin: -.2rem .15rem 0 0 }
.rail-drawer[open] > summary .disclosure-arrow, .extra-filters[open] > summary .disclosure-arrow { transform: rotate(225deg); margin-top: .2rem }
.panel-count { margin-left: auto; color: var(--muted); font-size: .875rem; font-weight: 500; font-variant-numeric: tabular-nums }
.map-rail { padding: 1rem; border-top: 1px solid var(--line); background: var(--surface); color: var(--ink) }
.contentCard { margin: 0 0 1.1rem; padding: 1rem; background: var(--selected); border-radius: .4rem; border-left: 3px solid var(--accent); overflow-wrap: anywhere }
.contentCard p { margin: .7rem 0; font-size: 1rem; line-height: 1.65 }
.contentCard p:only-child { margin: 0 }
.contentCard .desc { white-space: pre-line }
.contentCard .meta { margin-bottom: .75rem }
.contentCard .place-context { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; margin-bottom: .7rem }
.place-context strong { font-size: 1.05rem }
.place-context span, .contentCard .geo-evidence { font-size: .875rem; color: var(--muted) }
.contentCard .geo-evidence { border-top: 1px solid var(--line); padding-top: .75rem }
.contentCard .story-links { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem }
.meta, .miniDesc, .status { font-size: .875rem; color: var(--muted) }
.meta { display: flex; flex-wrap: wrap; gap: .35rem .6rem }
.primary, .source-link { font-weight: 620; color: var(--accent); font-size: .9375rem }
.rail-list-heading { display: flex; gap: .5rem; justify-content: space-between; align-items: center; margin-bottom: .25rem }
.rail-list-heading h3 { font-size: .9375rem; font-weight: 600; margin: 0 }
.map-list { display: grid }
.mini { text-align: left; color: var(--ink); border: 0; border-top: 1px solid var(--line); background: transparent; padding: .9rem 0 }
.mini:hover .miniTitle, .mini[aria-pressed=true] .miniTitle { color: var(--accent) }
.miniTitle { font-size: 1rem; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere }
.miniDesc { margin: .35rem 0 0 }
.mini .mini-topic { color: var(--accent) }
.load-more { width: 100%; margin-top: .5rem }
.map-notice { position: absolute; left: 1rem; top: 1rem; max-width: min(32rem, calc(100% - 2rem)); padding: .9rem; margin: 0; color: var(--ink); background: var(--surface); border-radius: .5rem; z-index: 3 }
.map-stage .maplibregl-ctrl-attrib { color-scheme: light; color: #15161b }
.map-stage .maplibregl-ctrl-group button { min-width: 36px; min-height: 36px }
.timeline { display: flex; gap: 1rem; align-items: center; padding: .85rem max(1rem, 3vw); background: var(--surface); border-top: 1px solid var(--line) }
.timeline button { border: 1px solid var(--line); color: var(--paper); background: var(--accent); border-radius: 50%; width: 2.8rem; height: 2.8rem; flex: none }
.timeline button:disabled { opacity: .45; cursor: default }
.timeline-track { flex: 1; min-width: 0 }
.timeline-meta, .ticks { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .875rem; font-variant-numeric: tabular-nums }
.timeline-meta strong { font-size: 1rem; font-weight: 600 }
#timelineRange { display: block; width: 100%; min-height: 24px; margin: .25rem 0; accent-color: var(--accent) }
.ticks { color: var(--muted) }
.map-explainer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem 1.2rem; padding: .75rem 1rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted) }
.map-explainer > span:first-child { display: flex; align-items: center; gap: .5rem }
.legend-point { width: .6rem; height: .6rem; border-radius: 50%; background: var(--accent); border: 1px solid var(--ink); flex-shrink: 0 }
.bulletin, .explore-section { margin-top: clamp(2rem, 4vw, 3.5rem); scroll-margin-top: 1rem }
.section-head { margin-bottom: 1.2rem; align-items: flex-end }
.section-head h2, .section-title, .prose h2, .archive-month h2 { font: 650 clamp(1.5rem, 2.6vw, 2.1rem)/1.25 var(--serif); letter-spacing: -.03em; margin: 0 }
.section-title { margin-bottom: 1rem }
.section-head a { font-size: .9375rem; white-space: nowrap }
.section-note { margin: -.5rem 0 1rem; font-size: .875rem; color: var(--muted) }
.topic-links { display: flex; flex-wrap: wrap; gap: .6rem }
.topic-links a, .topic-links .topic-choice { display: inline-flex; align-items: center; gap: .65rem; padding: .6rem .9rem; min-height: 44px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); background: var(--surface); border-radius: .55rem }
.topic-links a:hover, .topic-links .topic-choice[aria-current] { border-color: var(--accent); background: var(--selected) }
.topic-count { font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums }
.reading-topics { margin-bottom: 1.75rem }
.feed, .days, .city-grid, .topic-grid { list-style: none; padding: 0; margin: 0 }
.feed-row { border-top: 1px solid var(--line); padding: 1.4rem 0; display: grid; grid-template-columns: minmax(10rem,20%) 1fr; gap: 1.5rem }
.byline { align-content: start; align-items: start; flex-direction: column; font-size: .875rem; font-variant-numeric: tabular-nums; gap: .35rem }
.byline time { white-space: nowrap }
.place-link { margin-top: .25rem; font-weight: 600; font-size: 1rem }
.geo-label { color: var(--muted); font-size: .875rem }
.feed-story { max-width: 86ch; min-width: 0; overflow-wrap: anywhere }
.feed .post-excerpt { margin: 0; font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.7 }
.story-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .65rem }
.badge { display: inline-flex; font-size: .875rem; line-height: 1.4; padding: .25rem .55rem; border-radius: .35rem; background: var(--control); text-decoration: none; color: var(--muted); border: 1px solid var(--line) }
.topic-badge { color: var(--accent); border-color: transparent; background: var(--selected) }
.topic-badge:hover { border-color: var(--accent) }
.status-badge[data-status=resolved], .status-badge[data-status=cancelled], .status-badge[data-status=refuted] { color: var(--muted) }
.source-link { display: inline-block; margin-top: .2rem }
.story-links { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: .6rem }
.report-link { color: var(--muted); font-size: .875rem }
.full-post { margin-top: .6rem }
.full-post summary { color: var(--accent); font-size: .9375rem; width: fit-content; padding: .15rem 0 }
.full-post .when-open, .full-post[open] .when-closed { display: none }
.full-post[open] .when-open { display: inline }
.feed-story:has(.full-post[open]) .post-excerpt { display: none }
.full-post-text { white-space: pre-line; font-size: 1.0625rem; line-height: 1.7; padding: .8rem 1rem; margin-top: .5rem; background: var(--surface); border: 1px solid var(--line); border-radius: .5rem }
.pager { margin-top: 1.6rem }
.directory-heading { max-width: 65rem }
.directory-tools { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.5rem }
.finder { width: min(100%, 36rem) }
.finder label { display: block; font-weight: 600; margin-bottom: .35rem }
.finder input { color: var(--ink); background: var(--surface); width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: .5rem; padding: .7rem .9rem }
.directory-count { margin: 0 0 .7rem; font-size: .9375rem; color: var(--muted) }
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px),1fr)); gap: .8rem }
.city-grid li { min-width: 0 }
.city-grid a { display: flex; flex-direction: column; height: 100%; padding: 1.2rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: .65rem; text-decoration: none }
.city-grid a:hover { border-color: var(--accent); background: var(--selected) }
.city-grid span { font-weight: 650; font-size: 1.3rem; line-height: 1.35; overflow-wrap: anywhere }
.city-grid small { font-size: .875rem; color: var(--muted); margin-top: .35rem }
.city-grid .city-region { margin-bottom: .5rem }
.city-grid .city-total { margin-top: auto; padding-top: .5rem }
.compact-cities { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px),1fr)) }
.compact-cities a { padding: 1rem }
.catalogue-note { margin-top: 1.5rem; color: var(--muted); max-width: 80ch; font-size: .9375rem }
.directory-note { margin-bottom: 1.5rem; padding: 1.15rem 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: .65rem }
.directory-note p { margin: .2rem 0 0; color: var(--muted) }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem }
.topic-card { display: flex; flex-direction: column; height: 100%; padding: 1.4rem; border: 1px solid var(--line); border-radius: .7rem; background: var(--surface); color: var(--ink); text-decoration: none }
.topic-card:hover { background: var(--selected); border-color: var(--accent) }
.topic-card-symbol { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: 1rem; background: var(--selected); color: var(--accent); border: 1px solid var(--line); border-radius: .6rem; font-size: 1.3rem; font-weight: 600 }
.topic-card h2 { font-size: 1.25rem; line-height: 1.3; margin: 0 }
.topic-card p { color: var(--muted); margin: .65rem 0 1.25rem; font-size: .9375rem }
.topic-card-count { color: var(--accent); font-size: .875rem; margin-top: auto }
.directory-next { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 2rem }
.directory-next h2 { font-size: 1.5rem; margin: 0 }
.directory-next p { color: var(--muted) }
.archive-month { display:grid; grid-template-columns: minmax(10rem,22%) 1fr; align-items: start; gap: 1.2rem; border-top: 1px solid var(--line); padding: 1.4rem 0 }
.archive-month h2 { font-size: 1.5rem }
.days { display: flex; flex-wrap: wrap; gap: .4rem }
.days a { display: grid; place-items: center; text-decoration: none; font-variant-numeric: tabular-nums; border: 1px solid var(--line); background: var(--surface); width: 2.8rem; height: 2.8rem; border-radius: .4rem }
.prose { max-width: 78ch; font-size: 1.0625rem }
.prose h2 { font-size: 1.5rem; margin-top: 1.8rem; scroll-margin-top: 1rem }
.empty { padding: 1.25rem; border: 1px solid var(--line); border-radius: .55rem; color: var(--muted); background: var(--surface) }
.error { color: #ffb3bc }
:root[data-theme=light] .error { color: #a8203a }
.site-foot { border-top: 1px solid var(--line); padding: 1.8rem 0; font-size: .9375rem; background: var(--masthead) }
.site-foot .footer-brand { font-size: 1.15rem; font-weight: 650; text-decoration: none; color: var(--ink) }
.site-foot p { color: var(--muted); margin: .3rem 0 0 }
.site-foot nav { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem }
@media (max-width: 1100px) {
  .discovery-copy { display: none }
  .scope-stats { width: 100%; justify-content: space-between }
  .rail-drawer[open] { width: min(28rem, 43%) }
  .site-nav { gap: 1rem }
  .theme-switch { padding-inline: .6rem }
}
@media (max-width: 980px) {
  .map-layout { height: clamp(420px, 62vh, 720px) }
  .rail-drawer { top: .5rem; right: .5rem; max-height: calc(100% - 4.5rem) }
  .rail-drawer[open] { width: min(27rem, calc(100% - 3.4rem)) }
  .heading-actions { align-items: flex-end }
  .topic-grid { grid-template-columns: repeat(2, minmax(0,1fr)) }
}
@media (max-width: 800px) {
  .masthead-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .25rem .75rem; padding-top: .75rem }
  .theme-switch { grid-row: 1; grid-column: 2 }
  .site-nav { grid-row: 2; grid-column: 1/-1; margin: 0; justify-content: flex-start; gap: 1.1rem; max-width: 100%; overflow-x: auto; scrollbar-width: thin }
  .site-nav a { padding: .65rem 0 .6rem }
  .map-filters { flex-wrap: wrap }
  .filter-search { flex: 1 1 calc(58% - .5rem) }
  .map-filters > .filter-field:not(.filter-search) { flex: 1 1 35% }
  .extra-filters { flex: 1 1 auto }
  .extra-filters summary { justify-content: space-between }
  .extra-filter-fields { left: 0; right: auto }
}
@media (max-width: 620px) {
  .frame, .map-page > :is(.heading,.crumbs,.bulletin,.pager,.discovery,.explore-section) { width: 92% }
  .wordmark { font-size: 1.45rem }
  .theme-switch { font-size: .875rem }
  .site-nav a { font-size: .9375rem }
  .heading { padding-block: 1.15rem .9rem }
  .heading h1 { font-size: 2.05rem }
  .map-heading { display: block }
  .heading-actions { display: none }
  .discovery { padding: .65rem .85rem; margin-bottom: .75rem }
  .scope-stats div:nth-child(2) { display: none }
  .scope-stats { gap: .75rem }
  .scope-stats div { flex: 1; min-width: 0 }
  .scope-stats dd { font-size: 1.45rem }
  .scope-stats dt { font-size: .875rem; line-height: 1.35; margin-top: .25rem }
  .map-toolbar { padding: .65rem 4% .6rem }
  .map-toolbar-title .status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
  .map-feed-jump { display: inline-flex; align-items: center; margin-left: auto; min-height: 44px; font-size: .875rem }
  .map-toolbar-title { gap: .2rem .7rem }
  .map-filters { gap: .65rem }
  .filter-search { flex-basis: 100% }
  .map-filters > .filter-field:not(.filter-search) { flex: 1 1 0; min-width: 0 }
  .extra-filters { flex: 0 0 auto; align-self: flex-end }
  .extra-filters summary { padding-inline: .6rem }
  .filter-more-label { display: none }
  .filter-more-short { display: inline }
  .extra-filter-fields { right: 0; left: auto; width: min(27rem, 90vw) }
  #resetFilters { min-height: 46px; width: 44px; flex: 0 0 44px; padding: .3rem }
  .reset-symbol { display: inline; font-size: 1.35rem; font-weight: 500 }
  .reset-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
  .filter-summary { margin-top: .4rem }
  .map-tools { left: .6rem; bottom: .7rem; gap: .4rem }
  .map-tools button { font-size: .875rem; padding: .4rem .6rem }
  .rail-drawer summary { padding: .7rem .8rem }
  .map-rail { padding: .8rem }
  .contentCard { padding: .8rem }
  .timeline { padding: .7rem .65rem; gap: .6rem }
  .timeline-meta { flex-wrap: wrap; justify-content: space-between }
  .timeline-meta span:first-child { display: none }
  .timeline-meta strong { font-size: .9375rem }
  .ticks span:nth-child(2) { display: none }
  .map-explainer { justify-content: flex-start; padding-inline: 4%; gap: .3rem }
  .map-explainer > span, .map-explainer > a { width: 100% }
  .section-head { align-items: flex-start; gap: .8rem }
  .section-head h2 { font-size: 1.5rem }
  .section-head a { white-space: normal; text-align: right; max-width: 8rem }
  .topic-links { gap: .5rem }
  .topic-links a, .topic-links .topic-choice { padding: .5rem .7rem; font-size: .9375rem }
  .feed-row { grid-template-columns: 1fr; gap: .65rem; padding-block: 1.2rem }
  .byline { flex-direction: row; align-items: center; gap: .25rem .7rem }
  .place-link { margin-top: 0; font-size: .9375rem }
  .geo-label { width: 100% }
  .directory-tools { flex-direction: column; align-items: stretch; gap: .7rem }
  .directory-count { margin: 0 }
  .city-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px),1fr)) }
  .compact-cities { grid-template-columns: repeat(2, minmax(0,1fr)) }
  .compact-cities span { font-size: 1.05rem }
  .topic-grid { grid-template-columns: 1fr }
  .topic-card { padding: 1.2rem }
  .archive-month { grid-template-columns: 1fr }
  .site-foot .frame { align-items: flex-start; flex-direction: column }
  .site-foot nav { flex-direction: column }
}
@media (max-width: 370px) {
  .theme-switch { width: 2.75rem; height: 2.75rem; padding: 0 }
  .theme-symbol { width: 1.2rem; height: 1.2rem }
  .theme-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
  .site-nav { gap: 1rem; max-width: 100%; overflow-x: auto; scrollbar-width: thin }
  .site-nav a { font-size: .875rem }
  .extra-filter-fields { grid-template-columns: 1fr }
  .rail-drawer summary { font-size: .9375rem; gap: .4rem }
  .compact-cities { grid-template-columns: 1fr }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important } }
