:root {
  --mint: #dcebd8;
  --free: #edf5ea;
  --navy: #17324d;
  --gold: #f6c026;
  --red: #c9301f;
  --paper: #fbfaf3;
  --white: #ffffff;
  --blue: #2f6db5;
  --line: #8fafa0;
  --slab: 'Alfa Slab One', Georgia, serif;
  --body: 'Archivo Narrow', 'Arial Narrow', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
#app { min-height: 100vh; display: flex; flex-direction: column; }
#app > main { flex: 1 0 auto; }
h1:focus { outline: none; }
.loading { padding: 24px; }
body { margin: 0; background: var(--mint); color: var(--navy); font-family: var(--body); font-size: 18px; line-height: 1.35; }
h1, h2, h3, p, ol, dl, dd { margin: 0; }
ol { padding: 0; list-style: none; }
a { color: var(--navy); }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.slab { font-family: var(--slab); font-weight: 400; line-height: 1.08; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 24px; background: var(--navy); color: var(--paper); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--paper); text-decoration: none; }
.brand img { width: 40px; height: 44px; }
.brand b { display: block; font-family: var(--slab); font-weight: 400; font-size: 25px; line-height: 1; color: var(--gold); }
.brand span { font-size: 15px; }
.brand:hover { color: var(--paper); }
.topbar nav { display: flex; gap: 18px; white-space: nowrap; }
.topbar nav a { color: var(--paper); font-weight: 600; }
.row-note { display: block; font-size: 15px; }
.row-price { flex: none; font-size: 15px; font-weight: 600; }
.rows li.stacked { flex-direction: column; gap: 4px; }
.row-split { display: flex; justify-content: space-between; gap: 12px; }
.alarm-text { color: var(--red); }
form.stack.plain-form { padding: 8px 0 0; }
.take-back-btn { margin-top: 8px; }
.band { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding: 14px 24px; background: var(--gold); border-bottom: 3px solid var(--navy); }
.band-title { flex: 1 1 400px; min-width: 0; }
.band-hook { font-size: 19px; font-weight: 600; }
.decree { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: var(--navy); color: var(--paper); border: 3px solid var(--gold); overflow-wrap: anywhere; }
.decree small { color: var(--gold); font-size: 14px; }
.decree strong { font-size: 26px; line-height: 1.1; color: var(--gold); font-weight: 400; }
.preview-quote { font-style: italic; }
.band h1 { font-size: clamp(32px, 4vw, 44px); }
.search { display: flex; gap: 8px; flex: 1 1 360px; max-width: 560px; }
.search input { flex: 1; min-width: 0; }
input[type='text'], input[type='email'], input[type='number'], input[type='search'] { height: 50px; width: 100%; padding: 0 12px; border: 2px solid var(--navy); border-radius: 0; background: var(--white); color: var(--navy); font: 500 18px var(--body); }
input[aria-invalid='true'] { border: 3px solid var(--red); }
.btn { display: flex; align-items: center; justify-content: center; min-height: 56px; width: 100%; padding: 8px 14px; border: 0; background: var(--gold); color: var(--navy); font: 400 22px var(--slab); text-align: center; text-decoration: none; cursor: pointer; }
.btn:hover { background: #ffd24d; color: var(--navy); }
.btn:disabled { border: 2px solid var(--navy); background: var(--mint); cursor: not-allowed; }
.btn.dark { min-height: 50px; width: auto; background: var(--navy); color: var(--paper); font: 700 18px var(--body); padding: 0 20px; white-space: nowrap; }
.btn.line { min-height: 46px; border: 2px solid currentColor; background: transparent; color: inherit; font: 600 18px var(--body); }
.btn.line:hover { background: transparent; color: inherit; text-decoration: underline; }
.hint { font-size: 15px; }
.link { align-self: flex-start; background: none; border: 0; padding: 4px 0; color: inherit; font: inherit; font-size: 15px; text-decoration: underline; cursor: pointer; }
.home { display: flex; flex-wrap: wrap; align-items: stretch; }
.home-map { flex: 999 1 620px; display: flex; flex-direction: column; min-width: 0; padding: 14px 20px; }
.rail { flex: 1 1 330px; max-width: 100%; background: var(--paper); border-left: 3px solid var(--navy); padding: 20px 22px; display: flex; flex-direction: column; gap: 22px; }
.rail h2 { font-size: 21px; margin-bottom: 8px; }
.feed { display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.feed .alarm { padding: 8px 10px; background: var(--red); color: var(--white); font-weight: 600; }
.feed a { color: inherit; }
.feed p { overflow-wrap: anywhere; }
.feed b { font-weight: 700; }
.feed time { display: block; font-size: 14px; opacity: .75; }
.feed p.fresh:not(.alarm) { animation: feed-fresh 2.5s ease-out; }
@keyframes feed-fresh { from { background: var(--gold); box-shadow: 0 0 0 4px var(--gold); } }
#live-fights { display: contents; }
.rows li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.rows li:last-child { border-bottom: 0; }
.intro { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 12px 24px; background: var(--navy); color: var(--paper); }
.intro p { flex: 1 1 300px; font-size: 17px; }
.intro b { color: var(--gold); }
.intro .link { min-height: 44px; padding: 0 12px 0 0; font-size: 17px; }
.howto { padding: 14px; background: var(--navy); color: var(--paper); }
.howto h2 { color: var(--gold); font-size: 19px; }
.map-wrap { position: relative; }
.map-svg { display: block; width: 100%; height: auto; background: var(--mint); }
.map-svg.zoomed { height: 100%; }
/* Keep the whole country on screen on laptops. Below this height it scrolls instead of shrinking further. */
@media (min-width: 721px) { .home-map .map-svg { max-height: max(420px, calc(100vh - 360px)); } }
.county { fill: var(--free); stroke: #a9c2b5; stroke-width: .35px; vector-effect: non-scaling-stroke; cursor: pointer; }
.county:hover { stroke: var(--navy); stroke-width: 2px; }
.county.ruled { fill: var(--blue); stroke: var(--navy); }
.county.recent { fill: var(--red); stroke: var(--navy); }
.county.crowned { fill: var(--gold); stroke: var(--navy); }
.county.selected { stroke: var(--navy); stroke-width: 3px; }
.county.empty-selected { fill: var(--paper); }
.state-lines { fill: none; stroke: var(--navy); stroke-width: 1.1px; vector-effect: non-scaling-stroke; pointer-events: none; }
.road { fill: none; stroke: #b08a2e; stroke-width: 1.1px; vector-effect: non-scaling-stroke; pointer-events: none; }
.road-casing { fill: none; stroke: var(--paper); stroke-width: 2.4px; vector-effect: non-scaling-stroke; pointer-events: none; }
.atlas-text { font-family: var(--body); font-weight: 700; fill: var(--navy); paint-order: stroke; stroke: var(--free); stroke-linejoin: round; pointer-events: none; letter-spacing: .6px; }
.shield { fill: var(--navy); stroke: var(--paper); stroke-width: 1px; pointer-events: none; }
.shield-text { font-family: var(--body); font-weight: 700; font-size: 7px; fill: var(--paper); text-anchor: middle; pointer-events: none; }
.crown-mark { fill: var(--navy); stroke: var(--paper); stroke-width: 1.5px; pointer-events: none; }
.pin { cursor: pointer; }
.pin-price { display: none; }
.map-svg .pin.recent .pin-price { display: block; font-family: var(--body); font-weight: 700; font-size: calc(11px / var(--map-zoom, 1)); fill: var(--white); text-anchor: middle; paint-order: stroke; stroke: var(--red); stroke-width: calc(4px / var(--map-zoom, 1)); stroke-linejoin: round; transform: translateY(calc(-13px / var(--map-zoom, 1))); pointer-events: none; }
.ripple { fill: none; stroke-width: 3px; vector-effect: non-scaling-stroke; pointer-events: none; transform-box: fill-box; transform-origin: center; animation: ripple 1.8s ease-out both; }
.ripple.take { stroke: var(--red); }
.ripple.crown { stroke: var(--gold); stroke-width: 5px; }
.ripple.claim { stroke: var(--blue); }
@keyframes ripple { from { opacity: 1; transform: scale(.3); } to { opacity: 0; transform: scale(5); } }
#news { position: fixed; z-index: 20; top: 12px; left: 50%; width: min(760px, calc(100vw - 24px)); transform: translateX(-50%); }
.news { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--navy); color: var(--paper); border: 3px solid var(--gold); box-shadow: 0 6px 0 rgba(23, 50, 77, .35); animation: news-in .35s cubic-bezier(.2, 1.3, .4, 1) both; }
.news.fallen, .news.personal { background: var(--red); color: var(--white); border-color: var(--navy); animation: news-slam .45s cubic-bezier(.2, 1.5, .4, 1) both; }
.news-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.news-text strong { display: block; font-size: 22px; line-height: 1.1; color: var(--gold); }
.news.fallen strong, .news.personal strong { font-size: 28px; color: var(--white); }
.news-text span { font-size: 17px; font-weight: 500; }
.news-action { flex: none; padding: 8px 12px; background: var(--gold); color: var(--navy); font-weight: 700; text-decoration: none; }
.news-action:hover { color: var(--navy); }
.news-close { flex: none; width: 36px; height: 36px; background: none; border: 0; color: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
@keyframes news-in { from { opacity: 0; transform: translateY(-16px); } }
@keyframes news-slam { from { opacity: 0; transform: scale(1.25); } }
.realm-badge { display: inline-block; min-width: 20px; margin-left: 6px; padding: 0 5px; background: var(--red); color: var(--white); border-radius: 10px; font-size: 14px; line-height: 20px; text-align: center; }
.more-link { display: inline-block; margin-top: 10px; font-weight: 600; }
.record { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; padding-left: 14px; border-left: 3px solid var(--navy); }
.record li { position: relative; overflow-wrap: anywhere; }
.record li::before { content: ''; position: absolute; left: -21px; top: 7px; width: 11px; height: 11px; background: var(--paper); border: 3px solid var(--navy); border-radius: 50%; }
.record li.fell { color: var(--red); }
.record li.fell::before { background: var(--red); border-color: var(--red); }
.record time { font-size: 14px; opacity: .75; }
.war-head { padding: 22px 18px; background: var(--navy); color: var(--paper); }
.war-date { font-size: 15px; }
.war-mast { margin: 2px 0 12px; font: 400 18px Georgia, serif; font-style: italic; color: var(--gold); border-bottom: 1px solid var(--gold); padding-bottom: 8px; }
.war-head h1 { font-size: clamp(32px, 7vw, 48px); line-height: 1.05; color: var(--gold); overflow-wrap: anywhere; }
.war-sub { margin-top: 8px; font-size: 20px; overflow-wrap: anywhere; }
.war-tiles { margin-top: 8px; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.war-back { margin-top: 10px; }
.map-holder.just-hit .county.selected { animation: county-hit 1.4s ease-out 2; }
@keyframes county-hit { 50% { fill: var(--gold); } }
.poster { animation: poster-drop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes poster-drop { from { opacity: 0; transform: scale(1.25) rotate(-3deg); } }
.poster-page.robbed { animation: robbed .5s linear both, robbed-flash 1.4s ease-out both; }
@keyframes robbed { 0%, 100% { transform: none; } 20% { transform: translateX(-10px) rotate(-.6deg); } 40% { transform: translateX(9px) rotate(.6deg); } 60% { transform: translateX(-6px); } 80% { transform: translateX(4px); } }
@keyframes robbed-flash { from { background: var(--gold); } }
.pin circle { r: calc(9px / var(--map-zoom, 1)); vector-effect: non-scaling-stroke; }
.map-frame { position: relative; }
/* A finger can drag the page until the map is zoomed in. */
.map-svg.map-zoomed { touch-action: none; cursor: grab; }
.zoom-controls { position: absolute; right: 10px; bottom: 10px; display: flex; flex-direction: column; gap: 6px; }
.zoom-btn { min-width: 44px; height: 44px; padding: 0 8px; background: var(--paper); border: 2px solid var(--navy); color: var(--navy); font: 700 20px var(--body); cursor: pointer; }
.zoom-btn[aria-label='Show the whole map'] { font-size: 14px; }
.zoom-btn[hidden] { display: none; }
.map-peek { display: flex; align-items: center; gap: 8px 12px; margin: 8px 14px 0; padding: 10px 12px; background: var(--paper); border: 3px solid var(--navy); }
.map-peek[hidden] { display: none; }
.peek-text { flex: 1 1 0; min-width: 0; overflow-wrap: anywhere; }
.peek-text strong { display: block; }
.peek-open { width: auto; min-height: 44px; font-size: 18px; }
.county.peeked { stroke: var(--navy); stroke-width: 3px; }
.player-link { font-weight: 700; color: inherit; }
.feed .player-link { text-decoration: none; }
.feed .player-link:hover { text-decoration: underline; }
.record li[hidden] { display: none; }
.record-more { margin-top: 12px; }
.record-quote { font-style: italic; overflow-wrap: anywhere; }
.record-report { margin-left: 10px; }
.record-report .link { font-size: 14px; padding: 0; }
.quote-note { font-style: italic; overflow-wrap: anywhere; }
.pin-halo { fill: transparent; stroke: var(--paper); stroke-width: 5px; pointer-events: all; }
.pin-ring { fill: none; stroke: var(--blue); stroke-width: 2.5px; pointer-events: none; }
.pin.recent .pin-ring { stroke: var(--red); }
.pin.mine .pin-ring { stroke: var(--gold); stroke-width: 4px; }
.pin.mine .pin-halo { stroke: var(--navy); stroke-width: 6.5px; }
.pin:hover .pin-ring { stroke: var(--navy); }
.map-svg.zoomed .atlas-layer { display: none; }
.tiny-ring { fill: none; stroke: var(--red); stroke-width: 2.5px; vector-effect: non-scaling-stroke; pointer-events: none; }
.near-label { font-family: var(--body); font-weight: 600; fill: var(--navy); text-anchor: middle; paint-order: stroke; stroke: var(--free); stroke-linejoin: round; pointer-events: none; }
/* Sits above the map, because any spot on top of the map hides counties people need to click. */
.legend { order: -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-bottom: 10px; padding: 9px 14px; background: var(--paper); border: 2px solid var(--navy); outline: 1px solid var(--navy); outline-offset: -5px; font-size: 13px; font-weight: 600; }
.legend h2 { font-family: Georgia, serif; font-size: 15px; }
.legend p { font-weight: 400; font-size: 12px; }
.legend ul { display: flex; flex-wrap: wrap; gap: 3px 12px; margin: 0; padding: 0; list-style: none; }
.legend li { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.swatch { flex: none; width: 15px; height: 12px; border: 1px solid var(--navy); }
.swatch.free { background: var(--free); }
.swatch.ruled { background: var(--blue); }
.swatch.recent { background: var(--red); }
.swatch.crowned { background: var(--gold); }
.swatch.ring { height: 15px; background: transparent; border: 2.5px solid var(--blue); border-radius: 50%; }
.swatch.ring.mine { border-color: var(--gold); outline: 1px solid var(--navy); }
.buy-map [data-fips] { cursor: pointer; }
.share-kit { display: flex; flex-direction: column; gap: 8px; }
.share-links { font-size: 16px; font-weight: 600; }
.share-links a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 12px; color: inherit; }
.share-address { width: 100%; min-height: 44px; padding: 0 10px; border: 2px solid currentColor; background: var(--paper); color: var(--navy); font: inherit; font-size: 15px; }
.buy-whole { display: flex; flex-direction: column; gap: 8px; }
.choose-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.buy-summary { font-weight: 700; font-size: 20px; }
.buy-controls { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.buy-controls .btn { flex: 1 1 160px; width: auto; }
.buy-list summary { min-height: 44px; display: flex; align-items: center; font-weight: 600; cursor: pointer; }
.buy-filter { width: 100%; min-height: 44px; margin-bottom: 8px; padding: 0 12px; border: 2px solid var(--navy); font: inherit; }
.buy-list li[hidden] { display: none; }
.buy-list ul { max-height: 340px; overflow-y: auto; margin: 0; padding: 0; list-style: none; border: 2px solid var(--navy); }
.buy-list label { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 10px; border-bottom: 1px solid var(--line); cursor: pointer; }
.buy-list label span { flex: 1; }
.county-joke { font-weight: 600; }
.decrees { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.decree-text { font-size: 19px; font-style: italic; font-weight: 500; line-height: 1.2; overflow-wrap: anywhere; }
.decrees small { font-size: 15px; }
.explainer { padding: 10px 20px; background: var(--navy); color: var(--paper); font-size: 16px; }
.explainer a { color: var(--gold); }
.screen { width: 100%; max-width: 760px; margin: 0 auto; background: var(--paper); display: flex; flex-direction: column; }
.screen .map-holder { height: min(48vh, 430px); background: var(--mint); overflow: hidden; }
.sheet { flex: 1; border-top: 4px solid var(--navy); padding: 18px 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.sheet h1 { font-size: 30px; }
.place { font-weight: 600; }
.quote { font-size: 22px; font-style: italic; font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; }
.alarm-box { padding: 10px 12px; background: var(--red); color: var(--white); font-weight: 600; }
.note-box { padding: 10px 12px; background: var(--navy); color: var(--paper); font-weight: 600; }
.note-box a { color: var(--gold); }
.claim-lead { font-family: var(--slab); font-size: 23px; line-height: 1.15; color: var(--red); }
form.stack { padding: 22px 20px 28px; display: flex; flex-direction: column; gap: 15px; }
form.stack h1 { font-size: 30px; }
form.stack label, fieldset legend { display: block; margin-bottom: 6px; font-size: 16px; font-weight: 600; }
fieldset { margin: 0; padding: 0; border: 0; }
.titles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
form.stack .titles label { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; border: 2px solid var(--navy); font-size: 17px; cursor: pointer; }
form.stack .titles label:has(input:checked) { background: var(--gold); font-weight: 700; }
form.stack .check { display: flex; gap: 10px; align-items: center; min-height: 44px; font-size: 16px; font-weight: 500; margin: 0; }
.check input { width: 22px; height: 22px; flex: none; }
.field-error { margin-top: 8px; padding: 9px 11px; background: var(--red); color: var(--white); font-size: 16px; font-weight: 600; }
.results { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.result { min-height: 64px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--paper); border: 2px solid var(--navy); text-decoration: none; }
.result small { display: block; font-size: 15px; }
.poster-page { background: var(--red); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.poster { max-width: 560px; width: 100%; margin: 0 auto; background: var(--paper); border: 4px solid var(--navy); padding: 20px 18px; display: flex; flex-direction: column; gap: 10px; text-align: center; }
.poster h1 { font-size: clamp(44px, 14vw, 70px); line-height: 1; color: var(--red); }
.poster .villain { font-family: var(--slab); font-size: 34px; line-height: 1.1; overflow-wrap: anywhere; }
.poster svg { margin: 6px auto; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; font-size: 15px; }
.tiles div { border: 2px solid var(--navy); padding: 6px; }
.tiles dd { font-size: 20px; font-weight: 700; }
.poster-action { max-width: 560px; width: 100%; margin: 0 auto; padding: 14px; background: var(--navy); color: var(--paper); display: flex; flex-direction: column; gap: 10px; text-align: center; font-weight: 600; }
.victory { background: var(--navy); color: var(--paper); padding: 26px 20px; }
.victory-inner { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.victory .note-box { background: var(--paper); color: var(--navy); border-left: 6px solid var(--gold); }
.victory h1 { font-size: clamp(34px, 8vw, 46px); color: var(--gold); overflow-wrap: anywhere; }
.victory .frame { position: relative; height: 340px; background: var(--paper); border: 3px solid var(--gold); overflow: hidden; }
.victory .frame svg { height: 100%; }
/* Keeps a strip below the map, so the stamp never covers the county that was just taken. */
.victory .frame.stamped svg { height: calc(100% - 52px); }
.stamp { position: absolute; right: 16px; bottom: 18px; padding: 3px 8px; transform: rotate(-8deg); border: 3px solid var(--red); outline: 1px solid var(--red); outline-offset: 2px; background: var(--paper); color: var(--red); font: 400 clamp(18px, 5vw, 24px) var(--slab); white-space: nowrap; animation: stamp .45s cubic-bezier(.2, 1.5, .4, 1) both .25s; }
@keyframes stamp { from { opacity: 0; transform: rotate(-8deg) scale(2.4); } to { opacity: 1; transform: rotate(-8deg) scale(1); } }
.actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.plain { padding: 28px 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.plain h1 { font-size: 34px; }
.plain .actions { margin-top: 8px; }
dl.facts { border: 2px solid var(--navy); background: var(--white); }
dl.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
dl.facts div:last-child { border-bottom: 0; }
dl.facts dd { font-weight: 700; }
.state-head { padding: 14px 18px; background: var(--mint); border-bottom: 3px solid var(--navy); }
.state-head h1 { font-size: 36px; }
.state-map { height: 280px; margin-top: 8px; }
.state-map svg { height: 100%; }
.section { padding: 14px 18px; border-bottom: 2px solid var(--navy); }
.section h2 { font-size: 20px; margin-bottom: 4px; }
.section.red { background: var(--red); color: var(--white); }
.section.red .btn { margin-top: 10px; }
.progress { height: 14px; margin-top: 6px; background: var(--free); border: 2px solid var(--navy); }
.progress div { height: 100%; background: var(--navy); }
.footer { padding: 14px 24px; font-size: 14px; background: var(--paper); border-top: 2px solid var(--navy); }
.test-banner { padding: 8px 14px; background: var(--navy); color: var(--gold); font-weight: 700; text-align: center; }
@media (max-width: 720px) {
  .topbar { padding: 8px 14px; }
  .topbar nav a { white-space: nowrap; }
  .brand b { font-size: 21px; white-space: nowrap; }
  .brand span { display: none; }
  /* The logo already goes to the map, so phones keep the one link they need. */
  .nav-find { display: none; }
  .news { flex-wrap: wrap; gap: 8px; }
  .news-text { flex-basis: calc(100% - 50px); }
  .news-text strong, .news.fallen strong, .news.personal strong { font-size: 21px; }
  .map-svg .pin.recent .pin-price { font-size: calc(27px / var(--map-zoom, 1)); stroke-width: calc(8px / var(--map-zoom, 1)); transform: translateY(calc(-28px / var(--map-zoom, 1))); }
  /* Road and state labels are too small to read at phone width. */
  .atlas-layer .road, .atlas-layer .road-casing, .atlas-layer .shield, .atlas-layer .shield-text, .atlas-layer .atlas-text { display: none; }
  .band { padding: 12px 14px; }
  .intro { padding: 12px 14px; }
  .band-title { flex-basis: 100%; }
  /* Keeps the buy button on the first screen of a county page. */
  .screen .map-holder { height: 32vh; }
  .search { flex-basis: 100%; }
  .home-map { flex-basis: 100%; padding: 8px 0; }
  .rail { flex-basis: 100%; border-left: 0; border-top: 3px solid var(--navy); }
  .legend { order: 0; margin: 8px 14px 0; }
  /* The map shrinks to about 40% here, so the circles need more map units to stay visible. */
  .pin circle { r: calc(18px / var(--map-zoom, 1)); }
}
@media (max-width: 360px) {
  .topbar { gap: 8px; }
  .brand b { font-size: 18px; }
  .brand img { width: 26px; height: 26px; }
  .topbar nav a { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .stamp, .feed p.fresh:not(.alarm), .news, .poster, .poster-page.robbed, .map-holder.just-hit .county.selected { animation: none; } }

.decree-link { display: block; }
.decree-image { display: block; width: 100%; max-width: 460px; height: auto; margin: 16px auto; box-shadow: 0 8px 24px rgba(23, 50, 77, .35); }
