/* Positronic Games. The palette is the game's own (scripts/ui/style.gd):
   near-black panels, phosphor green for what matters, amber for notice. */
:root {
  --bg: #0a0e12;
  --panel: #0f151b;
  --line: #2a3a45;
  --text: #c8d6de;
  --dim: #8a9ba6;
  --accent: #2fd6a0;
  --warn: #f5c542;
  --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
}
a { color: var(--accent); }
a:hover { color: #7ef0c8; }
header.bar, footer.bar {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
}
footer.bar {
  border-top: 1px solid var(--line);
  border-bottom: none;
  margin-top: 48px;
  color: var(--dim);
  font-size: 0.9rem;
}
.bar .inner, main { max-width: 60rem; margin: 0 auto; }
main { padding: 0 16px; overflow-wrap: break-word; }
.studio {
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
h1, h2, h3 { font-family: var(--mono); font-weight: 600; line-height: 1.25; }
h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); color: var(--accent); margin: 32px 0 8px; }
h2 { font-size: 1.15rem; color: var(--accent); margin-top: 36px; letter-spacing: 0.04em; }
h3 { font-size: 1rem; color: var(--warn); margin-bottom: 4px; }
.lede { font-size: 1.1rem; color: var(--text); max-width: 44rem; }
.muted { color: var(--dim); }
.notice {
  border: 1px solid var(--warn);
  color: var(--warn);
  border-radius: 6px;
  padding: 10px 14px;
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.95rem;
}
img { max-width: 100%; height: auto; display: block; }
.hero { border: 1px solid var(--line); border-radius: 8px; margin: 20px 0; }
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.shots img { border: 1px solid var(--line); border-radius: 6px; }
.card {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  text-decoration: none;
  color: var(--text);
  margin-top: 16px;
}
.card:hover { border-color: var(--accent); color: var(--text); }
.card img { width: 96px; height: 96px; border-radius: 18px; flex: none; }
.card h3 { margin: 0 0 4px; }
ul { padding-left: 1.2rem; }
li { margin: 4px 0; }
.policy { max-width: 44rem; }

/* Your Factory is on Fire: the icon's furnace orange in place of the phosphor green. */
body.yfof {
  --accent: #f08a2c;
  --warn: #ffc24a;
}
body.yfof a:hover { color: #ffb36b; }
code { font-family: var(--mono); font-size: 0.92em; }
