:root {
  --bg: #07080b;
  --card: #12141a;
  --ink: #f3f4f8;
  --soft: #8b90a0;
  --seat: #8fe3ff;
  --mine: #c4f25a;
  --warn: #ff7a45;
  --tone: var(--seat);
}

*, *::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: 12px;
}

.card {
  position: relative;
  width: min(352px, 100%);
  padding: 16px 16px 14px;
  border-radius: 28px;
  background: linear-gradient(180deg, #191c25, var(--card) 50%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  isolation: isolate;
}
.card.is-last { --tone: var(--warn); }
.card__beam {
  position: absolute;
  left: -90px;
  top: -160px;
  width: 360px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--tone), transparent);
  opacity: 0.16;
  z-index: -1;
  transition: background-color 0.8s ease;
}

.head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.head__date { font-size: 11.5px; font-weight: 560; color: var(--soft); letter-spacing: 0.02em; }
.head__title { font-size: 19px; line-height: 24px; font-weight: 680; font-stretch: 106%; letter-spacing: -0.015em; }
.chip { flex: none; height: 26px; padding: 0 10px; overflow: hidden; border-radius: 99px; background: color-mix(in srgb, var(--tone) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 36%, transparent); color: var(--tone); font-size: 12px; line-height: 26px; font-weight: 640; white-space: nowrap; transition: background-color 0.5s ease, color 0.5s ease, box-shadow 0.5s ease; }
.chip span { display: block; }

.left { display: flex; align-items: center; gap: 12px; padding: 10px 0 10px; }
.left__n { height: 50px; overflow: hidden; font-size: 46px; line-height: 50px; font-weight: 720; font-stretch: 110%; letter-spacing: -0.03em; color: var(--tone); transition: color 0.5s ease; }
.left__n span { display: block; }
.left__l { font-size: 13.5px; line-height: 18px; font-weight: 600; }
.left__l span { font-weight: 500; color: var(--soft); }

/* ---- the seats still on sale ---- */
.seats { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.seats i {
  height: 13px;
  border-radius: 4px;
  background: var(--tone);
  opacity: 0.9;
  transition: background-color 0.5s ease;
}
.seats i.is-sold { background: rgba(255, 255, 255, 0.09); opacity: 1; }
.seats i.is-mine { background: var(--mine); opacity: 1; box-shadow: 0 0 0 2px color-mix(in srgb, var(--mine) 30%, transparent); }
.line { height: 3px; margin-top: 10px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.line span { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--tone); transform-origin: 0 50%; transform: scaleX(0.4); transition: background-color 0.5s ease; }

.hold {
  width: 100%;
  height: 44px;
  margin-top: 12px;
  border: 0;
  border-radius: 99px;
  background: #f3f4f8;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 10px 22px -12px rgba(255, 255, 255, 0.35);
  color: #12141a;
  font: inherit;
  font-size: 14.5px;
  font-weight: 640;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.hold:active, .hold.is-pressed { transform: scale(0.975); }
.hold.is-hot { box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 0 0 3px rgba(255, 255, 255, 0.16); }
.hold[aria-pressed="true"] { background: var(--mine); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 22px -10px color-mix(in srgb, var(--mine) 60%, transparent); }
.hold:focus-visible { outline: 2px solid var(--mine); outline-offset: 3px; }
.hold__in { display: block; height: 22px; overflow: hidden; line-height: 22px; }
.hold__in span { display: block; white-space: nowrap; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ghost {
  position: fixed;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  pointer-events: none;
  fill: #ffffff;
  stroke: #101116;
  stroke-width: 1.4;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.6));
  opacity: 0;
  visibility: hidden;
  z-index: 5;
}

@media (max-height: 420px) {
  .card { padding-top: 13px; padding-bottom: 11px; }
  .left { padding: 6px 0 8px; }
  .seats i { height: 12px; }
  .hold { height: 42px; margin-top: 10px; }
}
@media (min-width: 900px) and (min-height: 680px) {
  .card { zoom: 1.3; }
}
