:root {
  --bg: #0b0b0b;
  --fg: #f2f2f2;
  --muted: #9a9a9a;
  --line: #2a2a2a;
  --accent: #f2f2f2;
  --error: #ff6b6b;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
body {
  font: 17px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px 16px calc(24px + env(safe-area-inset-bottom));
}
main { width: 100%; max-width: 420px; text-align: center; }
.bag {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  margin: 0 auto 20px;
  border-radius: 18px;
}
h1 { font-size: 34px; line-height: 1.1; margin: 0 0 10px; letter-spacing: -0.02em; }
.line { color: var(--muted); margin: 0 0 22px; }
form { display: grid; gap: 10px; }
input, button {
  width: 100%;
  font: inherit;
  padding: 15px 16px;
  border-radius: 12px;
}
input {
  background: #151515;
  color: var(--fg);
  border: 1px solid var(--line);
}
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
button {
  background: var(--accent);
  color: #0b0b0b;
  border: 0;
  font-weight: 700;
  cursor: pointer;
}
button:disabled { opacity: 0.6; }
.error { color: var(--error); margin: 4px 0 0; font-size: 15px; }
.done p { margin: 0 0 6px; font-size: 19px; }
.done .bagged { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
