/* ============================================
   BIR GLIDER — Game Styles
   GameLayout provides: body base (font, bg, overflow, touch-action, user-select)
   This file provides: CSS vars, canvas, HUD, menus, overlays, animations
   ============================================ */

:root {
  --header-h: 50px;
  --bg-primary: #0a1628;
  --bg-secondary: #0d1f35;
  --bg-card: #132840;
  --accent: #1a6b4a;
  --accent-light: #2d9b6f;
  --accent-bright: #4ecb8d;
  --text-primary: #f0f4f8;
  --text-secondary: #7a9bb5;
  --border: #1e3a54;
  --gold: #f4c430;
  --saffron: #e8821a;
}

/* Header — above menu (z:200) but below overlays (z:350) */
#gameHeader {
  z-index: 250 !important;
  position: relative;
}

/* Canvas */
#gameCanvas {
  display: block;
  position: fixed;
  top: var(--header-h); left: 0; right: 0; bottom: 0;
  width: 100%;
  height: calc(100dvh - var(--header-h));
  touch-action: none;
}

/* Hide SEO content behind fixed game canvas — prevents bleed-through on mobile */
.game-seo-content,
.more-games {
  position: relative;
  z-index: -1;
}

/* HUD Overlay */
.hud {
  position: fixed;
  top: calc(var(--header-h) + 8px); left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 50;
}

/* Top-right cluster: distance, score, best */
.hud-top-right {
  position: absolute;
  top: 8px; right: 16px;
  text-align: right;
}

.hud-distance {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  letter-spacing: 0.02em;
}

.hud-distance span {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.7;
}

.hud-score {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  margin-top: -2px;
}

.hud-best {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-top: 2px;
}

.hud-combo {
  position: absolute;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--saffron);
  text-shadow: 0 0 12px rgba(232,130,26,0.8);
  opacity: 0;
  transition: opacity 0.2s;
}
.hud-combo.active { opacity: 1; }

/* Zen mode badge */
.hud-zen-badge {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(150,220,180,0.6);
  background: rgba(150,220,180,0.08);
  border: 1px solid rgba(150,220,180,0.15);
  border-radius: 4px;
  padding: 2px 10px;
}
.hud-zen-badge.hidden { display: none; }

/* Pinned goal — single line bottom-center (Alto-style) */
.hud-goal-pinned {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  white-space: nowrap;
  transition: color 0.3s, transform 0.3s;
}

/* Urgent: distance met but goal not — pulse to draw attention */
.hud-goal-pinned.goal-urgent {
  color: #ffd700;
  font-weight: 700;
  font-size: 0.9rem;
  animation: goalPulse 1.2s ease-in-out infinite;
}

@keyframes goalPulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; }
  50% { transform: translateX(-50%) scale(1.08); opacity: 0.8; }
}

/* Altitude bar */
.altitude-bar {
  position: absolute;
  left: 12px;
  top: 8px; bottom: 8px;
  width: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.altitude-fill {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, #4ecb8d, #0096c7, #caf0f8);
  border-radius: 3px;
  transition: height 0.2s;
}
.altitude-label {
  position: absolute;
  left: 24px; top: 8px;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
}

/* Flag counter — below altitude on left */
.hud-flags {
  position: absolute;
  top: 28px; left: 24px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  font-weight: 600;
}

/* Goals panel (legacy — now using pinned goal) */
.goals-panel {
  display: none;
}
.goal-item { display: flex; align-items: center; gap: 6px; }
.goal-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.3); flex-shrink: 0; }
.goal-dot.done { background: var(--accent-bright); }

/* Menu Screen */
.menu-screen {
  position: fixed;
  top: var(--header-h); left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 200;
  text-align: center;
  padding: clamp(0.5rem, 2dvh, 2rem);
  background: var(--bg-primary); /* solid fallback behind canvas */
}
.menu-screen.hidden { display: none; }

.menu-bg-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.menu-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-icon {
  font-size: clamp(2rem, 8dvh, 5rem);
  margin-bottom: clamp(0.2rem, 1dvh, 1rem);
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(78,203,141,0.4));
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-12px) rotate(5deg); }
}

.menu-title {
  font-size: clamp(1.5rem, 7dvh, 3.2rem);
  font-weight: 800;
  color: white;
  margin-bottom: clamp(0.1rem, 0.5dvh, 0.3rem);
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

.menu-tagline {
  font-size: clamp(0.75rem, 2.5dvh, 1.1rem);
  color: rgba(255,255,255,0.7);
  margin-bottom: clamp(0.2rem, 1dvh, 0.5rem);
  font-style: italic;
}

.menu-best {
  font-size: clamp(0.75rem, 2dvh, 0.95rem);
  color: var(--accent-bright);
  margin-bottom: clamp(0.5rem, 3dvh, 2rem);
  font-weight: 600;
}

.play-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  border: none;
  padding: clamp(0.5rem, 2dvh, 1rem) clamp(2rem, 8vw, 3.5rem);
  border-radius: 30px;
  font-size: clamp(1rem, 3dvh, 1.3rem);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: clamp(0.3rem, 1.5dvh, 1rem);
  box-shadow: 0 4px 20px rgba(26,107,74,0.5);
}
.play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26,107,74,0.7);
}

.zen-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 24px;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  min-height: 44px;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  transition: background 0.2s, border-color 0.2s;
  margin-bottom: 1.5rem;
}
.zen-toggle:hover { background: rgba(255,255,255,0.14); }
.zen-toggle.active {
  background: rgba(78,203,141,0.15);
  border-color: var(--accent-bright);
  color: var(--accent-bright);
}

.toggle-knob {
  width: 36px; height: 20px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  position: relative;
  transition: background 0.2s;
}
.zen-toggle.active .toggle-knob { background: var(--accent-bright); }
.toggle-knob::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 14px; height: 14px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
}
.zen-toggle.active .toggle-knob::after { transform: translateX(16px); }

.controls-hint {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  margin-top: 0.5rem;
}

/* Game Over Screen — covers full viewport including header */
.gameover-screen {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(5, 15, 30, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 350;
  padding: clamp(0.5rem, 2dvh, 1.5rem) clamp(0.75rem, 3vw, 2rem);
  text-align: center;
  gap: clamp(0.2rem, 1dvh, 0.5rem);
}
.gameover-screen.hidden { display: none; }

.pause-screen {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 350;
}
.pause-screen.hidden { display: none; }

/* Tap to start overlay */
.tap-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 350;
  cursor: pointer;
  animation: tapFadeIn 0.4s ease-out;
}
.tap-overlay.hidden { display: none; }
@keyframes tapFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.tap-content { text-align: center; display: flex; flex-direction: column; align-items: center; }
.tap-icon {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  animation: tapBob 2s ease-in-out infinite;
}
@keyframes tapBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.tap-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}
.tap-hint {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  animation: tapPulse 2s ease-in-out infinite;
}
@keyframes tapPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.tap-controls {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}
.tap-control {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 220px;
}
.tap-key {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  width: 80px;
  text-align: center;
  flex-shrink: 0;
}

/* Platform-specific controls: show desktop by default, mobile on touch devices */
.tap-mobile { display: none; }
.tap-desktop { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.tap-hint.tap-desktop { display: block; }
@media (hover: none) and (pointer: coarse) {
  .tap-desktop { display: none !important; }
  .tap-mobile { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
  .tap-hint.tap-mobile { display: block; }
}
.pause-content {
  text-align: center;
  max-height: calc(100dvh - var(--header-h, 50px));
  overflow-y: auto;
  padding: clamp(0.5rem, 2dvh, 1.5rem) 1rem;
}
.pause-icon { font-size: clamp(1.5rem, 4dvh, 3rem); margin-bottom: clamp(0.2rem, 0.5dvh, 0.5rem); }
.pause-title {
  font-size: clamp(1.2rem, 4dvh, 2.2rem);
  font-weight: 800;
  color: var(--accent-bright);
  margin-bottom: clamp(0.2rem, 0.5dvh, 0.5rem);
}
.pause-stats {
  color: rgba(255,255,255,0.6);
  font-size: clamp(0.75rem, 2dvh, 0.95rem);
  margin-bottom: clamp(0.5rem, 1.5dvh, 1.5rem);
}
.pause-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: clamp(0.4rem, 1dvh, 0.75rem);
  align-items: center;
  justify-content: center;
}
.pause-hint {
  color: rgba(255,255,255,0.35);
  font-size: 0.75rem;
  margin-top: clamp(0.5rem, 1dvh, 1.5rem);
}
.pause-btn-inline {
  position: fixed;
  top: calc(var(--header-h, 0px) + 80px); right: 12px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 1rem;
  cursor: pointer;
  z-index: 150;
  display: none;
  align-items: center;
  justify-content: center;
}

.gameover-icon { font-size: clamp(1.2rem, 4dvh, 3rem); }

.gameover-title {
  font-size: clamp(1.2rem, 5dvh, 2.2rem);
  font-weight: 800;
  color: var(--accent-bright);
}

.gameover-subtitle {
  color: rgba(255,255,255,0.5);
  font-size: clamp(0.7rem, 2dvh, 0.95rem);
}

/* Score breakdown — Alto-style itemized list */
.score-breakdown {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(0.6rem, 2dvh, 1rem) clamp(1rem, 3vw, 1.5rem);
  width: 100%;
  max-width: 340px;
}

.score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(0.2rem, 0.8dvh, 0.4rem) 0;
  font-size: clamp(0.75rem, 2dvh, 0.9rem);
}

.score-row-label {
  color: rgba(255,255,255,0.6);
}

.score-row-value {
  color: var(--accent-bright);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.score-row.score-total {
  border-top: 1px solid var(--border);
  margin-top: clamp(0.2rem, 0.5dvh, 0.3rem);
  padding-top: clamp(0.3rem, 1dvh, 0.5rem);
}
.score-total .score-row-label {
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  font-size: clamp(0.85rem, 2.5dvh, 1.05rem);
}
.score-total .score-row-value {
  font-size: clamp(1rem, 3dvh, 1.3rem);
  font-weight: 800;
  color: var(--gold, #F0C040);
}

.score-row.hidden-row { display: none; }

.gameover-details {
  font-size: clamp(0.65rem, 1.5dvh, 0.8rem);
  color: rgba(255,255,255,0.45);
}

/* Pause goals */
.pause-goals {
  color: rgba(255,255,255,0.5);
  font-size: clamp(0.7rem, 1.8dvh, 0.85rem);
  margin-bottom: clamp(0.4rem, 1dvh, 1rem);
  line-height: 1.6;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.pause-goal-item { display: flex; align-items: center; gap: 0.5rem; }
.pause-goal-done { color: var(--accent-bright); }
.pause-goal-pending { color: rgba(255,255,255,0.4); }

.gap-to-best {
  font-size: clamp(0.7rem, 2dvh, 0.9rem);
  color: var(--text-secondary);
}
.gap-to-best strong { color: var(--accent-bright); }

.gameover-buttons {
  display: flex; gap: clamp(0.4rem, 1.5dvh, 0.75rem); flex-wrap: wrap; justify-content: center;
}

.retry-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white; border: none;
  padding: clamp(0.4rem, 1.5dvh, 0.75rem) clamp(1.2rem, 5vw, 2rem);
  border-radius: 25px; font-size: clamp(0.85rem, 2.5dvh, 1.1rem); font-weight: 600;
  cursor: pointer; transition: transform 0.2s;
}
.retry-btn:hover { transform: translateY(-2px); }

.submit-btn {
  background: var(--bg-card);
  color: var(--accent-bright);
  border: 2px solid var(--accent);
  padding: 0.75rem 1.75rem;
  border-radius: 25px; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.submit-btn:hover { background: var(--accent); color: white; }
.submit-btn:disabled { opacity: 0.5; cursor: default; }

.menu-btn-go {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.5);
  padding: 0.75rem 1.5rem;
  border-radius: 25px; font-size: 0.9rem;
  cursor: pointer; transition: all 0.2s;
}
.menu-btn-go:hover { border-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.8); }

/* Level Select Screen — matches menu visual language */
.level-select-screen {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 350;
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
}
.level-select-screen.hidden { display: none; }

.level-select-content {
  position: relative;
  z-index: 1;
  flex: 1;
  overflow-y: auto;
  padding: clamp(0.8rem, 2dvh, 1.5rem) clamp(1rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(5, 15, 30, 0.55);
}

.level-select-header {
  display: flex;
  align-items: center;
  margin-bottom: clamp(0.5rem, 2dvh, 1.2rem);
  width: 100%;
  max-width: 480px;
}
.level-select-header .level-select-title {
  margin-left: auto;
}
.level-back-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  width: 36px; height: 36px;
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.level-back-btn:hover { background: rgba(255,255,255,0.15); color: white; }
.level-select-title {
  font-size: clamp(0.85rem, 2.5dvh, 1.1rem);
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.level-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.4rem, 1.2vw, 0.75rem);
  max-width: min(500px, 90vw);
  width: 100%;
}
@media (orientation: landscape) {
  .level-grid {
    max-width: min(85vw, 900px);
    gap: clamp(0.3rem, 1vw, 0.6rem);
  }
  .level-select-header {
    max-width: min(85vw, 900px);
  }
  .level-card {
    padding: clamp(0.3rem, 1dvh, 0.5rem) clamp(0.3rem, 1vw, 0.5rem);
  }
}

.level-biome-label {
  grid-column: 1 / -1;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: clamp(0.5rem, 1.5dvh, 1rem);
  color: var(--accent-bright) !important;
  opacity: 0.85 !important;
}

.level-card {
  background: rgba(10, 22, 40, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: clamp(0.5rem, 1.5dvh, 0.8rem) clamp(0.3rem, 1vw, 0.6rem);
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.2s, background 0.2s;
}
.level-card:hover:not(.locked) {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: rgba(10, 22, 40, 0.85);
}
.level-card.locked {
  opacity: 0.35;
  cursor: default;
}

.level-card-num {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.1rem;
}
.level-card-name {
  font-size: clamp(0.65rem, 1.5dvh, 0.8rem);
  font-weight: 700;
  color: white;
  margin-bottom: 0.15rem;
}
.level-card-stars {
  font-size: clamp(0.85rem, 2dvh, 1.1rem);
  color: #F0C040;
  margin-bottom: 0.1rem;
}
.level-card-goal {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.3;
}

.endless-card {
  grid-column: 1 / -1;
  max-width: 220px;
  justify-self: center;
  background: rgba(240,192,64,0.06);
  border-color: rgba(240,192,64,0.15);
}
.endless-card:hover:not(.locked) {
  border-color: #F0C040;
  background: rgba(240,192,64,0.12);
}

/* Star rating in game over */
.level-stars {
  font-size: clamp(1.5rem, 5dvh, 2.5rem);
  display: flex;
  gap: 0.3rem;
  justify-content: center;
}
.level-stars.hidden { display: none; }
.star.filled { color: #F0C040; }
.star.empty { color: rgba(255,255,255,0.2); }

/* Biome title card */
.biome-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 1rem 2rem;
  text-align: center;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}
.biome-card.show { opacity: 1; }
.biome-card-name { font-size: 1.4rem; font-weight: 700; color: white; }
.biome-card-sub { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 0.25rem; }

/* Toast notifications */
.toast-container {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  background: rgba(0,0,0,0.3);
  border: none;
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  animation: toastIn 0.2s ease-out, toastOut 0.2s ease-in 1.8s forwards;
  white-space: nowrap;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes toastOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* Screen flash */
.screen-flash {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 400;
  opacity: 0;
}

/* Landscape — all 5 stats in one row */
@media (orientation: landscape) {
  .gameover-stats {
    max-width: min(92vw, 900px);
    flex-wrap: nowrap;
  }
  .gameover-stat {
    flex: 1;
    min-width: 0;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-icon { animation: none; }
  .toast { animation: none; opacity: 1; }
  .play-btn, .retry-btn { transition: none; }
  .biome-card { transition: none; }
  .altitude-fill { transition: none; }
}

:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 2px;
}
:focus:not(:focus-visible) {
  outline: none;
}
