/* Borderhole — sober newsroom aesthetic (sandbox) */
:root {
  --bg: #0c0e12;
  --bg-elev: #141820;
  --bg-card: #1a1f2a;
  --border: #2a3344;
  --text: #e6e9ef;
  --muted: #8b95a8;
  --accent: #c9a227;
  --accent-dim: #8a7018;
  --danger: #c45c5c;
  --warn: #d4a017;
  --ok: #5a8f6a;
  --link: #7eb0d4;
  --sandbox: #3d2a0f;
  --sandbox-border: #8a6018;

  /* Aliases for rules written during Manifold restyle */
  --panel: var(--bg-elev);
  --panel-2: var(--bg-card);
  --line: var(--border);
  --line-bright: #3a4558;
  --dim: #5a6578;
  --accent-2: var(--link);

  --font-sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;
  --font-display: var(--font-sans);
  --radius: 6px;
  --nav-h: 56px;
  --sandbox-h: 36px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + var(--sandbox-h));
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }

/* Sandbox banner */
.sandbox-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: var(--sandbox-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(180deg, #0d1612, var(--sandbox));
  border-bottom: 1px solid var(--sandbox-border);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 1rem;
  text-align: center;
  font-family: var(--font-mono);
}
.sandbox-banner span.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  display: inline-block;
}

/* Nav */
.site-nav {
  position: fixed;
  top: var(--sandbox-h);
  left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(12, 14, 18, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand-mark em {
  color: var(--accent);
  font-style: normal;
}
.brand-tag {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 400;
  display: none;
}
@media (min-width: 720px) {
  .brand-tag { display: inline; }
}
.nav-links {
  display: flex;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a {
  color: var(--muted);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: var(--panel-2);
  border: 1px solid var(--line);
  text-decoration: none;
  box-shadow: 0 0 12px rgba(61,255,154,0.12);
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius);
  cursor: pointer;
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 0.5rem;
  }
  .nav-links.open { display: flex; }
}

/* Layout */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}
.wrap-wide {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

/* Hero */
.hero {
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.75rem;
}
.hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
}
.hero h1 span { color: var(--accent); }
.hero p.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38rem;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font-mono);
}
.badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius);
  background: rgba(61,255,154,0.06);
  border: 1px solid var(--line-bright);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 0 10px rgba(61,255,154,0.12);
}

/* Grid */
.grid-2 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .grid-2 { grid-template-columns: 1.4fr 1fr; }
}
.grid-3 {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Cards */
.card {
  background: linear-gradient(180deg, rgba(61,255,154,.03), transparent 40%), var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  position: relative;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .45;
  pointer-events: none;
}
.card h2, .card h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.card h2 .sub, .section-head .sub {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.78rem;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.75rem 0 0.85rem;
  flex-wrap: wrap;
}
.section-head h2 {
  margin: 0;
  font-size: 1.15rem;
}

/* Pressure scale */
.legend {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.legend-bar {
  width: 120px;
  height: 8px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #0d2a1c 0%, var(--accent) 45%, var(--warn) 78%, #ff6b7a 100%);
}

/* Map */
.map-shell {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
}
#world-map, #full-map {
  width: 100%;
  height: auto;
  display: block;
  min-height: 300px;
}
.map-point {
  cursor: pointer;
  transition: r 0.15s ease, opacity 0.15s;
}
.map-point:hover { opacity: 1 !important; }
.map-tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--panel-2);
  border: 1px solid var(--line-bright);
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  z-index: 5;
  display: none;
  max-width: 200px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4), 0 0 12px rgba(61,255,154,0.08);
}
.map-tooltip strong { display: block; margin-bottom: 0.15rem; }
.map-tooltip .score { color: var(--accent); font-family: var(--font-mono); }

/* Chips / filters */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.chip {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.chip:hover { color: var(--text); border-color: var(--line-bright); }
.chip.active {
  background: rgba(61,255,154,0.08);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 14px rgba(61,255,154,0.25), inset 0 0 12px rgba(61,255,154,0.06);
}

/* Stories */
.story-list { list-style: none; margin: 0; padding: 0; }
.story-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}
.story-list li:last-child { border-bottom: none; }
.story-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  display: block;
  margin-bottom: 0.2rem;
}
.story-list h4 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}
.story-list h4 a { color: var(--text); }
.story-list h4 a:hover { color: var(--link); }
.story-blurb { margin: 0; font-size: 0.85rem; color: var(--muted); }
.story-tags { margin-top: 0.35rem; display: flex; gap: 0.35rem; flex-wrap: wrap; }
.tag {
  font-size: 0.68rem;
  padding: 0.1rem 0.4rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* Country list */
.country-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.country-table th {
  text-align: left;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--line);
}
.country-table td {
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid var(--border);
}
.country-table tr:hover td { background: rgba(255,255,255,0.02); }
.country-table a { color: var(--text); font-weight: 500; }
.pressure-cell {
  font-family: var(--font-mono);
  font-weight: 600;
}
.bar-mini {
  display: inline-block;
  height: 6px;
  border-radius: var(--radius);
  vertical-align: middle;
  margin-left: 0.4rem;
  max-width: 80px;
}

/* Charts */
.chart-box {
  position: relative;
  height: 260px;
  width: 100%;
}
.chart-box.tall { height: 320px; }
.chart-box.spark { height: 120px; }

/* Issue bars */
.issue-row {
  display: grid;
  grid-template-columns: 1fr 3fr auto;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.65rem;
  font-size: 0.85rem;
}
.issue-row .label { color: var(--muted); }
.issue-track {
  height: 8px;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
}
.issue-fill {
  height: 100%;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  box-shadow: 0 0 8px rgba(61,255,154,0.25);
}
.issue-val {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  min-width: 2rem;
  text-align: right;
}

/* Stat tiles */
.stat-tile {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
}
.stat-tile .label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}
.stat-tile .value {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}
.stat-tile .hint { font-size: 0.75rem; color: var(--muted); margin-top: 0.2rem; }

/* Page chrome */
.page-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.page-desc { color: var(--muted); margin: 0 0 1.25rem; max-width: 40rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
  box-shadow: 0 0 12px rgba(61,255,154,0.2);
}
.btn[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 14px rgba(61,255,154,0.25);
}
.btn-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1rem 0; }

.footer {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}
.footer strong { color: var(--text); }

/* About / prose */
.prose { max-width: 40rem; }
.prose h2 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2rem; }
.callout {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 0.9rem 1rem;
  margin: 1.25rem 0;
  font-size: 0.9rem;
  color: var(--text);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}


/* Imagery */
.hero-visual {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--bg-elev);
  aspect-ratio: 21 / 9;
  max-height: 280px;
}
.hero-visual-demoted {
  max-height: 160px;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}
.hero-compact {
  margin-bottom: 1rem;
}
.hero-compact h1 { font-size: clamp(1.45rem, 3.2vw, 2rem); }
.hero-compact .lead { margin-bottom: 0.65rem; }
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
}
.hero-visual .hero-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.65rem 1rem;
  font-size: 0.75rem;
  color: var(--muted);
  background: linear-gradient(transparent, rgba(5,6,7,0.92));
}
.story-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.85rem;
  align-items: start;
}
.story-thumb {
  width: 120px;
  height: 72px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  flex-shrink: 0;
}
.story-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feed-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.feed-badge img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid var(--border);
}
@media (max-width: 640px) {
  .story-list li { grid-template-columns: 1fr; }
  .story-thumb { width: 100%; height: 120px; }
  .hero-visual { max-height: 180px; aspect-ratio: 16/9; }
}


/* Globe desk */
.page-globe { overflow-x: hidden; }
.globe-layout {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 2rem;
}
@media (min-width: 960px) {
  .globe-layout {
    grid-template-columns: 1fr 280px;
    grid-template-areas:
      "header header"
      "stage side";
    align-items: start;
  }
  .globe-header { grid-area: header; }
  .globe-stage { grid-area: stage; }
  .globe-side { grid-area: side; display: flex; flex-direction: column; gap: 1rem; }
}
.globe-header { margin-top: 0.5rem; }
.globe-stage {
  padding: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 42%, #0a1520 0%, var(--bg) 70%);
  border: 1px solid var(--line);
}
.globe-canvas-host {
  width: 100%;
  height: min(62vh, 560px);
  min-height: 320px;
  position: relative;
}
.home-globe-canvas {
  height: min(58vh, 520px);
  min-height: 420px;
}
.globe-canvas-host canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  touch-action: none;
}
.globe-error {
  padding: 2rem;
  color: var(--muted);
  text-align: center;
}
.globe-controls {
  border-top: 1px solid var(--border);
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: rgba(12, 14, 18, 0.94);
}

.globe-mode-row {
  margin-bottom: 0;
}
.globe-mode-row.chips {
  margin-bottom: 0;
}
.globe-mode-banner {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}
.globe-mode-banner code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.globe-year-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}
.globe-play {
  min-width: 4.5rem;
  font-weight: 600;
}
.globe-year-label {
  font-size: 0.88rem;
  color: var(--muted);
  font-family: var(--font-mono);
}
.globe-year-label strong {
  color: var(--accent);
  font-size: 1.05rem;
  margin-left: 0.25rem;
}
.globe-slider {
  flex: 1 1 160px;
  min-width: 120px;
  accent-color: var(--accent);
  cursor: pointer;
}
.globe-year-ends {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 0.72rem;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-top: -0.35rem;
}
@media (min-width: 640px) {
  .globe-year-ends { width: auto; flex: 0 0 auto; gap: 1.5rem; margin-top: 0; }
}
.globe-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.globe-stat {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0.65rem;
}
.globe-stat .k {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.globe-stat .v {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
}
.globe-side .card h2 { margin-top: 0; }
.globe-legend-swatches {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.globe-legend-swatches li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.swatch {
  width: 18px;
  height: 4px;
  border-radius: var(--radius);
  display: inline-block;
}
.swatch.gold { background: var(--accent); }
.swatch.cyan { background: var(--accent-2); }
.swatch.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.globe-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
  line-height: 1.45;
}
.globe-top-heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0.5rem 0 0.4rem;
  font-weight: 600;
}
.globe-flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}
.globe-flow-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.28rem 0;
  border-bottom: 1px solid var(--border);
}
.globe-flow-list .flow-pair { color: var(--text); }
.globe-flow-list .flow-vol { color: var(--accent); }

.swatch.nation {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
}
.swatch.gradient {
  background: linear-gradient(90deg, #e74c3c, #3498db);
  height: 6px;
  width: 28px;
}
.swatch.land {
  background: linear-gradient(90deg, #1a2a1a, #3d5a3d 40%, #1a2838);
  height: 6px;
  width: 28px;
}
.globe-nation-list {
  max-height: 14rem;
  overflow: auto;
  margin-bottom: 0.85rem;
}
.globe-nation-list li {
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.globe-flow-list .flow-pair {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.globe-flow-list .swatch.nation {
  width: 8px;
  height: 8px;
}


/* Homepage live globe stage */
.home-globe {
  margin-bottom: 1.5rem;
}
.home-globe-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.65rem;
}
.home-globe-head h2 { margin: 0; }
.home-globe-desk-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}
.home-globe-desk-link:hover { text-decoration: underline; }
.home-globe-stage {
  width: 100%;
  margin: 0;
}
.globe-controls-compact {
  padding-top: 0.75rem;
}
.home-globe-legend {
  display: grid;
  gap: 0.65rem;
}
@media (min-width: 720px) {
  .home-globe-legend {
    grid-template-columns: minmax(180px, 0.9fr) 1.4fr;
    align-items: start;
  }
}
.home-legend-inline {
  margin: 0;
}
.home-flow-list {
  max-height: 7.5rem;
  overflow: auto;
  margin: 0;
}
.home-globe-note {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.globe-fallback {
  position: absolute;
  inset: 1rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(12, 14, 18, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  max-width: 28rem;
  margin: auto;
}
.globe-fallback[hidden] { display: none !important; }
.globe-stage { position: relative; }


/* Country border labels (HTML overlay on globe canvas) */
.globe-country-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}
.globe-country-label {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-9999px, -9999px);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #e8f0f8;
  text-shadow: 0 0 3px rgba(8, 10, 14, 0.95), 0 1px 2px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
  user-select: none;
}
.globe-country-label.is-flow {
  color: #f2f7fc;
  font-weight: 600;
  font-size: 11px;
}
