/* 키비주얼(포스터) 색: 짙은 회색 바탕 + 형광 초록. QR은 흰 바탕에 검정(스캔이 잘 되게) */
:root {
  --bg: #2A2829; --ink: #F2F2F2; --neon: #2BFF2B; --muted: #A9A6A7; --line: #4A4748; --soft: #343233;
  --red: #FF5A4E; --yellow: #FFD23F;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px; line-height: 1.55; word-break: keep-all;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.wrap { max-width: 520px; margin: 0 auto; padding: 0 16px 48px; }
.mono { font-family: "Courier New", ui-monospace, Menlo, monospace; letter-spacing: 0.04em; }

.top { padding: 28px 0 20px; border-bottom: 1px solid var(--neon); color: var(--neon); }
.top .t1 { font-size: 14px; font-weight: 700; line-height: 1.4; word-break: keep-all; }
.top h1 { margin: 6px 0 4px; font-size: 40px; line-height: 1; font-weight: 900; letter-spacing: -0.01em; }
.top .t2 { font-size: 14px; }

.lead { margin: 20px 0 4px; font-size: 18px; font-weight: 700; }
.sub { margin: 0 0 20px; color: var(--muted); font-size: 14px; }

label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 18px; }
input:not([type="checkbox"]) {
  display: block; width: 100%; margin-top: 6px; padding: 13px 12px; border: 1px solid var(--line); border-radius: 0;
  font-size: 18px; background: var(--soft); -webkit-appearance: none; appearance: none;
}
input:focus { outline: 2px solid var(--neon); outline-offset: -1px; }
.q { margin-bottom: 18px; }
.q-t { margin: 0 0 8px; font-weight: 600; font-size: 15px; }
.q-t small, label small { font-weight: 400; color: var(--muted); font-size: 13px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.seg button { background: var(--soft); border: 1px solid var(--line); padding: 12px 4px; font-size: 15px; font-weight: 600; }
.seg button[aria-pressed="true"] { background: var(--neon); border-color: var(--neon); color: #111; }
.missing .seg, .missing input:not([type="checkbox"]), .agree.missing { outline: 2px solid var(--red); outline-offset: 2px; }

.agree { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; padding: 12px; background: var(--soft); }
.agree.opt { font-weight: 500; }
.agree small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; margin-top: 2px; }
.agree input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--neon); flex: none; }
details.terms { font-size: 13px; color: var(--muted); margin: -8px 0 22px; }
details.terms summary { cursor: pointer; padding: 6px 0; }
details.terms dl { margin: 6px 0 0; display: grid; grid-template-columns: 72px 1fr; gap: 4px 8px; }
details.terms dt { font-weight: 700; color: var(--ink); }
details.terms dd { margin: 0; }

.go { width: 100%; padding: 16px; border: 0; background: var(--neon); color: #111; font-size: 18px; font-weight: 800; }
.go:disabled { opacity: 0.5; }
.err { color: var(--red); font-weight: 600; margin: 12px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.note { margin: 24px 0 0; padding: 12px 14px; border-left: 3px solid var(--neon); background: var(--soft); font-size: 14px; }
.closed { margin: 24px 0; padding: 16px; border: 1px solid var(--red); color: var(--red); font-weight: 700; text-align: center; }

/* 입장권 화면 */
.ticket { margin-top: 20px; text-align: center; }
.ticket .say { font-size: 18px; font-weight: 800; color: var(--neon); margin: 0 0 14px; }
.qr { background: #fff; padding: 18px; display: inline-block; width: min(300px, 82vw); }
.qr svg { display: block; width: 100%; height: auto; }
.who { margin: 14px 0 0; font-size: 20px; font-weight: 800; }
.who small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.tip { color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.save { display: block; width: min(336px, 92vw); margin: 16px auto 0; padding: 14px; border: 1px solid var(--neon); background: none; color: var(--neon); font-size: 16px; font-weight: 800; }
.again { background: none; border: 0; color: var(--muted); text-decoration: underline; font-size: 14px; margin-top: 28px; }
.foot { margin-top: 40px; color: var(--muted); font-size: 12px; text-align: center; }

/* 언어 전환 · 두 줄 버튼 · 자치구 */
.lang { display: flex; justify-content: flex-end; gap: 0; margin-top: 12px; }
.lang button { background: none; border: 1px solid var(--line); color: var(--muted); padding: 6px 12px; font-size: 13px; font-weight: 700; }
.lang button[aria-pressed="true"] { border-color: var(--neon); color: var(--neon); }
.seg.two { grid-template-columns: repeat(2, 1fr); }
.seg.one { grid-template-columns: 1fr; }
.seg.one button { text-align: left; padding: 12px 14px; }
.etc { display: block; margin: 8px 0 0; }
.etc input { display: block; width: 100%; padding: 12px; background: var(--soft); color: var(--ink); border: 1px solid var(--line); border-radius: 0; font-size: 16px; }
.seg button small { display: block; font-size: 11px; font-weight: 400; }
.gu { margin: 10px 0 0; font-size: 14px; font-weight: 600; }
.gu select { display: block; width: 100%; margin-top: 6px; padding: 12px; background: var(--soft); color: var(--ink); border: 1px solid var(--line); border-radius: 0; font-size: 16px; }

/* 카메라 허용 안내 (11-18 령경님 폰 시험: 새로고침마다 허용 창) */
.camhelp summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.camhelp p { font-size: 14px; line-height: 1.6; margin: 8px 0 0; word-break: keep-all; }
