/* Shared pixel theme for the copied quiz apps in public/gym/.
   Loaded after each quiz's inline <style> (injected by scripts/sync-gym.mjs),
   so same-specificity rules here win by source order. */

:root {
  color-scheme: dark;
  --bg: #0b1020;
  --card: #0f1730;
  --text: #eaf0ff;
  --muted: #8fa0c9;
  --border: #2a3a6b;
  --accent: #35e2f2;
  --accent-soft: #131e3f;
  --ok: #3df2a4;
  --ok-soft: #10331f;
  --bad: #ff5a5f;
  --bad-soft: #3a1620;
  --warn: #ffd24a;
  --warn-soft: #3a2f14;
  --code-bg: #0a0f22;
  --shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.5);
}

/* Pixel look: hard edges everywhere */
* {
  border-radius: 0 !important;
}

body {
  font-family: "VT323", "Courier New", monospace;
  font-size: 19px;
  line-height: 1.45;
}

h1,
h2,
h3,
.btn,
.badge,
.chip,
.timer {
  font-family: "Press Start 2P", "Courier New", monospace;
}

header h1 {
  font-size: 14px;
  line-height: 1.6;
}

h2 {
  font-size: 10px;
  line-height: 1.8;
}

h3 {
  font-size: 10px;
  line-height: 1.7;
}

.btn {
  font-size: 10px;
  border-width: 2px;
  box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.5);
}

.btn.small {
  font-size: 9px;
}

.btn.primary {
  color: #0b1020;
}

.btn:not(:disabled):active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 0 rgba(0, 0, 0, 0.5);
}

.card {
  border-width: 2px;
  box-shadow: var(--shadow);
}

.chip {
  border-width: 2px;
  font-size: 9px;
  padding: 8px 10px;
}

.badge {
  font-size: 8px;
}

button,
textarea {
  font-family: "VT323", "Courier New", monospace;
}

.opt {
  border-width: 2px;
  font-family: "VT323", "Courier New", monospace;
  font-size: 18px;
}

.opt .k {
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 10px;
}

.q {
  font-size: 21px;
}

select,
input[type="number"] {
  border-width: 2px;
  font-family: "VT323", "Courier New", monospace;
  font-size: 17px;
}

pre,
code,
.kbd {
  font-family: "VT323", "Courier New", monospace;
}

pre {
  border-width: 2px;
  font-size: 16px;
}

.stat b {
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 16px;
}

.stat span,
.field label,
th {
  font-size: 13px;
  letter-spacing: 0.05em;
}

.score {
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 26px;
}

.progress {
  height: 10px;
  border: 2px solid var(--border);
  background: var(--card);
}

.timer {
  font-size: 10px;
  padding: 8px 10px;
}

.panel {
  border-left-width: 2px;
}

.feedback {
  border-width: 2px;
}
