@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,700&family=Space+Grotesk:wght@400;500;600&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --slot-control-height: 48px;
  color-scheme: light;
  --ink: #2a1d0d;
  --ink-soft: #5c4a36;
  --paper: #fff7e3;
  --paper-strong: #ffe6b5;
  --accent: #f05d23;
  --accent-dark: #b53b12;
  --mint: #3db5a3;
  --shadow: 0 20px 45px rgba(42, 29, 13, 0.2);
  --radius: 24px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #fff2d1 0%, #f7d488 45%, #f4b7a2 100%);
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.bg-orbit,
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-orbit::before,
.bg-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(42, 29, 13, 0.08);
  animation: float 18s ease-in-out infinite;
}

.bg-orbit::before {
  width: 460px;
  height: 460px;
  top: -120px;
  right: -120px;
}

.bg-orbit::after {
  width: 320px;
  height: 320px;
  bottom: -120px;
  left: -80px;
  animation-delay: -6s;
}

.bg-grid {
  background-image: linear-gradient(rgba(42, 29, 13, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 29, 13, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.45;
}

.site-header,
.site-main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 7vw 16px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--ink);
  color: #fff2d1;
  font-family: "Fraunces", "Georgia", serif;
  font-size: 20px;
  letter-spacing: 1px;
  box-shadow: var(--shadow);
}

.brand-title {
  margin: 0;
  font-weight: 600;
  font-size: 20px;
}

.brand-subtitle {
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.site-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-dropdown {
  position: relative;
  min-width: 240px;
}

.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown-menu {
  position: static;
  display: none;
  width: 100%;
  padding: 12px;
  border-radius: 16px;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(42, 29, 13, 0.12);
  box-shadow: var(--shadow);
  z-index: 10;
}

.nav-dropdown[open] .nav-dropdown-menu {
  display: grid;
  gap: 8px;
}

.nav-dropdown-menu .nav-pill {
  width: 100%;
  justify-content: flex-start;
}

@media (max-width: 720px) {
  .site-nav {
    width: 100%;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown summary {
    width: 100%;
    justify-content: center;
  }

}

.auth-panel {
  width: min(520px, 100%);
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(42, 29, 13, 0.12);
  box-shadow: var(--shadow);
  margin-top: 12px;
  align-self: flex-end;
}

.auth-panel[hidden] {
  display: none;
}


.auth-panel [hidden] {
  display: none !important;
}

.auth-panel[data-state="signed-out"] #auth-username,
.auth-panel[data-state="signed-out"] #auth-save-username {
  display: none !important;
}

.auth-panel[data-state="signed-in"] #auth-email,
.auth-panel[data-state="signed-in"] #auth-password,
.auth-panel[data-state="signed-in"] #auth-signup {
  display: none !important;
}

.auth-toggle {
  margin-left: auto;
}

.auth-status {
  font-size: 12px;
  color: var(--ink-soft);
  width: 100%;
  text-align: center;
  font-weight: 600;
}

.auth-email {
  border: 1px solid rgba(42, 29, 13, 0.2);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font-size: 13px;
  min-width: 180px;
}

.auth-password {
  border: 1px solid rgba(42, 29, 13, 0.2);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font-size: 13px;
  min-width: 140px;
}

.nav-pill {
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font-weight: 500;
  box-shadow: 0 12px 24px rgba(42, 29, 13, 0.12);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-pill.ghost {
  background: transparent;
  border: 1px dashed rgba(42, 29, 13, 0.3);
  color: var(--ink-soft);
}

.site-main {
  padding: 24px 7vw 48px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: center;
}

.hero-copy {
  max-width: 520px;
  animation: rise 0.8s ease-out both;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-soft);
}

h1 {
  margin: 0 0 14px;
  font-family: "Fraunces", "Georgia", serif;
  font-size: clamp(2.2rem, 2vw + 1.5rem, 3.4rem);
  color: var(--ink);
}

.hero-lede {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta {
  border: none;
  border-radius: 14px;
  padding: 12px 20px;
  font-weight: 600;
  background: var(--accent);
  color: #fff7e3;
  box-shadow: 0 18px 30px rgba(240, 93, 35, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  touch-action: manipulation;
}

.cta {
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(240, 93, 35, 0.4);
}

.cta:disabled,
.cta[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
  transform: none;
}

.cta.secondary {
  background: var(--mint);
  box-shadow: 0 18px 30px rgba(61, 181, 163, 0.3);
}

.cta.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(42, 29, 13, 0.3);
  box-shadow: none;
}

.hero-card {
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  animation: rise 0.9s ease-out both;
  animation-delay: 0.15s;
}

.slot-machine {
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  position: relative;
  overflow: hidden;
}

.slot-machine > :not(.coin-burst) {
  position: relative;
  z-index: 1;
}

.coin-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.machine-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.card-title {
  margin: 0;
  font-weight: 600;
  font-size: 18px;
}

.card-tag {
  background: rgba(61, 181, 163, 0.2);
  color: #1f5c52;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.jackpot-panel {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(42, 29, 13, 0.12);
}

.jackpot-title {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  color: var(--ink-soft);
}

.jackpot-multiplier {
  margin: 0;
  font-family: "Fraunces", "Georgia", serif;
  font-size: clamp(2.4rem, calc(2.2rem * var(--jackpot-scale, 1)), 4.2rem);
  color: var(--ink);
}


.jackpot-meter {
  display: grid;
  gap: 6px;
  margin-top: 6px;
}

.meter-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-soft);
}

.meter-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(42, 29, 13, 0.1);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f05d23, #f4b259, #ffe39a);
  transition: width 0.4s ease;
}


.reels {
  display: grid;
  grid-template-columns: repeat(3, minmax(72px, 1fr));
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background: var(--paper-strong);
}

.reel {
  --reel-height: 130px;
  display: grid;
  place-items: center;
  height: var(--reel-height);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  border: 1px solid rgba(42, 29, 13, 0.12);
  overflow: hidden;
  position: relative;
}

.reel-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  will-change: transform;
}

.reel-cell {
  height: var(--reel-height);
  display: grid;
  place-items: center;
}

.reel-symbol,
.legend-icon {
  --symbol-size: 64px;
  display: inline-block;
  width: var(--symbol-size);
  height: var(--symbol-size);
}

.legend-icon {
  --symbol-size: 26px;
  margin-right: 10px;
}

.circle {
  border-radius: 50%;
  box-shadow: inset -6px -8px 10px rgba(0, 0, 0, 0.2),
    inset 4px 6px 8px rgba(255, 255, 255, 0.5);
}

.circle.red {
  background: #e33b3b;
}

.circle.orange {
  background: #f28a1a;
}

.circle.yellow {
  background: #f2c230;
}

.circle.green {
  background: #4ac879;
}

.circle.blue {
  background: #3a8dde;
}

.circle.purple {
  background: #8f63d2;
}

.coin {
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  font-family: "Fraunces", "Georgia", serif;
  font-weight: 700;
  font-size: calc(var(--symbol-size) * 0.36);
  line-height: 1;
  color: rgba(42, 29, 13, 0.98);
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.95),
    0 2px 4px rgba(0, 0, 0, 0.35);
  z-index: 0;
  box-shadow: inset -6px -8px 10px rgba(0, 0, 0, 0.2),
    inset 4px 6px 8px rgba(255, 255, 255, 0.4);
}

.legend-icon.coin {
  font-size: calc(var(--symbol-size) * 0.45);
}

.coin::before {
  content: "";
  position: absolute;
  inset: calc(var(--symbol-size) * 0.18);
  border-radius: 50%;
  border: calc(var(--symbol-size) * 0.05) solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
  z-index: -1;
}

.coin::after {
  content: none;
}

.coin.bronze {
  background: radial-gradient(circle at top, #f3b281, #b87333);
}

.coin.silver {
  background: radial-gradient(circle at top, #f4f5f7, #9aa1ac);
}

.coin.gold {
  background: radial-gradient(circle at top, #ffe89c, #d8a22e);
}

.star {
  background: radial-gradient(circle at 30% 30%, #fff7d6, #f0b727 60%, #cc7a1b);
  clip-path: polygon(
    50% 6%,
    60% 36%,
    94% 36%,
    66% 56%,
    76% 90%,
    50% 70%,
    24% 90%,
    34% 56%,
    6% 36%,
    40% 36%
  );
  box-shadow: 0 8px 18px rgba(204, 122, 27, 0.35);
}

.machine-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.stats-toggle {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.stats-panel[hidden] {
  display: none;
}
.stats-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(42, 29, 13, 0.12);
}

.defender-panel{
  display: flex;
  flex-direction: column;
  gap: 18px;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.defender-panel *{
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.defender-stats{
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.defender-restart{
  margin-left: auto;
  padding: 8px 14px;
  font-size: 0.8rem;
}

#defender-leaderboard{
  user-select: none;
  -webkit-user-select: none;
}

#defender-leaderboard *{
  user-select: none;
  -webkit-user-select: none;
}

.defender-view{
  position: relative;
  width: 100%;
  height: clamp(360px, 72vw, 520px);
  border-radius: 24px;
  background: linear-gradient(180deg, #fdf5e6 0%, #f7dcae 100%);
  overflow: hidden;
  border: 1px solid rgba(90, 70, 45, 0.2);
}

.defender-ground{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 22%;
  background: linear-gradient(180deg, #d8b884, #b59056);
  transition: background 0.15s ease;
}

.defender-ground.flash{
  background: #fff4e0;
}

.defender-line{
  position: absolute;
  left: 0;
  right: 0;
  height: 20px;
  top: 58%;
  background: #c26a3d;
  border-radius: 999px;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
  transition: background 0.15s ease;
}

.defender-line.active{
  background: #3c8b7d;
}

.defender-button{
  width: 100%;
  padding: 16px 18px;
  font-size: 1rem;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.defender-entity{
  position: absolute;
  border-radius: 12px;
  background: #e06a4a;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.defender-entity.bullet{
  border-radius: 999px;
  background: #2d3a52;
}

.defender-entity.missile{
  background: linear-gradient(180deg, #e56c4c, #b2442d);
}

.defender-entity.deflected{
  background: #274a82;
}

.defender-entity.explode{
  opacity: 0;
  transform: scale(0.75);
}

.stats-title {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--ink-soft);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.stats-item {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(42, 29, 13, 0.06);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-soft);
}

.stats-item strong {
  font-size: 18px;
  color: var(--ink);
}

.stats-section {
  display: grid;
  gap: 8px;
}

.stats-subtitle {
  margin: 0;
  font-family: "Fraunces", "Georgia", serif;
  font-size: 18px;
  color: var(--ink);
}

.stats-list {
  display: grid;
  gap: 6px;
}

.stats-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(42, 29, 13, 0.05);
  color: var(--ink-soft);
  font-size: 13px;
}

.stats-row strong {
  color: var(--ink);
}

.machine-controls .card-note {
  margin: 0;
}

.machine-controls #spin-button {
  width: 100%;
  padding: 10px 16px;
  border-radius: 999px;

  height: var(--slot-control-height);
}

.coin-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(42, 29, 13, 0.15);
  width: 100%;

  height: var(--slot-control-height);
}

.coin-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-soft);
}

.coin-value {
  font-size: 26px;
  font-weight: 700;
}


.bet-controls {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(42, 29, 13, 0.15);
  width: 100%;
  height: var(--slot-control-height);
}

.bet-controls .cta.ghost {
  padding: 0;
  width: 40px;
  height: 32px;
  font-size: 18px;
  line-height: 32px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

#spin-button,
#bet-down,
#bet-up {
  touch-action: manipulation;
}

.bet-display {
  text-align: center;
  font-weight: 600;
  color: var(--ink);
}

.flying-coin {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(var(--x, 0px)) translateY(0) scale(0.6);
  opacity: 0;
  animation: coin-fly var(--dur, 1.2s) ease-out forwards;
}

.card-note {
  margin: 0;
  color: var(--ink-soft);
}

.rules {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.rules.pulse {
  animation: pulse 0.6s ease-out;
}

.rules-card {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.rules-card h2 {
  margin: 0 0 12px;
  font-family: "Fraunces", "Georgia", serif;
  font-size: 24px;
}

.symbol-grid {
  display: grid;
  gap: 12px;
}

.symbol-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.payouts {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
}


.rules-note {
  margin: 0;
  color: var(--ink-soft);
}

.word-hero {
  align-items: start;
}

.word-card {
  gap: 20px;
}

.word-current {
  font-family: "Fraunces", "Georgia", serif;
  font-size: clamp(3rem, 4vw, 4.5rem);
  text-align: center;
  padding: 14px;
  border-radius: 18px;
  background: var(--paper-strong);
}

.word-score {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

#score {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(42, 29, 13, 0.08);
}

.word-input label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.word-start label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.word-start {
  display: grid;
  gap: 6px;
}

.word-actions {
  display: flex;
  justify-content: flex-end;
}

.maze-card {
  gap: 16px;
}

.maze-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--ink-soft);
}

.maze-stats strong {
  display: block;
  font-size: 20px;
  color: var(--ink);
  margin-top: 4px;
}

.maze-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper-strong);
  border: 1px solid rgba(42, 29, 13, 0.12);
}

#maze-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.maze-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}


.maze-message {
  min-height: 20px;
  text-align: center;
  font-weight: 600;
  color: var(--ink-soft);
}

.maze-levels {
  margin-top: 28px;
  display: none;
  gap: 12px;
}

.maze-levels.is-visible {
  display: grid;
}

.maze-level-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.maze-level-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(42, 29, 13, 0.2);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.maze-level-btn .level-stars {
  font-weight: 500;
  color: var(--ink-soft);
}

.maze-level-btn .level-time {
  font-weight: 500;
  color: var(--ink-soft);
}

.maze-level-btn.locked {
  opacity: 0.5;
  cursor: not-allowed;
}

.maze-level-btn.active {
  background: rgba(240, 93, 35, 0.2);
  border-color: rgba(240, 93, 35, 0.5);
}

.word-history {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.history-panel {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.history-title {
  margin: 0 0 10px;
  font-family: "Fraunces", "Georgia", serif;
  font-size: 18px;
  color: var(--ink);
}

.history-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
}

.history-chip {
  padding: 4px 0;
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-soft);
}


.word-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.word-entry .cta {
  padding: 10px 16px;
  min-width: 86px;
}

.word-entry input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(42, 29, 13, 0.2);
  background: #fffdf6;
  font-size: 16px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  min-width: 0;
}

.word-hint {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.word-status {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(61, 181, 163, 0.15);
  color: #1f5c52;
  font-weight: 600;
}


.rules-note + .rules-subheader {
  margin-top: 26px;
}

.rules-subheader {
  margin: 26px 0 8px;
  font-family: "Fraunces", "Georgia", serif;
  font-size: 24px;
  color: var(--ink);
}

.payouts.jackpot-progression {
  margin-top: 8px;
}

.site-footer {
  padding: 0 7vw 32px;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.dev-tools {
  display: flex;
  justify-content: center;
  padding: 0 7vw 30px;
}

.dev-tools[hidden] {
  display: none !important;
}

.dev-tools .cta {
  width: min(320px, 100%);
}

.reset-footer {
  padding: 8px 16px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(18px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes coin-fly {
  0% {
    transform: translateX(var(--x, 0px)) translateY(20px) scale(0.55);
    opacity: 0;
  }
  30% {
    transform: translateX(var(--x, 0px)) translateY(-120px) scale(0.95);
    opacity: 1;
  }
  100% {
    transform: translateX(var(--x, 0px)) translateY(140px) scale(0.75);
    opacity: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-pill {
    width: 100%;
  }

  .machine-controls {
    align-items: flex-start;
  }
}

.endless-card{
  gap: 16px;
}

.endless-stats{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--ink-soft);
}

.endless-stats strong{
  display: block;
  font-size: 20px;
  color: var(--ink);
  margin-top: 4px;
}

.endless-ground{
  position: relative;
  height: 260px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #c9e6b1 0%, #9fd08f 45%, #8ab57b 100%);
  border: 1px solid rgba(42, 29, 13, 0.12);
  padding-right: 0;
}

.ground-track{
  position: absolute;
  inset: 0;
  display: flex;
  transition: none;
  z-index: 0;
}

.ground-column{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  position: relative;
  z-index: 1;
  background-repeat: repeat-y;
  background-position-x: center;
}

.ground-column.has-shop{
  z-index: 3;
}

.path-column{
  flex: 0 0 20%;
  background-image: url("Walk_Assets/Ground_1.png"), url("Walk_Assets/Ground_2.png");
  background-size: 100% var(--path-tile, 80px), 100% var(--path-tile, 80px);
  background-position: 0 var(--path-offset, 0px), 0 calc(var(--path-offset, 0px) + var(--path-tile, 80px));
  background-repeat: repeat-y, repeat-y;
}

.grass-column{
  flex: 0 0 20%;
  background-image: url("Walk_Assets/Grass_1.png");
  background-size: 100% var(--grass-tile, 80px);
  background-position: 0 var(--grass-offset, 0px);
  background-repeat: repeat-y;
  overflow: visible;
}

.grass-decor{
  position: absolute;
  inset: 0;
  pointer-events: auto;
  z-index: 1;
  overflow: visible;
}

.grass-rock{
  position: absolute;
  height: auto;
  opacity: 0.8;
  filter: drop-shadow(0 4px 6px rgba(42, 29, 13, 0.25));
  pointer-events: none;
  z-index: 1;
}

.grass-tree{
  position: absolute;
  height: auto;
  z-index: 2;
  cursor: pointer;
  filter: drop-shadow(0 6px 10px rgba(42, 29, 13, 0.35));
  image-rendering: pixelated;
}

.grass-shop{
  position: absolute;
  left: 0;
  height: auto;
  z-index: 2;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 12px rgba(42, 29, 13, 0.35));
  pointer-events: auto;
  cursor: pointer;
  object-fit: contain;
}


.path-tile,
.grass-tile{
  display: none;
}

.footprint{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  opacity: 0.75;
  z-index: 1;
}

.footprint-img{
  width: 16px;
  height: auto;
  opacity: 0.85;
  mix-blend-mode: multiply;
  transform-origin: center;
}

.footprint-img.left{
  transform: translateX(-10px) rotate(-12deg) scaleX(-1);
}

.footprint-img.right{
  transform: translateX(10px) rotate(12deg);
}

.walk-button{
  width: 100%;
  padding: 16px 20px;
  font-size: 18px;
}

.shop-panel{
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(42, 29, 13, 0.15);
  box-shadow: 0 12px 24px rgba(42, 29, 13, 0.12);
}

.shop-panel[hidden]{
  display: none;
}

.shop-exit{
  justify-content: center;
}

.shop-upgrades{
  display: grid;
  gap: 10px;
}

.shop-upgrades .cta{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shop-upgrades .cta span{
  font-weight: 600;
  color: var(--ink-soft);
}

.endless-distance{
  margin-top: 18px;
}

.endless-distance-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--ink-soft);
}

.endless-distance-row strong{
  font-size: 22px;
  color: var(--ink);
}

.leaderboard {
  margin-top: 28px;
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(42, 29, 13, 0.12);
}

.leaderboard-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
}

.auth-username {
  border: 1px solid rgba(42, 29, 13, 0.2);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font-size: 13px;
  min-width: 140px;
}

.auth-panel input,
.auth-panel button {
  width: 100%;
}

#spin-button {
  width: 100%;
  padding: 10px 16px;
  border-radius: 999px;
}

.slot-machine * {
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.bounce-card {
  gap: 16px;
  position: relative;
}

.bounce-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--ink-soft);
}

.bounce-stats strong {
  display: block;
  font-size: 20px;
  color: var(--ink);
  margin-top: 4px;
}

.bounce-canvas-wrap {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper-strong);
  border: 1px solid rgba(42, 29, 13, 0.12);
}

#bounce-canvas {
  display: block;
  width: 100%;
  height: auto;
}

.bounce-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bounce-cta {
  width: 100%;
  padding: 16px 20px;
  font-size: 18px;
}

.bounce-reset {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  font-size: 12px;
}

.bounce-global {
  margin-top: 24px;
}

.bounce-global-card {
  display: grid;
  gap: 10px;
}

.bounce-global-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--ink-soft);
}

.bounce-global-row strong {
  font-size: 22px;
  color: var(--ink);
}

@media (max-width: 720px) {
  .bounce-actions {
    grid-template-columns: 1fr;
  }
}

#spin-button:hover {
  transform: none;
  box-shadow: 0 18px 30px rgba(240, 93, 35, 0.35);
}

#spin-button:active {
  transform: none;
}

.mode-toggle{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.mode-toggle span{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-soft);
}


.rules-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.word-strikes span:last-child{
  font-weight: 700;
}

.rules-header .mode-toggle{
  margin-top: 0;
}

.rules-header .mode-toggle .nav-pill{
  padding: 6px 14px;
}

.toggle{
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 52px;
  height: 30px;
}

.toggle input{
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-track{
  width: 100%;
  height: 100%;
  background: rgba(42, 29, 13, 0.18);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(42, 29, 13, 0.1);
  position: relative;
  transition: background 0.2s ease;
}

.toggle-track::after{
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 12px rgba(42, 29, 13, 0.2);
  transition: transform 0.2s ease;
}

.toggle input:checked + .toggle-track{
  background: var(--mint);
}

.toggle input:checked + .toggle-track::after{
  transform: translateX(22px);
}

.word-entry-actions{
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.word-entry-actions .cta{
  width: 100%;
}

.spook-panel{
  gap: 16px;
}

.spook-lobby{
  display: grid;
  gap: 12px;
}

.spook-lobby[hidden],
.spook-room[hidden]{
  display: none !important;
}

.spook-label{
  display: grid;
  gap: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-soft);
}

.spook-label input{
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(42, 29, 13, 0.2);
  background: #fffdf6;
  font-size: 16px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.spook-room-actions{
  display: grid;
  gap: 12px;
}

.spook-join{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.spook-join input{
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(42, 29, 13, 0.2);
  background: #fffdf6;
  font-size: 16px;
}

.spook-room{
  display: grid;
  gap: 16px;
}

.spook-room-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.spook-room-code{
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ink-soft);
}

.spook-players{
  display: grid;
  gap: 10px;
}

.spook-player{
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(42, 29, 13, 0.06);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-soft);
}

.spook-crown{
  position: relative;
  width: 68px;
  margin: 0 auto 4px;
}

.spook-crown img{
  width: 100%;
  display: block;
}

.spook-crown span{
  position: absolute;
  left: 50%;
  top: 62%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.spook-player strong{
  font-size: 16px;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
}

.spook-actions{
  display: grid;
  gap: 10px;
}

.spook-table{
  display: grid;
  gap: 12px;
}

.spook-status{
  font-weight: 600;
  color: var(--ink-soft);
}

.spook-trump-display{
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6e5c47;
  margin-top: 4px;
}

.spook-score{
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(42, 29, 13, 0.06);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-soft);
}

.spook-kitty{
  display: grid;
  gap: 8px;
}

.spook-kitty-cards{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spook-trick,
.spook-hand{
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
}

.spook-trick{
  position: relative;
  display: block;
  --spook-card-w: clamp(78px, 15vw, 102px);
  --spook-card-h: clamp(114px, 24vw, 144px);
  height: clamp(300px, 63vw, 420px);
  margin-top: 10px;
  overflow: visible;
}

.spook-last-trick{
  position: absolute;
  top: 0;
  right: 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #5b4a3b;
}

.spook-last-label{
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 9px;
  color: rgba(74, 58, 42, 0.7);
}

.spook-last-table{
  position: relative;
  width: 56px;
  height: 56px;
}

.spook-last-card-slot{
  position: absolute;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
}

.spook-last-card-slot.pos-bottom{
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.spook-last-card-slot.pos-top{
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.spook-last-card-slot.pos-left{
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.spook-last-card-slot.pos-right{
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.spook-last-card{
  width: 18px;
  height: 18px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.spook-last-card.red{
  background: #7c1f1f;
  color: #fff;
}

.spook-last-card.black,
.spook-last-card.spook{
  background: #1d1d1d;
  color: #fff;
}

.spook-last-card.green{
  background: #8ccf9c;
  color: #1f2a1f;
}

.spook-last-card.yellow{
  background: #f1d06a;
  color: #2b2417;
}

.spook-round-summary{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 248, 235, 0.95);
  border: 1px dashed rgba(110, 92, 71, 0.45);
  border-radius: 16px;
  padding: 14px 18px;
  text-align: center;
  font-weight: 600;
  color: #4a3a2a;
}

.spook-round-title{
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(74, 58, 42, 0.7);
  margin-bottom: 6px;
}

.spook-trick-slot{
  position: absolute;
  width: var(--spook-card-w, clamp(52px, 10vw, 68px));
  height: var(--spook-card-h, clamp(76px, 16vw, 96px));
}

.spook-trick-slot .spook-playing-card,
.spook-trick-outline{
  position: absolute;
  inset: 0;
  border-radius: 12px;
}

.spook-trick-outline{
  border: 2px dashed rgba(110, 92, 71, 0.45);
  background: transparent;
}

.spook-trick-slot.pos-bottom{
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.spook-trick-slot.pos-top{
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.spook-trick-slot.pos-left{
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.spook-trick-slot.pos-right{
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.spook-bid-info{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  color: #6e5c47;
}

.spook-bid-controls{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.spook-bid-step{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(42, 29, 13, 0.25);
  background: #fff6e3;
  font-size: 18px;
  font-weight: 700;
  color: #4a3a2a;
  cursor: pointer;
}

.spook-bid-step:disabled{
  opacity: 0.6;
  cursor: default;
}

.spook-bid-value{
  min-width: 44px;
  text-align: center;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(42, 29, 13, 0.2);
  font-weight: 700;
  color: #4a3a2a;
}

.spook-bid-action{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(42, 29, 13, 0.2);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  z-index: 2;
}

.spook-bid-action.bid{
  right: calc(-100% - 18px);
  background: #f0672c;
  color: #fff;
}

.spook-bid-action.pass{
  left: calc(-100% - 18px);
  background: #fff6e3;
  color: #4a3a2a;
}

.spook-trump-prompt{
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6e5c47;
}

.spook-trump-side{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 8px;
}

.spook-trump-side.left{
  right: calc(100% + 12px);
}

.spook-trump-side.right{
  left: calc(100% + 12px);
}

.spook-trump-btn{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(42, 29, 13, 0.3);
  font-size: 11px;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 8px 14px rgba(42, 29, 13, 0.12);
}

.spook-trump-btn.red{
  background: #8f2a2a;
  color: #fff;
}

.spook-trump-btn.green{
  background: #9fd7a2;
  color: #1f231f;
}

.spook-trump-btn.black{
  background: #1f1f1f;
  color: #fff;
}

.spook-trump-btn.yellow{
  background: #f0d06b;
  color: #3a2a12;
}

.spook-trick-name{
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  text-align: center;
}

.spook-crown-inline{
  position: absolute;
  left: 50%;
  top: -26px;
  transform: translateX(-50%);
  width: 28px;
}

.spook-crown-inline img{
  width: 100%;
  display: block;
}

.spook-crown-inline span{
  position: absolute;
  left: 50%;
  top: 70%;
  transform: translate(-50%, -50%);
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.spook-continue-btn{
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(42, 29, 13, 0.2);
  background: #f5a23a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.spook-continue-btn:disabled{
  opacity: 0.6;
  cursor: default;
}

.spook-hand.show-all{
  flex-wrap: wrap;
  overflow-x: visible;
  justify-content: center;
}

.spook-trick-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.spook-trick-name{
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6e5c47;
}

.spook-trick-name.ally{
  color: #2f8a4b;
}

.spook-trick-name.enemy{
  color: #b23a3a;
}

.spook-playing-card{
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 6px;
  width: var(--spook-card-w, clamp(52px, 10vw, 68px));
  height: var(--spook-card-h, clamp(76px, 16vw, 96px));
  min-width: var(--spook-card-w, clamp(52px, 10vw, 68px));
  min-height: var(--spook-card-h, clamp(76px, 16vw, 96px));
  flex: 0 0 auto;
  border-radius: 12px;
  padding: 8px;
  background: #fffdf6;
  border: 1px solid rgba(42, 29, 13, 0.35);
  font-weight: 600;
  font-size: 12px;
  text-transform: capitalize;
  box-shadow: 0 10px 16px rgba(42, 29, 13, 0.16);
  font-family: inherit;
  text-align: left;
  line-height: 1;
}

@media (max-width: 720px){
  .spook-hand,
  .spook-trick{
    gap: 6px;
  }
}

.spook-playing-card .card-rank{
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.spook-playing-card .card-suit{
  font-size: 11px;
  color: var(--ink-soft);
}

.spook-playing-card.selected{
  outline: 2px solid var(--accent);
}

.spook-playing-card.red{
  background: #8f2a2a;
  color: #fff;
}

.spook-playing-card.green{
  background: #9fd7a2;
}

.spook-playing-card.black{
  background: #1f1f1f;
  color: #fff;
}

.spook-playing-card.yellow{
  background: #f0d06b;
}

.spook-playing-card.spook{
  background: radial-gradient(circle at 30% 20%, #f7f7f7 0%, #d7d7d7 40%, #9b9b9b 70%, #6f6f6f 100%);
  border: 1px solid rgba(42, 29, 13, 0.4);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.5), inset 0 -2px 6px rgba(0, 0, 0, 0.35);
  padding: 10px;
}

.spook-playing-card.spook .card-rank,
.spook-playing-card.spook .card-suit{
  display: none;
}

.spook-playing-card .spook-symbol{
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.spook-playing-card .spook-symbol img{
  width: 84%;
  height: 84%;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35));
}

.spook-playing-card.red .card-rank,
.spook-playing-card.red .card-suit,
.spook-playing-card.black .card-rank,
.spook-playing-card.black .card-suit{
  color: #fff;
}

.spook-bid{
  display: grid;
  grid-template-columns: minmax(80px, 120px) auto auto;
  gap: 10px;
  align-items: center;
}

.spook-bid input{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(42, 29, 13, 0.2);
  background: #fffdf6;
  width: 100%;
}

.spook-trump{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.spook-trump .cta.red{
  border-color: rgba(231, 84, 84, 0.6);
}

.spook-trump .cta.green{
  border-color: rgba(83, 189, 117, 0.6);
}

.spook-trump .cta.black{
  border-color: rgba(42, 29, 13, 0.6);
}

.spook-trump .cta.yellow{
  border-color: rgba(242, 194, 48, 0.6);
}



.leaderboard-group{
  margin-top: 12px;
}

.leaderboard-label{
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.bounce-mini{
  position: absolute;
  left: 0;
  bottom: 12px;
  width: 110px;
  height: 360px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  pointer-events: none;
}

#bounce-mini-canvas{
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 720px){
  .bounce-mini{
    left: 0;
    bottom: 10px;
    width: 96px;
    height: 320px;
  }
}




