:root {
  --bg: #000000;
  --ink: #f6f3ea;
  --soft: #9c978a;
  --pill-hi: #2b2922;
  --pill-lo: #171611;
  --accent: #f3c24f;
}

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

.unlock {
  position: relative;
  width: min(300px, calc(100vw - 32px));
  height: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px 0 9px;
  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;
}
.unlock:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.unlock__glow { position: absolute; inset: 4px 18px -14px; border-radius: 99px; background: var(--accent); filter: blur(22px); opacity: 0; z-index: -3; transition: opacity 0.7s ease; }
.unlock.is-open .unlock__glow { opacity: 0.42; }
.unlock__body { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: linear-gradient(180deg, var(--pill-hi), var(--pill-lo)); z-index: -2; }
.unlock__wash { position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 30%, transparent), transparent 62%); opacity: 0; }
.unlock__sheen { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, color-mix(in srgb, var(--accent) 45%, transparent) 49%, rgba(255, 255, 255, 0.28) 51%, transparent 60%); opacity: 0; }
.unlock__light { position: absolute; inset: 0; background: radial-gradient(120px 70px at var(--px, 50%) var(--py, 0%), rgba(255, 255, 255, 0.12), transparent 70%); opacity: 0; transition: opacity 0.3s ease; }
.unlock.is-hot .unlock__light { opacity: 1; }
.unlock__edge {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.1));
  -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: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1); display: grid; place-items: center; transition: background-color 0.5s ease; }
.unlock.is-open .seat { background: color-mix(in srgb, var(--accent) 24%, transparent); }
.seat svg { width: 24px; height: 24px; overflow: visible; }
.seat path, .seat rect { fill: none; stroke: #f6f3ea; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.4s ease; }
.seat rect { fill: #201f19; }
.unlock.is-open .seat path, .unlock.is-open .seat rect { stroke: var(--accent); }

.label { flex: 1; min-width: 0; height: 22px; overflow: hidden; font-size: 15.5px; line-height: 22px; font-weight: 600; font-stretch: 104%; letter-spacing: -0.005em; }
.label__word { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- the free reads of the month: three small bars ---- */
.reads { flex: none; display: flex; align-items: flex-end; gap: 4px; height: 20px; }
.reads i { width: 5px; height: 20px; border-radius: 3px; background: var(--accent); transform-origin: 50% 100%; box-shadow: 0 0 8px -1px color-mix(in srgb, var(--accent) 70%, transparent); }

.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;
}
