:root {
  --ink: #f6f1e7;
  --dim: #98a1b4;
  --gold: #ffb03a;
  --ember: #ff6a12;
  --night: #04050a;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--night);
  color: var(--ink);
  font: 400 16px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

.app { padding: 0; margin: 0; }

.flyer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px clamp(8px, 4vw, 24px) 32px;
}

.flyer figure { margin: 0 0 18px; min-width: 0; }

.flyer img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  min-width: 0;
}

.flyer__ticket { position: relative; }

.ticket-cta { margin: 0 0 18px; text-align: center; }

.buy-now {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.buy-now img {
  display: inline-block;
  max-width: clamp(260px, 38vw, 460px);
  height: auto;
}

.buy-now:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.buy-now[disabled] { opacity: 0.45; cursor: not-allowed; }

.sales-note {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--dim);
  min-height: 1.2em;
}

.flyer__more {
  text-align: center;
  margin: 0;
  font-size: 0.8rem;
}

.flyer__more a { color: var(--ink); }

/* Keep the sold-out message clear on the existing image button. */
.buy-now.is-sold-out { position:relative; opacity:1; }
.buy-now.is-sold-out img { opacity:.2; }
.buy-now .sold-out-label:not([hidden]) { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:var(--gold); font-size:clamp(2rem,5vw,3.5rem); font-weight:900; letter-spacing:.08em; text-shadow:0 2px 8px #000; }
