:root {
  --bg: #07070d;
  --panel: #10121c;
  --line: #262a3d;
  --text: #e3e6f0;
  --muted: #9aa0b8;
  --fire: #ff8a1f;
  --fire-deep: #d8401a;
  --ring: #3ee07a;
  --bad: #ff5d5d;
  --pixel: "Press Start 2P", ui-monospace, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(ellipse at top, #141a33 0%, var(--bg) 60%) fixed, var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
}

a { color: var(--ring); }
code { font-size: 0.9em; color: var(--fire); }

.hero {
  text-align: center;
  padding: 32px 16px 8px;
}
.title {
  width: min(768px, 100%);
  height: auto;
  image-rendering: pixelated;
  border: 2px solid var(--line);
  box-shadow: 0 0 48px rgba(62, 224, 122, 0.12);
}
.tagline {
  font-family: var(--pixel);
  font-size: 11px;
  line-height: 1.8;
  color: var(--fire);
  margin: 20px auto 0;
  max-width: 560px;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px 32px;
}

section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px 22px;
  margin-top: 24px;
}

h2, h3 {
  font-family: var(--pixel);
  font-weight: normal;
  letter-spacing: 0.02em;
}
h2 { font-size: 14px; color: var(--fire); margin: 0 0 14px; }
h3 { font-size: 11px; color: var(--text); margin: 0 0 10px; }

.about ul { padding-left: 20px; margin: 0; }
.about li { margin: 4px 0; }

.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.shot-grid figure { margin: 0; }
.shot-grid img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  border: 2px solid var(--line);
  background: #000;
}
.shot-grid figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.shot-grid figcaption b { color: var(--text); font-weight: 600; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 40px;
  margin-bottom: 22px;
}
.steps > li:last-child { margin-bottom: 0; }
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-family: var(--pixel);
  font-size: 11px;
  color: var(--bg);
  background: var(--ring);
  border-radius: 50%;
}

.muted { color: var(--muted); margin: 0 0 10px; }

.editions { display: grid; gap: 8px; }
.edition {
  display: block;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 12px;
  cursor: pointer;
}
.edition:has(input:checked) { border-color: var(--ring); background: rgba(62, 224, 122, 0.06); }
.edition input { accent-color: var(--ring); margin-right: 8px; }
.edition .name { font-weight: 600; }
.edition .meta { color: var(--muted); font-size: 13px; }
.edition .notes { margin: 4px 0 0 26px; font-size: 14px; }

.drop {
  display: block;
  border: 2px dashed var(--line);
  border-radius: 6px;
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.drop:hover, .drop.over { border-color: var(--ring); color: var(--text); }
.drop.ok { border-style: solid; border-color: var(--ring); color: var(--ring); }
.drop.bad { border-style: solid; border-color: var(--bad); color: var(--bad); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }

.remember { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }
.remember input { accent-color: var(--ring); }

.link {
  background: none;
  border: 0;
  padding: 0;
  margin-top: 6px;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

.download {
  font-family: var(--pixel);
  font-size: 12px;
  color: #1a0700;
  background: linear-gradient(var(--fire), var(--fire-deep));
  border: 0;
  border-radius: 4px;
  padding: 14px 20px;
  cursor: pointer;
}
.download:disabled { opacity: 0.4; cursor: not-allowed; }
.download:not(:disabled):hover { filter: brightness(1.1); }

.message { min-height: 1.6em; margin: 10px 0 0; }
.message.bad { color: var(--bad); }
.message.ok { color: var(--ring); }

footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 16px 40px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
