:root {
  --bg: #000000;
  --ink: #ffffff;
  --deep: #120a3a;
  --accent: #6f5cff;
}

*, *::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;
  place-items: center;
  padding: 16px;
}

.off {
  position: relative;
  width: min(300px, calc(100vw - 32px));
  height: 60px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 9px 0 8px;
  border: 0;
  border-radius: 99px;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  isolation: isolate;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 60%, #ffffff 10%),
    0 16px 44px -12px color-mix(in srgb, var(--accent) 80%, transparent),
    0 0 80px -24px color-mix(in srgb, var(--accent) 70%, transparent);
  transition: box-shadow 0.6s ease;
}
.off:focus-visible { outline: 2px solid #ffffff; outline-offset: 4px; }
.off__body { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 86%, #ffffff), var(--accent) 55%, color-mix(in srgb, var(--accent) 82%, #000000)); z-index: -2; }
.off__sheen { position: absolute; top: -30%; bottom: -30%; left: 0; width: 38%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.42) 50%, transparent); opacity: 0; }
.off__light { position: absolute; inset: 0; background: radial-gradient(120px 70px at var(--px, 50%) var(--py, 0%), rgba(255, 255, 255, 0.3), transparent 70%); opacity: 0; transition: opacity 0.3s ease; }
.off.is-hot .off__light { opacity: 1; }
.off__edge {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.08) 45%, rgba(0, 0, 0, 0.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

.seat { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #ffffff; box-shadow: 0 1px 2px rgba(42, 15, 4, 0.25), 0 5px 12px -4px rgba(42, 15, 4, 0.45); display: grid; place-items: center; transition: background-color 0.45s ease; }
.off.is-done .seat { background: var(--deep); }
.seat svg { width: 26px; height: 26px; overflow: visible; }
.seat path { fill: none; stroke: var(--deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.seat .seat__tick { stroke: #ffffff; stroke-width: 2.3; stroke-dasharray: 1; stroke-dashoffset: 1; }

.label { flex: 1; min-width: 0; display: grid; gap: 1px; }
.label__main { height: 20px; overflow: hidden; font-size: 16px; line-height: 20px; font-weight: 700; font-stretch: 106%; letter-spacing: -0.008em; }
.label__sub { height: 15px; overflow: hidden; font-size: 11.5px; line-height: 15px; font-weight: 560; color: color-mix(in srgb, var(--deep) 78%, var(--accent)); }
.label span span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tag { flex: none; min-width: 66px; height: 42px; padding: 0 12px; overflow: hidden; border-radius: 99px; background: color-mix(in srgb, var(--deep) 26%, transparent); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); font-size: 13.5px; line-height: 42px; font-weight: 680; text-align: center; white-space: nowrap; transition: color 0.4s ease, background-color 0.4s ease; }
.tag span { display: block; }
.off.is-done .tag { background: #ffffff; color: var(--deep); }

.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: #14151a;
  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;
}
.seat .seat__day { stroke: color-mix(in srgb, var(--deep) 30%, transparent); stroke-width: 2.4; transition: stroke 0.3s ease; }
.seat .seat__day.is-off { stroke: var(--accent); }
.off.is-done .seat path, .off.is-done .seat rect { stroke: #ffffff; }
.off.is-done .seat .seat__day { stroke: color-mix(in srgb, #ffffff 35%, transparent); }
.off.is-done .seat .seat__day.is-off { stroke: #ffffff; }
.seat rect { fill: none; stroke: var(--deep); stroke-width: 1.8; stroke-linejoin: round; transition: stroke 0.4s ease; }
.seat path { transition: stroke 0.4s ease; }
