:root {
  --bg: #000000;
  --card: #131317;
  --tile: #1c1c22;
  --ink: #f5f4f0;
  --soft: rgba(245, 244, 240, 0.6);
  --faint: rgba(245, 244, 240, 0.34);
  --line: rgba(245, 244, 240, 0.09);
  --accent: #ffb84a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Mona Sans Variable", "Mona Sans", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 10px 12px;
}

.eb { position: relative; width: min(322px, 100%); padding: 14px; border-radius: 26px; background: linear-gradient(180deg, #18181d, var(--card)); box-shadow: 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.07); }

.eb__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 2px; }
.eb__name { min-width: 0; display: grid; }
.eb__name b { font-size: 15px; line-height: 20px; font-weight: 720; letter-spacing: -0.01em; }
.eb__name span { font-size: 11.500px; line-height: 15px; font-weight: 540; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eb__total { flex: none; font-size: 26px; line-height: 30px; font-weight: 760; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.eb__total b { display: block; font-weight: inherit; }

.eb__tiers { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; padding: 3px; border-radius: 16px; background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 1px var(--line); }
/* the lit plate under the tier the next ticket is priced at */
.eb__on { position: absolute; left: 3px; top: 3px; bottom: 3px; width: calc((100% - 6px) / 3); border-radius: 13px; background: linear-gradient(180deg, #2a2a32, #212127); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 46%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 14px -8px rgba(0, 0, 0, 0.9); }
.eb__tier { position: relative; display: grid; justify-items: start; align-content: start; height: 78px; padding: 9px 10px 0; color: var(--faint); transition: color 0.35s ease; }
.eb__tier.is-on { color: var(--ink); }
.eb__tname { font-size: 10.500px; line-height: 14px; font-weight: 660; letter-spacing: 0.01em; white-space: nowrap; }
.eb__tier.is-on .eb__tname { color: var(--accent); }
.eb__tier b { margin-top: 1px; font-size: 17px; line-height: 22px; font-weight: 740; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.eb__tier.is-gone b { text-decoration: line-through; text-decoration-thickness: 1.500px; text-decoration-color: var(--faint); }
.eb__note { position: absolute; left: 10px; right: 6px; bottom: 9px; height: 14px; overflow: hidden; font-size: 10.500px; line-height: 14px; font-weight: 560; color: var(--faint); white-space: nowrap; }
.eb__note span { display: block; }
.eb__tier.is-on .eb__note { color: var(--soft); }
/* the early bird tickets still on sale, one bar each */
.eb__stubs { position: absolute; right: 9px; top: 11px; display: flex; gap: 2.500px; }
.eb__stubs i { width: 4px; height: 10px; border-radius: 1.500px; background: var(--accent); }

.eb__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 50px; margin-top: 10px; padding: 0 2px; }
.eb__lines { min-width: 0; display: grid; align-content: center; }
.eb__line { height: 18px; overflow: hidden; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.eb__line span { display: block; }
.eb__line--b { height: 0; color: var(--accent); }
.eb__qty { flex: none; display: flex; align-items: center; height: 40px; padding: 3px; border-radius: 14px; background: var(--tile); box-shadow: inset 0 0 0 1px var(--line); }
.eb__step { width: 34px; height: 34px; border: 0; border-radius: 11px; display: grid; place-items: center; background: #2a2a32; color: var(--ink); cursor: pointer; outline: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09); transition: background-color 0.2s ease, opacity 0.25s ease; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.eb__step svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.800; stroke-linecap: round; }
.eb__step:disabled { opacity: 0.35; cursor: default; }
.eb__num { width: 34px; height: 22px; overflow: hidden; text-align: center; font-size: 16px; line-height: 22px; font-variant-numeric: tabular-nums; }
.eb__num b { display: block; font-weight: 740; }
.eb__step:focus-visible, .eb__go:focus-visible { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--ink); }
@media (hover: hover) { .eb__step:not(:disabled):hover { background: #34343d; } }

.eb__go { display: block; width: 100%; height: 46px; margin-top: 8px; border: 0; border-radius: 15px; background: var(--accent); color: #17130a; font: inherit; font-size: 14px; font-weight: 740; cursor: pointer; outline: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 14px 22px -14px color-mix(in srgb, var(--accent) 80%, transparent); transition: background-color 0.3s ease; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.eb__gotext { display: block; height: 20px; line-height: 20px; overflow: hidden; }
.eb__gotext span { display: block; white-space: nowrap; }
@media (hover: hover) { .eb__go:hover { background: color-mix(in srgb, var(--accent) 88%, #ffffff); } }

.eb__save { height: 15px; margin-top: 9px; overflow: hidden; font-size: 11.500px; line-height: 15px; font-weight: 560; color: var(--soft); text-align: center; white-space: nowrap; }
.eb__save span { display: block; }

.ghost { position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: -3px 0 0 -5px; transform-origin: 20% 15%; pointer-events: none; opacity: 0; fill: #f5f4f0; stroke: #000000; stroke-width: 1.300; stroke-linejoin: round; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6)); z-index: 6; }

@media (max-width: 340px) {
  .eb__tier { padding-left: 8px; }
  .eb__tier b { font-size: 15.500px; }
  .eb__stubs { right: 7px; }
  .eb__stubs i { width: 3px; }
}
