:root {
  --bg: #f7f8f6;
  --surface: #ffffff;
  --surface-2: #eef4ef;
  --ink: #17201c;
  --muted: #65716b;
  --line: #dce4df;
  --primary: #16896c;
  --primary-dark: #0f6f58;
  --accent: #f2bd3d;
  --high: #e6604f;
  --low: #2f75d6;
  --shadow: 0 18px 50px rgba(20, 35, 28, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.high-contrast-mode {
  --bg: #000000;
  --surface: #000000;
  --surface-2: #101010;
  --ink: #ffffff;
  --muted: #ffffff;
  --line: #ffffff;
  --primary: #00ffff;
  --primary-dark: #00d8d8;
  --accent: #ffff00;
  --high: #ff66ff;
  --low: #00ffff;
  --shadow: 0 0 0 3px #ffffff;
  background: #000000;
  color: #ffffff;
}

.high-contrast-toggle {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 1301;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border: 2px solid #17201c;
  border-radius: 999px;
  background: #ffffff;
  color: #17201c;
  font-weight: 950;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.high-contrast-toggle:hover,
.high-contrast-toggle:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

body.high-contrast-mode .high-contrast-toggle {
  border-color: #ffff00;
  background: #ffff00;
  color: #000000;
  box-shadow: 0 0 0 3px #000000, 0 0 0 6px #ffffff;
}

.high-contrast-toggle-with-cookie {
  bottom: 108px;
}

@media (max-width: 720px) {
  .high-contrast-toggle-with-cookie {
    bottom: 188px;
  }
}

body.screen-hit-effect {
  animation: screen-hit-shake 520ms ease-out;
}

body.screen-eject-effect {
  animation: screen-eject-shake 1000ms cubic-bezier(0.18, 0.88, 0.22, 1);
}

body.screen-hit-effect::before {
  content: "";
  position: fixed;
  z-index: 1000;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 219, 72, 0.8) 0 14%, rgba(255, 102, 31, 0.58) 28%, rgba(206, 27, 27, 0.5) 48%, transparent 72%);
  mix-blend-mode: multiply;
  animation: explosion-screen-flash 620ms ease-out forwards;
}

body.screen-eject-effect::before {
  content: "";
  position: fixed;
  z-index: 1000;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 216, 79, 0.3), transparent 45%),
    radial-gradient(circle at 50% 82%, rgba(255, 118, 34, 0.65) 0 12%, rgba(213, 34, 24, 0.34) 32%, transparent 66%);
  mix-blend-mode: multiply;
  animation: eject-screen-flash 1000ms ease-out forwards;
}

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

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.app {
  min-height: 100vh;
  padding: 16px;
}

.shell {
  max-width: 1180px;
  margin: 0 auto;
}

.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 22px;
}

.mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.ez {
  color: var(--primary);
  font-weight: 950;
  letter-spacing: -0.04em;
}

.strapline {
  margin: 18px 0 6px;
  color: var(--muted);
  font-size: 16px;
}

.start-panel .strapline {
  margin-bottom: 20px;
}

.start-panel h1 {
  margin-bottom: 28px;
}

.start-panel .switch-row {
  margin-bottom: 28px;
}

.repeat-line {
  margin-bottom: 24px;
  color: var(--ink);
  font-weight: 800;
}

.status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.pill {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 7px 11px;
  font-weight: 700;
  color: var(--ink);
}

.timer-pill {
  min-width: 42px;
  border-color: var(--accent);
  background: var(--accent);
  text-align: center;
  font-weight: 900;
}

.topbar > .status {
  justify-self: center;
}

.controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.btn.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn.primary:hover {
  background: var(--primary-dark);
}

.btn.danger-soft {
  border-color: rgba(230, 96, 79, 0.35);
  background: rgba(230, 96, 79, 0.12);
  color: #9f2f24;
}

.btn.danger-soft:hover,
.btn.danger-soft:focus-visible {
  background: rgba(230, 96, 79, 0.2);
  outline: none;
}

.btn.upgrade-btn {
  border-color: rgba(242, 189, 61, 0.65);
  background: linear-gradient(135deg, #fff8dc, #ffffff 62%);
  color: #7b5514;
}

.btn.upgrade-btn:hover,
.btn.upgrade-btn:focus-visible {
  background: #fff0b7;
  outline: none;
}

.app-footer {
  width: min(720px, 100%);
  margin: 18px auto 0;
  text-align: center;
}

.policy-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 0;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.policy-links.centered {
  justify-content: center;
}

.meta-disclaimer {
  max-width: 680px;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.policy-links a,
.policy-links button {
  color: var(--primary-dark);
  font-weight: 800;
  text-decoration: none;
  background: transparent;
  padding: 0;
}

.policy-links a:hover,
.policy-links button:hover {
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  max-width: 980px;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cookie-banner p {
  margin: 4px 0 0;
  font-size: 14px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.policy-page {
  min-height: 100vh;
  padding: 28px 16px;
  background: var(--bg);
}

.policy-card {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.policy-card h1 {
  margin-top: 16px;
}

.policy-card h2 {
  margin-top: 28px;
}

.policy-card code {
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--surface-2);
}

.policy-back {
  color: var(--primary-dark);
  font-weight: 800;
  text-decoration: none;
}

.policy-links.inline {
  margin-top: 32px;
}

.marketing-page {
  min-height: 100vh;
  background: var(--bg);
}

.marketing-shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 44px;
}

.marketing-card {
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.marketing-card h1 {
  margin-top: 14px;
}

.marketing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.marketing-grid article,
.sponsor-hero-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: var(--surface-2);
}

.marketing-card li {
  margin: 8px 0;
  color: var(--muted);
  line-height: 1.45;
}

.upgrade-shell,
.founder-shell {
  width: min(1040px, calc(100% - 32px));
}

.upgrade-card,
.founder-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 8%, rgba(242, 189, 61, 0.22), transparent 30%),
    radial-gradient(circle at 8% 0%, rgba(22, 137, 108, 0.16), transparent 34%),
    var(--surface);
}

.upgrade-lede {
  max-width: 720px;
  color: #3d4d45;
  font-size: clamp(17px, 2vw, 20px);
}

.upgrade-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.upgrade-benefits article {
  min-height: 180px;
  padding: 20px;
  border: 1px solid rgba(22, 137, 108, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 34px rgba(20, 35, 28, 0.08);
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #21322a;
  color: #ffe28a;
  font-weight: 950;
}

.upgrade-benefits h2 {
  margin-bottom: 6px;
}

.upgrade-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(242, 189, 61, 0.5);
  border-radius: 16px;
  background: linear-gradient(135deg, #fff7d7, #ffffff);
}

.upgrade-cta-panel h2,
.upgrade-cta-panel p {
  margin-bottom: 0;
}

.upgrade-signup-btn {
  min-width: 150px;
}

.founder-card {
  max-width: 820px;
  margin: 0 auto;
}

.marketing-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.contact-form {
  display: grid;
  margin-top: 24px;
}

.contact-form .field span {
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}

.honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-placeholder {
  display: grid;
  gap: 6px;
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.form-status {
  min-height: 22px;
  margin: 14px 0 0;
  font-weight: 800;
}

.sponsor-hero-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin: 24px 0;
}

.sponsor-art.large {
  flex: 0 0 auto;
  width: 70px;
  height: 70px;
  font-size: 24px;
}

@media (max-width: 720px) {
  .marketing-grid,
  .sponsor-hero-card,
  .upgrade-benefits {
    grid-template-columns: 1fr;
    display: grid;
  }

  .upgrade-cta-panel {
    display: grid;
  }
}

@media (max-width: 720px) {
  .cookie-banner {
    display: grid;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .btn {
    flex: 1;
  }
}

.hero {
  display: grid;
  min-height: calc(100vh - 48px);
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 24px;
}

.hero .app-footer {
  margin-top: 0;
}

.start-panel,
.join-panel {
  width: min(520px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(28px, 5vw, 42px);
  box-shadow: var(--shadow);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  font-size: 34px;
  line-height: 1.08;
  margin-bottom: 12px;
}

h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

p {
  color: var(--muted);
  line-height: 1.55;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0 22px;
  padding: 0;
  list-style: none;
}

.trust-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.field {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.field label,
.section-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}

input,
select,
textarea {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  background: var(--surface);
  color: var(--ink);
}

textarea {
  min-height: 150px;
  padding: 12px 13px;
  resize: vertical;
}

.error {
  color: var(--high);
  font-weight: 700;
  font-size: 13px;
  min-height: 18px;
}

.error:empty {
  display: none;
  min-height: 0;
}

.switch-row {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 4px 0 20px;
  cursor: pointer;
}

.switch-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch {
  position: relative;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: var(--line);
  transition: background 160ms ease;
}

.switch span {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 2px 8px rgba(20, 35, 28, 0.18);
  transition: transform 160ms ease;
}

.switch-row input:checked + .switch {
  background: var(--primary);
}

.switch-row input:checked + .switch span {
  transform: translateX(20px);
}

.switch-row strong {
  display: block;
  margin-bottom: 3px;
}

.switch-row small {
  display: block;
  color: var(--muted);
  line-height: 1.35;
}

.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0 20px;
}

.role-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  padding: 13px;
  text-align: left;
}

.role-card.active {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 2px rgba(22, 137, 108, 0.18);
}

.role-card strong {
  display: block;
  margin-bottom: 4px;
}

.role-card span {
  color: var(--muted);
  font-size: 13px;
}

.game-layout {
  display: grid;
  gap: 10px;
}

.dev-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px dashed rgba(22, 137, 108, 0.36);
  border-radius: 8px;
  background: rgba(238, 244, 239, 0.72);
}

.dev-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 850;
}

.dev-toggle input {
  width: 18px;
  height: 18px;
  padding: 0;
  accent-color: var(--primary);
}

.dev-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.table-card {
  position: relative;
  isolation: isolate;
  --seat-x-edge: 72px;
  --seat-y-edge: 42px;
  height: clamp(350px, 55vh, 520px);
  min-height: 350px;
  border: 1px solid rgba(15, 74, 56, 0.28);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.18) 0 28%, transparent 52%),
    linear-gradient(145deg, #0d6f56 0%, #0f7d60 42%, #0a563f 100%);
  overflow: visible;
  box-shadow: 0 24px 70px rgba(6, 42, 30, 0.22);
}

.felt-weave {
  position: absolute;
  z-index: 1;
  inset: 12px;
  border-radius: 18px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.035) 0 1px, transparent 1px 9px);
  opacity: 0.75;
  pointer-events: none;
}

.effect-overlay {
  position: absolute;
  z-index: 120;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}

.celebration-screen {
  position: fixed;
  z-index: 1400;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.celebration-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.table-effect,
.projectile,
.fuse,
.explosion,
.eject-seat,
.eject-flame,
.eject-sparks,
.eject-blast,
.table-effect {
  inset: 0;
}

.projectile,
.fuse,
.explosion,
.eject-seat,
.eject-flame,
.eject-sparks,
.eject-blast {
  position: absolute;
}

.missile-effect .projectile {
  left: var(--from-left);
  top: var(--from-top);
  width: 41px;
  height: 14px;
  border-radius: 10px 3px 3px 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0 26%, transparent 27% 58%, rgba(84, 100, 111, 0.18) 59% 100%),
    linear-gradient(90deg, #8f9ca6 0 13%, #dbe4e9 14% 51%, #d92328 52% 61%, #e8eef1 62% 100%);
  box-shadow:
    -15px 0 14px rgba(255, 101, 26, 0.78),
    -7px 0 0 rgba(255, 196, 44, 0.85),
    0 4px 10px rgba(20, 35, 28, 0.18);
  transform: translate(-50%, -50%) rotate(var(--effect-angle));
  animation: missile-flight 1400ms cubic-bezier(0.24, 0.68, 0.22, 1) forwards;
}

.missile-effect .projectile::before {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid #26323a;
  filter: drop-shadow(1px 0 1px rgba(20, 35, 28, 0.25));
  transform: translateY(-50%);
}

.missile-effect .projectile::after {
  content: "";
  position: absolute;
  left: -6px;
  top: -6px;
  width: 13px;
  height: 25px;
  background:
    linear-gradient(138deg, transparent 0 35%, #53616c 36% 56%, transparent 57%),
    linear-gradient(42deg, transparent 0 35%, #53616c 36% 56%, transparent 57%),
    linear-gradient(90deg, transparent 0 41%, #7f8c95 42% 58%, transparent 59%);
}

.bomb-effect .projectile {
  left: var(--from-left);
  top: var(--from-top);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #6c7680 0 16%, transparent 18%),
    radial-gradient(circle at center, #242a30 0 58%, #0f1318 60% 100%);
  box-shadow: 0 12px 20px rgba(20, 35, 28, 0.22);
  transform: translate(-50%, -50%);
  animation: bomb-arc 1350ms cubic-bezier(0.2, 0.78, 0.24, 1) forwards;
}

.bomb-effect .projectile::after {
  content: "";
  position: absolute;
  right: 1px;
  top: -5px;
  width: 12px;
  height: 8px;
  border-top: 3px solid #7b5d33;
  border-radius: 50%;
}

.bomb-effect .fuse {
  left: var(--to-left);
  top: var(--to-top);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd94a 0 18%, #ff762d 21% 34%, transparent 38%);
  opacity: 0;
  transform: translate(4px, -28px);
  animation: bomb-fuse 640ms ease-in 1220ms forwards;
}

.explosion {
  left: var(--to-left);
  top: var(--to-top);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  opacity: 0;
  background:
    radial-gradient(circle, #fff4a8 0 18%, #ffb332 19% 36%, #f4572f 37% 58%, rgba(219, 30, 30, 0) 62%);
  box-shadow:
    0 0 0 0 rgba(255, 215, 80, 0.75),
    0 0 26px rgba(244, 87, 47, 0.72);
  transform: translate(-50%, -50%) scale(0.4);
}

.missile-effect .explosion {
  animation: table-explosion 500ms ease-out 1320ms forwards;
}

.bomb-effect .explosion {
  width: 38px;
  height: 38px;
  animation: table-explosion 600ms ease-out 1840ms forwards;
}

.reduced-motion .projectile,
.reduced-motion .fuse {
  display: none;
}

.missile-effect.reduced-motion .explosion,
.bomb-effect.reduced-motion .explosion {
  animation-delay: 0ms;
}

.eject-seat {
  z-index: 4;
  left: var(--to-left);
  top: var(--to-top);
  width: 58px;
  height: 42px;
  border-radius: 8px 8px 12px 12px;
  background:
    linear-gradient(180deg, #7d8c98 0 42%, #46545f 43% 100%);
  box-shadow:
    0 12px 20px rgba(20, 35, 28, 0.24),
    0 0 0 2px rgba(255, 255, 255, 0.72);
  transform: translate(-50%, -50%);
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform, opacity;
  animation: eject-seat-launch 1800ms cubic-bezier(0.18, 0.88, 0.22, 1) 620ms forwards;
}

.eject-seat::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: -22px;
  height: 26px;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #5d6a73, #2f3941);
}

.eject-seat::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: -8px;
  height: 10px;
  border-radius: 999px;
  background: #2d363d;
}

.eject-flame {
  z-index: 2;
  left: var(--to-left);
  top: var(--to-top);
  width: 36px;
  height: 62px;
  border-radius: 50% 50% 46% 46%;
  background:
    radial-gradient(circle at 50% 18%, #fff8a9 0 14%, transparent 15%),
    radial-gradient(circle at 50% 34%, #ffd34b 0 26%, #ff7a22 45%, rgba(217, 36, 26, 0) 72%);
  filter: drop-shadow(0 0 14px rgba(255, 112, 34, 0.75));
  transform: translate(-50%, 16px) scaleY(0.2);
  transform-origin: top center;
  opacity: 0;
  animation: eject-flame-burn 980ms ease-out forwards;
}

.eject-sparks {
  z-index: 3;
  left: var(--to-left);
  top: var(--to-top);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0;
  background: #ffd84f;
  box-shadow:
    -30px 10px 0 #ff8c24,
    -18px 28px 0 #ffd84f,
    18px 18px 0 #ff8c24,
    32px 4px 0 #ffd84f,
    8px 40px 0 #ff5b2f,
    -6px 52px 0 #ffd84f;
  transform: translate(-50%, 4px) scale(0.4);
  animation: eject-sparks-burst 1050ms ease-out 180ms forwards;
}

.eject-blast {
  z-index: 1;
  left: var(--to-left);
  top: var(--to-top);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  opacity: 0;
  background:
    radial-gradient(circle, #fff4a8 0 16%, #ffb332 17% 34%, #f4572f 35% 58%, rgba(219, 30, 30, 0) 62%);
  transform: translate(-50%, 12px) scale(0.4);
  animation: eject-blast-pop 760ms ease-out 120ms forwards;
}

.table-oval {
  position: absolute;
  z-index: 2;
  inset: 70px 48px 44px;
  border: 12px solid rgba(10, 58, 43, 0.82);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 46%, rgba(40, 152, 105, 0.68) 0 18%, transparent 42%),
    radial-gradient(circle at center, #0f7e5f 0%, #0c6f55 58%, #084c39 100%);
  box-shadow:
    inset 0 4px 10px rgba(255, 255, 255, 0.14),
    inset 0 -18px 38px rgba(0, 0, 0, 0.2),
    0 18px 34px rgba(5, 42, 31, 0.22);
}

.table-rail {
  position: absolute;
  z-index: 3;
  inset: 60px 36px 32px;
  border: 10px solid rgba(7, 49, 36, 0.72);
  border-radius: 999px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.table-nap {
  position: absolute;
  z-index: 24;
  inset: 112px 118px 82px;
  border-radius: 999px;
  color: rgba(232, 246, 238, 0.34);
  pointer-events: none;
}

.team-logo-lockup {
  position: absolute;
  left: 18%;
  top: 28%;
  z-index: 25;
  display: grid;
  gap: 7px;
  justify-items: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  transform: rotate(2deg);
}

.team-logo-mark {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 2px solid rgba(232, 246, 238, 0.22);
  border-radius: 18px;
  color: rgba(232, 246, 238, 0.36);
  font-size: 25px;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.team-logo-text {
  color: rgba(232, 246, 238, 0.28);
  font-size: 10px;
  font-weight: 900;
}

.table-nap-sponsor-pair {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 30%;
  z-index: 25;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 220px;
}

.sponsor-badge {
  display: inline-grid;
  grid-template-rows: auto auto auto;
  place-items: center;
  gap: 8px;
  width: clamp(148px, 16vw, 200px);
  min-height: 116px;
  padding: 14px 16px;
  border: 1px solid rgba(232, 246, 238, 0.24);
  border-radius: 22px;
  color: rgba(232, 246, 238, 0.78);
  font-size: clamp(10px, 0.95vw, 12px);
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1.18;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  pointer-events: auto;
  cursor: pointer;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(8, 76, 57, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 10px 24px rgba(3, 34, 25, 0.18);
}

.sponsor-badge:hover,
.sponsor-badge:focus-visible {
  color: #e8f6ee;
  outline: none;
  background: rgba(8, 76, 57, 0.34);
  transform: translateY(-1px);
}

.sponsor-copy {
  max-width: 15ch;
}

.sponsor-cta {
  display: inline-grid;
  place-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f2bd3d;
  color: #163427;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.sponsor-art {
  display: grid;
  place-items: center;
  min-width: 52px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f2bd3d, #26d6a7);
  color: #163427;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.mobile-sponsor-slot {
  display: none;
}

.mobile-sponsor-card {
  display: grid;
  place-items: center;
}

.table-center {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
}

.table-center:has(.countdown) {
  z-index: 130;
  pointer-events: none;
}

.countdown {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-size: 78px;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(204, 142, 22, 0.28);
}

.summary {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 20px;
}

.summary strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.summary span {
  color: var(--muted);
  font-weight: 700;
}

.table-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.toast {
  position: fixed;
  z-index: 40;
  top: 18px;
  right: 18px;
  min-width: 190px;
  max-width: calc(100vw - 32px);
  border: 1px solid #15a85f;
  border-radius: 8px;
  background: #19c66f;
  color: #fff;
  padding: 12px 16px;
  text-align: center;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.participant {
  position: absolute;
  z-index: 30;
  left: clamp(var(--seat-x-edge), var(--seat-left), calc(100% - var(--seat-x-edge)));
  top: clamp(var(--seat-y-edge), var(--seat-top), calc(100% - var(--seat-y-edge)));
  transform: translate(-50%, -50%);
  width: 132px;
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px;
  box-shadow: 0 8px 24px rgba(20, 35, 28, 0.08);
}

.participant:has(.participant-menu) {
  z-index: 80;
}

.participant.self {
  border-color: rgba(242, 189, 61, 0.7);
  background: linear-gradient(180deg, rgba(255, 249, 232, 0.98), rgba(255, 255, 255, 0.96));
  box-shadow: 0 8px 24px rgba(20, 35, 28, 0.08), inset 0 0 0 2px rgba(242, 189, 61, 0.16);
}

.participant-actions {
  position: absolute;
  top: 18px;
  right: 6px;
  z-index: 90;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 28px;
  height: 24px;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  line-height: 1;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  background: var(--surface-2);
  color: var(--ink);
  outline: none;
}

.participant-menu {
  position: absolute;
  z-index: 100;
  top: 28px;
  right: 0;
  width: max-content;
  min-width: 168px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(20, 35, 28, 0.16);
  overflow: hidden;
}

.participant-menu button {
  display: block;
  width: 100%;
  min-height: 36px;
  padding: 0 14px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.participant-menu button:hover,
.participant-menu button:focus-visible {
  background: var(--surface-2);
  outline: none;
}

.participant.ejecting {
  opacity: 0;
}

.participant-menu .desktop-effect-action {
  color: #aa3a25;
}

.participant.high {
  border-color: rgba(230, 96, 79, 0.8);
  box-shadow: 0 0 0 3px rgba(230, 96, 79, 0.14);
}

.participant.low {
  border-color: rgba(47, 117, 214, 0.8);
  box-shadow: 0 0 0 3px rgba(47, 117, 214, 0.14);
}

.participant.self.high {
  box-shadow: 0 0 0 3px rgba(230, 96, 79, 0.14), inset 0 0 0 2px rgba(242, 189, 61, 0.16);
}

.participant.self.low {
  box-shadow: 0 0 0 3px rgba(47, 117, 214, 0.14), inset 0 0 0 2px rgba(242, 189, 61, 0.16);
}

.participant-name {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-right: 26px;
  margin-bottom: 8px;
  overflow: hidden;
  color: #21322a;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.15;
  white-space: nowrap;
}

.participant-name span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.controller-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 25;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid var(--surface);
  border-radius: 999px;
  background: var(--high);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(230, 96, 79, 0.28);
}

.vote-back,
.vote-value {
  display: grid;
  place-items: center;
  width: 34px;
  height: 42px;
  border-radius: 6px;
  font-weight: 900;
}

.vote-back {
  background: var(--primary);
  color: #fff;
}

.vote-value {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 18px;
}

.participant-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 850;
  background: var(--surface-2);
  color: var(--muted);
}

.tag.high {
  background: rgba(230, 96, 79, 0.14);
  color: #b43b2d;
}

.tag.low {
  background: rgba(47, 117, 214, 0.14);
  color: #1e5cae;
}

.scorer {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 10px 12px;
  box-shadow: 0 8px 24px rgba(20, 35, 28, 0.06);
}

.scorer-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.scorer-head p {
  margin-bottom: 0;
  line-height: 1.25;
}

.vote-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(42px, 1fr));
  gap: 6px;
}

.vote-btn {
  min-height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.vote-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.mobile-summary-toggle,
.mobile-game-controls,
.mobile-round-status {
  display: none;
}

.expired {
  text-align: center;
}

@keyframes missile-flight {
  0% {
    left: var(--from-left);
    top: var(--from-top);
    opacity: 0;
    transform: translate(-50%, -50%) translateY(0) rotate(var(--effect-angle)) scale(0.84);
  }
  12% {
    opacity: 1;
  }
  34% {
    transform: translate(-50%, -50%) translateY(-126px) rotate(calc(var(--effect-angle) + 24deg)) scale(1.02);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-106px) rotate(calc(var(--effect-angle) + 42deg)) scale(1.03);
  }
  66% {
    transform: translate(-50%, -50%) translateY(-74px) rotate(calc(var(--effect-angle) + 61deg)) scale(1.02);
  }
  82% {
    transform: translate(-50%, -50%) translateY(-36px) rotate(calc(var(--effect-angle) + 78deg)) scale(1);
  }
  92% {
    transform: translate(-50%, -50%) translateY(-14px) rotate(calc(var(--effect-angle) + 87deg)) scale(1);
  }
  100% {
    left: var(--to-left);
    top: var(--to-top);
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0) rotate(calc(var(--effect-angle) + 90deg)) scale(1);
  }
}

@keyframes bomb-arc {
  0% {
    left: var(--from-left);
    top: var(--from-top);
    opacity: 0;
    transform: translate(-50%, -50%) translateY(0) scale(0.8) rotate(-20deg);
  }
  12% {
    opacity: 1;
  }
  52% {
    transform: translate(-50%, -50%) translateY(-132px) scale(1.04) rotate(360deg);
  }
  100% {
    left: var(--to-left);
    top: var(--to-top);
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0) scale(1) rotate(720deg);
  }
}

@keyframes bomb-fuse {
  0%, 100% {
    opacity: 0;
    transform: translate(4px, -28px) scale(0.55);
  }
  25%, 70% {
    opacity: 1;
    transform: translate(8px, -32px) scale(1.12);
  }
}

@keyframes table-explosion {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.35);
    box-shadow:
      0 0 0 0 rgba(255, 215, 80, 0.75),
      0 0 12px rgba(244, 87, 47, 0.72);
  }
  28% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(4.4);
    box-shadow:
      0 0 0 18px rgba(255, 215, 80, 0),
      0 0 44px rgba(244, 87, 47, 0);
  }
}

@keyframes screen-hit-shake {
  0%, 100% { transform: translate3d(0, 0, 0); }
  10% { transform: translate3d(-8px, 5px, 0); }
  22% { transform: translate3d(9px, -4px, 0); }
  34% { transform: translate3d(-7px, -6px, 0); }
  46% { transform: translate3d(6px, 5px, 0); }
  58% { transform: translate3d(-4px, 3px, 0); }
  72% { transform: translate3d(3px, -2px, 0); }
}

@keyframes explosion-screen-flash {
  0% {
    opacity: 0;
  }
  16% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes screen-eject-shake {
  0%, 100% { transform: translate3d(0, 0, 0); }
  8% { transform: translate3d(0, 8px, 0); }
  16% { transform: translate3d(-7px, 4px, 0); }
  25% { transform: translate3d(8px, -10px, 0); }
  36% { transform: translate3d(-6px, -18px, 0); }
  50% { transform: translate3d(5px, -28px, 0); }
  68% { transform: translate3d(-3px, -18px, 0); }
  84% { transform: translate3d(2px, -7px, 0); }
}

@keyframes eject-screen-flash {
  0% {
    opacity: 0;
  }
  14% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes eject-flame-burn {
  0% {
    opacity: 0;
    transform: translate(-50%, 18px) scaleY(0.2);
  }
  18% {
    opacity: 1;
  }
  70% {
    opacity: 1;
    transform: translate(-50%, 28px) scaleY(1.18);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 44px) scaleY(0.54);
  }
}

@keyframes eject-sparks-burst {
  0% {
    opacity: 0;
    transform: translate(-50%, 4px) scale(0.4);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 22px) scale(1.5);
  }
}

@keyframes eject-blast-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, 12px) scale(0.4);
  }
  28% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 12px) scale(4.2);
  }
}

@keyframes eject-seat-launch {
  0% {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) translateY(0);
  }
  8% {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) translateY(10px);
  }
  99% {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) translateY(-860px);
  }
  100% {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) translateY(-880px);
  }
}

@keyframes participant-eject-ghost {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  99% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (max-width: 760px) {
  .app {
    padding: 12px;
    padding-bottom: 152px;
  }

  .high-contrast-toggle {
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(86px + env(safe-area-inset-bottom));
    min-height: 42px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .topbar {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    justify-content: space-between;
  }

  .brand {
    font-size: 18px;
  }

  .mark {
    width: 32px;
    height: 32px;
  }

  .status {
    flex-wrap: wrap;
    font-size: 13px;
  }

  .dev-tools {
    justify-content: stretch;
    flex-wrap: wrap;
  }

  .controls {
    display: none;
  }

  .btn {
    min-height: 44px;
    padding: 0 8px;
    font-size: 13px;
  }

  .start-panel .btn.primary,
  .join-panel .btn.primary {
    padding-inline: 10px;
    white-space: nowrap;
  }

  .table-card {
    display: none;
  }

  .table-card.show-mobile-table {
    min-height: 430px;
    --seat-x-edge: 62px;
    --seat-y-edge: 43px;
  }

  .table-card.show-mobile-table .table-oval {
    inset: 70px 24px 56px;
  }

  .table-card.show-mobile-table .table-nap-sponsor-pair {
    display: none;
  }

  .mobile-sponsor-slot {
    display: block;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .mobile-sponsor-slot .sponsor-badge {
    width: min(100%, 320px);
    min-height: 0;
    padding: 12px 14px;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto;
    gap: 10px;
    text-align: left;
    background: var(--surface-2);
    color: var(--ink);
    border-color: var(--line);
  }

  .mobile-sponsor-slot .sponsor-copy {
    max-width: none;
    font-size: 11px;
  }

  .mobile-sponsor-slot .sponsor-cta {
    white-space: nowrap;
  }

  .table-card.show-mobile-table .participant {
    width: 112px;
    min-height: 76px;
    padding: 8px;
  }

  .table-card.show-mobile-table .participant-name {
    font-size: 13px;
    letter-spacing: -0.01em;
    line-height: 1.12;
  }

  .table-card.show-mobile-table .participant-menu {
    min-width: 156px;
  }

  .table-card.show-mobile-table .vote-back,
  .table-card.show-mobile-table .vote-value {
    width: 34px;
    height: 42px;
    font-size: 16px;
  }

  .table-card.show-mobile-table .summary {
    padding: 14px;
  }

  .table-card.show-mobile-table .summary strong {
    font-size: 26px;
  }

  .table-card.show-mobile-table .countdown {
    width: 112px;
    height: 112px;
    font-size: 58px;
  }

  .mobile-summary-toggle {
    display: block;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 8px;
    padding: 14px;
    text-align: left;
  }

  .mobile-summary-toggle strong {
    display: block;
    margin-bottom: 4px;
  }

  .mobile-round-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    border-radius: 8px;
    padding: 14px;
  }

  .mobile-round-status strong {
    font-size: 20px;
  }

  .mobile-round-status span {
    color: var(--muted);
    font-weight: 700;
  }

  .countdown-mobile strong {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: var(--accent);
    font-size: 28px;
  }

  .mobile-game-controls {
    position: fixed;
    z-index: 20;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    box-shadow: var(--shadow);
  }

  .toast {
    top: 12px;
    right: 12px;
    bottom: auto;
  }

  .table-actions {
    display: none;
  }

  .desktop-effect-action {
    display: none !important;
  }

  .show-mobile-table {
    display: block;
  }

  .scorer {
    padding: 14px;
  }

  .scorer-head {
    display: block;
  }

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

  .vote-btn {
    min-height: 58px;
  }
}

body.high-contrast-mode a,
body.high-contrast-mode button,
body.high-contrast-mode input,
body.high-contrast-mode textarea,
body.high-contrast-mode .btn,
body.high-contrast-mode .participant,
body.high-contrast-mode .summary,
body.high-contrast-mode .scorer,
body.high-contrast-mode .join-panel,
body.high-contrast-mode .start-panel,
body.high-contrast-mode .marketing-card,
body.high-contrast-mode .upgrade-card,
body.high-contrast-mode .founder-card,
body.high-contrast-mode .toast,
body.high-contrast-mode .cookie-banner,
body.high-contrast-mode .mobile-game-controls,
body.high-contrast-mode .mobile-round-status,
body.high-contrast-mode .mobile-summary-toggle,
body.high-contrast-mode .mobile-sponsor-slot,
body.high-contrast-mode .mobile-sponsor-card {
  border-color: #ffffff !important;
  background: #000000 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

body.high-contrast-mode .btn.primary,
body.high-contrast-mode .btn.upgrade-btn,
body.high-contrast-mode .timer-pill,
body.high-contrast-mode .vote-btn.active,
body.high-contrast-mode .role-toggle.active,
body.high-contrast-mode .countdown,
body.high-contrast-mode .countdown-mobile strong {
  border-color: #ffff00 !important;
  background: #ffff00 !important;
  color: #000000 !important;
}

body.high-contrast-mode .participant-name,
body.high-contrast-mode .participant-name span:first-child {
  color: #ffffff !important;
  text-shadow: none !important;
}

body.high-contrast-mode .participant.self .participant-name,
body.high-contrast-mode .participant.self .participant-name span:first-child {
  color: #000000 !important;
}

body.high-contrast-mode .vote-value {
  border-color: #ffffff !important;
  background: #ffffff !important;
  color: #000000 !important;
}

body.high-contrast-mode .vote-btn {
  border-color: #ffffff !important;
  background: #000000 !important;
  color: #ffffff !important;
  opacity: 1 !important;
}

body.high-contrast-mode .vote-btn:disabled {
  opacity: 1 !important;
}

body.high-contrast-mode .vote-btn.active {
  border-color: #ffff00 !important;
  background: #ffff00 !important;
  color: #000000 !important;
}

body.high-contrast-mode .role-card.active {
  border-color: #00ffff !important;
  background: #00ffff !important;
  color: #000000 !important;
  box-shadow: inset 0 0 0 3px #000000, 0 0 0 2px #00ffff !important;
}

body.high-contrast-mode .role-card.active strong,
body.high-contrast-mode .role-card.active span {
  color: #000000 !important;
}

body.high-contrast-mode .table-card,
body.high-contrast-mode .table-oval,
body.high-contrast-mode .table-rail,
body.high-contrast-mode .felt-weave {
  background: #000000 !important;
  border-color: #ffffff !important;
  box-shadow: inset 0 0 0 3px #ffffff !important;
}

body.high-contrast-mode .table-nap,
body.high-contrast-mode .team-logo-text,
body.high-contrast-mode .team-logo-mark,
body.high-contrast-mode .sponsor-badge {
  color: #ffffff !important;
  opacity: 1 !important;
}

body.high-contrast-mode .sponsor-badge,
body.high-contrast-mode .sponsor-art,
body.high-contrast-mode .sponsor-cta {
  border: 2px solid #ffff00 !important;
  background: #000000 !important;
  color: #ffff00 !important;
}

body.high-contrast-mode .participant.self,
body.high-contrast-mode .controller-badge,
body.high-contrast-mode .tag.high,
body.high-contrast-mode .tag.low {
  border-color: #00ffff !important;
  background: #00ffff !important;
  color: #000000 !important;
}

body.high-contrast-mode :focus-visible {
  outline: 4px solid #ffff00 !important;
  outline-offset: 3px !important;
}

@media (max-width: 420px) {
  .join-panel .btn.primary,
  .start-panel .btn.primary {
    min-height: 38px;
    padding-inline: 10px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.screen-hit-effect {
    animation: none;
  }

  body.screen-eject-effect {
    animation: none;
  }

  .projectile,
  .fuse {
    display: none;
  }

  .missile-effect .explosion,
  .bomb-effect .explosion,
  .eject-seat,
  .eject-flame,
  .eject-sparks,
  .eject-blast {
    animation-delay: 0ms;
  }
}
