/* ==========================================================================
   Globe Trotters — styles
   ========================================================================== */

:root {
  --orange: #FB8500;
  --yellow: #FFB703;
  --pink: #F15BB5;
  --purple: #9B5DE5;
  --blue: #00BBF9;
  --teal: #00C9A7;
  --green: #2DC653;
  --red: #FF4D6D;
  --ink: #2B2D42;
  --muted: #6C6F8A;
  --paper: #FFFFFF;
  --bg: #FFF7E6;
  --radius: 22px;
  --shadow: 0 6px 0 rgba(43, 45, 66, 0.15);
  --shadow-lg: 0 10px 0 rgba(43, 45, 66, 0.15);
  font-family: 'Fredoka', 'Nunito', 'Comic Sans MS', system-ui, sans-serif; /* Nunito covers Cyrillic */
  color: var(--ink);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Fredoka', 'Nunito', 'Comic Sans MS', system-ui, sans-serif; /* Nunito covers Cyrillic */
  font-size: 16px;
  color: var(--ink);
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 20%, #FFE5F1 0 120px, transparent 121px),
    radial-gradient(circle at 90% 10%, #E0F7FF 0 160px, transparent 161px),
    radial-gradient(circle at 80% 90%, #EDE3FF 0 140px, transparent 141px),
    var(--bg);
  background-attachment: fixed;
}

[hidden] { display: none !important; }

button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 4px solid var(--blue); outline-offset: 3px; }

/* ---------- Buttons & chips ---------- */

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.7em 1.4em;
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: var(--shadow);
  transition: transform 0.12s, box-shadow 0.12s;
}
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 rgba(43, 45, 66, 0.15); }
button.btn:disabled { opacity: 0.45; box-shadow: none; }
.btn-primary { background: var(--purple); color: #fff; }
.btn-ghost { background: #fff; }
.btn-danger { background: var(--red); color: #fff; }

.icon-btn {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  font-size: 1.4rem;
  box-shadow: var(--shadow);
  transition: transform 0.12s;
}
.icon-btn:hover { transform: translateY(-2px) rotate(-4deg); }
.icon-btn:active { transform: translateY(2px); }

.chip {
  display: inline-block;
  padding: 0.35em 0.9em;
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.level-easy { background: #C9F7D4; }
.level-medium { background: #FFE8A3; }
.level-hard { background: #FFC2CF; }

/* ---------- Menu ---------- */

.menu {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  text-align: center;
}

.hero { position: relative; }
.menu-tools {
  position: absolute; top: 0; right: 0;
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px;
}
.tool-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow);
  font-weight: 600;
}
.lang-picker select {
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}
/* On/off switch inside the "Read aloud" pill */
.switch {
  position: relative;
  width: 34px; height: 20px;
  border-radius: 999px;
  background: #D9DCE8;
  transition: background 0.2s;
}
.switch::after {
  content: '';
  position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s;
}
.read-aloud-toggle[aria-pressed="true"] .switch { background: var(--green); }
.read-aloud-toggle[aria-pressed="true"] .switch::after { transform: translateX(14px); }
.icon-btn.read-aloud-toggle[aria-pressed="true"] { background: #C9F7D4; box-shadow: 0 6px 0 rgba(45, 198, 83, 0.35); }
.voice-note {
  max-width: 460px; margin: 8px 0 0 auto; padding: 8px 14px;
  border-radius: 14px; background: #FFF1C9; font-size: 0.9rem; text-align: left;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
@media (max-width: 600px) {
  .menu-tools { position: static; justify-content: center; margin-bottom: 8px; }
  .voice-note { margin: 0 auto 8px; }
}

.hero-globe { font-size: 5rem; animation: spin-wobble 4s ease-in-out infinite; }
.logo {
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 4.5rem);
  font-weight: 700;
  color: var(--orange);
  text-shadow: 4px 4px 0 var(--yellow);
  letter-spacing: 1px;
}
.logo span { color: var(--purple); text-shadow: 4px 4px 0 var(--pink); }
.tagline { font-size: 1.25rem; color: var(--muted); margin: 0.4em 0 1.5em; }

.step { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 1.5rem; margin: 1.2em 0 0.7em; }
.step span:first-child { /* the number badge */
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue); color: #fff;
}

.game-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }

.game-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 22px 18px;
  border: 5px solid transparent;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform 0.15s, border-color 0.15s;
}
.game-card:hover { transform: translateY(-4px) rotate(-1deg); }
.game-card.selected { border-color: var(--card-color); transform: translateY(-4px) scale(1.03); }
.game-card.selected .game-emoji { animation: bounce 0.8s ease infinite alternate; }
.game-emoji { font-size: 3.4rem; }
.game-title { font-size: 1.4rem; font-weight: 700; color: var(--card-color); }
.game-blurb { color: var(--muted); }
.game-progress { margin-top: 6px; font-size: 0.9rem; padding: 0.2em 0.8em; border-radius: 999px; background: var(--bg); }

.level-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.level-pill {
  border: 4px solid transparent;
  border-radius: 999px;
  padding: 0.6em 1.5em;
  font-size: 1.25rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.15s;
}
.level-pill:hover { transform: translateY(-2px); }
.level-pill.selected { border-color: var(--ink); transform: scale(1.08); }

.btn-start {
  margin-top: 2rem;
  font-size: 1.7rem;
  padding: 0.6em 2em;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  color: #fff;
  animation: pulse 1.8s ease-in-out infinite;
}

/* ---------- Learn more (readable content under the menu) ---------- */

.noscript { margin: 1.5rem auto 0; max-width: 520px; padding: 12px 18px; border-radius: 16px; background: #FFECEF; }
.learn {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 18px;
  margin-top: 3.5rem;
  text-align: left;
}
.learn-card { min-width: 0; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.learn-card h2 { margin: 0 0 0.6em; font-size: 1.45rem; text-wrap: balance; color: var(--purple); }
.learn-card p, .learn-card li { line-height: 1.55; color: #44465E; }
.learn-card .btn { display: inline-block; text-decoration: none; margin-top: 6px; }
.steps { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; }
.steps li::marker { color: var(--orange); font-weight: 700; }
.lookalikes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lookalikes li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.pair { display: flex; gap: 6px; }
.pair img { width: 48px; height: 32px; object-fit: cover; border-radius: 4px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); }
.learn-card details { border-top: 2px solid #F1EEF9; padding: 10px 0; }
.learn-card details:first-of-type { border-top: 0; }
.learn-card summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.learn-card details p { margin: 8px 0 0; }

@media (max-width: 480px) {
  .lookalikes li { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- All flags page (world-flags.html) ---------- */

.atlas { max-width: 1200px; margin: 0 auto; padding: 24px 16px 48px; }
.breadcrumbs { font-size: 0.95rem; color: var(--muted); }
.breadcrumbs a { color: var(--purple); font-weight: 600; }
.atlas-hero { text-align: center; padding: 1rem 0 0.5rem; }
.atlas-hero h1 { margin: 0.2em 0; font-size: clamp(2.4rem, 7vw, 4rem); color: var(--orange); text-shadow: 4px 4px 0 var(--yellow); }
.atlas-hero p { max-width: 60ch; margin: 0 auto 1.2rem; font-size: 1.15rem; color: var(--muted); }
.atlas-hero .btn-start { display: inline-block; margin-top: 0.5rem; text-decoration: none; animation: none; }
.jump-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 1.5rem; }
.jump-links a { padding: 0.35em 0.9em; border-radius: 999px; background: #fff; box-shadow: var(--shadow); color: var(--ink); font-weight: 600; text-decoration: none; }
.atlas-section { margin-top: 2.5rem; scroll-margin-top: 16px; }
.atlas-section h2 { display: flex; align-items: center; gap: 10px; font-size: 1.7rem; color: var(--purple); }
.count { font-size: 0.9rem; padding: 0.15em 0.7em; border-radius: 999px; background: #EDE3FF; color: var(--purple); }
.flag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.flag-card { margin: 0; padding: 10px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); scroll-margin-top: 16px; }
.flag-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18); }
.flag-card figcaption { display: grid; gap: 2px; margin-top: 8px; }
.flag-card figcaption span { font-size: 0.85rem; color: var(--muted); }
.flag-card:target { outline: 4px solid var(--pink); }

/* ---------- Game layout: full-screen map + floating UI ---------- */

body.playing { overflow: hidden; }
body.playing .credits { display: none; }

.game {
  position: fixed;
  inset: 0;
  height: 100dvh;
  overflow: hidden;
  --hud-h: 110px; /* updated from JS to the real top-bar height */
}

/* Floating layers let map drags pass through the gaps between buttons. */
.hud, .map-controls, .bottom-dock { pointer-events: none; }
.hud > *, .map-controls > *, .bottom-dock > * { pointer-events: auto; }

.hud {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top, 0px)); left: 12px; right: 12px;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.hud-group { display: flex; align-items: center; gap: 10px; }
.hud-title { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.chip-game { font-size: 1.1rem; }

/* ---------- Scoreboard ---------- */

.scoreboard { flex: 1; max-width: 760px; margin: 0 auto; }
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.tile {
  display: flex; flex-direction: column; align-items: center;
  padding: 5px 4px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}
.tile-emoji { font-size: 1rem; }
.tile-value { font-size: 1.4rem; font-weight: 700; line-height: 1.1; }
.tile-label { font-size: 0.75rem; color: var(--muted); }
.tile-total .tile-value { color: var(--blue); }
.tile-answered .tile-value { color: var(--purple); }
.tile-left .tile-value { color: var(--orange); }
.tile-correct .tile-value { color: var(--green); }
.tile-wrong .tile-value { color: var(--red); }
.tile-streak .tile-value { color: var(--pink); }
.bump { animation: bump 0.4s ease; }

.progress {
  position: relative;
  height: 18px;
  margin-top: 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0;
  background: repeating-linear-gradient(45deg, var(--teal) 0 14px, var(--blue) 14px 28px);
  background-size: 40px 40px;
  animation: stripes 1.2s linear infinite;
  transition: width 0.5s ease;
}
.progress-label { position: absolute; inset: 0; display: grid; place-items: center; font-size: 0.75rem; font-weight: 600; }

/* ---------- Map ---------- */

.map-wrap {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 45%, #8FDFFF 0%, #45B5FF 55%, #2E8BEF 100%);
  touch-action: none;
}
.world-map { display: block; width: 100%; height: 100%; cursor: grab; }
.world-map:active { cursor: grabbing; }

.graticule { fill: none; stroke: rgba(255, 255, 255, 0.25); stroke-width: 0.5; vector-effect: non-scaling-stroke; }

.country {
  stroke: #fff;
  stroke-width: 0.7;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition: fill 0.25s, filter 0.2s;
}
.country.locked { fill: #D9DCE8; }
.country.playable { fill: var(--fill); cursor: pointer; }
.country.playable:hover { filter: brightness(1.12) drop-shadow(0 0 3px #fff); }
.country.is-correct { fill: var(--green); }
.country.is-wrong { fill: var(--red); }
.country.is-active { fill: #FFF35C; stroke: var(--ink); stroke-width: 2; animation: glow 1s ease-in-out infinite alternate; }

.marker {
  fill: #fff;
  stroke: var(--ink);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  opacity: 0.9;
}
.marker:hover { fill: var(--yellow); }
.marker.is-correct { fill: var(--green); }
.marker.is-wrong { fill: var(--red); }
.marker.is-active { fill: #FFF35C; stroke: var(--pink); animation: ping 0.8s ease-in-out infinite alternate; }

.map-controls {
  position: absolute; left: 16px; top: 50%; z-index: 4;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px;
}

.bottom-dock {
  position: absolute; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 4;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.tap-hint {
  margin: 0;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  white-space: nowrap;
  animation: bounce 0.9s ease infinite alternate;
}
.panel:not([hidden]) ~ .bottom-dock .tap-hint { display: none; }
.btn-surprise { background: var(--yellow); font-size: 1.2rem; }

.legend {
  position: absolute; left: 16px; bottom: 18px; z-index: 4;
  display: flex; gap: 12px; padding: 6px 12px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem; font-weight: 500;
}
.legend span { display: flex; align-items: center; gap: 5px; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot-todo { background: conic-gradient(var(--yellow) 0 33%, var(--pink) 0 66%, var(--blue) 0); }
.dot-right { background: var(--green); }
.dot-wrong { background: var(--red); }

.map-tooltip {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 14px));
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.12s;
}
.map-tooltip.show { opacity: 1; }

/* ---------- Question panel ---------- */

.panel {
  position: absolute;
  z-index: 6;
  top: var(--hud-h);
  right: 16px;
  width: 380px;
  max-height: calc(100% - var(--hud-h) - 16px);
  overflow-y: auto;
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg), 0 12px 40px rgba(0, 0, 0, 0.2);
  text-align: center;
  animation: slide-in 0.3s ease;
}
.panel-close {
  position: absolute; top: 10px; right: 10px;
  width: 36px; height: 36px;
  border: 0; border-radius: 50%;
  background: #F1EEF9;
  font-size: 1.1rem; font-weight: 700;
}
.panel-close:hover { background: #E4DDF7; }

.idle h2 { margin: 0.3em 0; font-size: 1.6rem; }
.idle p { font-size: 1.1rem; }
.muted { color: var(--muted); }
.mascot { font-size: 4rem; }
.stars { font-size: 2.6rem; margin: 0.2em 0; }

.prompt { margin: 0 0 12px; padding: 0 34px; font-size: 1.45rem; line-height: 1.25; text-wrap: balance; } /* clear of the ✕ button */

.silhouette-box { width: 200px; height: 200px; margin: 0 auto; display: block; }
.silhouette { fill: var(--orange); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; filter: drop-shadow(4px 4px 0 var(--yellow)); }

.big-name { font-size: 2rem; font-weight: 700; color: var(--purple); margin: 6px 0; }
.capital-visual { display: flex; flex-direction: column; align-items: center; gap: 6px; }

.flag { display: block; border-radius: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); object-fit: cover; background: #eee; }
.flag-lg { width: 150px; aspect-ratio: 3 / 2; }
.flag-sm { width: 42px; aspect-ratio: 3 / 2; display: inline-block; }

.hint { display: inline-block; margin: 6px 0 12px; padding: 4px 14px; border-radius: 999px; background: #E0F7FF; font-weight: 500; }

.choices { display: grid; gap: 10px; margin-top: 10px; }
.choice {
  padding: 14px;
  border: 4px solid #EEE9FF;
  border-radius: 18px;
  background: #F8F5FF;
  font-size: 1.2rem;
  font-weight: 600;
  transition: transform 0.12s, background 0.2s, border-color 0.2s;
}
.choice:hover:not(:disabled) { transform: scale(1.03); border-color: var(--purple); }
.choice.right { background: #C9F7D4; border-color: var(--green); animation: bump 0.5s ease; }
.choice.wrong { background: #FFD6DE; border-color: var(--red); }
.choice:disabled:not(.right):not(.wrong) { opacity: 0.55; }

.choices-flags { grid-template-columns: repeat(2, 1fr); }
.choice-flag { padding: 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.choice-flag .flag { width: 100%; aspect-ratio: 3 / 2; }
.flag-name { display: none; font-size: 0.85rem; }
.choices-flags.revealed .flag-name { display: block; }

.answer-form { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.answer-input {
  font: inherit;
  font-size: 1.3rem;
  padding: 12px 16px;
  border: 4px solid #EEE9FF;
  border-radius: 18px;
  text-align: center;
  outline: none;
}
.answer-input:focus { border-color: var(--purple); }
.answer-input.right { border-color: var(--green); background: #C9F7D4; }
.answer-input.wrong { border-color: var(--red); background: #FFD6DE; }
.answer-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.feedback { display: none; margin-top: 16px; padding: 14px; border-radius: 18px; }
.feedback.show { display: block; animation: pop-in 0.35s ease; }
.feedback.good { background: #E3FBE9; }
.feedback.bad { background: #FFECEF; }
.feedback-title { font-size: 1.35rem; font-weight: 700; margin-bottom: 10px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin-bottom: 12px; }
.fact { padding: 3px 10px; border-radius: 999px; background: #fff; font-size: 0.95rem; }

/* ---------- Footer & effects ---------- */

.credits { text-align: center; font-size: 0.8rem; color: var(--muted); padding: 8px 16px 16px; }
.credits a { color: inherit; }

.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 100; }

.pop-in { animation: pop-in 0.35s ease; }
.bounce { animation: bounce 0.9s ease infinite alternate; }
.shake { animation: shake 0.4s ease; }

@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } }
@keyframes slide-up { from { transform: translateY(40px); opacity: 0; } }
@keyframes pop-in { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes bounce { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@keyframes bump { 50% { transform: scale(1.25); } }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
@keyframes pulse { 50% { transform: scale(1.05); } }
@keyframes ping { from { stroke-width: 2; } to { stroke-width: 7; } }
@keyframes glow { to { fill: #FFD60A; } }
@keyframes stripes { to { background-position: 40px 0; } }
@keyframes spin-wobble { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(10deg) scale(1.08); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Smaller screens ---------- */

/* Not enough room for one row: score tiles drop below the buttons. */
@media (max-width: 1100px) {
  .hud { flex-wrap: wrap; justify-content: space-between; }
  .scoreboard { order: 3; flex-basis: 100%; }
  .hud-title { flex-direction: row; flex-wrap: wrap; }
}

/* Phones: question card becomes a bottom sheet. */
@media (max-width: 700px) {
  .hud { top: calc(8px + env(safe-area-inset-top, 0px)); left: 8px; right: 8px; gap: 6px; }
  .icon-btn { width: 40px; height: 40px; font-size: 1.1rem; border-radius: 12px; }
  .hud-group { gap: 6px; }
  .chip { font-size: 0.85rem; padding: 0.3em 0.7em; }
  .tiles { gap: 4px; }
  .tile { padding: 3px 2px; border-radius: 10px; }
  .tile-emoji { display: none; }
  .tile-value { font-size: 1.05rem; }
  .tile-label { font-size: 0.6rem; }
  .progress { height: 14px; margin-top: 5px; }

  .panel {
    top: auto; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-height: 62%;
    padding: 16px;
    animation-name: slide-up;
  }
  .panel:not([hidden]) ~ .bottom-dock { display: none; }
  .silhouette-box { width: 140px; height: 140px; }
  .flag-lg { width: 110px; }
  .big-name { font-size: 1.5rem; }
  .prompt { font-size: 1.2rem; }
  .map-controls { left: 8px; gap: 8px; }
  .btn-surprise { font-size: 1rem; }
  .legend { display: none; }
}
