:root, html[data-theme="light"] {
  color-scheme: light;
  --ink: #0F172A;
  --mute: #64748B;
  --line: #E2E8F0;
  --bg: #F8FAFC;
  --card: #ffffff;
  --red: #E63946;
  --navy: #1E3A5F;
  --deep: #0F172A;
  --ok: #10B981;
  --accent: #3B82F6;
  --accent-2: #EF4444;
  --shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  --map-stage: #D5E6F5;
  --ocean: #D5E6F5;
  --ocean-mid: #D5E6F5;
  --map-ink: #0F172A;
  --chip-bg: rgba(255, 255, 255, 0.94);
  --chip-line: rgba(15, 23, 42, 0.16);
  --chip-ink: #0F172A;
  --nav-hover: #EEF2F7;
  --land-0: #C9D5E0;
  --land-1: #B4C4D2;
  --land-2: #D7E0E8;
  --land-3: #A8BBC9;
  --land-4: #C1CEDA;
  --land-5: #B9C8D4;
  --land-muted: #EEF3F7;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --page: min(calc(100% - 1rem), 96rem);
  --map-ar: 1.54;
}
html[data-realm="world"],
body[data-realm="world"] {
  --map-ar: 1.8889;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #F1F5F9;
  --mute: #94A3B8;
  --line: #334155;
  --bg: #0B1120;
  --card: #1E293B;
  --red: #FB7185;
  --navy: #60A5FA;
  --deep: #F1F5F9;
  --ok: #34D399;
  --accent: #60A5FA;
  --accent-2: #F87171;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --map-stage: #111827;
  --ocean: #111827;
  --ocean-mid: #111827;
  --map-ink: #F1F5F9;
  --chip-bg: rgba(15, 23, 42, 0.88);
  --chip-line: rgba(148, 163, 184, 0.28);
  --chip-ink: #F1F5F9;
  --nav-hover: #243044;
  --land-0: #1E293B;
  --land-1: #243349;
  --land-2: #334155;
  --land-3: #1B2638;
  --land-4: #2A3A50;
  --land-5: #223044;
  --land-muted: #334155;
}
/* Regional accents: header line, owned highlight, badge, hover. Never bg or CTA. */
html[data-realm="usa"], body[data-realm="usa"] { --accent: #3B82F6; --accent-2: #EF4444; }
html[data-realm="canada"], body[data-realm="canada"] { --accent: #DC2626; --accent-2: #DC2626; }
html[data-realm="mexico"], body[data-realm="mexico"] { --accent: #16A34A; --accent-2: #16A34A; }
html[data-realm="china"], body[data-realm="china"] { --accent: #DC2626; --accent-2: #F59E0B; }
html[data-realm="india"], body[data-realm="india"] { --accent: #F97316; --accent-2: #F97316; }
html[data-realm="europe"], body[data-realm="europe"] { --accent: #2563EB; --accent-2: #2563EB; }
html[data-realm="africa"], body[data-realm="africa"] { --accent: #2563EB; --accent-2: #2563EB; }
html[data-realm="japan"], body[data-realm="japan"] { --accent: #BE123C; --accent-2: #BE123C; }
html[data-realm="australia"], body[data-realm="australia"] { --accent: #059669; --accent-2: #F59E0B; }
html[data-realm="france"], body[data-realm="france"] { --accent: #2563EB; --accent-2: #2563EB; }
html[data-realm="germany"], body[data-realm="germany"] { --accent: #2563EB; --accent-2: #2563EB; }
html[data-realm="spain"], body[data-realm="spain"] { --accent: #2563EB; --accent-2: #2563EB; }
html[data-realm="poland"], body[data-realm="poland"] { --accent: #2563EB; --accent-2: #2563EB; }
html[data-realm="russia"], body[data-realm="russia"] { --accent: #2563EB; --accent-2: #1E3A5F; }
html[data-realm="brasil"], body[data-realm="brasil"] { --accent: #16A34A; --accent-2: #F59E0B; }
html[data-realm="asia"], body[data-realm="asia"] { --accent: #F59E0B; --accent-2: #DC2626; }
html[data-realm="southamerica"], body[data-realm="southamerica"] { --accent: #16A34A; --accent-2: #16A34A; }
html[data-realm="middleeast"], body[data-realm="middleeast"] { --accent: #F59E0B; --accent-2: #EA580C; }
html[data-realm="world"], body[data-realm="world"] { --accent: #1E3A5F; --accent-2: #3B82F6; }
html[data-theme="dark"][data-realm="usa"], html[data-theme="dark"] body[data-realm="usa"] { --accent: #60A5FA; --accent-2: #F87171; }
html[data-theme="dark"][data-realm="canada"], html[data-theme="dark"] body[data-realm="canada"] { --accent: #F87171; --accent-2: #F87171; }
html[data-theme="dark"][data-realm="mexico"], html[data-theme="dark"] body[data-realm="mexico"] { --accent: #4ADE80; --accent-2: #4ADE80; }
html[data-theme="dark"][data-realm="china"], html[data-theme="dark"] body[data-realm="china"] { --accent: #F87171; --accent-2: #FBBF24; }
html[data-theme="dark"][data-realm="india"], html[data-theme="dark"] body[data-realm="india"] { --accent: #FB923C; --accent-2: #FB923C; }
html[data-theme="dark"][data-realm="europe"], html[data-theme="dark"] body[data-realm="europe"] { --accent: #60A5FA; --accent-2: #60A5FA; }
html[data-theme="dark"][data-realm="africa"], html[data-theme="dark"] body[data-realm="africa"] { --accent: #60A5FA; --accent-2: #60A5FA; }
html[data-theme="dark"][data-realm="japan"], html[data-theme="dark"] body[data-realm="japan"] { --accent: #FB7185; --accent-2: #FB7185; }
html[data-theme="dark"][data-realm="australia"], html[data-theme="dark"] body[data-realm="australia"] { --accent: #34D399; --accent-2: #FBBF24; }
html[data-theme="dark"][data-realm="france"], html[data-theme="dark"] body[data-realm="france"] { --accent: #60A5FA; --accent-2: #60A5FA; }
html[data-theme="dark"][data-realm="germany"], html[data-theme="dark"] body[data-realm="germany"] { --accent: #60A5FA; --accent-2: #60A5FA; }
html[data-theme="dark"][data-realm="spain"], html[data-theme="dark"] body[data-realm="spain"] { --accent: #60A5FA; --accent-2: #60A5FA; }
html[data-theme="dark"][data-realm="poland"], html[data-theme="dark"] body[data-realm="poland"] { --accent: #60A5FA; --accent-2: #60A5FA; }
html[data-theme="dark"][data-realm="russia"], html[data-theme="dark"] body[data-realm="russia"] { --accent: #60A5FA; --accent-2: #93B4D4; }
html[data-theme="dark"][data-realm="brasil"], html[data-theme="dark"] body[data-realm="brasil"] { --accent: #4ADE80; --accent-2: #FBBF24; }
html[data-theme="dark"][data-realm="asia"], html[data-theme="dark"] body[data-realm="asia"] { --accent: #FBBF24; --accent-2: #F87171; }
html[data-theme="dark"][data-realm="southamerica"], html[data-theme="dark"] body[data-realm="southamerica"] { --accent: #4ADE80; --accent-2: #4ADE80; }
html[data-theme="dark"][data-realm="middleeast"], html[data-theme="dark"] body[data-realm="middleeast"] { --accent: #FBBF24; --accent-2: #FB923C; }
html[data-theme="dark"][data-realm="world"], html[data-theme="dark"] body[data-realm="world"] { --accent: #60A5FA; --accent-2: #93B4D4; }
* { 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);
  box-shadow: inset 0 2px 0 var(--accent);
}
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;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 50%, transparent);
}
.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: color-mix(in srgb, var(--accent) 12%, 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 {
  display: none !important;
}
.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 color-mix(in srgb, var(--red) 28%, transparent); }
.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.85rem;
  min-width: 0;
}
.map-toolbar-copy strong {
  color: var(--ink);
  font-size: 0.86rem;
  letter-spacing: -0.02em;
}
.visitor-stats {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin: 0;
}
.visitor-stats div { margin: 0; display: flex; align-items: baseline; gap: 0.35rem; }
.visitor-stats dt {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--mute);
  font-weight: 650;
}
.visitor-stats dd {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.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: #334155; }
.map-legend .swatch.held { background: var(--ok); }
html[data-theme="light"] .map-legend .swatch.free { background: #B4C4D2; }
#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: color-mix(in srgb, var(--accent) 14%, var(--card));
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  color: var(--ink);
}
#map {
  width: min(100%, calc(min(88dvh, 980px) * var(--map-ar, 1.54)));
  max-width: 100%;
  height: auto;
  aspect-ratio: var(--map-aspect, 1000 / 650);
  max-height: min(88dvh, 980px);
  margin-inline: auto;
  overflow: hidden;
  background: var(--ocean);
  touch-action: none;
  cursor: grab;
  outline: none;
  overscroll-behavior: none;
  user-select: none;
  -webkit-user-select: none;
}
html[data-realm="world"] .map-stage,
body[data-realm="world"] .map-stage {
  width: min(var(--page), calc(min(92dvh, 1100px) * var(--map-ar, 1.8889)));
}
html[data-realm="world"] #map,
body[data-realm="world"] #map {
  width: min(100%, calc(min(92dvh, 1100px) * var(--map-ar, 1.8889)));
  max-height: min(92dvh, 1100px);
}
html[data-realm="russia"] #map,
body[data-realm="russia"] #map {
  max-height: min(94dvh, 1180px);
}
body[data-realm="russia"] #map .st-abbr { font-size: 7.4px; letter-spacing: 0.02em; }
#map:active { cursor: grabbing; }
#map-cam {
  width: 100%;
  height: 100%;
  transform-origin: 0 0;
  background: var(--ocean);
}
#map-pose {
  width: 100%;
  height: 100%;
  transform-origin: 0 0;
  background: var(--ocean);
}
#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: color-mix(in srgb, var(--mute) 32%, var(--ocean));
  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: var(--land-muted);
  stroke: color-mix(in srgb, var(--ink) 18%, transparent);
  stroke-width: 0.7;
  transition: fill 0.16s ease, filter 0.18s ease, stroke 0.16s ease;
}
#map .tile.land-0:not(.owned):not(.staged) .state-fill { fill: var(--land-0) !important; }
#map .tile.land-1:not(.owned):not(.staged) .state-fill { fill: var(--land-1) !important; }
#map .tile.land-2:not(.owned):not(.staged) .state-fill { fill: var(--land-2) !important; }
#map .tile.land-3:not(.owned):not(.staged) .state-fill { fill: var(--land-3) !important; }
#map .tile.land-4:not(.owned):not(.staged) .state-fill { fill: var(--land-4) !important; }
#map .tile.land-5:not(.owned):not(.staged) .state-fill { fill: var(--land-5) !important; }
#map .tile.neighbor:not(.owned):not(.staged) .state-fill,
#map .tile.travel:not(.live-door):not(.owned):not(.staged) .state-fill {
  fill: var(--land-muted) !important;
}
#map .tile.neighbor.hot:not(.owned) .state-fill,
#map .tile.travel:not(.live-door).hot:not(.owned) .state-fill {
  fill: var(--land-0) !important;
}
#map .tile.neighbor.hot.land-1:not(.owned) .state-fill { fill: var(--land-1) !important; }
#map .tile.neighbor.hot.land-2:not(.owned) .state-fill { fill: var(--land-2) !important; }
#map .tile.neighbor.hot.land-3:not(.owned) .state-fill { fill: var(--land-3) !important; }
#map .tile.neighbor.hot.land-4:not(.owned) .state-fill { fill: var(--land-4) !important; }
#map .tile.neighbor.hot.land-5:not(.owned) .state-fill { fill: var(--land-5) !important; }
#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; }
html[data-kind="hub"] #map .tile.live-door .travel-emblem,
body[data-kind="hub"] #map .tile.live-door .travel-emblem { opacity: 0; }
html[data-kind="hub"] #map .travel-label.emblem.live,
body[data-kind="hub"] #map .travel-label.emblem.live { opacity: 0.62; }
html[data-kind="hub"] #map .tile.disabled,
body[data-kind="hub"] #map .tile.disabled { cursor: default; }
html[data-kind="hub"] #map .tile.disabled:hover .state-fill,
html[data-kind="hub"] #map .tile.disabled.hot .state-fill,
body[data-kind="hub"] #map .tile.disabled:hover .state-fill,
body[data-kind="hub"] #map .tile.disabled.hot .state-fill {
  filter: none;
  stroke: color-mix(in srgb, var(--ink) 18%, transparent);
}
html[data-kind="hub"] #map .tile.disabled .travel-emblem,
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; }
#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 {
  filter: brightness(1.08) saturate(1.04);
  stroke: color-mix(in srgb, var(--accent) 72%, transparent);
  stroke-width: 1.05;
}
#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.08) saturate(1.04);
  stroke: color-mix(in srgb, var(--accent) 72%, transparent);
  stroke-width: 1.05;
}
#map .tile.owned .state-fill {
  stroke: color-mix(in srgb, var(--accent) 42%, transparent);
  stroke-width: 0.7;
}
#map .tile.owned:hover .state-fill,
#map .tile.owned.hot .state-fill {
  filter: brightness(1.07) saturate(1.08);
  stroke: var(--accent);
  stroke-width: 1.15;
}
#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;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform-box: fill-box;
  transform-origin: 50% 50%;
}
#map svg.z-mid .abbr-chip:not(.owned):not(.staged),
#map .abbr-chip.hot:not(.owned):not(.staged),
#map .abbr-chip.on:not(.owned):not(.staged) {
  opacity: 0.92;
}
#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;
}
#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; }
body[data-realm="japan"] #map .st-abbr { font-size: 6.6px; letter-spacing: 0.02em; }
#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, var(--accent));
  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 .hub-logo-disc { fill: #ffffff; }
html[data-theme="dark"] #map .hub-logo-disc { fill: #F8FAFC; }
#map .hub-logo-ring { pointer-events: none; }
html[data-kind="hub"] #map .hub-logo .badge-host,
body[data-kind="hub"] #map .hub-logo .badge-host { opacity: 0.9; font-size: 7px; }
#map .badge-host,
#map .preview-host {
  font-family: var(--font);
  font-weight: 800;
  font-size: 4.6px;
  letter-spacing: 0.02em;
  fill: var(--host-ink, var(--map-ink));
  paint-order: fill;
  stroke: none;
  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(--navy); }
.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;
  overflow: hidden;
}
.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); }
.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-main {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.18rem 0.5rem;
  align-items: start;
}
.board-head { display: contents; }
.board-copy { 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: minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
.happened { margin: 0.85rem auto 0; }
.feed-link {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.feed-logo {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 6px;
  object-fit: cover;
  background: var(--nav-hover);
}
.feed-meta {
  margin: 0;
  color: var(--mute);
  font-size: 0.78rem;
  font-weight: 650;
}
.feed-new {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  border-radius: 999px;
  padding: 0.12rem 0.4rem;
}
.feed-item.is-new { border-color: color-mix(in srgb, var(--accent) 28%, var(--line)); }
.watching-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.watching-list a {
  display: grid;
  gap: 0.12rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  text-decoration: none;
  color: inherit;
}
.watching-list strong { font-size: 0.92rem; }
.watching-list span { color: var(--mute); font-size: 0.78rem; }
.watch-btn.is-on {
  background: color-mix(in srgb, var(--accent) 12%, var(--card));
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}
.presence-sub { margin: 0.15rem 0 0; color: var(--mute); font-size: 0.75rem; font-weight: 650; }
#map .tile.heat-hot .state-fill,
#map .tile.heat-new .state-fill {
  stroke: color-mix(in srgb, var(--accent) 70%, transparent);
  stroke-width: 1.15;
  filter: drop-shadow(0 0 3.5px color-mix(in srgb, var(--accent) 45%, transparent));
}
#map .tile.heat-new .state-fill {
  stroke: color-mix(in srgb, var(--ok) 70%, transparent);
  filter: drop-shadow(0 0 3.5px color-mix(in srgb, var(--ok) 45%, transparent));
}
@media (prefers-reduced-motion: no-preference) {
  #map .tile.heat-hot .state-fill,
  #map .tile.heat-new .state-fill {
    animation: heat-pulse 3.4s ease-in-out infinite;
  }
}
@keyframes heat-pulse {
  0%, 100% { filter: drop-shadow(0 0 2.5px color-mix(in srgb, var(--accent) 35%, transparent)); }
  50% { filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 55%, transparent)); }
}
#map .heat-tag {
  fill: var(--accent);
  font-size: 6.2px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  paint-order: stroke;
  stroke: var(--ocean);
  stroke-width: 2.4;
}
#map .tile.heat-new .heat-tag { fill: var(--ok); }
#map svg.z-mid .heat-tag,
#map .tile.hot .heat-tag,
#map .tile:hover .heat-tag { opacity: 0.95; }
.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-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  justify-self: end;
  align-self: start;
  gap: 0.32rem;
  grid-column: 2;
  grid-row: 1 / span 8;
}
.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,
.board-clicks { grid-column: 1; }
.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 { 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) {
  header.top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    gap: 0.4rem;
    min-width: 0;
    padding-top: max(0.48rem, env(safe-area-inset-top));
    padding-bottom: 0.5rem;
    padding-left: max(0, env(safe-area-inset-left));
    padding-right: max(0, env(safe-area-inset-right));
    border-radius: 0;
  }
  nav {
    display: flex;
    order: 20;
    flex: 1 0 100%;
    justify-content: flex-start;
    gap: 0.05rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    margin: 0.1rem 0 0;
    scrollbar-width: none;
  }
  nav::-webkit-scrollbar { display: none; }
  nav a {
    flex: 0 0 auto;
    font-size: 0.78rem;
    padding: 0.32rem 0.5rem;
    white-space: nowrap;
  }
  .brand {
    flex: 1 1 auto;
    gap: 0.4rem;
    font-size: 1rem;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
  .brand img { width: 1.8rem; height: 1.8rem; flex: 0 0 auto; }
  #brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
  }
  header.top > .live {
    position: static;
    margin: 0;
    z-index: 2;
    gap: 0.3rem;
    font-size: 0.68rem;
    height: 1.55rem;
    padding: 0 0.5rem;
    border-radius: 999px;
    background: var(--ok);
    color: #fff;
    border: 0;
    flex: 0 0 auto;
  }
  .live #live-n { display: inline; white-space: nowrap; color: #fff; }
  .live .dot { width: 0.42rem; height: 0.42rem; flex: 0 0 auto; background: #fff; box-shadow: none; }
  .world-link { width: 2.15rem; height: 2.15rem; padding: 0; justify-content: center; flex: 0 0 auto; }
  .world-link[hidden] { display: none !important; }
  .world-link-txt { display: none; }
  .theme-btn { width: 2.15rem; height: 2.15rem; margin-left: 0; flex: 0 0 auto; }
  header.top > .cta {
    flex: 0 0 auto;
    max-width: 7.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .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 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 0.35rem 0.5rem;
    align-items: start;
  }
  .shop-stats div { display: grid; gap: 0.05rem; min-width: 0; }
  .shop-stats dt, .shop-stats dd {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .shop-stats dt { font-size: 0.58rem; }
  .shop-stats dd { font-size: 0.82rem; }
  .map-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.4rem;
    margin-top: 0.15rem;
    margin-bottom: 0.45rem;
    align-items: start;
  }
  .map-toolbar-copy {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
    width: 100%;
    align-items: start;
  }
  .visitor-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.22rem 0.7rem;
  }
  .visitor-stats div { min-width: 0; }
  .visitor-stats dt { font-size: 0.58rem; }
  .visitor-stats dd { font-size: 0.82rem; }
  .zoom-tools {
    justify-self: stretch;
    justify-content: flex-end;
    width: 100%;
    flex: none;
  }
  .zoom-tools button {
    min-width: 2.1rem;
    height: 2.1rem;
    padding: 0 0.5rem;
    border-color: color-mix(in srgb, var(--ink) 28%, var(--line));
    background: var(--card);
  }
  .map-stage { border-radius: 15px; margin-bottom: 1.5rem; }
  #map {
    height: auto;
    width: min(100%, calc(min(70dvh, 640px) * var(--map-ar, 1.54)));
    max-height: min(70dvh, 640px);
  }
  html[data-kind="hub"] #map,
  body[data-kind="hub"] #map,
  html[data-realm="world"] #map,
  body[data-realm="world"] #map {
    height: auto;
    width: min(100%, calc(min(82dvh, 760px) * var(--map-ar, 1.8889)));
    max-height: min(82dvh, 760px);
  }
  html[data-realm="world"] .map-stage,
  body[data-realm="world"] .map-stage {
    width: min(calc(100% - 0.5rem), calc(min(82dvh, 760px) * var(--map-ar, 1.8889)));
  }
  #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, calc(1.25 * var(--inv, 1)), 1.4));
  }
  #map .abbr-chip.tiny,
  #map .abbr-chip.crowded {
    transform: scale(clamp(0.9, calc(1.1 * var(--inv, 1)), 1.2));
  }
  html[data-kind="hub"] #map .travel-label.emblem.live,
  body[data-kind="hub"] #map .travel-label.emblem.live { opacity: 0; }
  html[data-kind="hub"] #map .hub-logo .badge-host,
  body[data-kind="hub"] #map .hub-logo .badge-host { opacity: 0; }
  #map svg.z-mid .abbr-chip:not(.owned):not(.staged),
  #map .abbr-chip.hot:not(.owned):not(.staged),
  #map .abbr-chip.on:not(.owned):not(.staged) { opacity: 0.92; }
  #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 {
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.75rem;
    margin-bottom: 0.7rem;
  }
  .home-list-head h2 { font-size: 1.18rem; min-width: 0; }
  .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: minmax(0, 1fr);
    padding: 0.75rem 0.85rem;
    gap: 0.55rem;
  }
  .feed li:has(> .feed-dot) {
    grid-template-columns: 0.6rem minmax(0, 1fr);
  }
  .feed-link {
    grid-template-columns: 1.75rem minmax(0, 1fr) auto;
    gap: 0.55rem;
    min-width: 0;
  }
  .feed-copy { gap: 0.32rem; min-width: 0; }
  .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: 1 / -1; justify-self: start; }
  .board li { grid-template-columns: 1.2rem 2.1rem minmax(0, 1fr); align-items: start; }
  .board-actions {
    min-width: 5.2rem;
    width: max-content;
    max-width: 6.6rem;
    gap: 0.28rem;
  }
  .board-actions a {
    min-height: 1.85rem;
    padding: 0.32rem 0.5rem;
    font-size: 0.66rem;
    justify-content: center;
  }
  .board-ladder .board-actions {
    min-width: 5.2rem;
    max-width: 6.6rem;
  }
  .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; }
}
.aff-page .page-cta { margin: 1.2rem 0 0; }
.aff-section { margin: 0 0 2.1rem; }
.aff-page h2 {
  font-size: 1.15rem;
  margin: 0 0 0.85rem;
  letter-spacing: -0.03em;
}
.aff-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}
.aff-steps li {
  padding: 1.05rem 1.1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.aff-steps span {
  display: inline-flex;
  width: 1.7rem;
  height: 1.7rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}
.aff-steps strong { display: block; margin: 0 0 0.35rem; }
.aff-steps p { margin: 0; color: var(--mute); font-size: 0.92rem; line-height: 1.45; }
.aff-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.aff-perks li {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  font-weight: 650;
}
.aff-example p { margin: 0; max-width: 40rem; color: var(--mute); line-height: 1.55; }
.aff-link-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin: 1.1rem 0 0;
}
.aff-link-row code {
  font-size: 0.95rem;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--navy) 6%, var(--card));
  border: 1px solid var(--line);
}
.aff-copy {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.aff-copy:hover { background: var(--nav-hover); }
.aff-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.aff-empty { margin: 0; color: var(--mute); }
.aff-payout p { margin: 0 0 0.55rem; color: var(--mute); max-width: 38rem; }
.aff-payout-status { color: var(--ink) !important; }
.aff-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.aff-table th, .aff-table td {
  text-align: left;
  padding: 0.45rem 0.35rem;
  border-bottom: 1px solid var(--line);
}
.aff-table th { color: var(--mute); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 720px) {
  .aff-steps, .aff-perks, .aff-stats { grid-template-columns: 1fr 1fr; }
}
@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; }
}
