/* ============================================================
   BROUETTE_ROUGE — pwn-runner
   dark neon hacker game shell
   ============================================================ */

:root {
  --bg: #06060a;
  --bg-1: #0c0c12;
  --bg-2: #14141c;
  --ink: #e8e8ef;
  --ink-dim: #8a8a99;
  --ink-faint: #4a4a58;
  --red: #ff1f3d;
  --red-hot: #ff3a55;
  --red-deep: #b3001b;
  --red-glow: rgba(255, 31, 61, 0.55);
  --phosphor: #5cffbf;
  --phosphor-dim: #1f8a5c;
  --amber: #ffb84a;
  --line: rgba(255, 31, 61, 0.18);
  --line-soft: rgba(255, 255, 255, 0.06);

  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --crt: 'VT323', monospace;
  --display: 'Major Mono Display', 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255, 31, 61, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 110%, rgba(255, 31, 61, 0.08), transparent 60%),
    var(--bg);
}

::selection { background: var(--red); color: var(--bg); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }

/* page-level scanlines */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.022) 0px,
    rgba(255, 255, 255, 0.022) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 99;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.55) 100%);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.page {
  position: relative;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 32px 60px;
  z-index: 1;
}
.red  { color: var(--red); }
.phos { color: var(--phosphor); }
.dim  { color: var(--ink-dim); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: rgba(6, 6, 10, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  max-width: 1480px;
  margin: 0 auto;
}
.nav-brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: 0.08em; font-size: 14px; }
.nav-brand .logo-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  background-image: url('logo.jpg');
  background-size: cover; background-position: center;
  filter: drop-shadow(0 0 8px var(--red-glow));
  border: 1px solid var(--red);
}
.nav-brand .brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.nav-brand .brand-text small { color: var(--red); font-size: 9px; letter-spacing: 0.3em; font-weight: 400; }
.nav-links { display: flex; gap: 28px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.nav-links a { color: var(--ink-dim); position: relative; padding: 4px 0; transition: color .15s; }
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::before { content: '> '; position: absolute; left: -14px; color: var(--red); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--red);
  color: var(--red);
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; font-weight: 700;
  background: rgba(255, 31, 61, 0.06);
}
.nav-cta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 8px var(--red);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

/* ============================================================
   GAME WRAP
   ============================================================ */
.game-wrap { padding: 40px 0 8px; }
.game-meta { margin-bottom: 28px; }

.hero-meta {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 18px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint);
  flex-wrap: wrap;
}
.hero-meta .tag { color: var(--red); display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .tag::before {
  content: ''; width: 8px; height: 8px; background: var(--red);
  box-shadow: 0 0 12px var(--red); animation: pulse 1.4s ease-in-out infinite;
}

.title-glitch {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 0;
}
.title-glitch .word { display: inline-block; margin-right: 0.25em; }
.title-glitch .word.red {
  color: var(--red);
  text-shadow: 0 0 24px var(--red-glow), 0 0 48px rgba(255, 31, 61, 0.35);
}

.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0; width: 100%;
  pointer-events: none;
}
.glitch::before {
  color: var(--red);
  animation: glitch-1 4.2s infinite steps(1);
  text-shadow: 2px 0 var(--red);
  opacity: 0.85;
}
.glitch::after {
  color: var(--phosphor);
  animation: glitch-2 5.6s infinite steps(1);
  text-shadow: -2px 0 var(--phosphor);
  opacity: 0.6;
}
@keyframes glitch-1 {
  0%, 92%, 100% { clip-path: inset(0 0 100% 0); transform: translate(0); }
  93% { clip-path: inset(20% 0 60% 0); transform: translate(3px, -1px); }
  95% { clip-path: inset(60% 0 10% 0); transform: translate(-2px, 1px); }
  97% { clip-path: inset(10% 0 80% 0); transform: translate(2px, 0); }
}
@keyframes glitch-2 {
  0%, 88%, 100% { clip-path: inset(0 0 100% 0); transform: translate(0); }
  89% { clip-path: inset(40% 0 40% 0); transform: translate(-3px, 1px); }
  91% { clip-path: inset(75% 0 5% 0); transform: translate(2px, -1px); }
  93% { clip-path: inset(5% 0 75% 0); transform: translate(-1px, 0); }
}

.hero-tagline { font-size: 15px; color: var(--ink-dim); max-width: 720px; line-height: 1.7; }
.hero-tagline b { color: var(--ink); font-weight: 500; }

/* ---------- Game stage: canvas + side log ---------- */
.game-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.game-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--red);
  background: #02020a;
  box-shadow:
    0 0 0 1px rgba(255, 31, 61, 0.08),
    0 0 40px rgba(255, 31, 61, 0.18),
    inset 0 0 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.game-frame canvas {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  touch-action: none;
  user-select: none;
}
.game-frame .corner { position: absolute; width: 16px; height: 16px; border: 2px solid var(--red); z-index: 4; pointer-events: none; }
.game-frame .corner.tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.game-frame .corner.tr { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.game-frame .corner.bl { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.game-frame .corner.br { bottom: 8px; right: 8px; border-left: none; border-top: none; }

/* HUD overlay over canvas */
.hud {
  position: absolute; inset: 0;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  z-index: 3;
  font-family: var(--mono);
}
.hud-left, .hud-right { display: flex; gap: 14px; }
.hud-right { text-align: right; }
.hud-box {
  background: rgba(6, 6, 10, 0.55);
  border: 1px solid var(--line);
  padding: 6px 12px;
  min-width: 96px;
  backdrop-filter: blur(3px);
}
.hud-lbl {
  font-size: 9px; letter-spacing: 0.25em;
  color: var(--ink-faint); text-transform: uppercase;
}
.hud-val {
  font-family: var(--display);
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-top: 2px;
}
.hud-val.phos { color: var(--phosphor); text-shadow: 0 0 8px rgba(92, 255, 191, 0.4); }
.hud-val.red { color: var(--red); text-shadow: 0 0 8px var(--red-glow); }

.powerup-bar {
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 3;
  pointer-events: none;
}
.powerup-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 10px;
  background: rgba(6, 6, 10, 0.7);
  border: 1px solid currentColor;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  font-family: var(--mono); font-weight: 700;
}
.powerup-chip .pw-bar {
  width: 50px; height: 3px; background: rgba(255,255,255,0.1); position: relative;
}
.powerup-chip .pw-bar i { position: absolute; top: 0; left: 0; bottom: 0; background: currentColor; }

/* Overlay screens (title, game over, pause) */
.screen {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 40px;
  background:
    radial-gradient(ellipse at center, rgba(255, 31, 61, 0.1), transparent 70%),
    rgba(6, 6, 10, 0.82);
  backdrop-filter: blur(6px);
  z-index: 5;
  text-align: center;
  animation: screen-in .35s ease-out;
}
.screen.hidden { display: none; }
@keyframes screen-in {
  from { opacity: 0; backdrop-filter: blur(0); }
  to   { opacity: 1; backdrop-filter: blur(6px); }
}
.screen-inner { max-width: 600px; }

.screen-eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--phosphor);
  margin-bottom: 18px;
  font-weight: 700;
}
.screen-eyebrow.red { color: var(--red); }
.screen-eyebrow.phos { color: var(--phosphor); }
.screen-title-text {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.screen-title-text .red { color: var(--red); text-shadow: 0 0 24px var(--red-glow); }
.screen-desc {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.7;
  margin-bottom: 28px;
}
.screen-desc .red { color: var(--red); }
.screen-desc .phos { color: var(--phosphor); }
.screen-desc .dim { color: var(--ink-faint); display: block; margin-top: 8px; font-size: 12px; }
.screen-foot { font-size: 11px; color: var(--ink-faint); letter-spacing: 0.15em; text-transform: uppercase; margin-top: 16px; }

.controls-grid {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.ctrl { display: inline-flex; align-items: center; gap: 8px; }
.ctrl-desc { color: var(--ink-dim); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.key {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 7px;
  border: 1px solid var(--ink-faint);
  color: var(--ink);
  letter-spacing: 0.1em;
  font-weight: 700;
  min-width: 22px;
  text-align: center;
}

.end-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 24px;
}
.end-stat {
  padding: 14px 8px;
  background: rgba(6,6,10,0.85);
}
.end-val {
  font-family: var(--display);
  font-size: 32px;
  color: var(--ink);
  margin-top: 6px;
  line-height: 1;
}
.end-val.phos { color: var(--phosphor); text-shadow: 0 0 12px rgba(92, 255, 191, 0.3); }
.end-val.red { color: var(--red); text-shadow: 0 0 12px var(--red-glow); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; font-weight: 700;
  border: 1px solid var(--ink-faint);
  color: var(--ink);
  transition: all .18s;
  background: rgba(255,255,255,0.02);
}
.btn:hover { border-color: var(--red); color: var(--red); background: rgba(255,31,61,0.05); }
.btn.primary {
  border-color: var(--red);
  color: var(--bg);
  background: var(--red);
  box-shadow: 0 0 24px rgba(255, 31, 61, 0.35);
}
.btn.primary:hover {
  background: var(--red-hot);
  box-shadow: 0 0 36px var(--red-glow);
  color: var(--bg);
  transform: translateY(-1px);
}
.btn.primary .arrow { transition: transform .18s; }
.btn.primary:hover .arrow { transform: translateX(4px); }
.big-btn { padding: 16px 32px; font-size: 13px; }

/* ---------- Side terminal event log ---------- */
.terminal {
  border: 1px solid var(--line);
  background: rgba(12, 12, 18, 0.85);
  font-family: var(--mono);
  font-size: 12px;
  position: relative;
  overflow: hidden;
  align-self: stretch;
}
.terminal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,31,61,0.06);
}
.terminal-head .dots { display: flex; gap: 6px; }
.terminal-head .dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink-faint); opacity: 0.5;
}
.terminal-head .dots span:first-child { background: var(--red); opacity: 1; box-shadow: 0 0 6px var(--red); }
.terminal-head .title {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-dim);
}
.terminal-head .title.phos { color: var(--phosphor); }
.terminal-body {
  padding: 12px 14px;
  font-family: var(--crt);
  font-size: 16px;
  line-height: 1.35;
  color: var(--phosphor);
  text-shadow: 0 0 6px rgba(92, 255, 191, 0.35);
  height: 100%;
  max-height: 100%;
  min-height: 200px;
  overflow: hidden;
  display: flex;
  flex-direction: column-reverse;
}
#log-body { display: flex; flex-direction: column; gap: 2px; }
#log-body > div { word-wrap: break-word; }
.terminal-body .prompt { color: var(--red); }
.terminal-body .ink { color: var(--ink); }
.terminal-body .dim { color: var(--ink-dim); }
.terminal-body .flag { color: var(--amber); }
.terminal-body .red { color: var(--red); }
.cursor {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--phosphor);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1s steps(2) infinite;
  box-shadow: 0 0 6px rgba(92, 255, 191, 0.5);
}
@keyframes blink { 50% { opacity: 0; } }

/* ============================================================
   ABOUT
   ============================================================ */
.section-rule {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 16px;
  align-items: center;
  margin: 80px 0 32px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--red);
}
.section-rule .num { color: var(--ink-faint); }
.section-rule .line { height: 1px; background: linear-gradient(to right, var(--line), transparent); }
.section-rule .meta { color: var(--ink-faint); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.about-poem {
  font-family: var(--crt);
  font-size: 26px;
  line-height: 1.45;
  color: var(--ink-dim);
  padding-left: 24px;
  border-left: 2px solid var(--red);
}
.about-poem .b { color: var(--ink); }
.about-poem .red { color: var(--red); }
.about-poem cite {
  display: block;
  margin-top: 18px;
  font-size: 12px;
  font-family: var(--mono);
  color: var(--ink-faint);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-style: normal;
}
.about-body h2 {
  font-family: var(--display);
  font-size: 36px;
  margin-bottom: 18px;
  line-height: 1.05;
  text-transform: uppercase;
}
.about-body h2 .red { color: var(--red); }
.about-body p {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.7;
  margin-bottom: 14px;
}
.about-body p b { color: var(--ink); font-weight: 500; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin-top: 24px;
}
.about-stats .stat { padding: 0 18px; border-right: 1px solid var(--line-soft); }
.about-stats .stat:last-child { border-right: none; }
.about-stats .stat .val {
  font-family: var(--display);
  font-size: 28px;
  color: var(--red);
  line-height: 1; margin-bottom: 6px;
}
.about-stats .stat .lbl {
  font-size: 9px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-faint);
}

/* ============================================================
   SCOREBOARD
   ============================================================ */
.scoreboard {
  border: 1px solid var(--line);
  background: rgba(12,12,18,0.4);
}
.score-row {
  display: grid;
  grid-template-columns: 60px 1fr 120px 110px 110px;
  gap: 18px;
  align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
}
.score-row:last-child { border-bottom: none; }
.score-row.head {
  font-size: 10px;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 14px 22px;
  background: rgba(255, 31, 61, 0.04);
  border-bottom: 1px solid var(--line);
}
.score-row .rank {
  font-family: var(--display);
  font-size: 20px;
  color: var(--red);
  text-shadow: 0 0 8px var(--red-glow);
  line-height: 1;
}
.score-row .who { color: var(--ink); }
.score-row .score-val { font-family: var(--crt); font-size: 22px; color: var(--phosphor); text-shadow: 0 0 6px rgba(92, 255, 191, 0.35); }
.score-row .dist-val { font-family: var(--crt); font-size: 18px; color: var(--ink-dim); }
.score-row .flags-val { font-family: var(--crt); font-size: 18px; color: var(--amber); }
.score-row.empty { color: var(--ink-faint); padding: 26px 22px; font-style: italic; grid-template-columns: 1fr; text-align: center; }
.score-row.me {
  background: rgba(255, 31, 61, 0.06);
}
.score-row .who small.when {
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-left: 6px;
}

/* ============================================================
   MORE TO COME
   ============================================================ */
.next-intro {
  max-width: 720px;
  margin-bottom: 24px;
}
.next-intro p {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.7;
}
.next-intro .dim { color: var(--ink-faint); }

.next-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.next-card {
  position: relative;
  border: 1px dashed var(--line);
  padding: 20px 18px 24px;
  background:
    repeating-linear-gradient(-45deg, transparent 0 13px, rgba(255, 31, 61, 0.035) 13px 14px),
    rgba(12, 12, 18, 0.4);
  transition: all .18s;
  overflow: hidden;
}
.next-card:hover {
  border-color: var(--red);
  background:
    repeating-linear-gradient(-45deg, transparent 0 13px, rgba(255, 31, 61, 0.06) 13px 14px),
    rgba(20, 8, 12, 0.55);
  transform: translateY(-2px);
}
.next-card .next-mark {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.next-card .next-title {
  font-family: var(--display);
  font-size: 22px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.next-card .next-desc {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-dim);
  line-height: 1.6;
}
.next-card .next-badge {
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--phosphor);
  border: 1px solid var(--phosphor);
  padding: 3px 7px;
  text-transform: uppercase;
  animation: pulse 2s ease-in-out infinite;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-mini {
  margin-top: 60px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .game-stage { grid-template-columns: 1fr; }
  .terminal { min-height: 140px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .score-row { grid-template-columns: 50px 1fr 90px; gap: 12px; padding: 12px 16px; }
  .score-row .dist-col, .score-row .flags-col { display: none; }
  .next-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .page { padding: 0 16px 40px; }
  .nav { padding: 14px 16px; }
  .nav-links { display: none; }
  .hud { padding: 14px 18px; }
  .hud-box { min-width: 70px; padding: 4px 8px; }
  .hud-val { font-size: 14px; }
  .screen-title-text { font-size: clamp(36px, 12vw, 60px); }
  .controls-grid { gap: 10px; }
  .footer-mini { flex-direction: column; align-items: flex-start; }
}

/* Touch device: show touch controls, hide keyboard-only hints */
@media (hover: none) and (pointer: coarse) {
  .touch-ctrl { display: flex; }
  .screen-foot .key { display: none; }
  .screen-foot { letter-spacing: 0.08em; }
}
/* Non-touch: hide the touch-only rows */
@media (hover: hover) {
  .touch-ctrl { display: none; }
}

/* Small viewports: game canvas is ~190-250px tall, so squeeze overlays */
@media (max-width: 600px) {
  .screen { padding: 10px 14px; overflow-y: auto; }
  .screen-eyebrow { font-size: 9px; margin-bottom: 6px; }
  .screen-title-text { font-size: clamp(22px, 8vw, 42px); margin-bottom: 8px; }
  .end-stats { margin-bottom: 10px; }
  .end-stat { padding: 8px 6px; }
  .end-val { font-size: 20px; margin-top: 3px; }
  .screen-desc { font-size: 12px; margin-bottom: 10px; }
  .big-btn { padding: 10px 20px; font-size: 11px; }
  .screen-foot { margin-top: 8px; font-size: 10px; }
  .controls-grid { gap: 8px; margin-bottom: 14px; }
}
