:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  --ink: #f5f2ea;
  --muted: #aaa8bb;
  --night: #070713;
  --night-soft: #0d0d1d;
  --panel: rgba(13, 17, 31, .82);
  --panel-solid: #101522;
  --line: rgba(255, 255, 255, .14);
  --line-bright: rgba(255, 255, 255, .28);
  --cyan: #67e8f9;
  --mint: #69f0bd;
  --teal: #15938d;
  --violet: #9b7cff;
  --pink: #ff6faf;
  --coral: #ff7188;
  --gold: #ffc96b;
  --danger: #ff5f7d;
  --radius: 30px;
  --radius-sm: 18px;
  --shadow: 0 30px 100px rgba(0, 0, 0, .42);
  --ease-out: cubic-bezier(.2, .78, .22, 1);
  --fast: 180ms;
  --medium: 420ms;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--night); }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 18%, rgba(76, 225, 195, .14), transparent 26%),
    radial-gradient(circle at 12% 70%, rgba(155, 124, 255, .13), transparent 32%),
    linear-gradient(155deg, #070713 28%, #0a1720 72%, #0d1924);
  transition: background var(--medium) var(--ease-out);
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  inset: 0;
}

body::before {
  opacity: .2;
  background-image: radial-gradient(rgba(255, 255, 255, .7) .65px, transparent .65px);
  background-size: 34px 34px;
  mask-image: linear-gradient(#000, transparent 82%);
}

body::after {
  background: linear-gradient(115deg, transparent 15%, rgba(103, 232, 249, .028) 50%, transparent 80%);
}

body[data-theme="rewind"] {
  --night: #0b061c;
  --night-soft: #170b32;
  --panel: rgba(24, 11, 52, .88);
  --panel-solid: #1b0d38;
  --line: rgba(118, 185, 255, .24);
  --cyan: #62c7ff;
  --mint: #80e7cf;
  --violet: #a57cff;
  --coral: #ff9a4d;
  --gold: #ffc36a;
  background:
    radial-gradient(circle at 82% 15%, rgba(41, 137, 255, .24), transparent 30%),
    radial-gradient(circle at 14% 78%, rgba(255, 133, 59, .15), transparent 30%),
    linear-gradient(155deg, #0b061c 18%, #160a37 60%, #071b39);
}

body[data-theme="rewind"]::before {
  opacity: .16;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(111, 180, 255, .13) 4px),
    radial-gradient(rgba(255, 255, 255, .7) .6px, transparent .6px);
  background-size: auto, 32px 32px;
}

.rewind-motifs { display: none; }
body[data-theme="rewind"] .rewind-motifs {
  position: fixed;
  z-index: -1;
  inset: 0;
  display: block;
  overflow: hidden;
  pointer-events: none;
}
body[data-theme="rewind"] .rewind-motifs span { position: absolute; color: rgba(110, 186, 255, .08); font-size: clamp(90px, 19vw, 220px); font-family: monospace; }
body[data-theme="rewind"] .rewind-motifs span:nth-child(1) { top: 7%; left: -3%; transform: rotate(-10deg); }
body[data-theme="rewind"] .rewind-motifs span:nth-child(2) { right: 2%; bottom: 8%; color: rgba(255, 146, 71, .07); }
body[data-theme="rewind"] .rewind-motifs span:nth-child(3) { right: 8%; top: 38%; font-size: 70px; }

button,
input,
select { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.screen {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding:
    max(18px, env(safe-area-inset-top))
    max(18px, env(safe-area-inset-right))
    max(18px, env(safe-area-inset-bottom))
    max(18px, env(safe-area-inset-left));
  overflow: hidden;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: min(52vw, 640px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .08);
  animation: ambient-spin 34s linear infinite;
}

.ambient::before,
.ambient::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .045);
  border-radius: inherit;
  inset: 15%;
}

.ambient::after { inset: 31%; }
.ambient-one { right: -18vw; top: -20vw; }
.ambient-two { left: -30vw; bottom: -30vw; animation-direction: reverse; animation-duration: 45s; }

.game-shell {
  min-width: 0;
  width: min(100%, 720px);
  margin: auto;
  animation: shell-in var(--medium) var(--ease-out) both;
}

.home-shell { width: min(100%, 760px); }
.compact-shell { width: min(100%, 560px); }

.top-actions { display: flex; align-items: center; gap: 8px; }
.method-grid,
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 0 0 15px; }
.method-card {
  min-width: 0;
  min-height: 104px;
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 5px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  color: var(--ink);
  background: rgba(0, 0, 0, .18);
  text-align: left;
  cursor: pointer;
  transition: transform var(--fast), border-color var(--fast), background var(--fast);
}
.method-card:hover { transform: translateY(-2px); border-color: var(--line-bright); }
.method-card.selected { border-color: var(--cyan); background: rgba(103, 232, 249, .1); box-shadow: inset 0 0 0 1px rgba(103, 232, 249, .1); }
.method-card > span { color: var(--cyan); font-size: 22px; }
.method-card strong { font-size: 14px; }
.method-card small { color: var(--muted); line-height: 1.35; }
.btn-small { min-height: 44px; }

.shared-name-list { display: grid; gap: 8px; }
.player-name-field { display: grid; grid-template-columns: 30px 1fr 38px; align-items: center; gap: 7px; }
.player-name-field > span { color: var(--cyan); text-align: center; font-size: 11px; font-weight: 800; }
.player-name-field .input { min-width: 0; }
.player-name-field > button { min-width: 38px; min-height: 44px; border: 0; border-radius: 12px; color: var(--muted); background: rgba(255, 255, 255, .06); cursor: pointer; }
.form-error { min-height: 18px; margin: 0; color: #ffadbd; font-size: 11px; }

.pack-preview { display: flex; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: rgba(0, 0, 0, .16); }
.pack-preview > span { width: 42px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 13px; color: var(--cyan); background: rgba(103, 232, 249, .09); font-size: 20px; }
.pack-preview > div { min-width: 0; display: grid; gap: 2px; }
.pack-preview small { color: var(--muted); }
.pack-preview em { color: var(--coral); font-size: 10px; font-style: normal; }
.rewind-preview { border-color: rgba(98, 199, 255, .34); background: linear-gradient(120deg, rgba(48, 93, 194, .16), rgba(255, 139, 62, .08)); }

.scores-button {
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(0, 0, 0, .2);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.scores-backdrop { position: fixed; z-index: 40; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(3, 4, 13, .78); backdrop-filter: blur(10px); }
.scores-modal { width: min(100%, 520px); max-height: min(82dvh, 720px); overflow: auto; padding: 22px; border: 1px solid var(--line-bright); border-radius: 24px; background: var(--panel-solid); box-shadow: var(--shadow); }
.scores-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.scores-heading h2 { font-size: 32px; }
.scores-heading > button { width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; font-size: 24px; cursor: pointer; }
.leaderboard-list { display: grid; gap: 7px; margin: 16px 0 0; padding: 0; list-style: none; }
.leaderboard-list li { min-width: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .035); }
.leaderboard-list li > b { color: var(--cyan); text-align: center; }
.leaderboard-list li > span { min-width: 0; display: grid; }
.leaderboard-list li strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leaderboard-list li small { color: var(--muted); }
.leaderboard-list li em { color: var(--gold); font-style: normal; font-weight: 800; }
.leaderboard-list .is-me { border-style: dashed; border-color: var(--gold); }
.leaderboard-list .is-current { box-shadow: inset 4px 0 var(--cyan); }

.privacy-badge { margin-bottom: 15px; color: var(--cyan); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hold-button { position: relative; overflow: hidden; }
.hold-button::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .17); transform: scaleX(0); transform-origin: left; }
.hold-button.holding::after { transform: scaleX(1); transition: transform 650ms linear; }
.stakes-banner,
.score-explanation { margin: 16px 0; padding: 13px 15px; border: 1px solid rgba(255, 201, 107, .25); border-radius: 15px; color: #ffe0aa; background: rgba(255, 154, 77, .08); font-size: 12px; line-height: 1.5; text-align: center; }

.aurora-brand {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 auto 16px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .19em;
  font-size: 11px;
  font-weight: 800;
  transition: transform var(--fast), color var(--fast);
}

.aurora-brand:hover { transform: translateY(-2px); color: #fff; }
.aurora-brand b { font-weight: 400; color: #b8b5c6; }

.aurora-star {
  color: var(--cyan);
  font-size: 17px;
  line-height: 1;
  text-shadow: 0 0 20px var(--cyan);
}

.card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  width: 100%;
  padding: clamp(22px, 5vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .018) 42%, transparent 70%),
    var(--panel);
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, .055);
  backdrop-filter: blur(24px) saturate(120%);
}

.card::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 360px;
  height: 360px;
  right: -210px;
  top: -230px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(255, 255, 255, .018), 0 0 0 84px rgba(255, 255, 255, .012);
}

.venue-line {
  margin: 13px auto 0;
  color: rgba(217, 213, 230, .42);
  text-align: center;
  letter-spacing: .23em;
  font-size: 8px;
  font-weight: 700;
}

.venue-line span { margin: 0 5px; color: var(--cyan); }

h1,
h2,
h3,
p { text-wrap: balance; }

h1 {
  margin: 5px 0 13px;
  font-size: clamp(54px, 13vw, 96px);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .86;
}

h2 {
  margin: 4px 0 12px;
  font-size: clamp(34px, 7.8vw, 54px);
  font-weight: 760;
  letter-spacing: -.06em;
  line-height: .94;
}

h3 {
  margin: 4px 0 0;
  font-size: clamp(20px, 4vw, 27px);
  letter-spacing: -.035em;
}

.eyebrow {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .19em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow span { color: rgba(255, 255, 255, .38); }
.muted { color: var(--muted); }
.center { text-align: center; }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }

.home-hero {
  position: relative;
  padding: 10px 0 28px 144px;
}

.home-hero > p {
  max-width: 500px;
  margin: 0;
  color: #bbb8ca;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.58;
}

.imposter-mark {
  position: absolute;
  left: -12px;
  top: 2px;
  width: 126px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(103, 232, 249, .34);
  border-radius: 50%;
  color: #eafff8;
  animation: soft-float 5s ease-in-out infinite;
}

.imposter-mark::before,
.imposter-mark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
}

.imposter-mark::after {
  inset: 28px;
  border: 0;
  background: radial-gradient(circle, rgba(105, 240, 189, .35), rgba(21, 147, 141, .28) 46%, transparent 70%);
  filter: drop-shadow(0 0 24px rgba(103, 232, 249, .45));
}

.imposter-mark span {
  z-index: 1;
  font-size: 57px;
  font-weight: 800;
  transform: rotate(7deg);
}

.entry-panel {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 24px;
  background: rgba(2, 8, 17, .48);
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-bottom: 17px;
  padding: 5px;
  border-radius: 16px;
  background: rgba(0, 0, 0, .24);
}

.tab {
  appearance: none;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #9694a7;
  background: transparent;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: color var(--fast), background var(--fast), border-color var(--fast), transform var(--fast);
}

.tab:active { transform: scale(.98); }
.tab.active { color: var(--ink); border-color: var(--line); background: rgba(255, 255, 255, .075); box-shadow: 0 8px 24px rgba(0, 0, 0, .16); }

.stack { display: grid; gap: 11px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-grid label { min-width: 0; }

.field-label {
  display: block;
  margin: 2px 2px 7px;
  color: #d4d1dc;
  font-size: 12px;
  font-weight: 700;
}

.input,
.select {
  appearance: none;
  width: 100%;
  min-height: 54px;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 15px;
  outline: none;
  color: var(--ink);
  background: rgba(2, 7, 16, .68);
  font-size: 16px;
  transition: border-color var(--fast), background var(--fast), box-shadow var(--fast);
}

.select {
  padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, #aaa 50%), linear-gradient(135deg, #aaa 50%, transparent 50%);
  background-position: calc(100% - 18px) 23px, calc(100% - 13px) 23px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.input::placeholder { color: #737284; }
.input:focus,
.select:focus { border-color: rgba(103, 232, 249, .7); background-color: rgba(5, 14, 23, .92); box-shadow: 0 0 0 4px rgba(103, 232, 249, .075); }

.code-input {
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: 24px;
  font-weight: 800;
}

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 0 3px 3px;
  color: #8d8b9d;
  font-size: 11px;
  line-height: 1.45;
}

.form-note span { color: var(--cyan); }
.invite-note { padding: 10px 12px; border: 1px solid rgba(103, 232, 249, .12); border-radius: 12px; background: rgba(103, 232, 249, .045); }

.btn {
  appearance: none;
  width: 100%;
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 19px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform var(--fast), border-color var(--fast), background var(--fast), box-shadow var(--fast), opacity var(--fast);
}

.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn:active:not(:disabled) { transform: scale(.985); }
.btn:disabled { opacity: .36; cursor: not-allowed; }

.btn-primary {
  color: #071317;
  border-color: rgba(220, 255, 243, .72);
  background: linear-gradient(100deg, #f5f2ea 0%, #ddfff4 58%, #bff9e3 100%);
  box-shadow: 0 10px 36px rgba(105, 240, 189, .11);
}

.btn-primary:hover:not(:disabled) { box-shadow: 0 13px 40px rgba(105, 240, 189, .2); }
.btn-danger { color: white; border-color: rgba(255, 141, 162, .4); background: linear-gradient(110deg, #942d52, #d34866 60%, #ff7188); box-shadow: 0 12px 34px rgba(255, 95, 125, .14); }
.btn-quiet { justify-content: center; color: var(--ink); background: rgba(255, 255, 255, .055); }

.btn-small {
  appearance: none;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, .045);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: transform var(--fast), border-color var(--fast), background var(--fast);
}

.btn-small:hover { transform: translateY(-2px); border-color: var(--line-bright); }
.btn-light { color: #081519; background: var(--ink); border-color: var(--ink); }

.text-btn {
  appearance: none;
  display: block;
  min-height: 44px;
  margin: 12px auto -7px;
  padding: 11px 16px;
  border: 0;
  color: #858395;
  background: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color var(--fast);
}

.text-btn:hover { color: var(--ink); }

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 25px;
}

.topbar > div { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }

.room-chip,
.you-chip,
.count-chip,
.pack-pill,
.round-setting {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
}

.room-chip { padding: 6px 9px; color: #d8d6e1; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.you-chip { max-width: 46%; padding: 7px 10px; color: #cac7d4; font-size: 10px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.live-dot,
.status-dot,
.mini-dot,
.pulse-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px rgba(105, 240, 189, .7);
}

.notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -10px 0 18px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 201, 107, .2);
  border-radius: 14px;
  color: #f4dcae;
  background: rgba(111, 77, 20, .16);
  font-size: 12px;
  line-height: 1.4;
}

.notice > span:first-child { color: var(--gold); font-size: 18px; }

.room-banner {
  position: relative;
  display: grid;
  grid-template-columns: 86px 1fr auto;
  align-items: center;
  gap: 17px;
  margin-bottom: 27px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(103, 232, 249, .16);
  border-radius: 22px;
  background: linear-gradient(130deg, rgba(14, 98, 93, .45), rgba(18, 55, 64, .35) 55%, rgba(103, 232, 249, .05));
}

.room-orbit {
  position: relative;
  width: 78px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(103, 232, 249, .34);
  border-radius: 50%;
  animation: ambient-spin 18s linear infinite;
}

.room-orbit::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255, 255, 255, .12); border-radius: inherit; }
.room-orbit span { color: var(--cyan); font-size: 26px; text-shadow: 0 0 22px var(--cyan); animation: reverse-spin 18s linear infinite; }
.code { margin: 3px 0; font-size: clamp(40px, 9vw, 60px); font-weight: 800; letter-spacing: .13em; line-height: .95; }
.pack-line { color: #a4bdbc; font-size: 11px; font-weight: 700; }
.pack-line span { margin: 0 5px; color: rgba(255, 255, 255, .35); }
.invite-actions { display: flex; flex-direction: column; gap: 7px; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin: 4px 0 12px; }
.count-chip { padding: 7px 10px; color: #c5c3ce; font-size: 11px; font-weight: 800; }

.players { display: grid; gap: 8px; margin-bottom: 17px; }
.player,
.score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 15px;
  background: rgba(0, 0, 0, .19);
}

.player.arriving { animation: player-arrive .55s var(--ease-out) both; animation-delay: var(--delay); }
.player-person { min-width: 0; display: flex; align-items: center; gap: 11px; }
.player-person > span:not(.avatar):not(.rank) { min-width: 0; display: grid; gap: 2px; }
.player-person strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.player-person small { color: #7e7c8f; font-size: 10px; font-weight: 600; }

.avatar {
  width: 38px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid hsla(var(--avatar-hue), 80%, 76%, .35);
  border-radius: 50%;
  color: hsl(var(--avatar-hue), 82%, 88%);
  background: linear-gradient(145deg, hsla(var(--avatar-hue), 78%, 55%, .32), hsla(calc(var(--avatar-hue) + 45), 70%, 35%, .2));
  box-shadow: inset 0 1px rgba(255, 255, 255, .12), 0 8px 20px rgba(0, 0, 0, .18);
  font-size: 11px;
  font-weight: 800;
}

.avatar-sm { width: 29px; font-size: 9px; }
.avatar-xl { width: clamp(72px, 17vw, 104px); border-width: 2px; font-size: clamp(20px, 5vw, 30px); box-shadow: 0 0 45px hsla(var(--avatar-hue), 70%, 55%, .2); }
.host-crown { display: inline-flex; align-items: center; gap: 5px; color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.status-dot { margin-right: 5px; }
.status-dot.offline { background: #555462; box-shadow: none; }

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
}

.setting-row > div { display: grid; gap: 3px; }
.setting-row strong { font-size: 13px; }
.setting-row small { color: #858395; font-size: 10px; line-height: 1.35; }
.compact-setting { margin-top: 17px; }

.toggle {
  appearance: none;
  min-width: 64px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #858392;
  background: rgba(0, 0, 0, .24);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.toggle span { width: 7px; height: 7px; border-radius: 50%; background: #686775; }
.toggle.on { color: #dffff3; border-color: rgba(105, 240, 189, .3); background: rgba(105, 240, 189, .09); }
.toggle.on span { background: var(--mint); box-shadow: 0 0 10px rgba(105, 240, 189, .6); }

.cta-dock { margin-top: 4px; }
.start-note { margin: 0 0 9px; color: #8c899b; text-align: center; font-size: 10px; }

.waiting-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px solid rgba(103, 232, 249, .12);
  border-radius: 17px;
  background: rgba(103, 232, 249, .04);
}

.waiting-card strong { font-size: 13px; }
.waiting-card p { margin: 4px 0 0; color: #8b899b; font-size: 11px; line-height: 1.4; }
.pulse-mark { width: 38px; aspect-ratio: 1; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: var(--cyan); background: rgba(103, 232, 249, .1); animation: soft-pulse 2.5s ease-in-out infinite; }
.pulse-mark.danger { color: #ffd3db; background: rgba(255, 95, 125, .11); }

.center-stage,
.privacy-stage,
.suspense-stage { text-align: center; }

.center-stage { padding: clamp(32px, 8vw, 62px) 5px; }
.center-stage > p { max-width: 440px; margin: 0 auto; font-size: 14px; line-height: 1.55; }
.waiting-stage { padding-bottom: 28px; }

.success-mark {
  width: 55px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border: 1px solid rgba(105, 240, 189, .5);
  border-radius: 50%;
  color: #092219;
  background: var(--mint);
  box-shadow: 0 0 34px rgba(105, 240, 189, .2);
  font-size: 24px;
  font-weight: 800;
  animation: success-in .45s var(--ease-out) both;
}

.progress-copy { margin: 10px 0 0; color: #777586; text-align: center; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }

.mini-players { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 15px 0 8px; }
.mini { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 999px; color: #8a8899; background: rgba(255, 255, 255, .035); font-size: 10px; font-weight: 750; }
.mini-dot { width: 5px; height: 5px; background: #5c5b68; box-shadow: none; }
.mini.done { color: #dffdf2; border-color: rgba(105, 240, 189, .2); background: rgba(105, 240, 189, .07); }
.mini.done .mini-dot { background: var(--mint); box-shadow: 0 0 8px rgba(105, 240, 189, .6); }
.mini.offline { opacity: .4; }

.privacy-stage { padding: 20px 0 8px; }
.privacy-stage > p { max-width: 390px; margin: 0 auto 28px; line-height: 1.55; }
.privacy-orbit,
.orbit-loader,
.suspense-orbit {
  position: relative;
  width: 130px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 0 auto 28px;
  border: 1px dashed rgba(103, 232, 249, .35);
  border-radius: 50%;
  animation: ambient-spin 18s linear infinite;
}

.privacy-orbit::before,
.orbit-loader::before,
.suspense-orbit::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255, 255, 255, .12); border-radius: inherit; }
.privacy-orbit span,
.orbit-loader span,
.suspense-orbit span { color: var(--ink); font-size: 45px; font-weight: 800; text-shadow: 0 0 26px rgba(103, 232, 249, .62); animation: reverse-spin 18s linear infinite; }
.orbit-loader { width: 86px; margin-bottom: 22px; }
.orbit-loader span { font-size: 22px; }

.role-reveal {
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: -3px 0 19px;
  padding: 36px 20px 31px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 25px;
  text-align: center;
  animation: role-reveal-in .55s var(--ease-out) both;
}

.role-reveal--player { background: radial-gradient(circle at 50% 45%, rgba(105, 240, 189, .15), transparent 45%), linear-gradient(155deg, rgba(11, 63, 61, .52), rgba(9, 26, 35, .6)); }
.role-reveal--imposter { background: radial-gradient(circle at 50% 42%, rgba(255, 95, 125, .2), transparent 42%), linear-gradient(155deg, rgba(76, 20, 51, .74), rgba(29, 13, 36, .72)); }

.role-aura { position: absolute; width: 290px; aspect-ratio: 1; border: 1px dashed rgba(255, 255, 255, .12); border-radius: 50%; animation: ambient-spin 28s linear infinite; }
.role-aura::before,
.role-aura::after { content: ""; position: absolute; border: 1px solid rgba(255, 255, 255, .06); border-radius: inherit; inset: 17%; }
.role-aura::after { inset: 34%; }
.role-reveal > *:not(.role-aura) { position: relative; z-index: 1; }
.round-setting { align-self: flex-end; margin-bottom: 12px; padding: 6px 9px; color: #aaa7b8; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.round-setting.on { color: #caffec; border-color: rgba(105, 240, 189, .19); }
.word { max-width: 100%; margin: 9px 0 12px; font-size: clamp(44px, 12vw, 76px); font-weight: 800; letter-spacing: -.07em; line-height: .9; overflow-wrap: anywhere; text-shadow: 0 0 38px rgba(105, 240, 189, .18); }
.pack-pill { padding: 7px 11px; color: #cde3dc; font-size: 10px; font-weight: 700; }
.role-instruction { max-width: 430px; margin: 22px auto 0; color: #aaa8b8; font-size: 13px; line-height: 1.5; }

.imposter-title { display: grid; gap: 3px; margin-top: 8px; color: #fff1f4; font-size: clamp(47px, 12vw, 76px); font-weight: 800; letter-spacing: -.075em; line-height: .84; text-shadow: 0 0 45px rgba(255, 95, 125, .23); }
.imposter-title span { color: #ffadc0; font-size: .33em; letter-spacing: .12em; }
.mischief-mark { position: absolute !important; top: 42px; left: 25px; color: rgba(255, 255, 255, .08); font-size: 130px; font-weight: 800; transform: rotate(-12deg); }
.hint-box { width: min(100%, 430px); margin-top: 22px; padding: 16px; border: 1px solid rgba(255, 161, 180, .18); border-radius: 17px; background: rgba(8, 4, 13, .34); }
.hint-text { margin: 5px 0 6px; font-size: clamp(27px, 6vw, 38px); font-weight: 800; letter-spacing: -.04em; }
.hint-box p { margin: 0; color: #b29aa5; font-size: 10px; line-height: 1.45; }

.phase-heading { margin-bottom: 20px; }
.phase-heading > p { max-width: 490px; margin: 0; color: #9593a5; font-size: 13px; line-height: 1.5; }
.phase-heading.center > p { margin: 0 auto; }

.turn-stage {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(18px, 4vw, 30px);
  min-height: 210px;
  padding: clamp(24px, 6vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(103, 232, 249, .13);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(13, 74, 76, .42), rgba(10, 27, 39, .48));
}

.turn-stage.your-turn { border-color: rgba(105, 240, 189, .32); box-shadow: inset 0 0 50px rgba(105, 240, 189, .055); }
.turn-rings { position: absolute; width: 330px; aspect-ratio: 1; right: -145px; border: 1px dashed rgba(103, 232, 249, .12); border-radius: 50%; animation: ambient-spin 30s linear infinite; }
.turn-rings::before { content: ""; position: absolute; inset: 20%; border: 1px solid rgba(255, 255, 255, .06); border-radius: inherit; }
.turn-copy { position: relative; }
.turn { margin: 5px 0 8px; font-size: clamp(37px, 8vw, 59px); font-weight: 800; letter-spacing: -.06em; line-height: .92; }
.turn-copy p { margin: 0; color: #b1afbe; font-size: 13px; }
.clue-rule { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 17px; color: #858394; font-size: 10px; }
.clue-rule span:first-child { color: var(--cyan); }

.waiting-line { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; color: #9b99a9; font-size: 12px; font-weight: 700; }
.pulse-dot { animation: soft-pulse 1.7s ease-in-out infinite; }
.host-fallback { margin: 8px 0 -4px; color: #6d6b7b; text-align: center; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }

.vote-heading { margin-bottom: 16px; }
.vote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin: 0 0 16px; }
.vote-btn {
  appearance: none;
  min-width: 0;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(0, 0, 0, .21);
  text-align: left;
  cursor: pointer;
  transition: transform var(--fast) var(--ease-out), border-color var(--fast), background var(--fast), box-shadow var(--fast);
  animation: vote-card-in .38s var(--ease-out) both;
  animation-delay: var(--delay);
}

.vote-btn:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .22); }
.vote-btn.selected { transform: translateY(-2px); border-color: rgba(255, 113, 136, .58); background: linear-gradient(130deg, rgba(145, 39, 75, .35), rgba(255, 95, 125, .11)); box-shadow: 0 12px 30px rgba(255, 95, 125, .09); }
.vote-check { width: 27px; aspect-ratio: 1; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .11); border-radius: 50%; color: #615f6e; font-size: 12px; font-weight: 800; }
.vote-btn.selected .vote-check { color: #48101f; border-color: #ff9caf; background: #ff9caf; animation: success-in .3s var(--ease-out) both; }
.vote-confirm { padding-top: 5px; }
.vote-confirm > p { margin: 0 0 10px; color: #aaa7b7; text-align: center; font-size: 11px; }
.vote-confirm .text-btn { margin-top: 6px; }
.tap-prompt { margin: 5px 0 0; color: #706e7e; text-align: center; font-size: 10px; }

.vote-locked-stage { padding: 25px 5px 18px; }
.big-count { margin: 24px 0 0; font-size: clamp(61px, 15vw, 88px); font-weight: 800; letter-spacing: -.07em; line-height: .8; }
.big-count span { color: #777586; font-size: .4em; }
.count-label { margin-top: 9px; color: var(--cyan); font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

.suspense-stage { padding: clamp(45px, 10vw, 80px) 0; }
.suspense-stage > p { margin: 0; color: #868495; font-size: 13px; }
.suspense-orbit { width: 145px; margin-bottom: 30px; border-color: rgba(255, 113, 136, .34); }
.suspense-orbit span { color: #ffd5dc; text-shadow: 0 0 28px rgba(255, 95, 125, .7); }
.suspense-orbit.outcome { border-color: rgba(105, 240, 189, .3); }
.suspense-orbit.outcome span { color: var(--mint); text-shadow: 0 0 28px rgba(105, 240, 189, .65); font-size: 28px; }
.suspense-line { width: min(70%, 300px); height: 2px; margin: 29px auto 0; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, .07); }
.suspense-line span { display: block; width: 45%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, transparent, var(--pink), transparent); animation: suspense-scan .7s ease-in-out infinite; }

.accused-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 8px auto 20px;
  padding: 22px;
  border: 1px solid rgba(255, 113, 136, .18);
  border-radius: 22px;
  background: radial-gradient(circle at 50% 20%, rgba(255, 95, 125, .12), transparent 55%), rgba(0, 0, 0, .17);
  animation: accused-in .55s var(--ease-out) both;
}

.accused-card .eyebrow { margin-top: 13px; color: #ff9bad; }
.accused-card > strong { margin: 5px 0 3px; font-size: clamp(33px, 8vw, 50px); letter-spacing: -.055em; }
.accused-card > span:last-child { color: #9c8490; font-size: 11px; }
.tie-mark { display: flex; justify-content: center; gap: 20px; margin: 25px 0; color: rgba(255, 255, 255, .13); font-size: 74px; font-weight: 800; }
.tie-mark span:first-child { transform: rotate(-10deg); }
.tie-mark span:last-child { transform: rotate(12deg); }

.vote-results { display: grid; gap: 9px; margin-bottom: 18px; }
.vote-result { padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 13px; background: rgba(0, 0, 0, .16); font-size: 11px; }
.vote-bar { height: 4px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.vote-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pink), var(--coral)); transform-origin: left; animation: bar-grow .55s var(--ease-out) both; }

.caught-stage { position: relative; display: flex; flex-direction: column; align-items: center; padding: 13px 0 28px; text-align: center; }
.caught-stage .avatar { margin-bottom: 15px; }
.caught-flash { position: absolute; top: -20px; width: 240px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 95, 125, .18), transparent 67%); animation: caught-pulse 1.2s ease-out both; }
.reveal-name { position: relative; margin: 4px 0; font-size: clamp(46px, 11vw, 73px); font-weight: 800; letter-spacing: -.07em; line-height: .9; }
.caught-label { color: #ba9ca6; font-size: 12px; }
.last-chance { margin-bottom: 17px; padding: 16px; border: 1px solid rgba(255, 113, 136, .16); border-radius: 17px; background: rgba(255, 95, 125, .045); }
.last-chance h3 { margin-top: 4px; }
.last-chance p { margin: 6px 0 0; color: #a897a0; font-size: 11px; }

.outcome-stage {
  position: relative;
  margin-bottom: 17px;
  padding: 34px 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 23px;
  text-align: center;
  animation: outcome-in .6s var(--ease-out) both;
}

.outcome-stage.imposter-won { background: radial-gradient(circle at 50% 30%, rgba(255, 95, 125, .17), transparent 55%), linear-gradient(145deg, rgba(88, 22, 55, .58), rgba(31, 16, 42, .48)); }
.outcome-stage.players-won { background: radial-gradient(circle at 50% 30%, rgba(105, 240, 189, .17), transparent 55%), linear-gradient(145deg, rgba(11, 82, 72, .54), rgba(10, 35, 43, .48)); }
.outcome-rays { position: absolute; width: 360px; aspect-ratio: 1; left: 50%; top: 50%; border: 1px dashed rgba(255, 255, 255, .09); border-radius: 50%; transform: translate(-50%, -50%); animation: outcome-spin 35s linear infinite; }
.outcome-rays::before,
.outcome-rays::after { content: ""; position: absolute; inset: 17%; border: 1px solid rgba(255, 255, 255, .05); border-radius: inherit; }
.outcome-rays::after { inset: 34%; }
.outcome-stage > *:not(.outcome-rays) { position: relative; z-index: 1; }
.result-win { margin: 7px 0 10px; font-size: clamp(41px, 10vw, 68px); font-weight: 800; letter-spacing: -.075em; line-height: .86; }
.result-copy { max-width: 470px; margin: 0 auto; color: #c1beca; font-size: 12px; line-height: 1.5; }

.truth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 9px; }
.truth-card { min-width: 0; display: flex; align-items: center; gap: 11px; padding: 12px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 15px; background: rgba(0, 0, 0, .18); }
.truth-card > span:last-child { min-width: 0; display: grid; gap: 2px; }
.truth-card small { color: #777586; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.truth-card strong { overflow: hidden; color: #e8e5ed; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.truth-glyph { width: 38px; aspect-ratio: 1; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: var(--cyan); background: rgba(103, 232, 249, .08); text-shadow: 0 0 14px rgba(103, 232, 249, .5); }
.guess-recap { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; color: #7c7a8a; font-size: 10px; }
.guess-recap strong { color: #c7c4cf; }
.scoreboard-head { margin-top: 19px; }
.scoreboard { display: grid; gap: 6px; }
.score { padding: 9px 11px; }
.score > strong { font-size: 17px; }
.rank { width: 24px; aspect-ratio: 1; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; color: #898697; background: rgba(255, 255, 255, .055); font-size: 9px; font-weight: 800; }

.toast {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  max-width: min(90vw, 500px);
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  color: #081416;
  background: var(--ink);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .36);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  transform: translateX(-50%);
  animation: toast-in .3s var(--ease-out) both;
}

@keyframes shell-in { from { opacity: 0; transform: translateY(12px) scale(.992); } to { opacity: 1; transform: none; } }
@keyframes player-arrive { 0% { opacity: 0; transform: translateY(10px) scale(.97); } 65% { transform: translateY(-2px) scale(1.005); } 100% { opacity: 1; transform: none; } }
@keyframes vote-card-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes role-reveal-in { 0% { opacity: 0; transform: perspective(800px) rotateX(-7deg) scale(.97); filter: blur(4px); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes accused-in { from { opacity: 0; transform: scale(.94) translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes outcome-in { 0% { opacity: 0; transform: scale(.96); filter: brightness(1.4); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes success-in { 0% { opacity: 0; transform: scale(.65) rotate(-12deg); } 70% { transform: scale(1.06); } 100% { opacity: 1; transform: none; } }
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes suspense-scan { from { transform: translateX(-110%); } to { transform: translateX(235%); } }
@keyframes caught-pulse { from { opacity: 1; transform: scale(.4); } to { opacity: 0; transform: scale(1.45); } }
@keyframes soft-float { 0%, 100% { transform: translateY(0) rotate(-2deg); filter: drop-shadow(0 0 20px rgba(103, 232, 249, .16)); } 50% { transform: translateY(-6px) rotate(2deg); filter: drop-shadow(0 0 32px rgba(103, 232, 249, .3)); } }
@keyframes soft-pulse { 0%, 100% { opacity: .65; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes ambient-spin { to { transform: rotate(360deg); } }
@keyframes reverse-spin { to { transform: rotate(-360deg); } }
@keyframes outcome-spin { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }

@media (max-width: 620px) {
  .screen { place-items: start center; padding: max(12px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); overflow: visible; }
  .game-shell { margin: 0 auto; }
  .aurora-brand { margin-bottom: 11px; }
  .card { min-height: calc(100dvh - 61px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); padding: 20px; border-radius: 24px; }
  .venue-line { margin-top: 9px; }
  .home-hero { padding: 2px 0 22px 94px; }
  .home-hero .eyebrow { max-width: 200px; }
  .home-hero h1 { margin-top: 7px; }
  .imposter-mark { left: -10px; top: 4px; width: 80px; }
  .imposter-mark::before { inset: 9px; }
  .imposter-mark::after { inset: 18px; }
  .imposter-mark span { font-size: 38px; }
  .entry-panel { padding: 11px; }
  .field-grid { grid-template-columns: 1fr; }
  .room-banner { grid-template-columns: 66px 1fr; gap: 12px; padding: 15px; }
  .room-orbit { width: 60px; }
  .room-orbit span { font-size: 21px; }
  .invite-actions { grid-column: 1 / -1; flex-direction: row; }
  .invite-actions .btn-small { flex: 1; }
  .turn-stage { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .turn-rings { right: -180px; }
  .truth-grid { grid-template-columns: 1fr; }
  .top-actions { gap: 4px; }
  .you-chip { display: none; }
}

@media (max-width: 390px) {
  .card { padding: 17px; }
  .home-hero { padding-left: 74px; }
  .home-hero h1 { font-size: 50px; }
  .home-hero > p { font-size: 14px; }
  .imposter-mark { left: -12px; width: 68px; }
  .imposter-mark span { font-size: 33px; }
  .topbar { margin-bottom: 20px; }
  .room-banner { grid-template-columns: 52px 1fr; }
  .room-orbit { width: 50px; }
  .code { font-size: 38px; }
  .vote-grid { grid-template-columns: 1fr; }
  .role-reveal { min-height: 350px; padding-inline: 14px; }
  .method-grid, .choice-grid { grid-template-columns: 1fr; }
  .method-card { min-height: 88px; }
}

@media (max-width: 340px) {
  .home-hero { padding: 0 0 15px; text-align: center; }
  .home-hero .eyebrow { max-width: none; }
  .home-hero h1 { font-size: 46px; }
  .home-hero > p { margin-inline: auto; }
  .imposter-mark { display: none; }
  .tab { padding-inline: 8px; font-size: 12px; }
}

@media (max-height: 700px) and (max-width: 620px) {
  .card { min-height: auto; }
  .home-hero { padding-top: 0; padding-bottom: 15px; }
  .home-hero > p { line-height: 1.4; }
  .tabs { margin-bottom: 12px; }
  .input, .select { min-height: 49px; padding-block: 12px; }
  .btn { min-height: 50px; padding-block: 13px; }
  .privacy-stage { padding-top: 8px; }
  .privacy-orbit { width: 104px; margin-bottom: 20px; }
  .role-reveal { min-height: 310px; }
  .center-stage { padding-block: 25px; }
}

@media (min-width: 900px) {
  .game-shell { width: min(100%, 760px); }
  .home-shell { width: min(100%, 800px); }
  .card { padding: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
