:root {
  color-scheme: light;
  font: 100%/1.55 "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color: #1d2942;
  background: #f6f3eb;
  --ink: #1d2942;
  --muted: #535e70;
  --paper: #fffdf8;
  --border: #d8d9df;
  --navy: #202e4c;
}
* { box-sizing: border-box; }
body { margin: 0; }
.shell { width: min(100% - 2rem, 41rem); margin: auto; }
.masthead {
  min-height: 4.5rem; border-bottom: 1px solid #d9d4c8;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 750; }
.ticket-mark {
  display: inline-block; width: 1.45rem; height: .95rem; background: var(--navy);
  border-radius: .18rem;
  mask: radial-gradient(circle at left, transparent .17rem, black .19rem) left,
        radial-gradient(circle at right, transparent .17rem, black .19rem) right;
  mask-size: 51% 100%; mask-repeat: no-repeat;
}
.preview-label { color: var(--muted); font-size: .875rem; }
main { margin-top: clamp(1.5rem, 6vw, 3rem); }
.progress { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.25rem; }
.progress li { flex: 1; border-top: 3px solid #d8d5ce; padding-top: .4rem; color: var(--muted); font-size: .875rem; }
.progress .reached { border-color: #62738d; }
.progress [aria-current] { border-color: var(--ink); color: var(--ink); font-weight: 750; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(1.65rem, 4.8vw, 2.35rem); letter-spacing: -.05em; line-height: 1.25; overflow-wrap: anywhere; }
h1:focus { outline: none; }
p { overflow-wrap: anywhere; }
.ticket {
  --cutout: #f6f3eb;
  position: relative; overflow: hidden; background: var(--navy); color: #fffdf8;
  border-radius: 1rem; box-shadow: 0 12px 28px #202e4c18;
}
.ticket-top { padding: clamp(1.3rem, 5vw, 2.1rem); }
.ticket-top p { margin-top: .65rem; color: #e4e9f3; }
.ticket-stub {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .4rem 1rem; border-top: 1px dashed #8793aa;
  padding: .85rem clamp(1.3rem, 5vw, 2.1rem); color: #e4e9f3;
}
.ticket-stub::before, .ticket-stub::after {
  content: ""; position: absolute; top: -.57rem; width: 1.1rem; height: 1.1rem;
  background: var(--cutout); border-radius: 50%;
}
.ticket-stub::before { left: -.55rem; }
.ticket-stub::after { right: -.55rem; }
.ticket-stub strong { color: #fffdf8; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.sold-out { display: inline-block; margin-bottom: .7rem; padding: .16rem .6rem; border-radius: .25rem; color: #fff3df; background: #713e37; font-size: .875rem; font-weight: 750; }
.question { margin-top: 1.45rem; }
.question h2 { font-size: 1.125rem; }
.options { display: grid; gap: .65rem; margin-top: .75rem; }
button {
  font: inherit; cursor: pointer; min-height: 3.15rem; border-radius: .68rem;
  border: 1px solid var(--border); color: var(--ink); background: var(--paper);
}
button:hover { border-color: #697d99; background: #f1f4f9; }
button:focus-visible { outline: 3px solid #355f93; outline-offset: 3px; }
.choice { width: 100%; text-align: left; padding: .75rem 1rem; font-weight: 680; }
.controls { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.controls button { padding: .6rem 1rem; }
.primary { background: var(--navy); color: white; border-color: var(--navy); }
.primary:hover { background: #344975; color: white; }
.placeholder { margin-top: 1rem; padding: 1rem; border: 1px dashed #929db0; border-radius: .68rem; background: var(--paper); color: var(--muted); }
dl { margin: 1.2rem 0; background: var(--paper); border: 1px solid var(--border); border-radius: .68rem; padding: .35rem 1rem; }
dl div { display: grid; grid-template-columns: minmax(6rem, 1fr) 1.4fr; gap: .6rem; padding: .55rem 0; }
dl div + div { border-top: 1px solid var(--border); }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 680; }
footer { margin: 1.8rem 0; color: var(--muted); font-size: .875rem; }

.venue-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #344361;
}
.ticket-with-image > .venue-photo {
  height: clamp(8rem, 32vw, 13rem);
  object-position: center 53%;
}
.ticket-with-image .ticket-top { padding-block: 1.05rem; }
.ticket-with-image .ticket-top p { margin-top: .4rem; }
.options:has(.choice-with-image) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-with-image { overflow: hidden; padding: 0; }
.choice-with-image > span {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: .6rem .75rem;
  overflow-wrap: anywhere;
}

fieldset.question { border: 0; min-inline-size: 0; padding: 0; margin-inline: 0; }
.question legend { padding: 0; }
.question textarea {
  display: block; width: 100%; margin-top: .65rem; padding: .75rem;
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--border); border-radius: .68rem; resize: vertical;
}
.check-choice {
  display: flex; align-items: flex-start; gap: .7rem; padding: .75rem 1rem;
  border: 1px solid var(--border); border-radius: .68rem; background: var(--paper);
  cursor: pointer;
}
.check-choice:has(:checked) { border-color: #62738d; background: #f1f4f9; }
.check-choice input { margin: .25rem 0 0; width: 1.1rem; height: 1.1rem; flex: 0 0 auto; accent-color: var(--navy); }
.primary:disabled { opacity: .55; cursor: not-allowed; }
.case { margin-top: 1.3rem; padding: 1rem; border: 1px solid var(--border); border-radius: .68rem; background: var(--paper); }
.case h2 { font-size: 1.125rem; }
.case p { margin-top: .45rem; }
.case-note { color: var(--muted); font-size: .875rem; }
