@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/fraunces.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 380 650;
  font-display: swap;
  src: url("../fonts/outfit.woff2") format("woff2");
}

:root {
  --bg: #07080c;
  --ink: #f3efe6;
  --ink-soft: #c9c1b4;
  --ink-faint: #8d867b;
  --line: rgba(243, 239, 230, 0.14);
  --line-strong: rgba(243, 239, 230, 0.32);
  --gold: #e7c98a;
  --cream: #f4efe6;
  --danger: #ffb4a8;
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --pad: 22px;
  --column: 440px;
  --sky-top: #070b16;
  --sky-mid: #10182e;
  --sky-horizon: #16141c;
  --sky-ground: #07080c;
  --sky-glow: 0.16;
  --py: 0;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: #07080c;
}

html,
body {
  margin: 0;
  min-height: 100dvh;
}

body {
  font-family: var(--sans);
  font-weight: 420;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  background: transparent;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  touch-action: manipulation;
}

::selection {
  background: #e8b86a;
  color: #1a140e;
}

:focus {
  outline: none;
}

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

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

.skip {
  position: absolute;
  left: 12px;
  top: calc(8px + env(safe-area-inset-top));
  transform: translateY(-160%);
  background: var(--cream);
  color: #1a140e;
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 20;
  text-decoration: none;
  font-weight: 560;
}

.skip:focus {
  transform: none;
}

.world {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #07080c;
}

.sky-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 32% at 78% 8%, rgba(232, 220, 190, var(--sky-glow)), transparent 70%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 42%, var(--sky-horizon) 68%, var(--sky-ground) 100%);
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: url("../assets/noise.png");
  background-size: 140px 140px;
  mix-blend-mode: overlay;
}

.layer {
  position: absolute;
  inset: 0;
  will-change: transform;
  transform: translate3d(0, calc(var(--py) * var(--depth) * -1px), 0);
}

.layer svg {
  display: block;
  width: 100%;
  height: 100%;
}

.layer-pasture {
  top: auto;
  height: calc(100% + 220px);
  bottom: -220px;
}

.stars {
  opacity: 0.92;
}

.shoot {
  transform-box: fill-box;
  transform-origin: 0 0;
  animation: streak 9s ease-in-out infinite;
}

.moon {
  filter: drop-shadow(0 0 12px rgba(246, 237, 216, 0.35));
}

.layer-screen {
  top: 11%;
  right: auto;
  bottom: auto;
  left: 0;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
}

.rig {
  position: relative;
  width: min(74vw, 300px);
}

.rig-svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}

.screen-glass {
  animation: flicker 7s ease-in-out infinite;
}

.screen-credits {
  position: absolute;
  left: 22%;
  top: 27%;
  width: 56%;
  height: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #3a2412;
  opacity: 0;
  pointer-events: none;
}

.credits-on .screen-credits {
  opacity: 1;
}

.screen-kicker,
.screen-line {
  margin: 0;
  max-width: 100%;
  font-family: var(--serif);
  font-variation-settings: "opsz" 36, "wght" 560;
}

.screen-kicker {
  font-style: italic;
  font-weight: 560;
  font-size: clamp(10px, 2.6vw, 12px);
  line-height: 1;
}

.screen-line {
  margin-top: 2px;
  font-weight: 600;
  font-size: clamp(12px, 3.1vw, 16px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body[data-vote="inside_out"] .screen-glass {
  fill: url(#g-glass-io);
}

body[data-vote="top_gun"] .screen-glass {
  fill: url(#g-glass-mav);
}

.fly {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #f6e7b4;
  box-shadow: 0 0 8px 2px rgba(246, 214, 140, 0.85);
  animation: drift var(--t) ease-in-out infinite;
  animation-delay: var(--delay);
}

.fly-dim {
  opacity: 0.55;
  box-shadow: 0 0 6px 1px rgba(246, 214, 140, 0.55);
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(100%, var(--column));
  margin: 0 auto;
  padding:
    env(safe-area-inset-top)
    var(--pad)
    calc(28px + env(safe-area-inset-bottom));
}

.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  bottom: -18px;
  height: 128%;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 8, 12, 0.55) 28%, rgba(7, 8, 12, 0.92) 70%);
  pointer-events: none;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 560;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
.pin-screen h1,
.book h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 0.92;
  font-variation-settings: "opsz" 72, "wght" 560;
}

h1 {
  margin-top: 6px;
  font-size: clamp(3.15rem, 14vw, 4.2rem);
}

h1 em {
  font-style: italic;
  font-weight: 560;
}

h2 {
  margin-top: 8px;
  font-size: clamp(2rem, 8vw, 2.5rem);
  line-height: 1;
}

h2:focus {
  outline: none;
}

.date,
.showtime,
.bill {
  margin: 0;
}

.date {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.showtime {
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 48, "wght" 560;
}

.bill {
  margin-top: 8px;
  color: var(--ink-soft);
}

.route {
  margin-top: 14px;
}

.route-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 560;
}

.route-pin {
  width: 22px;
  height: 22px;
}

.address {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  user-select: text;
  -webkit-user-select: text;
}

.route-alt {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--ink-faint);
  font-size: 0.88rem;
}

.ticks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.ticks.is-message {
  display: block;
}

.ticks.is-message .tick {
  display: none;
}

.show-state {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 48, "wght" 560;
}

.tick {
  text-align: center;
}

.tick b {
  display: block;
  font-variant-numeric: tabular-nums;
  font-weight: 580;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.tick span {
  display: block;
  margin-top: 2px;
  color: var(--ink-faint);
  font-size: 0.66rem;
  font-weight: 560;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#resume {
  display: none;
  margin: 18px 0 0;
  color: var(--ink-soft);
}

html.has-token #resume,
#resume.is-on {
  display: block;
}

html.has-token .invite-actions {
  display: none;
}

.invite-actions {
  margin-top: 16px;
}

.banner {
  margin: 0 0 10px;
  color: var(--gold);
}

.primary,
.unlock {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: var(--cream);
  color: #1a140e;
  font-size: 1.05rem;
  font-weight: 580;
}

.primary:disabled,
.unlock:disabled {
  opacity: 0.4;
}

.primary:active:not(:disabled) {
  transform: scale(0.985);
}

.quiet {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  border: 0;
  background: none;
  color: var(--ink-faint);
  font-size: 0.98rem;
}

.back {
  min-height: 44px;
  margin: 0 0 4px -4px;
  padding: 8px 4px;
  border: 0;
  background: none;
  color: var(--ink-faint);
  font-size: 0.95rem;
}

.step {
  position: relative;
  min-height: 100dvh;
  scroll-margin-top: 0;
  padding-top: 30vh;
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}

.step::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: calc(50% - 50vw);
  width: 100vw;
  top: 8vh;
  bottom: -40px;
  background: linear-gradient(180deg, transparent, rgba(7, 8, 12, 0.94) 16%, #07080c 36%);
  pointer-events: none;
}

.posters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.poster {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 204px;
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(243, 239, 230, 0.34);
  background: #12141c;
  overflow: hidden;
  text-align: left;
}

.poster[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cream);
}

.poster[aria-pressed="true"] {
  border-color: var(--cream);
  box-shadow: 0 0 0 1px var(--cream);
}

.poster-art {
  display: block;
  flex: 1 1 auto;
  background:
    radial-gradient(80% 70% at 50% 40%, rgba(255, 214, 160, 0.08), transparent 70%),
    #0c0e14;
}

.poster-art svg {
  display: block;
  width: 100%;
  height: 132px;
}

.poster-title {
  display: block;
  padding: 12px 12px 14px;
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-variation-settings: "opsz" 36, "wght" 560;
}

.step-actions {
  margin-top: 16px;
}

.choices {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.choice {
  min-height: 72px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(243, 239, 230, 0.34);
  background: #12141c;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 48, "wght" 560;
}

.choice[aria-pressed="true"] {
  border-color: var(--cream);
}

.field {
  margin-top: 16px;
}

.field label,
.label-row {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.field input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 248, 236, 0.04);
  font-size: 16px;
}

.field input[aria-invalid="true"] {
  border-color: var(--danger);
}

.chairs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 34px;
  margin-bottom: 8px;
}

.chair {
  width: 28px;
  color: var(--chair, var(--gold));
}

.chair svg {
  display: block;
  width: 100%;
  height: auto;
}

.stepper {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.stepper button {
  height: 52px;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
}

.stepper button:disabled {
  opacity: 0.3;
}

.stepper-value {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.dock {
  margin-top: 18px;
}

body.form-open .dock {
  position: fixed;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(7, 8, 12, 0), #07080c 36%);
}

body.form-open .step {
  padding-bottom: calc(108px + env(safe-area-inset-bottom));
}

body.form-open .dock .primary {
  width: min(100%, var(--column));
  margin: 0 auto;
  display: block;
}

.error {
  width: min(100%, var(--column));
  margin: 0 auto 8px;
  color: var(--danger);
}

body[data-step="confirm"] .hero {
  min-height: 0;
  padding-top: 34vh;
  justify-content: flex-start;
}

body[data-step="confirm"] .hero h1,
body[data-step="confirm"] .bill,
body[data-step="confirm"] .ticks {
  display: none;
}

body[data-step="confirm"] .hero .route,
body[data-step="confirm"] .invite-actions,
body[data-step="pick"] .invite-actions,
body[data-step="prefer"] .invite-actions,
body[data-step="name"] .invite-actions,
body[data-step="cant"] .invite-actions {
  display: none;
}

.confirm {
  position: relative;
  margin-top: 4px;
}

.confirm .route {
  margin-top: 12px;
}

.confirm h2:focus {
  outline: none;
}

.confirm-vote {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 48, "wght" 560;
}

.standings {
  margin-top: 14px;
}

.standings h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 48, "wght" 560;
}

.buckets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
}

.bucket-card {
  text-align: center;
}

.cup {
  position: relative;
  width: 78px;
  height: 84px;
  margin: 0 auto;
  background: repeating-linear-gradient(90deg, #c4453c 0 9px, #f7f1e6 9px 18px);
  clip-path: polygon(16% 10%, 84% 10%, 100% 100%, 0 100%);
}

.cup::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 10%;
  right: 10%;
  top: 0;
  height: 12px;
  border-radius: 5px;
  background: #f4efe6;
}

.kernels {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  background:
    radial-gradient(circle at 22% 18%, #fff6d2 0 5px, transparent 6px),
    radial-gradient(circle at 58% 12%, #ffe08a 0 6px, transparent 7px),
    radial-gradient(circle at 80% 28%, #f0c85a 0 5px, transparent 6px),
    repeating-linear-gradient(#f6d56e, #f6d56e 8px, #e8b84a 8px, #e8b84a 14px);
  transition: height 500ms ease;
}

.kernels::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: -7px;
  height: 16px;
  background:
    radial-gradient(circle at 18% 70%, #fff3c4 0 6px, transparent 7px),
    radial-gradient(circle at 46% 40%, #ffe7a2 0 7px, transparent 8px),
    radial-gradient(circle at 72% 68%, #f6d56a 0 6px, transparent 7px);
  opacity: 0;
}

.kernels.is-pop::after {
  opacity: 1;
}

.bucket-label {
  margin: 8px 0 0;
  font-size: 0.92rem;
  line-height: 1.25;
}

.bucket-label b {
  display: block;
  font-variant-numeric: tabular-nums;
  font-weight: 620;
}

.you {
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--cream);
  color: #1a140e;
  font-size: 0.62rem;
  font-weight: 640;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: 2px;
}

.burst {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 0;
  height: 0;
}

.burst i {
  position: absolute;
  left: 0;
  top: 0;
  width: 7px;
  height: 7px;
  margin: -3px;
  border-radius: 50%;
  background: var(--c);
  animation: spark 720ms ease-out forwards;
}

.chair.pop {
  animation: pop 220ms ease;
}

.chair.leave {
  animation: leave 180ms ease forwards;
}

body.admin {
  background: #07080c;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 32% at 80% 0%, rgba(232, 220, 190, var(--sky-glow)), transparent 68%),
    linear-gradient(180deg, var(--sky-top), var(--sky-mid) 46%, var(--sky-ground));
}

.sky .stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

body.admin .wrap {
  padding-top: calc(18px + env(safe-area-inset-top));
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.pin-screen {
  min-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 28px);
  display: flex;
  flex-direction: column;
}

.pin-screen h1 {
  margin-top: 8px;
  font-size: clamp(3rem, 12vw, 3.6rem);
}

.pin-screen .lede,
.book .lede {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.pin-dots {
  display: flex;
  gap: 10px;
  min-height: 18px;
  margin-top: 22px;
}

.pin-dots i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cream);
}

.pin-hint {
  margin: 10px 0 0;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.keypad-wrap {
  margin-top: auto;
  padding-top: 24px;
}

.keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.keypad button {
  min-height: 64px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 248, 236, 0.04);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 560;
  font-variation-settings: "opsz" 48, "wght" 560;
}

.keypad button.del {
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.keypad button:active {
  background: var(--cream);
  color: #1a140e;
}

.unlock {
  margin-top: 12px;
}

.pin-error,
.book-error {
  min-height: 1.3em;
  margin: 12px 0 0;
  color: var(--danger);
}

.pin-dots.is-wrong {
  animation: shake 320ms ease;
}

.book-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.book-actions {
  display: flex;
  gap: 8px;
}

.link {
  min-height: 44px;
  padding: 8px 4px;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font-weight: 520;
}

.link.danger,
.danger {
  color: var(--danger);
}

.projection {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.25;
  font-variation-settings: "opsz" 36, "wght" 560;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.stat {
  padding: 12px 14px 13px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 248, 236, 0.035);
}

.stat b {
  display: block;
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.9rem;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  font-variation-settings: "opsz" 48, "wght" 560;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: var(--ink-faint);
  font-size: 0.72rem;
  font-weight: 520;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.switches {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.toggle {
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: transparent;
  text-align: left;
}

.toggle strong {
  display: block;
  font-weight: 560;
}

.toggle small {
  display: block;
  margin-top: 2px;
  color: var(--ink-faint);
}

.switch {
  flex: 0 0 auto;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  position: relative;
}

.switch i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cream);
}

.toggle[aria-pressed="true"] .switch {
  background: var(--cream);
}

.toggle[aria-pressed="true"] .switch i {
  transform: translateX(20px);
  background: #1a140e;
}

.book .quiet {
  width: auto;
  min-height: 0;
  margin: 14px 0 0;
  text-align: left;
  font-size: 0.9rem;
}

.guest {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.guest:first-child {
  border-top: 0;
}

.guest-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.guest h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variation-settings: "opsz" 48, "wght" 560;
  overflow-wrap: anywhere;
}

.guest .count {
  margin: 0;
  color: var(--ink-soft);
  white-space: nowrap;
}

.guest .meta,
.guest .when,
.guest .note {
  margin: 4px 0 0;
}

.guest .meta {
  color: var(--ink-soft);
}

.guest .note {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.guest .when {
  color: var(--ink-faint);
  font-size: 0.85rem;
}

.row-actions {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}

#guest-list {
  margin-top: 8px;
}

#opening {
  display: none;
}

html.has-pin #pin-screen {
  display: none;
}

html.has-pin #opening {
  display: block;
}

.booth {
  width: 148px;
  margin: 8px 0 2px;
}

.booth svg {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.25;
  }
  50% {
    transform: translate3d(10px, -18px, 0);
    opacity: 0.95;
  }
}

@keyframes flicker {
  0%,
  100% { opacity: 1; }
  48% { opacity: 0.92; }
  52% { opacity: 1; }
  74% { opacity: 0.86; }
  78% { opacity: 1; }
}

@keyframes streak {
  0%,
  78%,
  100% { opacity: 0; }
  84% { opacity: 1; }
  92% { opacity: 0; }
}

@keyframes pop {
  from { transform: translateY(6px) scale(0.5); opacity: 0; }
}

@keyframes leave {
  to { transform: translateY(6px) scale(0.4); opacity: 0; }
}

@keyframes spark {
  to {
    transform: rotate(var(--a)) translateY(calc(-1 * var(--d))) scale(0.4);
    opacity: 0;
  }
}

@keyframes shake {
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .fly {
    opacity: 0.8;
  }
}

@media (forced-colors: active) {
  .poster,
  .choice,
  .ticks,
  .field input,
  .primary,
  .toggle,
  .stat,
  .keypad button {
    border: 1px solid ButtonText;
  }
}
