/* Theme: X / Grok dark. Pure black, hairline #2f3336 borders, pill controls, white primary action,
   X blue (#1d9bf0) as the only accent, Inter (the closest open font to X's Chirp), sentence case. */
@font-face { font-family: "Inter"; src: url("../assets/fonts/Inter-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/Inter-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/Inter-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/Inter-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --bg: #000;
  --surface: #16181c;                       /* X secondary background */
  --hover: rgba(231, 233, 234, 0.1);        /* X hover wash */
  --line: #2f3336;                          /* X border */
  --line-2: #536471;                        /* outlined button border */
  --glass: rgba(0, 0, 0, 0.65);             /* X sticky header */
  --text: #e7e9ea;
  --muted: #71767b;
  --accent: #1d9bf0;                        /* X blue */
  --accent-hover: #1a8cd8;
  --on: rgba(29, 155, 240, 0.12);
  --on-line: rgba(29, 155, 240, 0.55);
  --primary: #eff3f4;                       /* white pill (Post / Subscribe) */
  --primary-hover: #d7dbdc;
  --on-primary: #0f1419;
  --ok: #00ba7c;
  --danger: #f4212e;
  --warn: #ffd400;
  --top-h: 56px;
  --side-w: 248px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; }
svg use { pointer-events: none; }
#app { position: fixed; inset: 0; }

/* ---------- top bar ---------- */
#topbar {
  position: absolute; left: 0; right: 0; top: 0; height: var(--top-h);
  display: flex; align-items: center; gap: 12px;
  padding: 0 12px 0 16px;
  background: var(--glass);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 5;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark { width: 28px; height: 28px; fill: var(--text); }
.brand-mark .glass { fill: var(--muted); }
.brand-title { font-weight: 800; font-size: 20px; letter-spacing: -0.01em; white-space: nowrap; }
.brand-year { color: var(--muted); font-size: 15px; white-space: nowrap; }
.credit { color: var(--muted); font-size: 13px; text-decoration: none; white-space: nowrap; padding-left: 10px; border-left: 1px solid var(--line); }
.credit:hover { color: var(--text); text-decoration: underline; }
.badge {
  display: inline-block; padding: 2px 10px;
  font-size: 12px; font-weight: 700; color: var(--on-primary);
  background: var(--warn); border-radius: 9999px;
}
.badge[hidden] { display: none; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.sep { width: 1px; height: 24px; background: var(--line); margin: 0 6px; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; padding: 0;
  background: transparent; border: 1px solid transparent; border-radius: 9999px;
  color: var(--text); cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.icon-btn svg, .list svg, .cta svg, .hud-actions svg, #orbit-hint svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.icon-btn:hover { background: var(--hover); }
.icon-btn[aria-pressed="true"] { color: var(--accent); background: var(--on); }
button:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  height: 36px; padding: 0 16px;
  background: var(--primary); color: var(--on-primary);
  font-weight: 700; font-size: 15px;
  border: 0; border-radius: 9999px; cursor: pointer;
  transition: background 0.2s;
}
.cta svg { stroke-width: 2; width: 18px; height: 18px; }
.cta:hover { background: var(--primary-hover); }
.cta:active { transform: translateY(1px); }
.cta.wide { width: 100%; height: 40px; }
.cta kbd { margin-left: auto; color: rgba(15, 20, 25, 0.6); border-color: rgba(15, 20, 25, 0.25); }

/* ---------- sidebar ---------- */
#sidebar {
  position: absolute; left: 0; top: var(--top-h); bottom: 0; width: var(--side-w);
  display: flex; flex-direction: column;
  background: var(--bg);
  border-right: 1px solid var(--line);
  overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  z-index: 4;
}
#sidebar section { padding: 14px 12px 2px; }
#sidebar section + section { border-top: 1px solid var(--line); margin-top: 10px; }
#sidebar h2 { margin: 0 4px 8px; font-size: 17px; font-weight: 800; color: var(--text); }
.list { display: grid; gap: 2px; }
.list button {
  display: flex; align-items: center; gap: 14px;
  height: 41px; padding: 0 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9999px;
  font-size: 15px; text-align: left; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.list button span { flex: 1; }
.list button:hover { background: var(--hover); }
.list button[aria-pressed="true"] { background: var(--on); border-color: var(--on-line); font-weight: 700; }
.list button[aria-pressed="true"] svg { color: var(--accent); }
.list button:disabled { opacity: 0.35; cursor: not-allowed; }
.list.cams { grid-template-columns: 1fr 1fr; gap: 8px; }
.list.cams button { height: 38px; gap: 9px; padding: 0 12px; font-size: 14px; border-color: var(--line); }
.list.cams kbd { display: none; }
kbd {
  display: inline-grid; place-items: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  font: 500 11.5px var(--font); color: var(--muted);
  border: 1px solid var(--line); border-radius: 6px;
}
.fly-card {
  margin: 14px 12px 0; padding: 14px 16px 16px !important;
  border: 1px solid var(--line) !important; border-radius: 16px;
  background: var(--surface);
}
.fly-title { font-weight: 800; font-size: 17px; }
.fly-card p { margin: 6px 0 14px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.fly-key { margin-top: 10px; text-align: center; color: var(--muted); font-size: 13px; }
.fly-key kbd { margin-left: 4px; }
.side-foot {
  margin-top: auto; padding: 14px 16px;
  display: flex; align-items: flex-end; justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px; line-height: 1.6;
}
.status { display: flex; align-items: center; gap: 7px; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 13px; padding: 4px 8px; border-radius: 9999px; }
.status:hover { background: var(--hover); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

/* ---------- stage ---------- */
#stage {
  position: absolute; left: var(--side-w); right: 0; top: var(--top-h); bottom: 0;
  overflow: hidden;
  background: var(--bg);
}
#gl, #overlay {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
#gl { touch-action: none; outline: none; }
#overlay { pointer-events: none; }
.card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
#orbit-hint { position: absolute; left: 14px; top: 14px; padding: 12px 16px; font-size: 14px; }
#orbit-hint h3 { margin: 0 0 6px; font-size: 15px; font-weight: 800; }
#orbit-hint div { display: flex; align-items: center; gap: 10px; height: 30px; }
#orbit-hint em { font-style: normal; color: var(--muted); font-size: 13px; margin-left: auto; padding-left: 16px; }
#orbit-hint.faded { opacity: 0; transition: opacity 0.8s; pointer-events: none; }

#tools { position: absolute; right: 14px; top: 14px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.select { position: relative; display: block; }
.select select {
  appearance: none; -webkit-appearance: none;
  height: 40px; min-width: 150px; padding: 0 38px 0 16px;
  background: var(--glass); color: var(--text);
  border: 1px solid var(--line); border-radius: 9999px;
  font: 700 15px var(--font); cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background 0.2s;
}
.select select:hover { background: rgba(22, 24, 28, 0.85); }
.select::after {
  content: ""; position: absolute; right: 16px; top: 15px; width: 6px; height: 6px;
  border-right: 1.75px solid var(--text); border-bottom: 1.75px solid var(--text); transform: rotate(45deg);
  pointer-events: none;
}
.select option { background: var(--bg); }
.rail { display: flex; flex-direction: column; gap: 8px; }
.rail .icon-btn { background: var(--glass); border-color: var(--line); width: 44px; height: 44px; backdrop-filter: blur(12px); }
.rail .icon-btn:hover { background: rgba(22, 24, 28, 0.85); }
.rail .icon-btn[aria-pressed="true"] { color: var(--accent); border-color: var(--on-line); background: rgba(3, 20, 32, 0.8); }

#zoombar {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px; padding: 4px 6px;
  border-radius: 9999px;
}
#zoom { -webkit-appearance: none; appearance: none; width: 180px; height: 4px; margin: 0 8px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) var(--fill, 60%), var(--line) var(--fill, 60%)); cursor: pointer; }
#zoom::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(29, 155, 240, 0.2); }
#zoom::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--accent); }

/* ---------- HTML fallback overlay ---------- */
#overlay-html { position: absolute; inset: 0; pointer-events: none; }
#overlay-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#overlay-svg line { stroke: rgba(231, 233, 234, 0.5); stroke-width: 1; }
#overlay-svg line.hover { stroke: rgba(231, 233, 234, 0.85); }
#overlay-svg circle.dot { fill: var(--text); }
#overlay-svg circle.ring { fill: none; stroke: var(--text); stroke-width: 1.25; }
#overlay-svg circle.on, #overlay-svg circle.hover { fill: var(--accent); }
#overlay-svg circle.ring.on, #overlay-svg circle.ring.hover { fill: none; stroke: var(--accent); }
.callout-label {
  position: absolute; left: 0; top: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 46px 0 16px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid var(--line); border-radius: 9999px;
  white-space: nowrap;
  will-change: transform, opacity;
}
.callout-label.hover { border-color: var(--muted); }
.callout-label b { display: block; font-weight: 700; font-size: 13.5px; line-height: 1.25; }
.callout-label span { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.callout-label.on span { color: var(--accent); }
.callout-label i { position: absolute; right: 12px; top: 50%; }
.callout-label i.switch { width: 30px; height: 18px; margin-top: -9px; border-radius: 9px; background: #3e4144; transition: background 0.2s; }
.callout-label i.switch::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.callout-label.on i.switch { background: var(--accent); }
.callout-label.on i.switch::after { transform: translateX(12px); }
.callout-label i.chev { right: 16px; width: 8px; height: 8px; margin-top: -4px; border-right: 1.6px solid var(--muted); border-top: 1.6px solid var(--muted); transform: rotate(45deg); }
#overlay-html.compact .callout-label { padding: 0 36px 0 12px; }
#overlay-html.compact .callout-label b { font-size: 11.5px; }
#overlay-html.compact .callout-label span { font-size: 10px; }
#overlay-html.compact .callout-label i.switch { right: 8px; width: 24px; height: 14px; margin-top: -7px; }
#overlay-html.compact .callout-label i.switch::after { width: 10px; height: 10px; }
#overlay-html.compact .callout-label.on i.switch::after { transform: translateX(10px); }
.spec-card {
  position: absolute; left: 16px; bottom: 16px;
  width: 292px; padding: 14px 16px 12px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  font-size: 13px;
}
.spec-card h3 { margin: 0 0 2px; font-size: 17px; font-weight: 800; }
.spec-card .sub { color: var(--muted); font-size: 12.5px; padding-bottom: 12px; margin: 0 -16px 10px; padding-left: 16px; border-bottom: 1px solid var(--line); }
.spec-card dl { display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; margin: 0; }
.spec-card dt { color: var(--muted); }
.spec-card dd { margin: 0; text-align: right; font-weight: 700; }
.spec-card .foot { margin-top: 10px; color: var(--muted); font-size: 10.5px; }

/* ---------- stats / toast / loader ---------- */
.stats {
  position: absolute; left: 50%; top: 12px; transform: translateX(-50%);
  padding: 5px 12px; border-radius: 9999px;
  background: var(--glass); border: 1px solid var(--line);
  font: 500 11px ui-monospace, Consolas, monospace; color: var(--ok);
  white-space: pre; pointer-events: none; z-index: 3;
}
.toast {
  position: absolute; left: 50%; bottom: 84px; transform: translateX(-50%);
  padding: 10px 18px; border-radius: 9999px;
  background: var(--accent); color: #fff;
  font-size: 15px; width: max-content; max-width: calc(100% - 32px); text-align: center;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.12);
  opacity: 0; transition: opacity 0.25s; pointer-events: none; z-index: 3;
}
.toast.show { opacity: 1; }
.loader {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px;
  background: var(--bg); transition: opacity 0.6s; z-index: 20;
}
.loader.done { opacity: 0; pointer-events: none; }
.loader-title { font-weight: 800; font-size: 34px; letter-spacing: -0.02em; }
.loader-bar { width: 220px; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.2s; }
.loader-credit { margin-top: -10px; color: var(--muted); font-size: 14px; text-decoration: none; }
.loader-credit:hover { color: var(--text); }
.loader-text { color: var(--muted); font-size: 13px; max-width: 80vw; text-align: center; }
.loader-text.error { color: var(--danger); }

/* ---------- help ---------- */
.modal { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(91, 112, 131, 0.4); z-index: 15; }
.modal[hidden] { display: none; }
.modal-card { position: relative; width: min(600px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; padding: 20px 24px 8px; background: var(--bg); border: 0; }
.modal-card h3 { margin: 8px 0 12px; font-size: 20px; font-weight: 800; }
.modal-card dl { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; margin: 0 0 20px; font-size: 15px; }
.modal-card dt { color: var(--muted); font-weight: 700; }
.modal-card dd { margin: 0; }
.modal-card .close { position: absolute; right: 12px; top: 12px; }
.muted { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ---------- Drive & Fly ---------- */
body.flying #topbar, body.flying #sidebar, body.flying #tools, body.flying #zoombar, body.flying #orbit-hint { display: none; }
body.flying #stage { left: 0; top: 0; }
body.flying .toast { bottom: auto; top: 76px; }
#hud { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
#hud[hidden] { display: none; }
.hud-top { position: absolute; left: 18px; right: 18px; top: 16px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.hud-mode { display: flex; flex-direction: column; gap: 2px; text-shadow: 0 1px 10px rgba(0,0,0,0.8); }
#hud-mode { display: block; font-weight: 800; font-size: 26px; letter-spacing: -0.01em; text-transform: lowercase; }
#hud-mode::first-letter { text-transform: uppercase; }
#hud-cam { color: var(--muted); font-size: 14px; }
.hud-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; pointer-events: auto; }
.hud-actions button {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
  background: var(--glass); border: 1px solid var(--line); border-radius: 9999px;
  font-size: 14px; font-weight: 700; cursor: pointer; backdrop-filter: blur(12px);
  transition: background 0.2s;
}
.hud-actions button svg { width: 18px; height: 18px; }
.hud-actions button:hover { background: rgba(22, 24, 28, 0.9); }
.hud-actions button[data-action="demo"] { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.hud-actions button[data-action="demo"]:hover { background: var(--primary-hover); }
.hud-actions button[data-action="demo"] kbd { color: rgba(15, 20, 25, 0.6); border-color: rgba(15, 20, 25, 0.25); }
.hud-keys { position: absolute; left: 18px; top: 92px; padding: 12px 14px; font-size: 13.5px; color: var(--text); display: grid; gap: 6px; }
.hud-keys kbd { margin-right: 3px; color: var(--text); }
.hud-bottom { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: flex-end; gap: 28px; }
.hud-bottom::before { content: ""; position: absolute; inset: -40px -90px -30px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0,0,0,0.6), rgba(0,0,0,0)); }
.gauge { text-align: right; text-shadow: 0 2px 14px rgba(0,0,0,0.9); }
.speed b { font-weight: 800; font-size: 64px; line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.speed span { margin-left: 6px; font-size: 15px; color: var(--muted); }
.alt { white-space: nowrap; margin-top: 4px; color: var(--muted); font-size: 14px; }
.alt b { color: var(--text); font-variant-numeric: tabular-nums; }
.gas { width: 220px; padding-bottom: 6px; }
.gas-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.gas-label span { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.gas-bar { height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.gas-bar i { display: block; height: 100%; width: 100%; background: var(--accent); transition: width 0.1s linear; }
.gas-bar.low i { background: linear-gradient(90deg, var(--danger), var(--warn)); }
.jets { display: flex; gap: 6px; margin-top: 12px; }
.jets span {
  flex: 1; text-align: center; padding: 5px 0; font-size: 12px; font-weight: 700;
  border: 1px solid var(--line); border-radius: 9999px; color: var(--muted);
  background: rgba(29, 155, 240, calc(var(--lv, 0) * 0.45));
  transition: background 0.08s;
}
.jets span.on { color: #fff; border-color: var(--on-line); }
.hud-hint {
  position: absolute; left: 18px; bottom: 26px; max-width: calc(50% - 200px);
  font-size: 14px; color: var(--text); text-shadow: 0 1px 8px rgba(0,0,0,0.9);
}

.hud-credit {
  position: absolute; right: 18px; bottom: 22px; pointer-events: auto;
  color: rgba(231, 233, 234, 0.45); font-size: 12px; text-decoration: none; text-shadow: 0 1px 6px rgba(0,0,0,0.9);
}
.hud-credit:hover { color: var(--text); text-decoration: underline; }
.drawer-credit { display: none; }

#touch { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
#touch[hidden] { display: none; }
.stick {
  position: absolute; left: 28px; bottom: 110px; width: 132px; height: 132px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--glass); pointer-events: auto; touch-action: none;
}
.stick i { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px; border-radius: 50%; background: rgba(231, 233, 234, 0.2); border: 1px solid rgba(231, 233, 234, 0.45); }
.touch-btns { position: absolute; right: 24px; bottom: 110px; display: grid; gap: 10px; pointer-events: auto; }
.touch-btns button {
  width: 84px; height: 52px; border-radius: 9999px; border: 1px solid var(--line);
  background: var(--glass); font-weight: 700; font-size: 14px; touch-action: none;
}
.touch-btns button.held { background: var(--accent); border-color: var(--accent); color: #fff; }

.only-phone { display: none; }

/* ---------- tablets ---------- */
@media (max-width: 1100px) {
  :root { --side-w: 220px; }
  .brand-year { display: none; }
  #orbit-hint { display: none; }
  .credit { font-size: 12.5px; }
}

/* ---------- phones ---------- */
@media (max-width: 720px) {
  :root { --top-h: 52px; }
  .only-phone { display: inline-grid; }
  #topbar { padding: 0 8px; gap: 6px; }
  .brand-title { font-size: 18px; }
  .brand-mark { display: none; }
  .top-actions .icon-btn[data-action="screenshot"], .top-actions .sep { display: none; }
  .top-actions .cta { padding: 0 14px; white-space: nowrap; }
  .top-actions .cta span { font-size: 0; }
  .top-actions .cta span::after { content: "Fly"; font-size: 15px; }
  .top-actions .icon-btn { width: 36px; height: 36px; }
  #stage { left: 0; }
  #sidebar {
    top: auto; bottom: 0; width: 100%; max-height: 62%;
    border-right: 0; border-top: 1px solid var(--line);
    border-radius: 16px 16px 0 0;
    transform: translateY(105%); transition: transform 0.25s ease;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.12);
  }
  #sidebar.open { transform: none; }
  .list { grid-template-columns: 1fr 1fr; }
  .list button { border-color: var(--line); }
  .list.cams { grid-template-columns: 1fr 1fr 1fr; }
  .list button kbd { display: none; }
  .fly-card, .side-foot { display: none; }
  .credit, .hud-credit { display: none; }
  .drawer-credit { display: block; padding: 12px 16px 16px; color: var(--muted); font-size: 13px; text-align: center; text-decoration: none; }
  #tools { right: 10px; top: 10px; }
  .select select { min-width: 0; height: 36px; font-size: 14px; }
  .rail .icon-btn { width: 40px; height: 40px; }
  #zoombar { bottom: 12px; padding: 2px 4px; }
  #zoom { width: 110px; }
  .spec-card { display: none; }
  .toast { bottom: 70px; font-size: 14px; }
  .hud-actions button { padding: 0 11px; }
  .hud-actions button span, .hud-actions button kbd { display: none; }
  .hud-keys { display: none; }
  .hud-bottom { bottom: 14px; gap: 14px; }
  .speed b { font-size: 44px; }
  .gas { width: 130px; }
  .hud-hint { display: none; }
  #hud-mode { font-size: 19px; }
}
