:root {
  color-scheme: dark;
  --night: #08132e;
  --navy: #102447;
  --gold: #ffda58;
  --cream: #fff5db;
  --cyan: #6fdcff;
  --muted: #b7c5dd;
  --line: #2c3d5b;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; background: var(--night); color: var(--cream); font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif; font-size: 15px; line-height: 1.7; word-break: keep-all; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: 4px; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.topbar { max-width: 1040px; margin: 0 auto; padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { font-size: 17px; font-weight: 900; letter-spacing: -.5px; text-decoration: none; }
.brand span { margin-left: 12px; font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.back { color: var(--muted); font-size: 12px; text-decoration: none; }
.back span { margin-left: 6px; }
.back:hover, .help a:hover { color: var(--gold); }
.page { width: min(100% - 48px, 420px); margin: 68px auto 36px; }
.intro { margin-bottom: 32px; }
.eyebrow { margin: 0 0 8px; color: var(--gold); font-size: 14px; font-weight: 800; }
h1 { margin: 0; font-size: 32px; line-height: 1.35; font-weight: 900; letter-spacing: -1px; }
.description { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.field { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
input { width: 100%; height: 54px; padding: 0 16px; border: 1px solid #405273; border-radius: 6px; background: var(--navy); color: var(--cream); font-size: 16px; }
input::placeholder { color: #a3b3cd; font-size: 14px; }
input:focus { outline: 2px solid var(--cyan); outline-offset: 2px; border-color: var(--cyan); }
#phone { letter-spacing: 3px; }
#phone::placeholder { letter-spacing: 0; }
.primary, .secondary { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; border: 1px solid var(--gold); border-radius: 6px; background: var(--gold); color: var(--night); font-size: 15px; font-weight: 800; }
.primary { margin-top: 26px; }
.primary:hover { background: #ffe88e; border-color: #ffe88e; }
#submit-icon:empty:not(.spinner) { display: none; }
.privacy { margin: 13px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.help { margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; text-align: center; }
.help a { margin-left: 8px; color: var(--cream); }
.footer { margin-top: 16px; color: #98aac6; text-align: center; font-size: 11px; }
.message { margin-top: 22px; padding: 0 0 0 14px; border-left: 2px solid var(--gold); font-size: 13px; color: var(--muted); }
.message strong { display: block; margin-bottom: 5px; color: var(--cream); }
.message p { margin: 0; }
#result-card { padding-top: 24px; border-top: 1px solid var(--line); }
.result-head h2 { margin: 0; color: var(--gold); font-size: 25px; line-height: 1.4; letter-spacing: -.6px; }
.result-head p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.status-label { margin: 15px 0 0; color: var(--cyan); font-size: 12px; font-weight: 700; }
.pending .result-head h2 { color: var(--cream); }
.pending .status-label { color: var(--gold); }
dl { margin: 20px 0 0; }
dl div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
dt { color: var(--muted); flex: none; }
dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; word-break: break-word; }
.venue-address { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 400; word-break: keep-all; }
.result-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; }
.secondary { margin-top: 22px; min-height: 48px; background: transparent; color: var(--cream); border-color: #52617d; }
.secondary:hover { background: var(--navy); }
.spinner { width: 15px; height: 15px; border: 2px solid #08132e40; border-top-color: var(--night); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 560px) {
  .topbar { padding: 18px 24px; }
  .brand { font-size: 16px; }
  .brand span { display: none; }
  .page { margin-top: 40px; }
  h1 { font-size: 28px; }
  .intro { margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

