:root, html[data-theme="light"] {
  color-scheme: light;
  --ink: #16202b;
  --mute: #5a6875;
  --line: #dfe5ec;
  --bg: #ffffff;
  --card: #ffffff;
  --red: #d21024;
  --navy: #0f74c7;
  --deep: #0f1a24;
  --ok: #17864a;
  --shadow: 0 14px 36px rgba(20, 32, 46, 0.08);
  --map-stage: #e6f6fd;
  --ocean: #e6f6fd;
  --ocean-mid: #e6f6fd;
  --map-ink: #16202b;
  --chip-bg: rgba(255, 255, 255, 0.94);
  --chip-line: rgba(20, 32, 46, 0.18);
  --chip-ink: #12202c;
  --nav-hover: #f1f4f8;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --page: min(calc(100% - 1rem), 96rem);
}
html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f3f6fa;
  --mute: #8b9bb0;
  --line: #243040;
  --bg: #0b0f14;
  --card: #141b24;
  --red: #e11d2e;
  --navy: #3db8f5;
  --deep: #f3f6fa;
  --ok: #8fd45f;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --map-stage: #daf1fa;
  --ocean: #daf1fa;
  --ocean-mid: #daf1fa;
  --map-ink: #103449;
  --chip-bg: rgba(8, 13, 19, 0.82);
  --chip-line: rgba(255, 255, 255, 0.20);
  --chip-ink: #f2f7fc;
  --nav-hover: #1a2430;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.45;
}
body { min-height: 100svh; }
a { color: inherit; }
img { max-width: 100%; }
.bar {
  position: sticky;
  top: 0;
  z-index: 40;
  margin: 0;
  padding: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
header.top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: var(--page);
  margin: 0 auto;
  padding: max(0.55rem, env(safe-area-inset-top)) 0 0.55rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  text-decoration: none;
  font-size: 1.1rem;
  color: var(--ink);
}
.brand img { width: 2rem; height: 2rem; border-radius: 0.55rem; display: block; }
.live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ok);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}
.live .dot {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 22%, transparent);
}
@media (min-width: 721px) {
  header.top > .live { margin-left: 1rem; }
}
nav { display: flex; align-items: center; gap: 0.2rem; flex-wrap: wrap; flex: 1; justify-content: center; }
nav a {
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.9rem;
  color: var(--mute);
}
nav a.on, nav a:hover { background: var(--nav-hover); color: var(--ink); }
.cta, nav a.cta {
  background: var(--red);
  color: #fff;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-weight: 750;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}
.theme-btn {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}
.theme-btn svg { width: 1.1rem; height: 1.1rem; display: none; }
html[data-theme="dark"] .theme-btn .icon-sun { display: block; }
html[data-theme="light"] .theme-btn .icon-moon { display: block; }
.theme-btn:hover { background: var(--nav-hover); }
.world-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 2.35rem;
  padding: 0 0.72rem 0 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.world-link svg { width: 1.05rem; height: 1.05rem; display: block; }
.world-link:hover { background: var(--nav-hover); }
.network-doors {
  width: var(--page);
  margin: 0.55rem auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.network-doors a {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--mute);
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 700;
}
.network-doors a.live { color: var(--ink); border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); }
.network-doors a.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.wrap { width: var(--page); margin: 0 auto; }
.hero {
  width: var(--page);
  margin: 0 auto;
  padding: 0.7rem 0 0.45rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}
.hero h1 {
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.3;
  color: var(--mute);
}
.shop-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 1.15rem;
  margin: 0;
}
.shop-stats div { margin: 0; display: flex; align-items: baseline; gap: 0.35rem; }
.shop-stats dt {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--mute);
  font-weight: 650;
}
.shop-stats dd {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.shop-stats .stat-price dd { color: var(--red); }
.on-map {
  margin: 0.55rem auto 0.15rem;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--red);
}
.on-map span { color: var(--mute); font-weight: 650; font-size: 0.72em; }
.lede { color: var(--mute); font-size: 1.05rem; max-width: 38rem; margin: 0 0 1.1rem; line-height: 1.5; }
.btn, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
}
.btn { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(225, 29, 46, 0.25); }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.map-toolbar {
  width: var(--page);
  margin: 0.35rem auto 0.55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.map-toolbar-copy {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  min-width: 0;
}
.map-toolbar-copy strong {
  color: var(--ink);
  font-size: 0.86rem;
  letter-spacing: -0.02em;
}
.map-toolbar-copy span {
  color: var(--mute);
  font-size: 0.76rem;
}
.map-stage {
  width: var(--page);
  margin: 0 auto 2.25rem;
  background: var(--ocean);
  border: 1px solid color-mix(in srgb, var(--ocean) 55%, var(--line));
  border-radius: 20px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 18px 42px rgba(6, 21, 36, 0.24);
  padding: 0;
  position: relative;
  overflow: hidden;
}
html[data-theme="light"] .map-stage {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 16px 38px rgba(15, 80, 120, 0.20);
}
.map-vignette, .map-sheen { display: none; }
.map-legend {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, #121820 88%, transparent);
  color: var(--mute);
  font-size: 0.72rem;
  font-weight: 650;
  pointer-events: none;
  backdrop-filter: blur(10px);
}
.map-legend .swatch {
  width: 0.7rem; height: 0.7rem; border-radius: 3px;
  display: inline-block; margin-right: 0.28rem; vertical-align: -1px;
}
.map-legend i { font-style: normal; }
.map-legend span { display: inline-flex; align-items: center; }
.map-legend .swatch.free { background: #4f6d7a; }
.map-legend .swatch.held { background: var(--ok); }
html[data-theme="light"] .map-legend .swatch.free { background: #c9b89a; }
#free-n { color: var(--ok); }
.map-stage:has(#map.zoomed) .map-plate,
.map-stage.picking .map-plate,
.map-stage.picking .map-legend { opacity: 0; }
.map-plate {
  position: absolute;
  left: 0.95rem;
  bottom: 0.9rem;
  z-index: 6;
  pointer-events: none;
  color: var(--ink);
}
.map-plate em {
  display: block;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
}
.map-plate span {
  display: block;
  margin-top: 0.15rem;
  color: var(--mute);
  font-size: 0.72rem;
}
.world-hud {
  position: absolute;
  left: 0.9rem;
  top: 0.9rem;
  z-index: 7;
  max-width: min(22rem, 72%);
  background: color-mix(in srgb, var(--card) 90%, transparent);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.7rem 0.85rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  pointer-events: none;
  color: var(--ink);
}
.world-hud[hidden] { display: none; }
.world-hud b {
  display: block;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.world-hud .nick { color: var(--red); font-weight: 700; font-size: 0.78rem; }
.world-hud .held { display: block; color: var(--navy); font-weight: 700; font-size: 0.78rem; margin-top: 0.2rem; }
.world-hud .traits { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.45rem; }
.world-hud .traits span {
  background: var(--nav-hover);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
}
.zoom-tools {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex: 0 0 auto;
}
.zoom-tools button {
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: none;
}
.zoom-tools button:hover { background: var(--red); border-color: var(--red); color: #fff; }
#map {
  width: 100%;
  height: min(88dvh, 980px);
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  outline: none;
  overscroll-behavior: none;
  user-select: none;
  -webkit-user-select: none;
}
#map:active { cursor: grabbing; }
#map-cam {
  width: 100%;
  height: 100%;
  transform-origin: 0 0;
  will-change: transform;
  backface-visibility: hidden;
  contain: layout paint style;
}
#map-pose {
  width: 100%;
  height: 100%;
}
#map svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  shape-rendering: geometricPrecision;
  text-rendering: geometricPrecision;
}
#map .tile { cursor: pointer; outline: none; }
#map .st-hit { cursor: pointer; }

/* One cheap drop shadow under the whole landmass gives the map depth
   without any per-state borders or rasters. */
#map #world,
#map #doors {
  filter: drop-shadow(0 10px 22px rgba(9, 46, 68, 0.3))
          drop-shadow(0 2px 4px rgba(9, 46, 68, 0.18));
}
#map.busy #world,
#map.busy #doors { filter: none; }
/* Land nobody can claim yet sits back; the clickable realms come forward. */
#map .continent {
  fill: #d5dee7;
  pointer-events: none;
}
/* Neighbours are dormant land: clearly not water, clearly not for sale. */
#map .inset-halo-shape {
  stroke-width: 13;
  stroke-linejoin: round;
}
#map .tile.neighbor .state-fill,
#map .tile.travel .state-fill {
  fill: #bfcbd8;
  stroke: rgba(20, 34, 48, 0.18);
  stroke-width: 0.7;
  transition: fill 0.16s ease, filter 0.18s ease;
}
#map .travel-emblem {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
  filter: drop-shadow(0 2px 3px rgba(8, 20, 32, 0.35));
}
#map .tile.neighbor:hover .travel-emblem,
#map .tile.neighbor.hot .travel-emblem,
#map .tile.travel:hover .travel-emblem,
#map .tile.travel.hot .travel-emblem { opacity: 1; }
body[data-kind="hub"] #map .tile.live-door .state-fill {
  fill: var(--flag, #9fb0c2) !important;
}
body[data-kind="hub"] #map .tile.live-door .travel-emblem { opacity: 1; }
body[data-kind="hub"] #map .travel-label.emblem.live { opacity: 0; }
body[data-kind="hub"] #map .tile.disabled { cursor: default; }
body[data-kind="hub"] #map .tile.disabled:hover .state-fill,
body[data-kind="hub"] #map .tile.disabled.hot .state-fill {
  fill: #bfcbd8 !important;
  stroke: rgba(20, 34, 48, 0.18);
}
body[data-kind="hub"] #map .tile.disabled .travel-emblem { opacity: 0; }
body[data-kind="hub"] .how,
body[data-kind="hub"] .faq,
body[data-kind="opening"] .how,
body[data-kind="opening"] .faq { display: none; }
/* Grey at rest, national colours the moment you point at the door. The
   outline keeps the silhouette readable where a flag band is white. */
#map .tile.neighbor:hover .state-fill,
#map .tile.neighbor.hot .state-fill,
#map .tile.neighbor:focus-visible .state-fill,
#map .tile.travel:hover .state-fill,
#map .tile.travel.hot .state-fill,
#map .tile.travel:focus-visible .state-fill {
  fill: var(--flag, #9fb0c2) !important;
  stroke: rgba(14, 26, 38, 0.45);
  stroke-width: 1;
  filter: none;
}
#map .tile.live-door .state-fill { filter: brightness(1.04); }
#map .tile.here .state-fill { filter: brightness(1.1) saturate(1.08); }
#map .travel-label {
  fill: var(--map-ink);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.04em;
  pointer-events: none;
  opacity: 0.62;
  paint-order: stroke;
  stroke: var(--ocean);
  stroke-width: 2.6;
  stroke-linejoin: round;
  transition: opacity 0.16s ease;
}
#map .travel-label.hot { opacity: 1; }
/* The emblem takes the label's place while hovering. */
#map .travel-label.emblem.hot { opacity: 0; }

/* Solid vector states: no internal raster, no border stroke. */
#map .state-fill {
  stroke: none;
  transition: filter 0.18s ease, opacity 0.18s ease;
  shape-rendering: geometricPrecision;
}
#map .tile:hover .state-fill,
#map .tile.hot .state-fill,
#map .tile:focus-visible .state-fill {
  filter: brightness(1.12) saturate(1.08);
}
#map .tile.owned:hover .state-fill,
#map .tile.owned.hot .state-fill {
  filter: brightness(1.09) saturate(1.12);
}
#map .tile.on .state-fill { filter: brightness(1.14) saturate(1.1); }
#map .tile.staged .state-fill { filter: brightness(1.08) saturate(1.16); }

@media (pointer: coarse) {
  #map #world,
  #map #doors,
  #map.busy #world,
  #map.busy #doors { filter: none; }
  #map .state-fill { transition: none; }
  #map .open-badge { display: none; }
  #map .tile.hint .state-fill { animation: none; }
  #map .abbr-chip { transition: none; }
}

@keyframes stateHint {
  0%, 100% { filter: none; }
  45% { filter: brightness(1.2) saturate(1.12); }
}
#map .tile.hint .state-fill {
  animation: stateHint 0.75s ease both;
}

/* Labels sit on their own plate so they stay legible over the map. */
#map .abbr-chip {
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform-box: fill-box;
  transform-origin: 50% 50%;
}
#map .abbr-plate {
  fill: var(--chip-bg);
  stroke: var(--chip-line);
  stroke-width: 0.8;
}
#map .st-abbr {
  font-family: var(--font);
  font-weight: 800;
  font-size: 5.6px;
  fill: var(--chip-ink);
  pointer-events: none;
  letter-spacing: 0.05em;
}
/* Hide the chip only when a logo or price plaque sits on the same point.
   Callout states keep their on-fill abbreviation; the logo is offshore. */
#map .abbr-chip.hot:not(.callout),
#map .abbr-chip.on:not(.callout),
#map .abbr-chip.owned:not(.callout),
#map .abbr-chip.staged:not(.callout) { opacity: 0; }
#map .badge-leader line {
  stroke: rgba(18, 32, 46, 0.42);
  stroke-width: 1.15;
  stroke-dasharray: 2.2 1.5;
  stroke-linecap: round;
}
html[data-theme="dark"] #map .badge-leader line {
  stroke: rgba(255, 255, 255, 0.42);
}
#map .abbr-chip.tiny .st-abbr { font-size: 6.4px; }
#map .abbr-chip.crowded .st-abbr { font-size: 6.2px; }
#map #label-layer,
#map #callout-layer,
#map #badge-layer {
  pointer-events: none;
}
#map #callout-layer .brand-badge,
#map #badge-layer .brand-badge {
  pointer-events: auto;
}

/* Sponsor badge: the logo plus a live link to the owner's site. */
#map .badge-card {
  fill: #fff;
  stroke: var(--brand, #a8e05f);
  stroke-width: 1.4;
}
#map .brand-badge {
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transition: transform 0.2s cubic-bezier(0.2, 0.75, 0.3, 1);
  filter: drop-shadow(0 1.5px 2.5px rgba(0, 0, 0, 0.55));
}
#map .brand-badge:hover { transform: scale(1.12); }
#map .badge-logo { pointer-events: none; }
#map .badge-host,
#map .preview-host {
  font-family: var(--font);
  font-weight: 800;
  font-size: 4.6px;
  letter-spacing: 0.02em;
  fill: var(--map-ink);
  paint-order: stroke fill;
  stroke: var(--bg);
  stroke-width: 1.9px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
#map svg.z-mid .badge-host,
#map svg.z-mid .preview-host { opacity: 1; }
#map .brand-badge:hover .badge-host { opacity: 1; }

/* Unclaimed states: a dashed slot with the price, revealed on hover so the
   default map stays calm but every state advertises itself when touched. */
#map .open-badge { opacity: 0; transition: opacity 0.2s ease; }
#map .tile:hover .open-badge,
#map .tile.hot .open-badge,
#map .tile.on .open-badge { opacity: 1; }
#map .open-card {
  fill: color-mix(in srgb, var(--bg) 62%, transparent);
  stroke: var(--ok);
  stroke-width: 1;
  stroke-dasharray: 3 2.4;
}
#map .open-price {
  font-family: var(--font);
  font-weight: 800;
  font-size: 6.4px;
  fill: var(--ok);
  pointer-events: none;
}

@keyframes stagePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
#map .preview-card {
  fill: #fff;
  stroke: #38bdf8;
  stroke-width: 1.4;
  stroke-dasharray: 3.4 2.2;
  animation: stagePulse 1.5s ease-in-out infinite;
}
#map .badge-leader rect { fill: #7f93a8; }

.tip {
  position: absolute;
  pointer-events: none;
  background: var(--card);
  color: var(--ink);
  padding: 0.55rem 0.75rem 0.65rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-size: 0.84rem;
  transform: translate(-28%, -118%);
  box-shadow: var(--shadow);
  z-index: 5;
  max-width: 16.5rem;
  display: grid;
  gap: 0.12rem;
}
.tip .tip-k {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 800;
}
.tip strong { font-size: 1.02rem; letter-spacing: -0.03em; color: var(--deep); }
.tip em { font-style: normal; color: var(--mute); font-size: 0.78rem; }
.tip .tip-p { color: var(--navy); font-weight: 700; font-size: 0.8rem; }
.tip .tip-free {
  color: var(--ok);
  font-weight: 800;
  font-size: 0.82rem;
  margin-top: 0.15rem;
}
.tip .tip-owner {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.82rem;
  margin-top: 0.15rem;
}
.tip .tip-owner img { width: 18px; height: 18px; border-radius: 5px; background: #fff; }
.tip .tip-clicks { color: var(--mute); font-size: 0.74rem; font-weight: 650; }
.tip[hidden] { display: none; }
.sheet {
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.6rem;
  width: auto;
  display: flex;
  flex-direction: column;
  background: var(--card);
  color: var(--ink);
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.9rem 1rem 1rem;
  z-index: 20;
  max-height: 46%;
  overflow: hidden;
}
@media (min-width: 860px) {
  .sheet {
    left: auto;
    right: 0.85rem;
    top: 0.85rem;
    bottom: auto;
    width: 22.5rem;
    max-height: calc(100% - 1.7rem);
  }
}
.sheet .sheet-x {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: var(--nav-hover);
  border-radius: 999px;
  font: inherit;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--ink);
}
.sheet .deed {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 0;
  flex: 1;
  padding-right: 1.4rem;
}
.sheet-top {
  flex: 0 1 auto;
  min-height: 0;
  max-height: 42%;
  overflow: auto;
  display: grid;
  gap: 0.35rem;
}
.sheet form.claim {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 0;
  background: transparent;
  gap: 0.5rem;
}
.sheet-fields {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  display: grid;
  gap: 0.5rem;
}
.sheet .btn,
.sheet-pay {
  flex: 0 0 auto;
  width: 100%;
}
.sheet[hidden] { display: none; }
.sheet h2 { margin: 0 0 0.25rem; letter-spacing: -0.04em; color: var(--ink); }
.kicker { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; font-weight: 800; color: var(--red); }
.deed { display: grid; gap: 0.45rem; }
.deed-price {
  font-size: 1.55rem;
  color: var(--red);
  margin: 0;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.deed-owner { display: flex; gap: 0.55rem; align-items: center; margin: 0; }
.deed-owner img { width: 32px; height: 32px; border-radius: 8px; background: #fff; }
.deed-owner span { display: grid; }
.deed-visit { color: var(--navy); font-weight: 700; font-size: 0.8rem; text-decoration: none; }
.deed-visit:hover { text-decoration: underline; }
.deed-page { margin: 0; }
.deed-page-link {
  color: var(--ink);
  font-weight: 800;
  font-size: 0.86rem;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 28%, transparent);
}
.deed-page-link:hover { color: var(--navy); border-bottom-color: var(--navy); }
.deed-meta { color: var(--mute); margin: 0; }
.deed-clicks { color: var(--navy); font-weight: 700; font-size: 0.82rem; margin: 0; }
.preview-hint { color: var(--mute); font-size: 0.82rem; }
.grid2,
.home-lists {
  display: grid;
  gap: 1.75rem;
  margin: 2.2rem auto 2.6rem;
}
@media (min-width: 1080px) {
  .grid2,
  .home-lists { grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr); }
}
.home-list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.9rem;
}
.home-list-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}
.home-list-head a {
  color: var(--mute);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.home-list-head a:hover { color: var(--ink); }
h2 { color: var(--deep); letter-spacing: -0.03em; }
.card, .board, .feed {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}
.board, .feed { list-style: none; margin: 0; padding: 0.35rem; }
.board li, .feed li {
  display: grid;
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem 0.9rem;
  border-bottom: 1px solid var(--line);
}
.board li { grid-template-columns: 1.5rem 2.4rem minmax(0, 1fr) auto; }
.feed li { grid-template-columns: auto 1fr auto; }
.board-rank {
  color: var(--mute);
  font-size: 0.8rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.board li > div { min-width: 0; display: grid; gap: 0.18rem; }
.board li strong { color: var(--ink); font-size: 0.98rem; }
.feed {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  border: 0;
  background: transparent;
}
.feed li {
  grid-template-columns: 0.7rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
.feed-dot {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 3px;
  background: var(--red);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 13%, transparent);
}
.feed-copy {
  display: grid;
  gap: 0.38rem;
  min-width: 0;
}
.feed-copy strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.3;
  letter-spacing: 0;
}
.feed-act {
  margin: 0;
  color: var(--mute);
  font-size: 0.95rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  word-spacing: 0.16em;
  line-height: 1.55;
  overflow-wrap: break-word;
  word-break: normal;
}
.feed-state {
  color: var(--ink);
  font-weight: 750;
  letter-spacing: 0;
  word-spacing: normal;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
.feed-state:hover { color: var(--navy); }
.board-name {
  color: inherit;
  text-decoration: none;
}
.board-name:hover { color: var(--navy); }
.board-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
  align-self: start;
}
.feed-view,
.board-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.05rem;
  padding: 0.42rem 0.78rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--mute);
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.feed-view { align-self: center; }
.board-actions a.board-page {
  border-color: color-mix(in srgb, var(--navy) 45%, var(--line));
  color: var(--ink);
}
.feed-view:hover,
.board-actions a:hover {
  border-color: var(--navy);
  color: var(--ink);
}
.board-clicks {
  color: var(--ok);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.01em;
}
.holds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  margin-top: 0.12rem;
}
.hold {
  display: inline-flex;
  align-items: baseline;
  gap: 0.32rem;
  max-width: 100%;
  padding: 0.22rem 0.52rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--navy) 7%, var(--card));
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
}
.hold b {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.hold span {
  color: var(--mute);
  font-weight: 600;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hold.more {
  color: var(--mute);
  background: transparent;
}
.hold:hover {
  border-color: var(--navy);
  color: var(--ink);
}
.board li:last-child { border-bottom: 0; }
/* Empty lists carry no grid children, so they have to opt out of the row
   grid entirely — otherwise the copy is squeezed into the rank column. */
.board li.board-empty,
.feed li.feed-empty {
  display: block;
  color: var(--mute);
  padding: 1.35rem 1.05rem;
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: left;
}
.feed li.feed-empty { border: 1px dashed var(--line); background: transparent; }
.board img, .feed img, .owner-card img {
  width: 2.4rem; height: 2.4rem; border-radius: 10px; object-fit: contain; background: #fff;
}
.mute { color: var(--mute); font-size: 0.86rem; }
.how, .faq { color: var(--mute); }
.how-split {
  width: var(--page);
  margin: 3rem auto;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 26rem);
  gap: 1.4rem;
  align-items: stretch;
}
.how-copy,
.claim-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.how-copy { padding: clamp(1.35rem, 3vw, 2.4rem); }
.section-kicker,
.claim-panel-head span {
  display: block;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.how-copy h1,
.how-copy h2 {
  max-width: none;
  margin: 0.45rem 0 0.6rem;
  color: var(--ink);
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
}
.how-lede {
  max-width: 44rem;
  margin: 0 0 1.5rem;
  color: var(--mute);
  font-size: 0.98rem;
  line-height: 1.55;
}
@media (max-width: 1079px) {
  .how-split {
    grid-template-columns: 1fr;
  }
}

.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.how-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 2.3rem 1fr;
  gap: 0.8rem;
  min-height: 4.25rem;
  color: var(--ink);
}
.how-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.12rem;
  top: 2rem;
  bottom: 0.25rem;
  width: 1px;
  background: var(--line);
}
.step-no {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 12px;
  color: #fff;
  background: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--red) 24%, transparent);
}
.how-steps strong {
  display: block;
  padding-top: 0.05rem;
  font-size: 0.94rem;
}
.how-steps p {
  margin: 0.2rem 0 0;
  color: var(--mute);
  font-size: 0.8rem;
  line-height: 1.45;
}
.how-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
}
.how-facts span {
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--bg);
  font-size: 0.7rem;
  font-weight: 700;
}
.claim-panel {
  padding: 0.75rem;
  background:
    linear-gradient(155deg, color-mix(in srgb, var(--navy) 8%, var(--card)), var(--card) 44%);
}
.claim-panel-head {
  padding: 0.6rem 0.65rem 0.9rem;
}
.claim-panel-head strong {
  display: block;
  margin-top: 0.3rem;
  color: var(--ink);
  font-size: 1.15rem;
  letter-spacing: -0.035em;
}
.claim-panel form.claim-inline {
  gap: 0.6rem;
  padding: 0.9rem;
  background: var(--bg);
  border-color: var(--line);
  border-radius: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(8rem, 0.72fr);
  gap: 0.6rem;
}
.claim-panel input,
.claim-panel select {
  width: 100%;
  min-width: 0;
  background: var(--card);
}
.claim-panel input:focus,
.claim-panel select:focus {
  outline: 2px solid color-mix(in srgb, var(--navy) 52%, transparent);
  outline-offset: 1px;
  border-color: var(--navy);
}
.claim-panel .btn {
  width: 100%;
  min-height: 2.85rem;
  border-radius: 12px;
}
.form-trust {
  margin: -0.1rem 0 0;
  color: var(--mute);
  font-size: 0.67rem;
  text-align: center;
}
.claim-panel .preview:empty,
.claim-panel .quote:empty { display: none; }
.faq {
  padding: 0.4rem 0 2rem;
}
.how-page { max-width: none; }
.how-page .how-split { margin: 0 auto; width: 100%; }
.how-notes {
  width: min(54rem, calc(100% - 1.6rem));
  margin: -1.5rem auto 2.5rem;
  color: var(--mute);
  font-size: 0.78rem;
  line-height: 1.55;
}
.how-notes p { margin: 0.45rem 0; }
footer {
  padding: 2rem 1rem 3rem;
  color: var(--mute);
  font-size: 0.9rem;
  text-align: center;
  max-width: 46rem;
  margin: 0 auto;
}
.page-wrap { padding: 1.4rem 0 2rem; }
.page-wrap h1 { letter-spacing: -0.05em; color: var(--deep); }
.site-page {
  width: var(--page);
  margin: 0 auto;
  padding: 2.2rem 0 4rem;
}
.page-hero { margin: 0 0 2rem; }
.page-hero h1 {
  margin: 0.4rem 0 0.85rem;
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}
.page-hero .lede {
  max-width: 36rem;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.55;
}
.page-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.6rem;
}
.page-stats div {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.page-stats dt {
  color: var(--mute);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.page-stats dd {
  margin: 0.3rem 0 0;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.board-ladder {
  padding: 0.55rem;
  border-radius: 24px;
}
.board-ladder li {
  padding: 1rem 0.95rem;
  gap: 0.9rem;
}
.board-ladder img { width: 2.5rem; height: 2.5rem; border-radius: 12px; }
.board-ladder strong { font-size: 1.05rem; }
.board-ladder .board-rank { font-size: 0.92rem; }
.board-ladder li { align-items: start; }
.board-ladder .board-actions { flex-direction: column; align-items: stretch; min-width: 7.4rem; }
.board-ladder .holds { margin-top: 0.28rem; }
.board-ladder .hold { font-size: 0.76rem; padding: 0.3rem 0.68rem; }
.about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.about-principles article,
.rule-grid article,
.about-run {
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
}
.about-principles span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.about-principles h2,
.rule-grid h2,
.about-run h2 {
  margin: 0.45rem 0 0.5rem;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}
.about-run h2 a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}
.about-run h2 a:hover { color: var(--navy); }
.about-principles p,
.rule-grid p,
.about-run p {
  margin: 0;
  color: var(--mute);
  font-size: 0.9rem;
  line-height: 1.5;
}
.about-run {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 1.2rem;
  align-items: end;
  margin-top: 0.85rem;
}
.about-contacts {
  display: grid;
  gap: 0.45rem;
  justify-items: start;
}
.about-contacts a {
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}
.about-contacts a:hover { color: var(--red); }
.rule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.4rem;
}
.page-legal {
  margin: 2rem 0 0;
  color: var(--mute);
  font-size: 0.8rem;
  line-height: 1.55;
}
.page-cta { margin: 1.6rem 0 0; }
.page-cta .btn { min-height: 3.1rem; padding-inline: 1.3rem; border-radius: 16px; }
.state-page {
  width: var(--page);
  margin: 0 auto;
  padding: 1.4rem 0 4rem;
  --state-accent-ink: color-mix(in srgb, var(--state-accent) 70%, var(--ink));
}
html[data-theme="dark"] .state-page {
  --state-accent-ink: color-mix(in srgb, var(--state-accent) 55%, #fff);
}
html[data-theme="light"] .state-page {
  --state-accent-ink: color-mix(in srgb, var(--state-accent) 78%, #111);
}
.state-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.35rem;
  color: var(--mute);
  font-size: 0.78rem;
}
.state-breadcrumb a {
  padding: 0;
  color: var(--ink);
  font-size: inherit;
  font-weight: 700;
  text-decoration: none;
}
.state-breadcrumb a:hover { color: var(--state-accent-ink); background: transparent; }
.state-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.2rem);
  padding: clamp(1.8rem, 4.5vw, 3.4rem);
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--state-accent) 22%, transparent), transparent 42%),
    var(--card);
  overflow: hidden;
}
.state-hero-brand { align-self: center; min-width: 0; }
.state-hero-place {
  margin: 0 0 1.15rem;
  color: var(--mute);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.state-hero-logo {
  display: block;
  width: 7.5rem;
  height: 7.5rem;
  margin: 0 0 1.35rem;
  object-fit: contain;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 18px 40px color-mix(in srgb, var(--state-accent) 28%, rgba(0, 0, 0, 0.18));
}
.state-hero-brand .kicker { margin: 0 0 0.35rem; color: var(--state-accent-ink); }
.state-hero-brand h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}
.state-hero-ask {
  margin: 0.85rem 0 0.35rem;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.state-tagline {
  margin: 0.7rem 0 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.state-hero-host {
  margin: 0 0 1.6rem;
  color: var(--mute);
  font-size: 0.92rem;
  line-height: 1.45;
}
.state-edit-bar {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid color-mix(in srgb, var(--state-accent) 30%, var(--line));
  border-radius: 14px;
  background: color-mix(in srgb, var(--state-accent) 8%, var(--card));
  color: var(--ink);
  font-size: 0.88rem;
}
.state-edit-bar a { color: var(--state-accent-ink); font-weight: 800; }
.state-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.35rem;
}
.state-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.3rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 750;
  text-decoration: none;
}
.state-links a:hover { border-color: var(--state-accent); color: var(--state-accent-ink); }
.state-blurb {
  margin: 1.2rem 0 0;
  max-width: 40rem;
  color: var(--mute);
  font-size: 1.02rem;
  line-height: 1.55;
}
.listing-edit .page-hero { margin-bottom: 1.4rem; }
.listing-form {
  display: grid;
  gap: 1.4rem;
  max-width: 40rem;
}
.listing-form section {
  display: grid;
  gap: 0.7rem;
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
}
.listing-form h2 { margin: 0; font-size: 1.05rem; }
.listing-hint { margin: 0; color: var(--mute); font-size: 0.82rem; line-height: 1.45; }
.listing-form label { display: grid; gap: 0.28rem; font-weight: 650; font-size: 0.88rem; }
.listing-form textarea {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  resize: vertical;
}
.listing-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.form-error { color: var(--red); font-weight: 700; }
.state-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.state-outbid {
  min-height: 3.25rem;
  padding-inline: 1.45rem;
  border-radius: 16px;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  box-shadow: 0 14px 32px color-mix(in srgb, var(--red) 36%, transparent);
}
.state-hero-actions .btn-ghost {
  min-height: 3.25rem;
  padding-inline: 1.2rem;
  border-radius: 16px;
}
.state-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.75rem 0 0;
}
.state-stats div {
  min-width: 0;
  padding: 1.05rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.state-stats dt {
  color: var(--mute);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.state-stats dd {
  margin: 0.35rem 0 0;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.state-share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1rem;
  margin-top: 2.2rem;
  font-size: 0.75rem;
}
.state-share-row a { color: var(--state-accent-ink); font-weight: 800; text-decoration: none; }
.state-share-row span { color: var(--mute); }
.state-map-card {
  position: relative;
  display: grid;
  place-items: stretch;
  aspect-ratio: 959 / 593;
  min-height: 0;
  padding: 0.7rem 0.65rem 0.45rem;
  border: 1px solid color-mix(in srgb, var(--state-accent) 38%, var(--line));
  border-radius: 26px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--state-accent) 16%, var(--bg)), var(--bg));
  overflow: hidden;
}
.state-map-card svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.state-mini-map .st {
  fill: color-mix(in srgb, var(--ink) 12%, var(--bg));
  stroke: color-mix(in srgb, var(--ink) 18%, var(--bg));
  stroke-width: 0.65;
}
html[data-theme="dark"] .state-mini-map .st {
  fill: #243140;
  stroke: #3d5166;
}
.state-mini-map .st.is-hi {
  fill: var(--state-accent);
  stroke: color-mix(in srgb, var(--state-accent) 42%, #fff);
  stroke-width: 1.8;
  filter: drop-shadow(0 8px 14px color-mix(in srgb, var(--state-accent) 32%, transparent));
}
.state-map-card > strong {
  position: absolute;
  right: 1.1rem;
  bottom: 0.7rem;
  color: color-mix(in srgb, var(--state-accent) 45%, var(--ink));
  font-size: 3.8rem;
  line-height: 1;
  letter-spacing: -0.09em;
  opacity: 0.28;
}
.state-promo {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.75rem;
  padding: 1.45rem 1.6rem;
  border: 1px solid color-mix(in srgb, var(--state-accent) 28%, var(--line));
  border-radius: 22px;
  background: color-mix(in srgb, var(--state-accent) 8%, var(--card));
}
.state-promo > span {
  color: var(--state-accent-ink);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.state-promo h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.state-promo p {
  margin: 0;
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.5;
}
.state-promo blockquote {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.state-promo a {
  width: max-content;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
.state-promo a.btn {
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border-radius: 14px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: none;
}
.state-promo a.btn:hover {
  background: color-mix(in srgb, var(--ink) 86%, var(--state-accent));
  color: var(--bg);
}
.state-story {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 0.85fr);
  gap: 1.4rem;
  margin-top: 1.75rem;
  align-items: start;
}
.state-claim-card,
.state-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
}
.state-claim-card {
  padding: 1.4rem 1.35rem 1.3rem;
  background: var(--card);
}
.state-claim-card > h2 {
  margin: 0.25rem 0 0.45rem;
  color: var(--ink);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}
.state-claim-card > p:not(.kicker) {
  margin: 0 0 1.05rem;
  color: var(--mute);
  font-size: 0.84rem;
  line-height: 1.5;
}
.state-claim-card form.claim {
  gap: 0.6rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.state-claim-card .preview:empty,
.state-claim-card .quote:empty { display: none; }
.state-claim-card .state-outbid { width: 100%; }
.state-panel { padding: 1.3rem 1.35rem; overflow: hidden; }
.state-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 0.35rem;
}
.state-panel-head h2 { margin: 0.18rem 0 0; font-size: 1.3rem; letter-spacing: -0.03em; }
.state-panel-head > span { color: var(--mute); font-size: 0.7rem; white-space: nowrap; }
.state-history { list-style: none; margin: 0; padding: 0; }
.state-history li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}
.state-history li:first-child { border-top: 0; }
.history-mark img { width: 2.4rem; height: 2.4rem; border-radius: 11px; object-fit: contain; background: #fff; }
.state-history li > div { display: grid; gap: 0.14rem; min-width: 0; }
.state-history li strong { color: var(--ink); font-size: 0.92rem; }
.state-history li span { color: var(--mute); font-size: 0.74rem; line-height: 1.4; }
.state-history time { color: var(--mute); font-size: 0.68rem; }
.state-history li > b { grid-column: 3; color: var(--state-accent-ink); font-size: 0.86rem; text-align: right; }
.state-empty {
  display: grid;
  gap: 0.3rem;
  padding: 1.2rem 0;
  color: var(--mute);
  font-size: 0.82rem;
}
.state-empty strong { color: var(--ink); }
form.claim, form.claim-inline {
  display: grid; gap: 0.7rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}
form.claim label, form.claim-inline label { display: grid; gap: 0.25rem; font-weight: 650; font-size: 0.9rem; }
input, select, textarea {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
}
input::placeholder, select::placeholder, textarea::placeholder {
  color: var(--mute);
}
.note { color: var(--mute); font-size: 0.92rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.preview {
  display: flex; gap: 0.7rem; align-items: center;
  padding: 0.5rem; border: 1px dashed var(--line); border-radius: 12px;
}
@media (max-width: 720px) {
  nav { display: none; }
  header.top {
    gap: 0.45rem;
    padding-top: max(0.48rem, env(safe-area-inset-top));
    padding-bottom: 0.48rem;
    border-radius: 0;
  }
  .brand { gap: 0.4rem; font-size: 1rem; }
  .brand img { width: 1.8rem; height: 1.8rem; }
  .live { gap: 0.32rem; font-size: 0.72rem; }
  .live #live-n { display: inline; white-space: nowrap; }
  .live .dot { width: 0.46rem; height: 0.46rem; }
  .theme-btn { width: 2.15rem; height: 2.15rem; }
  .world-link { width: 2.15rem; height: 2.15rem; padding: 0; justify-content: center; }
  .world-link-txt { display: none; }
  .network-doors { width: calc(100% - 1rem); }
  .cta, nav a.cta { padding: 0.48rem 0.72rem; font-size: 0.78rem; }
  .wrap { width: calc(100% - 1rem); }
  .hero {
    display: grid;
    gap: 0.45rem;
    padding: 0.65rem 0 0.5rem;
  }
  .hero h1 { font-size: 0.84rem; }
  .shop-stats {
    width: 100%;
    justify-content: space-between;
    gap: 0.25rem 0.55rem;
  }
  .shop-stats div { display: grid; gap: 0.05rem; }
  .shop-stats dt { font-size: 0.58rem; }
  .shop-stats dd { font-size: 0.82rem; }
  .map-toolbar {
    margin-top: 0.15rem;
    margin-bottom: 0.45rem;
  }
  .map-toolbar-copy { display: grid; gap: 0.05rem; }
  .map-toolbar-copy span { font-size: 0.66rem; }
  .zoom-tools button { min-width: 2.1rem; height: 2.1rem; padding: 0 0.5rem; }
  .map-stage { border-radius: 15px; margin-bottom: 1.5rem; }
  #map { height: min(56dvh, 480px); }
  #map .st-abbr { font-size: 6.6px; }
  #map .abbr-chip.tiny .st-abbr { font-size: 6.2px; }
  #map .abbr-chip.crowded .st-abbr { font-size: 6.0px; }
  #map .abbr-plate { stroke-width: 0.7; }
  /* Keep NE chips readable without blotting out the Atlantic edge. */
  #map .abbr-chip {
    transform: scale(clamp(1.05, calc(2.2 * var(--inv, 1)), 2.35));
  }
  #map .abbr-chip.tiny,
  #map .abbr-chip.crowded {
    transform: scale(clamp(0.92, calc(1.55 * var(--inv, 1)), 1.65));
  }
  #map .abbr-chip.hot:not(.callout),
  #map .abbr-chip.on:not(.callout) { opacity: 0; }
  #map .abbr-chip.owned:not(.callout),
  #map .abbr-chip.staged:not(.callout) { opacity: 0; }
  .home-lists,
  .grid2 {
    gap: 1.4rem;
    margin: 1.4rem auto 1.8rem;
  }
  .home-lists section,
  .grid2 section { min-width: 0; }
  .home-list-head { margin-bottom: 0.7rem; }
  .home-list-head h2 { font-size: 1.18rem; }
  .board,
  .feed { padding: 0.2rem; border-radius: 16px; }
  .board li,
  .feed li { gap: 0.7rem; padding: 0.9rem 0.8rem; }
  .board img { width: 2.1rem; height: 2.1rem; }
  .board li strong { font-size: 0.92rem; }
  .mute { font-size: 0.78rem; line-height: 1.4; }
  .board-clicks { font-size: 0.74rem; }
  .feed { gap: 0.75rem; }
  .feed li {
    grid-template-columns: 0.6rem minmax(0, 1fr);
    padding: 1rem 0.95rem;
    gap: 0.75rem;
  }
  .feed-copy { gap: 0.32rem; }
  .feed-copy strong { font-size: 0.95rem; }
  .feed-act { font-size: 0.92rem; word-spacing: 0.18em; line-height: 1.6; }
  .feed-view { grid-column: 2; justify-self: start; }
  .board li { grid-template-columns: 1.2rem 2.1rem minmax(0, 1fr) auto; }
  .board-actions {
    grid-column: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-width: 5.5rem;
    gap: 0.28rem;
  }
  .board-actions a {
    min-height: 1.85rem;
    padding: 0.32rem 0.55rem;
    font-size: 0.68rem;
  }
  .how-split {
    width: var(--page);
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin: 2rem auto;
  }
  .how-copy,
  .claim-panel { border-radius: 18px; }
  .how-copy { padding: 1.2rem; }
  .how-copy h1,
  .how-copy h2 { font-size: 1.65rem; }
  .how-lede { margin-bottom: 1.2rem; }
  .how-steps li {
    grid-template-columns: 2.1rem 1fr;
    gap: 0.7rem;
    min-height: 4rem;
  }
  .how-steps li:not(:last-child)::after { left: 1.02rem; }
  .step-no { width: 2.1rem; height: 2.1rem; border-radius: 10px; }
  .claim-panel { padding: 0.55rem; }
  .claim-panel-head { padding: 0.55rem 0.55rem 0.75rem; }
  .claim-panel form.claim-inline { padding: 0.75rem; }
  .form-row { grid-template-columns: 1fr; }
  .how-notes {
    width: calc(100% - 2rem);
    margin-top: -0.8rem;
  }
  .site-page {
    width: var(--page);
    padding: 1.15rem 0 3rem;
  }
  .page-hero { margin-bottom: 1.3rem; }
  .page-hero h1 { font-size: clamp(2.1rem, 12vw, 3rem); }
  .page-hero .lede { font-size: 0.95rem; }
  .page-stats { grid-template-columns: 1fr; gap: 0.5rem; }
  .about-principles,
  .rule-grid,
  .about-run { grid-template-columns: 1fr; }
  .board-ladder li { padding: 0.85rem 0.65rem; }
  .state-page {
    width: var(--page);
    padding: 0.75rem 0 3rem;
  }
  .state-breadcrumb { margin: 0 0.15rem 0.85rem; }
  .state-hero {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 1.25rem 1.15rem 1.35rem;
    border-radius: 22px;
  }
  .state-hero-logo { width: 5.4rem; height: 5.4rem; border-radius: 22px; margin-bottom: 1rem; }
  .state-hero-brand h1 { font-size: clamp(2.3rem, 12vw, 3.3rem); }
  .state-hero-ask { font-size: 1.35rem; }
  .state-hero-host { margin-bottom: 1.2rem; font-size: 0.84rem; }
  .state-hero-actions { display: grid; }
  .state-outbid,
  .state-hero-actions .btn-ghost { width: 100%; min-height: 3.1rem; }
  .state-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 1rem;
  }
  .state-stats div { padding: 0.8rem 0.85rem; border-radius: 14px; }
  .state-stats dd { font-size: 1.08rem; }
  .state-map-card { min-height: 0; border-radius: 18px; }
  .state-map-card > strong { font-size: 2.6rem; }
  .state-promo { margin-top: 1rem; padding: 1.1rem; border-radius: 18px; }
  .state-promo blockquote { font-size: 1.15rem; }
  .state-story {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-top: 1rem;
  }
  .state-claim-card,
  .state-panel { border-radius: 18px; }
  .state-claim-card { padding: 1.05rem; }
  .state-panel { padding: 1rem; }
  .state-panel-head h2 { font-size: 1.12rem; }
  .state-history li {
    grid-template-columns: 2rem minmax(0, 1fr) auto;
    gap: 0.55rem;
    padding: 0.8rem 0;
  }
  .history-mark img { width: 2rem; height: 2rem; }
  .state-history time { display: none; }
  .state-share-row { align-items: flex-start; margin-top: 1.5rem; }
  .faq {
    padding: 0.5rem 0.25rem 1.5rem;
    font-size: 0.88rem;
    line-height: 1.6;
  }
  .faq h2 { margin-bottom: 1rem; }
  .faq h3 { margin: 1.1rem 0 0.3rem; font-size: 0.98rem; }
  .faq p { margin: 0; }
  footer {
    padding: 1.5rem 1rem calc(2rem + env(safe-area-inset-bottom));
    font-size: 0.78rem;
    line-height: 1.6;
  }
  input,
  select {
    min-height: 2.8rem;
    font-size: 16px;
  }
  .world-hud { left: 0.55rem; top: 0.55rem; }
  .sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: auto;
    max-height: 58svh;
    border-radius: 20px 20px 0 0;
    z-index: 80;
    padding: 0.75rem 0.8rem calc(0.55rem + env(safe-area-inset-bottom));
    overscroll-behavior: contain;
  }
  .sheet .deed {
    gap: 0.4rem;
    padding-right: 0;
  }
  .sheet-top { max-height: 30%; }
  .sheet h2 {
    margin: 0;
    padding-right: 2.25rem;
    font-size: 1.3rem;
    line-height: 1.15;
  }
  .sheet .sheet-x {
    top: 0.6rem;
    right: 0.65rem;
    width: 2.15rem;
    height: 2.15rem;
  }
  .sheet .deed-price { font-size: 1.35rem; }
  .sheet .deed-owner { margin: 0; }
  .sheet .deed-meta,
  .sheet .deed-clicks { font-size: 0.75rem; line-height: 1.35; }
  .sheet form.claim {
    gap: 0.4rem;
    margin-top: 0;
  }
  .sheet-fields { gap: 0.4rem; }
  .sheet form.claim .btn,
  .sheet-pay {
    min-height: 3.1rem;
    border-radius: 12px;
  }
  .sheet form.claim .quote {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.35;
  }
  .sheet form.claim .field-name,
  .sheet form.claim .preview { display: none; }
  .sheet form.claim label {
    gap: 0.18rem;
    font-size: 0.78rem;
  }
}
@media (max-width: 360px) {
  .cta, nav a.cta { padding-inline: 0.62rem; }
  .map-toolbar-copy span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #map .tile { animation: none; }
  #map .state-fill,
  #map .brand-badge { transition: none; }
  #map .tile.hint .state-fill { animation: none; }
  #map .preview-card { animation: none; }
}
