:root {
  color-scheme: dark;
  --bg: #111214;
  --fg: #f2efe8;
  --muted: #a7a39a;
  --accent: #f2861c;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--fg); }
main { max-width: 480px; margin: 0 auto; padding: max(24px, env(safe-area-inset-top)) 20px 40px; display: grid; gap: 20px; }
.kicker { margin: 0; font: 600 12px/1 ui-monospace, monospace; letter-spacing: .12em; color: var(--muted); }
h1 { margin: 8px 0 6px; font-size: 26px; line-height: 1.25; }
.lead { margin: 0; color: var(--muted); line-height: 1.55; }
.pick, button {
  display: flex; align-items: center; justify-content: center;
  min-height: 56px; border-radius: 14px; font: 700 17px/1.2 inherit; cursor: pointer;
}
.pick { background: var(--fg); color: var(--bg); }
.pick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pick:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
button { width: 100%; border: 0; background: var(--accent); color: #1b1006; }
button:disabled { opacity: .45; cursor: default; }
.photo-wrap { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #000; }
#photo { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .4s; }
.photo-wrap.show-photo #photo { opacity: 1; }
.grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; padding: 3px; background: #0b0b0c; }
.grid span { border-radius: 4px; }
.chips { list-style: none; margin: 14px 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { display: flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border-radius: 99px; background: #1e1f22; font-size: 13px; }
.chips i { width: 14px; height: 14px; border-radius: 50%; }
.status { min-height: 1.5em; margin: 0; text-align: center; color: var(--muted); }
.status.ok { color: #8dc24a; }
.status.err { color: #ff6f5e; }
footer { color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }
