/* Crash game hub + per-game coaching / simulation UI */
.game-page-lead code {
  color: var(--accent);
  font-size: 0.9em;
}

.game-disclaimer-hero {
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 107, 53, 0.45);
  background: rgba(255, 107, 53, 0.08);
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.55;
}

.game-disclaimer-hero strong {
  color: var(--accent-secondary);
}

.game-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 1.5rem;
  align-items: center;
}

.game-diff {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.game-diff--easy {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: rgba(0, 230, 118, 0.35);
}

.game-diff--medium {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.35);
}

.game-diff--hard {
  color: var(--accent-secondary);
  background: var(--accent-secondary-dim);
  border-color: rgba(255, 107, 53, 0.4);
}

.game-diff--vhard {
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.4);
}

.game-section {
  margin: 2rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.game-section h2 {
  margin: 0 0 0.65rem;
  font-size: 1.125rem;
  color: var(--heading);
}

.game-section > p.section-note {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 48rem;
}

.game-steps {
  margin: 0;
  padding: 0 0 0 1.2rem;
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.game-steps li {
  margin-bottom: 0.5rem;
}

.game-sim-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 1rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.game-sim-wrap--aviator {
  border-color: rgba(0, 230, 118, 0.25);
}

.game-sim-wrap--plinko {
  border-color: rgba(147, 197, 253, 0.35);
}

.game-sim-wrap--tower {
  border-color: rgba(251, 191, 36, 0.35);
}

.game-sim-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.game-sim-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
}

.game-sim-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.game-sim-stats strong {
  color: var(--heading);
}

.game-curve-stage {
  position: relative;
  min-height: 220px;
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 120% 80% at 20% 100%, rgba(0, 230, 118, 0.07) 0%, transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(20, 24, 40, 0.92) 100%);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 1rem;
}

.game-curve-trail-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.game-curve-trail-path {
  filter: drop-shadow(0 0 4px rgba(0, 230, 118, 0.35));
}

.game-curve-rocket {
  position: absolute;
  left: 12%;
  bottom: 14%;
  z-index: 2;
  width: 28px;
  height: 36px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 50%);
  transition: opacity 0.35s ease;
}

.game-curve-stage--rocket .game-curve-rocket {
  opacity: 0.4;
}

.game-curve-stage--rocket.is-curve-live .game-curve-rocket,
.game-curve-stage--rocket.is-curve-crash .game-curve-rocket {
  opacity: 1;
}

.game-curve-rocket-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: 50% 70%;
  will-change: transform;
}

.game-curve-rocket-nose {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 14px solid #e2e8f0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.game-curve-rocket-body {
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  width: 14px;
  height: 18px;
  border-radius: 3px 3px 5px 5px;
  background: linear-gradient(90deg, #94a3b8, #e2e8f0 45%, #cbd5e1);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.game-curve-rocket-flame {
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  width: 10px;
  height: 12px;
  background: radial-gradient(ellipse at 50% 100%, #fb923c 0%, #ef4444 45%, transparent 70%);
  border-radius: 50% 50% 40% 40%;
  animation: rocketFlame 0.22s ease-in-out infinite alternate;
  opacity: 0.9;
}

@keyframes rocketFlame {
  from {
    transform: translateX(-50%) scaleY(0.85);
    opacity: 0.75;
  }
  to {
    transform: translateX(-50%) scaleY(1.15);
    opacity: 1;
  }
}

.game-curve-stage.is-curve-crash .game-curve-rocket-inner {
  animation: rocketCrashBurst 0.85s ease forwards;
}

.game-curve-stage.is-curve-crash .game-curve-rocket-flame {
  animation: none;
  opacity: 0;
}

@keyframes rocketCrashBurst {
  0% {
    transform: scale(1) rotate(0deg);
    filter: brightness(1);
  }
  35% {
    transform: scale(1.25) rotate(18deg);
    filter: brightness(1.6) drop-shadow(0 0 20px #f87171);
  }
  100% {
    transform: scale(0.35) translate(20px, -40px) rotate(45deg);
    opacity: 0;
    filter: brightness(0.5);
  }
}

.game-curve-stage.is-curve-cash .game-curve-rocket-inner {
  animation: rocketCashPulse 0.55s ease;
}

@keyframes rocketCashPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 0 transparent);
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(0, 230, 118, 0.9));
  }
}

.game-curve-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 1;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  transform-origin: left center;
  transform: scaleX(0.08);
  opacity: 0.85;
  transition: transform 0.05s linear;
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.5);
}

.game-curve-mult {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  color: var(--heading);
  text-shadow: 0 0 40px rgba(0, 230, 118, 0.35);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.game-curve-status {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  z-index: 5;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 90%;
  pointer-events: none;
}

/* Nigeria-facing operators — raised card + hover pop */
.game-operators-card {
  margin-top: 0.75rem;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.game-operators-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 230, 118, 0.38);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.38),
    0 0 36px rgba(0, 230, 118, 0.14);
}

.game-operators-card__lead {
  margin-top: 0;
}

/* Aviator — inline predict strip, coach alerts, tutorial, win banner */
.game-curve-predict-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px dashed rgba(0, 230, 118, 0.35);
  background: rgba(0, 230, 118, 0.06);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.game-curve-predict-inline__label {
  font-weight: 700;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  width: 100%;
}

.game-curve-predict-inline__body {
  margin: 0;
  flex: 1 1 12rem;
  min-width: 0;
}

.game-curve-predict-inline__band {
  font-weight: 800;
  font-size: 1rem;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
}

.game-curve-predict-disclaimer {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.game-curve-target-alert {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(251, 191, 36, 0.55);
  background: rgba(251, 191, 36, 0.12);
  font-size: 0.8125rem;
  color: var(--text);
  animation: targetAlertPulse 0.9s ease-in-out infinite;
}

.game-curve-target-alert.is-visible {
  display: flex;
}

@keyframes targetAlertPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.35);
  }
  50% {
    box-shadow: 0 0 20px 2px rgba(251, 191, 36, 0.2);
  }
}

.game-curve-target-alert__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 10px #fbbf24;
  flex-shrink: 0;
  animation: targetDotBlink 1s ease-in-out infinite;
}

@keyframes targetDotBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.game-curve-win-banner {
  position: absolute;
  top: 0.55rem;
  left: 50%;
  z-index: 7;
  transform: translateX(-50%) translateY(-8px);
  max-width: 92%;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: center;
  color: var(--heading);
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(0, 230, 118, 0.55);
  box-shadow: 0 0 24px rgba(0, 230, 118, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.game-curve-win-banner.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Sits in normal flow above .game-curve-stage so multiplier + rocket stay unobstructed */
.game-curve-tutorial {
  position: relative;
  z-index: 0;
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  background: rgba(12, 14, 24, 0.92);
  border: 1px solid rgba(0, 230, 118, 0.35);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.game-curve-tutorial.is-active {
  border-color: rgba(0, 230, 118, 0.5);
  animation: tutorialCardIn 0.35s ease;
}

@keyframes tutorialCardIn {
  from {
    opacity: 0.65;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.game-curve-tutorial__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.game-curve-tutorial__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text);
}

.game-sim-controls--curve .game-sim-controls__full {
  width: 100%;
  flex: 1 1 100%;
}

.game-sim-controls--curve .game-sim-controls__full select {
  min-width: min(100%, 22rem);
  margin-top: 0.25rem;
}

.game-sim-help {
  width: 100%;
  flex-basis: 100%;
  margin: -0.25rem 0 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.game-sim-actions--wrap {
  flex-wrap: wrap;
}

.game-btn-tutorial {
  border-color: rgba(251, 191, 36, 0.45) !important;
  color: #fbbf24 !important;
}

.game-btn-tutorial:hover {
  border-color: rgba(251, 191, 36, 0.75) !important;
  background: rgba(251, 191, 36, 0.1) !important;
}

.game-sim-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.game-sim-controls label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.game-sim-controls input[type='number'] {
  width: 5.5rem;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
  color: var(--heading);
  font-family: inherit;
}

.game-sim-controls select {
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
  color: var(--heading);
  font-family: inherit;
  font-size: 0.8125rem;
}

.game-sim-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.game-sim-log {
  margin-top: 1rem;
  max-height: 140px;
  overflow-y: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 0.65rem;
}

.game-sim-log div {
  margin-bottom: 0.25rem;
}

.game-predict-panel {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(0, 230, 118, 0.35);
  background: rgba(0, 230, 118, 0.05);
  font-size: 0.875rem;
}

.game-predict-panel h3 {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  color: var(--heading);
}

.game-predict-panel .predict-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0.35rem 0;
}

/* Demo-only withdraw coach (curve practice pages) */
.game-withdraw-coach {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(96, 165, 250, 0.4);
  background: rgba(59, 130, 246, 0.06);
  font-size: 0.875rem;
}

.game-withdraw-coach h3 {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  color: var(--heading);
}

.game-withdraw-coach__value {
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #38bdf8;
  margin: 0.4rem 0 0.5rem;
  letter-spacing: 0.02em;
}

.game-withdraw-coach__timing {
  margin: 0.35rem 0 0.65rem;
}

.game-withdraw-coach__timing-line {
  margin: 0 0 0.5rem;
  line-height: 1.5;
  color: var(--text);
}

.game-withdraw-coach__timing-line:last-child {
  margin-bottom: 0;
}

.game-withdraw-coach__disclaimer {
  font-size: 0.8125rem !important;
  color: var(--text-muted) !important;
  line-height: 1.45;
}

.game-alert-toast {
  margin: 0.75rem 0;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  border: 1px solid rgba(0, 230, 118, 0.4);
  background: var(--accent-dim);
  color: var(--text);
  display: none;
}

.game-alert-toast.is-visible {
  display: block;
  animation: gameToastIn 0.35s ease;
}

@keyframes gameToastIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.game-coach-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .game-coach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.game-coach-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
}

.game-coach-card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  color: var(--accent-secondary);
}

.game-coach-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.5;
}

.game-metrics {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 600px) {
  .game-metrics {
    grid-template-columns: repeat(4, 1fr);
  }
}

.game-metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem;
  text-align: center;
}

.game-metric-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

.game-metric-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.game-book-table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0;
}

.game-book-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.game-book-table th,
.game-book-table td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.game-book-table th {
  color: var(--heading);
  font-weight: 600;
}

.game-hub-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .game-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .game-hub-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.game-hub-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.game-hub-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 230, 118, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 32px rgba(0, 230, 118, 0.12);
}

.game-hub-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
  color: var(--heading);
}

.game-hub-card p {
  margin: 0 0 1rem;
  flex: 1;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.45;
}

.game-hub-card .game-diff {
  margin-bottom: 0.65rem;
}

/* Plinko */
.game-plinko-board {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: 1rem 0;
  min-height: 220px;
}

.game-plinko-pegs {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
}

.game-plinko-row {
  display: flex;
  gap: 0.35rem;
  justify-content: center;
}

.game-plinko-peg {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.game-plinko-ball {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--accent));
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.6);
  position: relative;
  transition:
    transform 0.35s ease-out,
    left 0.35s ease-out;
}

.game-plinko-slots {
  display: flex;
  gap: 0.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.game-plinko-slot {
  min-width: 2.5rem;
  padding: 0.35rem 0.25rem;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
}

.game-plinko-slot.is-hit {
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(0, 230, 118, 0.35);
  color: var(--accent);
}

/* Tower */
.game-tower-grid {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.35rem;
  align-items: center;
  margin: 1rem 0;
  min-height: 240px;
}

.game-tower-row {
  display: flex;
  gap: 0.4rem;
}

.game-tower-tile {
  width: 52px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  transition:
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}

.game-tower-tile:hover:not(:disabled) {
  border-color: rgba(0, 230, 118, 0.45);
}

.game-tower-tile:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.game-tower-tile.is-safe {
  background: rgba(0, 230, 118, 0.2);
  border-color: var(--accent);
  color: var(--accent);
}

.game-tower-tile.is-boom {
  background: rgba(248, 113, 113, 0.35);
  border-color: #f87171;
  animation: towerShake 0.4s ease;
}

@keyframes towerShake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}

.game-tower-tile.is-picked {
  box-shadow: 0 0 14px rgba(0, 230, 118, 0.4);
}

/* Tower Legend practice */
.tower-legend-shell {
  margin: 1.5rem 0;
  border-radius: 16px;
  border: 1px solid rgba(139, 92, 246, 0.35);
  background:
    linear-gradient(160deg, rgba(24, 12, 40, 0.97), rgba(10, 8, 18, 0.98)),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 11px,
      rgba(255, 255, 255, 0.03) 11px,
      rgba(255, 255, 255, 0.03) 12px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 11px,
      rgba(255, 255, 255, 0.025) 11px,
      rgba(255, 255, 255, 0.025) 12px
    );
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.tower-legend-practice {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 0;
  min-height: 520px;
}

@media (max-width: 900px) {
  .tower-legend-practice {
    grid-template-columns: 1fr;
  }
}

.tower-legend-sidebar {
  padding: 1.25rem 1rem;
  border-right: 1px solid rgba(139, 92, 246, 0.2);
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tower-legend-sidebar__eyebrow {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(196, 181, 253, 0.85);
  margin: 0;
}

.tower-legend-sidebar__note {
  margin: 0;
  font-size: 0.65rem;
  line-height: 1.4;
  color: var(--text-muted);
}

@media (min-width: 901px) {
  .tower-legend-sidebar__note {
    display: none;
  }
}

.tower-legend-sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.tower-legend-sidebar-actions .tower-legend-btn-enter,
.tower-legend-sidebar-actions .tower-legend-btn-claim {
  width: 100%;
  justify-content: center;
}

.tower-legend-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
}

.tower-legend-bet-input {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
  font-weight: 700;
}

.tower-legend-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.tower-legend-chip {
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.tower-legend-chip:hover {
  border-color: rgba(250, 204, 21, 0.45);
  color: #facc15;
}

.tower-legend-auto {
  margin-top: 0.25rem;
}

.tower-legend-auto-hint {
  margin: 0.35rem 0 0;
  font-size: 0.65rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.tower-legend-auto-hint strong {
  color: rgba(226, 232, 240, 0.85);
  font-weight: 650;
}

.tower-legend-hud-hint {
  width: 100%;
  max-width: 420px;
  margin: 0.35rem auto 0;
  text-align: center;
  font-size: 0.7rem;
  line-height: 1.45;
  color: rgba(196, 181, 253, 0.75);
}

.tower-legend-diff {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tower-legend-diff-btn {
  text-align: left;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.tower-legend-diff-btn.is-selected {
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.5);
}

.tower-legend-diff-sub {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.tower-legend-diff-btn--easy.is-selected {
  border-color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
}

.tower-legend-diff-btn--med.is-selected {
  border-color: #fb923c;
  background: rgba(251, 146, 60, 0.12);
}

.tower-legend-diff-btn--hard.is-selected {
  border-color: #f87171;
  background: rgba(248, 113, 113, 0.12);
}

.tower-legend-diff-btn--vh.is-selected {
  border-color: #60a5fa;
  background: rgba(96, 165, 250, 0.12);
}

.tower-legend-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  font-size: 0.8125rem;
}

.tower-legend-stat-grid > div {
  padding: 0.4rem 0.45rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tower-legend-stat-grid span {
  display: block;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #facc15;
}

.tower-legend-stat-grid small {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.tower-legend-stat--win span {
  color: #4ade80;
}

.tower-legend-stat--loss span {
  color: #f87171;
}

.tower-legend-stat-span {
  grid-column: 1 / -1;
}

.tower-legend-coach-strip {
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(250, 204, 21, 0.9);
  margin: 0;
  padding: 0.5rem 0.55rem;
  border-radius: 8px;
  background: rgba(88, 28, 135, 0.35);
  border: 1px solid rgba(167, 139, 250, 0.25);
}

.tower-legend-tutorial-btn {
  width: 100%;
  font-size: 0.8125rem;
}

.tower-legend-log-wrap {
  flex: 1;
  min-height: 120px;
  display: flex;
  flex-direction: column;
}

.tower-legend-log {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 160px;
  overflow-y: auto;
  font-size: 0.72rem;
  line-height: 1.35;
}

.tower-legend-log__item {
  padding: 0.35rem 0.4rem;
  border-radius: 6px;
  margin-bottom: 0.3rem;
  border-left: 3px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.25);
}

.tower-legend-log__item--win {
  border-left-color: #4ade80;
  color: #bbf7d0;
}

.tower-legend-log__item--loss {
  border-left-color: #f87171;
  color: #fecaca;
}

.tower-legend-log-wrap:has(.tower-legend-log li) .tower-legend-log-empty {
  display: none;
}

.tower-legend-log-empty {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0;
}

.tower-legend-main {
  position: relative;
  padding: 1rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tower-legend-topbar {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.tower-legend-pill {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(196, 181, 253, 0.9);
}

.tower-legend-credits {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.tower-legend-credits strong {
  color: #facc15;
  font-variant-numeric: tabular-nums;
}

.tower-legend-marquee {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #e9d5ff, #a78bfa, #facc15);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(139, 92, 246, 0.35);
}

.tower-legend-tutorial-stage {
  width: 100%;
  text-align: center;
  font-size: 0.78rem;
  color: #c4b5fd;
  margin: 0 0 0.75rem;
}

.tower-legend-hud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  width: 100%;
  margin-bottom: 0.65rem;
}

.tower-legend-hud-box {
  min-width: 140px;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, 0.35);
  background: rgba(0, 0, 0, 0.4);
  text-align: center;
}

.tower-legend-hud-k {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tower-legend-hud-v {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #facc15;
  margin-top: 0.2rem;
}

.tower-legend-progress {
  width: 100%;
  max-width: 420px;
  margin-bottom: 0.75rem;
}

.tower-legend-progress__track {
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(139, 92, 246, 0.25);
  overflow: hidden;
}

.tower-legend-progress__fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c3aed, #facc15);
  transition: width 0.35s ease;
}

.tower-legend-status {
  width: 100%;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(226, 232, 240, 0.85);
  margin: 0 0 0.75rem;
}

.tower-legend-board {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 1rem;
}

.tower-legend-rows {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.4rem;
  align-items: stretch;
}

.tower-legend-row {
  display: grid;
  grid-template-columns: 2rem minmax(120px, 1fr) 3.25rem;
  align-items: center;
  gap: 0.5rem;
}

.tower-legend-floor-num {
  font-size: 0.7rem;
  font-weight: 800;
  color: rgba(196, 181, 253, 0.75);
  text-align: center;
}

.tower-legend-cells {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
}

.tower-legend-row-mult {
  font-size: 0.7rem;
  font-weight: 800;
  color: #facc15;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.tower-legend-tile {
  width: 56px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: linear-gradient(145deg, rgba(60, 40, 80, 0.6), rgba(20, 15, 35, 0.9)) !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.15s,
    box-shadow 0.2s,
    border-color 0.2s;
}

.tower-legend-tile:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.tower-legend-tile__icon {
  font-size: 1.1rem;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.25));
}

.tower-legend-tile.is-safe {
  background: rgba(74, 222, 128, 0.18) !important;
  border-color: rgba(74, 222, 128, 0.55) !important;
}

.tower-legend-tile.is-revealed-gem {
  background: rgba(52, 211, 153, 0.2) !important;
  border-color: rgba(52, 211, 153, 0.45) !important;
}

.tower-legend-tile.is-revealed-bomb {
  background: rgba(248, 113, 113, 0.22) !important;
  border-color: rgba(248, 113, 113, 0.5) !important;
}

.tower-legend-tile.is-gem-burst {
  animation: towerGemBurst 0.55s ease-out;
}

.tower-legend-tile.is-debris-burst {
  animation: towerDebris 0.65s ease-out;
}

@keyframes towerGemBurst {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.7);
  }
  40% {
    transform: scale(1.08);
    box-shadow: 0 0 24px 8px rgba(250, 204, 21, 0.45);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 transparent;
  }
}

@keyframes towerDebris {
  0% {
    transform: scale(1) rotate(0deg);
    filter: brightness(1.2);
  }
  35% {
    transform: scale(1.12) rotate(-6deg);
    filter: brightness(1.4);
  }
  100% {
    transform: scale(1) rotate(0deg);
    filter: brightness(1);
  }
}

.tower-legend-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: auto;
  padding-top: 0.5rem;
}

.tower-legend-btn-enter {
  background: linear-gradient(180deg, #7c3aed, #5b21b6) !important;
  border: 1px solid rgba(196, 181, 253, 0.45) !important;
  color: #fff !important;
  font-weight: 800;
  padding: 0.65rem 1.25rem;
}

.tower-legend-btn-claim {
  background: rgba(88, 52, 20, 0.85) !important;
  border: 1px solid rgba(251, 191, 36, 0.35) !important;
  color: #fde68a !important;
  font-weight: 800;
  padding: 0.65rem 1.25rem;
}

.tower-legend-btn-claim:disabled {
  opacity: 0.4;
}

.tower-legend-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(5, 3, 12, 0.82);
  backdrop-filter: blur(4px);
}

.tower-legend-overlay[hidden] {
  display: none !important;
}

.tower-legend-overlay.is-open {
  display: grid !important;
}

.tower-legend-overlay__card {
  max-width: 360px;
  padding: 1.25rem 1.35rem;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: linear-gradient(165deg, rgba(40, 25, 65, 0.98), rgba(15, 10, 28, 0.99));
  text-align: center;
}

.tower-legend-overlay__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: #f5f3ff;
}

.tower-legend-overlay__body {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(226, 232, 240, 0.88);
}

/* Limbo */
.game-limbo-bar {
  height: 12px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.4);
  margin: 1rem 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.game-limbo-fill {
  height: 100%;
  width: 0%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--accent-secondary), var(--accent));
  transition: width 0.08s linear;
}

.game-limbo-result {
  font-size: 1.75rem;
  font-weight: 800;
  text-align: center;
  margin: 0.5rem 0;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
}

/* Classic dice (0–100) */
.game-sim-wrap--dice {
  border-color: rgba(147, 197, 253, 0.35);
}

.game-dice-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0.75rem 0;
  font-size: 0.875rem;
  color: var(--text);
}

.game-dice-modes label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.game-dice-face {
  margin: 1rem 0;
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  text-align: center;
  background: linear-gradient(165deg, rgba(30, 32, 44, 0.95) 0%, rgba(13, 15, 26, 0.98) 100%);
  border: 1px solid var(--border);
  box-shadow: inset 0 0 40px rgba(0, 230, 118, 0.06);
}

.game-dice-result {
  font-size: clamp(2.75rem, 10vw, 4.5rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--heading);
  text-shadow: 0 0 36px rgba(0, 230, 118, 0.25);
  line-height: 1;
}

.game-dice-sub {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.game-dice-multline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: baseline;
  margin: 0.75rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.game-dice-multline strong {
  color: var(--accent);
  font-size: 1.05rem;
}

/* Mines (grid) */
.game-sim-wrap--mines {
  border-color: rgba(248, 113, 113, 0.28);
}

.game-mines-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
  max-width: 280px;
  margin: 1rem auto;
}

.game-mines-cell {
  aspect-ratio: 1;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.15s ease;
}

.game-mines-cell:hover:not(:disabled) {
  border-color: rgba(0, 230, 118, 0.45);
  transform: scale(1.04);
}

.game-mines-cell:disabled {
  cursor: default;
}

.game-mines-cell.is-safe {
  background: rgba(0, 230, 118, 0.18);
  border-color: var(--accent);
  color: var(--accent);
  animation: minesReveal 0.35s ease;
}

.game-mines-cell.is-mine {
  background: rgba(248, 113, 113, 0.4);
  border-color: #f87171;
  color: #fecaca;
  animation: minesBoom 0.45s ease;
}

@keyframes minesReveal {
  from {
    transform: scale(0.85);
    opacity: 0.5;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes minesBoom {
  0%,
  100% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.12);
  }
}

.game-mines-readout {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0.5rem 0;
}

.game-mines-readout strong {
  color: var(--accent);
  font-size: 1.1rem;
}

/* Mines practice (cyberpunk board) */
.mines-practice-outer {
  margin: 1.25rem 0;
}

.mines-practice-shell {
  --mines-cyan: #22d3ee;
  --mines-cyan-dim: rgba(34, 211, 238, 0.35);
  --mines-gold: #fbbf24;
  --mines-bg: #050a12;
  --mines-panel: rgba(8, 18, 32, 0.92);
  border: 1px solid var(--mines-cyan-dim);
  border-radius: 12px;
  background: linear-gradient(165deg, #060d18 0%, var(--mines-bg) 45%, #030508 100%);
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.08),
    0 20px 48px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.mines-practice-top {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--mines-cyan-dim);
  background: rgba(34, 211, 238, 0.04);
}
@media (min-width: 640px) {
  .mines-practice-top {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .mines-practice-tagline {
    text-align: center;
    margin: 0;
  }
  .mines-practice-credits {
    text-align: right;
  }
}

.mines-practice-brand {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 1.05rem;
  color: var(--mines-cyan);
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.45);
}

.mines-practice-brand__glyph {
  color: #f87171;
  font-size: 1rem;
}

.mines-practice-tagline {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.55);
}

.mines-practice-credits {
  font-size: 0.875rem;
  color: rgba(226, 232, 240, 0.75);
}

.mines-practice-credits strong {
  color: var(--mines-gold);
  font-weight: 700;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.35);
}

.mines-practice-toast {
  margin: 0.5rem 1rem 0;
}

.mines-practice-tutorial-banner {
  margin: 0.5rem 1rem 0;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: rgba(34, 211, 238, 0.06);
  font-size: 0.8125rem;
  color: rgba(226, 232, 240, 0.88);
}

.mines-practice-coach-strip {
  margin: 0.5rem 1rem 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(148, 163, 184, 0.95);
}

.mines-practice-layout {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}
@media (min-width: 900px) {
  .mines-practice-layout {
    grid-template-columns: minmax(220px, 260px) 1fr;
    align-items: start;
  }
}

.mines-practice-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mines-practice-card {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  background: var(--mines-panel);
}

.mines-practice-card__title {
  margin: 0 0 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(34, 211, 238, 0.85);
}

.mines-practice-field {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 8px;
  padding: 0.25rem 0.5rem;
  background: rgba(0, 0, 0, 0.35);
}

.mines-practice-field input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: #e2e8f0;
  font-size: 1rem;
  font-weight: 600;
}

.mines-practice-field input:focus {
  outline: none;
}

.mines-practice-field__suffix {
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.9);
}

.mines-practice-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.mines-practice-chip {
  min-width: 2.5rem;
  padding: 0.35rem 0.45rem;
  border-radius: 6px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: rgba(34, 211, 238, 0.08);
  color: #e2e8f0;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.mines-practice-chip:hover {
  border-color: var(--mines-cyan);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.2);
}

.mines-practice-diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.mines-practice-diff {
  padding: 0.45rem 0.35rem;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(0, 0, 0, 0.25);
  color: #e2e8f0;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    transform 0.15s ease,
    background 0.15s ease;
}

.mines-practice-diff.is-selected {
  background: rgba(34, 211, 238, 0.1);
  transform: translateY(-1px);
}

.mines-practice-diff span {
  display: block;
  font-weight: 500;
  font-size: 0.65rem;
  color: rgba(148, 163, 184, 0.9);
}

.mines-practice-diff--easy.is-selected {
  border-color: #4ade80;
  box-shadow: 0 0 14px rgba(74, 222, 128, 0.25);
}
.mines-practice-diff--med.is-selected {
  border-color: #fb923c;
  box-shadow: 0 0 14px rgba(251, 146, 60, 0.25);
}
.mines-practice-diff--hard.is-selected {
  border-color: #f87171;
  box-shadow: 0 0 14px rgba(248, 113, 113, 0.25);
}
.mines-practice-diff--vhard.is-selected {
  border-color: #c084fc;
  box-shadow: 0 0 14px rgba(192, 132, 252, 0.25);
}

.mines-practice-stats {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.8125rem;
}

.mines-practice-stats > div {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.mines-practice-stats dt {
  margin: 0;
  color: rgba(148, 163, 184, 0.9);
}
.mines-practice-stats dd {
  margin: 0;
  font-weight: 600;
  color: #e2e8f0;
}

.mines-practice-stats__pnl dd {
  color: var(--mines-cyan);
}

.mines-practice-log {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 9rem;
  overflow: auto;
  font-size: 0.72rem;
  line-height: 1.35;
}

.mines-practice-log__empty {
  color: rgba(148, 163, 184, 0.75);
  padding: 0.25rem 0;
}

.mines-practice-log__item {
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.mines-practice-log__item--win {
  color: #4ade80;
}
.mines-practice-log__item--loss {
  color: #fca5a5;
}

.mines-practice-sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
@media (min-width: 900px) {
  .mines-practice-sidebar-actions {
    display: none;
  }
}

.mines-practice-main {
  position: relative;
  padding: 0.5rem 0.25rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(34, 211, 238, 0.12);
  background: rgba(2, 6, 14, 0.65);
  overflow: hidden;
}

.mines-practice-main::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    transparent 0%,
    rgba(34, 211, 238, 0.03) 48%,
    transparent 50%
  );
  background-size: 100% 220%;
  animation: minesScan 7s linear infinite;
  opacity: 0.5;
}

@keyframes minesScan {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 100%;
  }
}

.mines-practice-hud {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.mines-practice-hud--sub {
  grid-template-columns: 1fr;
  margin-bottom: 0.65rem;
}

.mines-practice-hud__box {
  padding: 0.45rem 0.4rem;
  border-radius: 8px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  background: rgba(0, 0, 0, 0.4);
  text-align: center;
}

.mines-practice-hud__box--wide {
  text-align: left;
  padding-left: 0.65rem;
}

.mines-practice-hud__label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.85);
  margin-bottom: 0.2rem;
}

.mines-practice-hud__val {
  font-size: 0.95rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.mines-practice-hud__val--cyan {
  color: var(--mines-cyan);
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.35);
}

.mines-practice-hud__val--gold {
  color: var(--mines-gold);
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.25);
}

.mines-practice-hud--sub .mines-practice-hud__val {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.92);
}

.mines-practice-progress-wrap {
  position: relative;
  z-index: 1;
  margin-bottom: 0.5rem;
}

.mines-practice-progress-track {
  height: 4px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.15);
  overflow: hidden;
}

.mines-practice-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--mines-cyan), #67e8f9);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.5);
  transition: width 0.25s ease;
}

.mines-practice-row-dots {
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
  margin-top: 0.4rem;
  padding: 0 0.15rem;
}

.mines-practice-row-dots span {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(148, 163, 184, 0.22);
  transition:
    background 0.15s,
    box-shadow 0.15s;
}

.mines-practice-row-dots.is-flash span {
  background: rgba(248, 113, 113, 0.35);
}

.mines-practice-row-dots.is-flash[data-hit-row='0'] span:nth-child(1),
.mines-practice-row-dots.is-flash[data-hit-row='1'] span:nth-child(2),
.mines-practice-row-dots.is-flash[data-hit-row='2'] span:nth-child(3),
.mines-practice-row-dots.is-flash[data-hit-row='3'] span:nth-child(4),
.mines-practice-row-dots.is-flash[data-hit-row='4'] span:nth-child(5) {
  background: #f87171;
  box-shadow: 0 0 14px rgba(248, 113, 113, 0.85);
  animation: minesRowPulse 0.45s ease 2;
}

@keyframes minesRowPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.mines-practice-status {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(203, 213, 225, 0.9);
  margin: 0 0 0.65rem;
  min-height: 2.5rem;
}

.mines-practice-grid-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.mines-practice-grid {
  max-width: min(100%, 380px);
  gap: 0.45rem;
}

.mines-practice-cell {
  position: relative;
  border-radius: 10px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: linear-gradient(165deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.35);
  color: rgba(226, 232, 240, 0.55);
  overflow: visible;
}

.mines-practice-cell.is-idle {
  opacity: 0.55;
}

.mines-practice-cell:not(:disabled):hover {
  border-color: rgba(34, 211, 238, 0.65);
  box-shadow:
    0 0 16px rgba(34, 211, 238, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-2px) scale(1.02);
}

.mines-practice-cell__face {
  display: block;
  font-size: 1.15rem;
  line-height: 1;
}

.mines-practice-cell.is-gem-reveal {
  border-color: rgba(34, 211, 238, 0.75);
  background: rgba(34, 211, 238, 0.12);
  color: var(--mines-cyan);
  animation: minesGemPop 0.4s ease;
}

.mines-practice-cell.is-gem-reveal::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 12px;
  pointer-events: none;
  opacity: 0;
  animation: minesGemSpark 0.55s ease forwards;
  box-shadow:
    0 0 0 2px rgba(34, 211, 238, 0.4),
    0 0 20px 6px rgba(34, 211, 238, 0.25);
}

@keyframes minesGemPop {
  0% {
    transform: scale(0.88);
  }
  55% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes minesGemSpark {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.15);
  }
}

.mines-practice-cell.is-mine-reveal {
  border-color: rgba(248, 113, 113, 0.85);
  background: rgba(127, 29, 29, 0.45);
  animation: minesMineShock 0.55s ease;
}

@keyframes minesMineShock {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.5);
  }
  45% {
    transform: scale(1.08);
    box-shadow: 0 0 24px 8px rgba(248, 113, 113, 0.35);
  }
  100% {
    transform: scale(1);
    box-shadow: none;
  }
}

.mines-practice-grid--revealed .mines-practice-cell.is-mine.is-mine-reveal {
  opacity: 0.45;
  filter: grayscale(0.25);
}

.mines-practice-grid--revealed .mines-practice-cell.is-mine.is-mine-reveal.is-mine-hit {
  opacity: 1;
  filter: none;
  box-shadow: 0 0 20px rgba(248, 113, 113, 0.45);
}

.mines-practice-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 380px;
  margin: 1rem auto 0;
}

@media (min-width: 900px) {
  .mines-practice-actions--main {
    flex-direction: row;
  }
}

.mines-practice-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.875rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    box-shadow 0.15s,
    transform 0.12s,
    opacity 0.15s;
}

.mines-practice-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.mines-practice-btn--start {
  border-color: rgba(34, 211, 238, 0.55);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.35), rgba(8, 145, 178, 0.55));
  color: #ecfeff;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.25);
}

.mines-practice-btn--start:not(:disabled):hover {
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.4);
  transform: translateY(-1px);
}

.mines-practice-btn--cash {
  border-color: rgba(251, 146, 60, 0.35);
  background: rgba(15, 23, 42, 0.85);
  color: #fdba74;
}

.mines-practice-btn--cash:not(:disabled):hover {
  border-color: rgba(251, 146, 60, 0.65);
  box-shadow: 0 0 16px rgba(251, 146, 60, 0.15);
}

.mines-practice-btn--tut {
  border-color: rgba(148, 163, 184, 0.3);
  background: transparent;
  color: rgba(226, 232, 240, 0.85);
  font-weight: 600;
  font-size: 0.8125rem;
}

.mines-practice-btn--lg {
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
}

.mines-practice-foot {
  margin: 0;
  padding: 0.65rem 1rem 0.85rem;
  font-size: 0.72rem;
  text-align: center;
  color: rgba(148, 163, 184, 0.85);
  border-top: 1px solid rgba(34, 211, 238, 0.12);
}

/* Apple of Fortune (ladder) */
.game-sim-wrap--apple {
  border-color: rgba(220, 38, 38, 0.25);
}

.game-apple-grid {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.45rem;
  align-items: center;
  margin: 1rem 0;
  min-height: 280px;
}

.game-apple-row {
  display: flex;
  gap: 0.45rem;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  transition:
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.game-apple-row.is-active-row {
  background: rgba(0, 230, 118, 0.08);
  box-shadow: 0 0 24px rgba(0, 230, 118, 0.2);
  animation: appleRowPulse 1.6s ease-in-out infinite;
}

@keyframes appleRowPulse {
  0%,
  100% {
    box-shadow: 0 0 18px rgba(0, 230, 118, 0.15);
  }
  50% {
    box-shadow: 0 0 28px rgba(0, 230, 118, 0.35);
  }
}

.game-apple-tile {
  width: 56px;
  height: 52px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(220, 38, 38, 0.12), rgba(30, 32, 44, 0.9));
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  transition:
    transform 0.2s ease,
    border-color 0.2s,
    box-shadow 0.2s;
}

.game-apple-tile:hover:not(:disabled) {
  border-color: rgba(251, 191, 36, 0.55);
  transform: translateY(-3px);
}

.game-apple-tile:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.game-apple-icon {
  font-size: 1.35rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.game-apple-lbl {
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.game-apple-tile.is-good {
  border-color: var(--accent);
  background: rgba(0, 230, 118, 0.15);
}

.game-apple-tile.is-picked {
  box-shadow: 0 0 16px rgba(0, 230, 118, 0.45);
  animation: appleGood 0.5s ease;
}

@keyframes appleGood {
  from {
    transform: scale(0.92);
  }
  to {
    transform: scale(1);
  }
}

.game-apple-tile.is-rot {
  border-color: #7f1d1d;
  background: rgba(127, 29, 29, 0.45);
  animation: appleRot 0.55s ease;
}

@keyframes appleRot {
  0%,
  100% {
    transform: rotate(0deg);
  }
  30% {
    transform: rotate(-8deg) scale(1.05);
  }
  60% {
    transform: rotate(8deg);
  }
}

.game-apple-readout {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.game-apple-readout strong {
  color: var(--accent-secondary);
}

/* Apple of Fortune — practice orchard */
.apple-practice-outer {
  margin: 1.25rem 0;
}

.apple-practice-boot-warn {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(248, 113, 113, 0.65);
  background: rgba(127, 29, 29, 0.35);
  color: #fecaca;
  font-size: 0.8125rem;
  line-height: 1.45;
}
.apple-practice-boot-warn code {
  font-size: 0.9em;
  color: #fde68a;
}

.apple-practice-shell {
  --orchard-green: #14532d;
  --orchard-glow: #22c55e;
  --orchard-gold: #fbbf24;
  --orchard-red: #dc2626;
  position: relative;
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 14px;
  background: linear-gradient(180deg, #052e16 0%, #0a1f12 40%, #020617 100%);
  box-shadow:
    0 0 0 1px rgba(34, 197, 94, 0.12),
    0 24px 56px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.apple-practice-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(34, 197, 94, 0.12), transparent 55%),
    radial-gradient(circle at 10% 20%, rgba(251, 191, 36, 0.06), transparent 40%),
    radial-gradient(circle at 90% 30%, rgba(220, 38, 38, 0.05), transparent 35%);
  opacity: 0.9;
}

.apple-practice-leaves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  opacity: 0.35;
}
.apple-practice-leaves span {
  position: absolute;
  font-size: 0.85rem;
  animation: appleLeafDrift 14s linear infinite;
  opacity: 0.55;
}
.apple-practice-leaves span:nth-child(1) {
  left: 5%;
  top: -5%;
  animation-delay: 0s;
}
.apple-practice-leaves span:nth-child(2) {
  left: 25%;
  top: -8%;
  animation-delay: 3s;
  animation-duration: 18s;
}
.apple-practice-leaves span:nth-child(3) {
  left: 55%;
  top: -3%;
  animation-delay: 6s;
}
.apple-practice-leaves span:nth-child(4) {
  left: 78%;
  top: -10%;
  animation-delay: 1.5s;
  animation-duration: 16s;
}
.apple-practice-leaves span:nth-child(5) {
  left: 92%;
  top: -6%;
  animation-delay: 5s;
}

@keyframes appleLeafDrift {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  100% {
    transform: translateY(110vh) translateX(18px) rotate(24deg);
  }
}

.apple-practice-top {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(34, 197, 94, 0.25);
}
@media (min-width: 640px) {
  .apple-practice-top {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .apple-practice-tagline {
    text-align: center;
    margin: 0;
  }
  .apple-practice-credits {
    text-align: right;
  }
}

.apple-practice-brand {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--orchard-glow);
  text-shadow: 0 0 16px rgba(34, 197, 94, 0.45);
}

.apple-practice-tagline {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(187, 247, 208, 0.55);
}

.apple-practice-credits {
  font-size: 0.875rem;
  color: rgba(220, 252, 231, 0.75);
}
.apple-practice-credits strong {
  color: var(--orchard-gold);
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.35);
}

.apple-practice-layout {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1rem;
  padding: 1rem;
}
@media (min-width: 900px) {
  .apple-practice-layout {
    grid-template-columns: minmax(220px, 260px) 1fr;
    align-items: start;
  }
}

.apple-practice-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.apple-practice-card {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  background: rgba(5, 46, 22, 0.72);
}

.apple-practice-card__title {
  margin: 0 0 0.45rem;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(134, 239, 172, 0.9);
}

.apple-practice-field {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 8px;
  padding: 0.25rem 0.5rem;
  background: rgba(0, 0, 0, 0.35);
}
.apple-practice-field input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: #ecfdf5;
  font-size: 1rem;
  font-weight: 600;
}
.apple-practice-field input:focus {
  outline: none;
}
.apple-practice-field__suffix {
  font-size: 0.75rem;
  color: rgba(187, 247, 208, 0.75);
}

.apple-practice-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.45rem;
}
.apple-practice-chip {
  min-width: 2.4rem;
  padding: 0.32rem 0.4rem;
  border-radius: 6px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.1);
  color: #ecfdf5;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}
.apple-practice-chip:hover {
  border-color: var(--orchard-glow);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.2);
}

.apple-practice-diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}
.apple-practice-diff {
  padding: 0.4rem 0.3rem;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(0, 0, 0, 0.25);
  color: #ecfdf5;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.apple-practice-diff span {
  display: block;
  font-weight: 500;
  font-size: 0.6rem;
  color: rgba(187, 247, 208, 0.75);
}
.apple-practice-diff--easy.is-selected {
  border-color: #4ade80;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.3);
}
.apple-practice-diff--med.is-selected {
  border-color: #fb923c;
  box-shadow: 0 0 12px rgba(251, 146, 60, 0.3);
}
.apple-practice-diff--hard.is-selected {
  border-color: #f87171;
  box-shadow: 0 0 12px rgba(248, 113, 113, 0.3);
}
.apple-practice-diff--vhard.is-selected {
  border-color: #c084fc;
  box-shadow: 0 0 12px rgba(192, 132, 252, 0.3);
}

.apple-practice-stats {
  display: grid;
  gap: 0.32rem;
  margin: 0;
  font-size: 0.78rem;
}
.apple-practice-stats > div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(34, 197, 94, 0.12);
  padding-bottom: 0.2rem;
}
.apple-practice-stats dt {
  margin: 0;
  color: rgba(187, 247, 208, 0.75);
}
.apple-practice-stats dd {
  margin: 0;
  font-weight: 600;
  color: #ecfdf5;
}
.apple-practice-stats__pnl dd {
  color: #f87171;
}
.apple-practice-stats__pnl dd.positive {
  color: var(--orchard-glow);
}

.apple-practice-log {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 8.5rem;
  overflow: auto;
  font-size: 0.7rem;
}
.apple-practice-log__empty {
  color: rgba(187, 247, 208, 0.55);
}
.apple-practice-log__item {
  padding: 0.32rem 0;
  border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}
.apple-practice-log__item--win {
  color: #86efac;
}
.apple-practice-log__item--loss {
  color: #fca5a5;
}

.apple-practice-sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
@media (min-width: 900px) {
  .apple-practice-sidebar-actions {
    display: none;
  }
}

.apple-practice-main {
  position: relative;
  z-index: 2;
  padding: 0.5rem 0.35rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.18);
  background: rgba(2, 20, 10, 0.55);
}

.apple-practice-orchard-title {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--orchard-glow);
  margin: 0 0 0.65rem;
  text-shadow: 0 0 14px rgba(34, 197, 94, 0.35);
}

.apple-practice-hud {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.5rem;
}
.apple-practice-hud--sub {
  grid-template-columns: 1fr;
  margin-bottom: 0.55rem;
}
.apple-practice-hud__box {
  padding: 0.4rem 0.35rem;
  border-radius: 8px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  background: rgba(0, 0, 0, 0.35);
  text-align: center;
}
.apple-practice-hud__box--wide {
  text-align: left;
  padding-left: 0.6rem;
}
.apple-practice-hud__label {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(187, 247, 208, 0.65);
  margin-bottom: 0.15rem;
}
.apple-practice-hud__val {
  font-size: 0.92rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.apple-practice-hud__val--green {
  color: var(--orchard-glow);
}
.apple-practice-hud__val--gold {
  color: var(--orchard-gold);
}
.apple-practice-hud__val--orange {
  color: #fb923c;
  text-shadow: 0 0 10px rgba(251, 146, 60, 0.35);
}
.apple-practice-hud--sub .apple-practice-hud__val {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(240, 253, 244, 0.92);
}

.apple-practice-progress-track {
  height: 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
  margin-bottom: 0.55rem;
}
.apple-practice-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: linear-gradient(90deg, #166534, var(--orchard-glow));
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.45);
  transition: width 0.3s ease;
}

.apple-practice-status {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(220, 252, 231, 0.88);
  margin: 0 0 0.55rem;
  min-height: 2.4rem;
}

.apple-practice-grid {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  align-items: stretch;
  max-width: 420px;
  margin: 0 auto;
}

.apple-practice-row {
  display: grid;
  grid-template-columns: 2rem 1fr 3.2rem;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.35rem;
  border-radius: 10px;
  transition:
    background 0.3s,
    box-shadow 0.3s;
}
.apple-practice-row--idle .apple-practice-tile--dim {
  opacity: 0.38;
}
.apple-practice-row.is-active-row {
  background: rgba(34, 197, 94, 0.12);
  box-shadow: 0 0 22px rgba(34, 197, 94, 0.22);
  animation: appleRowGlow 1.8s ease-in-out infinite;
}
.apple-practice-row.is-past-row {
  opacity: 0.72;
}

@keyframes appleRowGlow {
  0%,
  100% {
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.15);
  }
  50% {
    box-shadow: 0 0 26px rgba(34, 197, 94, 0.32);
  }
}

.apple-practice-row__lv {
  font-size: 0.65rem;
  font-weight: 800;
  color: rgba(187, 247, 208, 0.75);
  text-align: center;
}
.apple-practice-row__apples {
  display: flex;
  gap: 0.35rem;
  justify-content: center;
  flex-wrap: nowrap;
}
.apple-practice-row__mult {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--orchard-glow);
  text-align: right;
}

.apple-practice-tile {
  position: relative;
  width: 52px;
  height: 50px;
  border-radius: 12px;
  border: 1px solid rgba(220, 38, 38, 0.35);
  background: linear-gradient(165deg, rgba(185, 28, 28, 0.35), rgba(30, 20, 20, 0.95));
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.apple-practice-tile__3d {
  display: block;
  animation: appleFloat 2.4s ease-in-out infinite;
}
.apple-practice-tile__apple {
  font-size: 1.45rem;
  line-height: 1;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
}

@keyframes appleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.apple-practice-tile:hover:not(:disabled) {
  border-color: rgba(251, 191, 36, 0.65);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.25);
}
.apple-practice-tile:disabled {
  cursor: default;
  transform: none;
}
.apple-practice-tile.is-row-done {
  opacity: 0.45;
}
.apple-practice-tile.is-good.is-picked {
  border-color: var(--orchard-glow);
  background: rgba(22, 101, 52, 0.45);
  animation: appleSparkle 0.55s ease;
}
.apple-practice-tile.is-good.is-picked .apple-practice-tile__icon {
  font-size: 1.35rem;
  filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.6));
}

@keyframes appleSparkle {
  0% {
    transform: scale(0.88);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  }
  60% {
    transform: scale(1.06);
    box-shadow: 0 0 20px 4px rgba(34, 197, 94, 0.35);
  }
  100% {
    transform: scale(1);
  }
}

.apple-practice-tile.is-worm {
  border-color: #7f1d1d;
  background: rgba(69, 10, 10, 0.65);
  animation: appleJuice 0.6s ease;
}
.apple-practice-tile.is-worm-hit {
  box-shadow: 0 0 24px rgba(220, 38, 38, 0.55);
}
.apple-practice-tile.is-ghost {
  opacity: 0.42;
  filter: grayscale(0.25);
}
.apple-practice-tile.is-worm-hit.is-ghost {
  opacity: 1;
  filter: none;
}

@keyframes appleJuice {
  0% {
    transform: rotate(0deg) scale(1);
  }
  35% {
    transform: rotate(-10deg) scale(1.08);
  }
  70% {
    transform: rotate(8deg) scale(1.04);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}

.apple-practice-tile__icon {
  font-size: 1.25rem;
  line-height: 1;
}

.apple-practice-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 420px;
  margin: 0.85rem auto 0;
}
@media (min-width: 900px) {
  .apple-practice-actions--main {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .apple-practice-actions--main .apple-practice-btn--tut {
    flex: 1 1 100%;
    margin-top: 0.35rem !important;
  }
}

.apple-practice-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    box-shadow 0.15s,
    opacity 0.15s,
    transform 0.12s;
}
.apple-practice-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.apple-practice-btn--pick {
  border-color: rgba(34, 197, 94, 0.45);
  background: linear-gradient(180deg, rgba(22, 101, 52, 0.55), rgba(5, 46, 22, 0.9));
  color: #ecfdf5;
}
.apple-practice-btn--pick:not(:disabled):hover {
  box-shadow: 0 0 22px rgba(34, 197, 94, 0.25);
}
.apple-practice-btn--harvest {
  border-color: rgba(251, 191, 36, 0.55);
  background: linear-gradient(180deg, rgba(180, 83, 9, 0.45), rgba(67, 20, 7, 0.95));
  color: #fef3c7;
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.2);
}
.apple-practice-btn--harvest:not(:disabled):hover {
  box-shadow: 0 0 28px rgba(251, 191, 36, 0.35);
}
.apple-practice-btn--tut {
  border-color: rgba(148, 163, 184, 0.35);
  background: transparent;
  color: rgba(240, 253, 244, 0.85);
  font-weight: 600;
  font-size: 0.8rem;
}
.apple-practice-btn--lg {
  padding: 0.78rem 1.2rem;
  font-size: 0.92rem;
}

.apple-practice-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.55);
  color: #ecfdf5;
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
  text-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
  /* Never steal clicks — overlay is visual only; fixes hosts where [hidden] is ignored */
  pointer-events: none;
}
/* Must win over display:flex above — some hosts/themes break [hidden] */
.apple-practice-overlay[hidden] {
  display: none !important;
}
.apple-practice-overlay--worm {
  color: #fecaca;
  text-shadow: 0 0 18px rgba(220, 38, 38, 0.45);
}
.apple-practice-overlay--win,
.apple-practice-overlay--crown {
  color: var(--orchard-gold);
}

.apple-practice-foot {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0.6rem 1rem 0.85rem;
  font-size: 0.7rem;
  text-align: center;
  color: rgba(187, 247, 208, 0.65);
  border-top: 1px solid rgba(34, 197, 94, 0.15);
}

.apple-practice-coach-strip {
  position: relative;
  z-index: 2;
  margin: 0.45rem 1rem 0;
  font-size: 0.74rem;
  line-height: 1.45;
  color: rgba(187, 247, 208, 0.8);
}

.apple-practice-toast {
  position: relative;
  z-index: 2;
  margin: 0.45rem 1rem 0;
}

/* ——— Aviator practice simulator (full layout) ——— */
.aviator-practice-section {
  border-top: none;
  padding-top: 0;
}

.aviator-practice__shell {
  max-width: 560px;
  margin: 0 auto;
  padding: 1.1rem 1.15rem 1.25rem;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(22, 26, 42, 0.98) 0%, rgba(10, 12, 22, 0.99) 100%);
  border: 1px solid rgba(34, 211, 238, 0.22);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(34, 211, 238, 0.06);
}

.aviator-practice__top {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.35rem 0.75rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.aviator-practice__brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.aviator-practice__title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #22d3ee;
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.45);
}

.aviator-practice__tagline {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-align: center;
}

.aviator-practice__balance {
  grid-column: 2;
  grid-row: 1;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.aviator-practice__balance strong {
  color: #fbbf24;
  font-weight: 700;
}

.aviator-practice__stage-wrap {
  margin-bottom: 0.85rem;
}

.game-curve-stage--aviator-practice {
  min-height: 240px;
  background:
    linear-gradient(180deg, rgba(15, 18, 32, 0.3) 0%, rgba(8, 10, 20, 0.95) 100%),
    radial-gradient(circle at 50% 120%, rgba(34, 211, 238, 0.06) 0%, transparent 55%);
  border-color: rgba(55, 65, 90, 0.6);
  position: relative;
  overflow: hidden;
}

.aviator-practice__stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 30% 70%, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 70% 40%, rgba(255, 255, 255, 0.28), transparent),
    radial-gradient(1px 1px at 88% 15%, rgba(255, 255, 255, 0.22), transparent),
    radial-gradient(1px 1px at 50% 90%, rgba(255, 255, 255, 0.15), transparent);
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%;
  opacity: 0.65;
  pointer-events: none;
}

.game-curve-stage--aviator-practice .game-curve-trail-path {
  filter: drop-shadow(0 0 6px rgba(249, 115, 22, 0.5));
}

.aviator-plane {
  position: absolute;
  left: 12%;
  bottom: 14%;
  z-index: 2;
  width: 36px;
  height: 36px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 50%);
  transition: opacity 0.35s ease;
}

.game-curve-stage--aviator-practice.is-curve-live .aviator-plane {
  opacity: 1;
}

.game-curve-stage--aviator-practice:not(.is-curve-live):not(.is-curve-crash) .aviator-plane {
  opacity: 0.45;
}

.aviator-plane__inner {
  width: 100%;
  height: 100%;
  transform-origin: 50% 60%;
  will-change: transform;
}

.aviator-plane__svg {
  width: 100%;
  height: 100%;
  display: block;
}

.game-curve-stage.is-curve-crash .aviator-plane__inner {
  animation: rocketCrashBurst 0.85s ease forwards;
}

.game-curve-stage.is-curve-cash .aviator-plane__inner {
  animation: rocketCashPulse 0.55s ease;
}

.game-curve-stage--aviator-practice.is-curve-explode::after {
  content: '';
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.55) 0%, rgba(251, 146, 60, 0.2) 35%, transparent 65%);
  animation: aviatorExplode 0.75s ease-out forwards;
  pointer-events: none;
  z-index: 8;
}

@keyframes aviatorExplode {
  from {
    opacity: 0.9;
    transform: scale(0.4);
  }
  40% {
    opacity: 1;
    transform: scale(1.05);
  }
  to {
    opacity: 0;
    transform: scale(1.35);
  }
}

.aviator-practice__mult-block {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  text-align: center;
  pointer-events: none;
}

.aviator-practice__mult.game-curve-mult {
  position: static;
  transform: none;
  font-size: clamp(2.75rem, 12vw, 4.25rem);
  color: #4ade80;
  text-shadow:
    0 0 40px rgba(74, 222, 128, 0.45),
    0 0 80px rgba(34, 211, 238, 0.15);
}

.aviator-practice__mult-label {
  margin: 0.15rem 0 0;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.aviator-practice__status.game-curve-status {
  bottom: 0.55rem;
  font-size: 0.6875rem;
  max-width: 94%;
}

.aviator-practice__panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

@media (max-width: 520px) {
  .aviator-practice__panels {
    grid-template-columns: 1fr;
  }
}

.aviator-practice__panel {
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.aviator-practice__panel-title {
  margin: 0 0 0.55rem;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.aviator-practice__bet-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.aviator-practice__bet-input {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: #111;
  font-weight: 700;
  font-size: 1rem;
}

.aviator-practice__bet-suffix {
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.aviator-practice__quick-bets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.55rem;
}

.aviator-quick {
  min-width: 2.35rem;
  padding: 0.35rem 0.4rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
}

.aviator-quick:hover {
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.1);
}

.aviator-practice__auto-label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.aviator-practice__auto-input {
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: #111;
  font-weight: 600;
}

.aviator-practice__diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.aviator-diff-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.15s;
}

.aviator-diff-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.2);
}

.aviator-diff-card.is-selected {
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.65);
  border-color: rgba(239, 68, 68, 0.5);
}

.aviator-diff-card__name {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.aviator-diff-card__name--easy {
  color: #4ade80;
}
.aviator-diff-card__name--med {
  color: #fbbf24;
}
.aviator-diff-card__name--hard {
  color: #f87171;
}
.aviator-diff-card__name--vh {
  color: #c084fc;
}

.aviator-diff-card__hint {
  font-size: 0.625rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.aviator-practice__cta-row {
  margin-bottom: 0.5rem;
}

.aviator-practice__btn-start {
  width: 100%;
  justify-content: center;
  padding: 0.65rem 1rem;
  font-weight: 800;
}

.aviator-practice__btn-cash {
  width: 100%;
  margin-bottom: 0.45rem;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 12px;
  border: 1px solid rgba(251, 146, 60, 0.45);
  background: linear-gradient(180deg, rgba(120, 53, 15, 0.85) 0%, rgba(67, 28, 8, 0.95) 100%);
  color: #fed7aa;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.2s;
}

.aviator-practice__btn-cash:hover:not(:disabled) {
  box-shadow: 0 0 24px rgba(251, 146, 60, 0.25);
  transform: translateY(-1px);
}

.aviator-practice__btn-cash:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.aviator-practice__tutorial-row {
  margin: 0 0 0.85rem;
  text-align: center;
}

.aviator-practice__link-tutorial {
  background: none;
  border: none;
  color: #22d3ee;
  font-size: 0.8125rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.25rem;
}

.aviator-practice__footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 520px) {
  .aviator-practice__footer {
    grid-template-columns: 1fr;
  }
}

.aviator-practice__footer-title {
  margin: 0 0 0.45rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.aviator-practice__history {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-height: 2rem;
}

.aviator-history-pill {
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.aviator-history-pill--low {
  background: rgba(248, 113, 113, 0.25);
  border: 1px solid rgba(248, 113, 113, 0.45);
  color: #fecaca;
}

.aviator-history-pill--mid {
  background: rgba(251, 191, 36, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fde68a;
}

.aviator-history-pill--high {
  background: rgba(74, 222, 128, 0.18);
  border: 1px solid rgba(74, 222, 128, 0.45);
  color: #bbf7d0;
}

.aviator-history-pill--mega {
  background: rgba(192, 132, 252, 0.22);
  border: 1px solid rgba(192, 132, 252, 0.5);
  color: #e9d5ff;
}

.aviator-practice__stats {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.aviator-practice__stats strong {
  color: var(--heading);
}

.aviator-stat--good {
  color: #4ade80 !important;
}

.aviator-stat--good.is-negative {
  color: #f87171 !important;
}

.aviator-practice__howto-title {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  color: var(--heading);
}

.aviator-practice__log {
  margin-top: 0.75rem;
  max-height: 100px;
}

/* ——— Spaceman practice simulator ——— */
.spaceman-practice-section {
  border-top: none;
  padding-top: 0;
}

.spaceman-practice__shell {
  max-width: 560px;
  margin: 0 auto;
  padding: 1.1rem 1.15rem 1.25rem;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(15, 18, 38, 0.98) 0%, rgba(6, 8, 18, 0.99) 100%);
  border: 1px solid rgba(129, 140, 248, 0.28);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45),
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 70px rgba(99, 102, 241, 0.08);
}

.spaceman-practice__top {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.45rem 0.65rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.spaceman-practice__brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.spaceman-practice__title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #7dd3fc;
  text-shadow: 0 0 18px rgba(56, 189, 248, 0.5);
}

.spaceman-practice__pill {
  grid-column: 1 / -1;
  margin: 0;
  justify-self: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.5625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #c4b5fd;
  background: rgba(76, 29, 149, 0.35);
  border: 1px solid rgba(167, 139, 250, 0.35);
}

.spaceman-practice__balance {
  grid-column: 2;
  grid-row: 1;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.35rem 0.65rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(251, 191, 36, 0.38);
}

.spaceman-practice__balance strong {
  color: #fbbf24;
  font-weight: 700;
}

.spaceman-practice__stage-wrap {
  margin-bottom: 0.85rem;
}

.game-curve-stage--spaceman-practice {
  min-height: 248px;
  background:
    linear-gradient(180deg, rgba(10, 12, 28, 0.2) 0%, rgba(4, 6, 16, 0.97) 100%),
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(99, 102, 241, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 50% 120%, rgba(236, 72, 153, 0.06) 0%, transparent 45%);
  border-color: rgba(79, 70, 229, 0.35);
  position: relative;
  overflow: hidden;
}

.spaceman-practice__nebula {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(147, 51, 234, 0.18) 0%, transparent 42%),
    radial-gradient(ellipse at 78% 65%, rgba(59, 130, 246, 0.14) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(236, 72, 153, 0.08) 0%, transparent 50%);
  opacity: 0.85;
  pointer-events: none;
  animation: spacemanNebulaDrift 24s linear infinite;
}

@keyframes spacemanNebulaDrift {
  from {
    transform: rotate(0deg) scale(1);
  }
  to {
    transform: rotate(360deg) scale(1.05);
  }
}

.spaceman-practice__planet {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.35;
  background: radial-gradient(circle at 30% 30%, rgba(100, 116, 139, 0.5), rgba(15, 23, 42, 0.95));
  box-shadow: inset -8px -8px 24px rgba(0, 0, 0, 0.5);
}

.spaceman-practice__planet--a {
  width: 120px;
  height: 120px;
  top: -28px;
  right: -24px;
}

.spaceman-practice__planet--b {
  width: 90px;
  height: 90px;
  bottom: -20px;
  left: -18px;
}

.spaceman-practice__stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 28% 72%, rgba(255, 255, 255, 0.22), transparent),
    radial-gradient(1px 1px at 66% 38%, rgba(255, 255, 255, 0.32), transparent),
    radial-gradient(1px 1px at 86% 12%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1px 1px at 48% 88%, rgba(200, 220, 255, 0.2), transparent);
  background-size: 100% 100%;
  opacity: 0.7;
  pointer-events: none;
}

.game-curve-stage--spaceman-practice .game-curve-trail-path {
  filter: drop-shadow(0 0 5px rgba(167, 139, 250, 0.45));
}

.spaceman-astro {
  position: absolute;
  left: 12%;
  bottom: 14%;
  z-index: 3;
  width: 44px;
  height: 52px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 50%) rotate(-38deg);
  transition: opacity 0.35s ease;
}

.game-curve-stage--spaceman-practice.is-curve-live .spaceman-astro {
  opacity: 1;
}

.game-curve-stage--spaceman-practice:not(.is-curve-live):not(.is-curve-crash) .spaceman-astro {
  opacity: 0.55;
}

.game-curve-stage--spaceman-practice:not(.is-curve-live):not(.is-curve-crash) .spaceman-astro__suit {
  animation: spacemanIdleBob 3.2s ease-in-out infinite;
}

.spaceman-astro__suit {
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: 50% 70%;
}

.spaceman-astro__helmet {
  position: absolute;
  left: 50%;
  top: 0;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e2e8f0 0%, #94a3b8 100%);
  border: 2px solid #64748b;
  box-shadow: inset -2px -2px 6px rgba(0, 0, 0, 0.35);
}

.spaceman-astro__visor {
  position: absolute;
  left: 3px;
  top: 6px;
  right: 3px;
  height: 9px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.35), rgba(14, 165, 233, 0.65));
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.5);
}

.spaceman-astro__torso {
  position: absolute;
  left: 50%;
  top: 20px;
  width: 18px;
  height: 16px;
  margin-left: -9px;
  border-radius: 6px;
  background: linear-gradient(180deg, #cbd5e1 0%, #64748b 100%);
  border: 1px solid #475569;
}

.spaceman-astro__arm {
  position: absolute;
  top: 22px;
  width: 6px;
  height: 12px;
  border-radius: 3px;
  background: #94a3b8;
}

.spaceman-astro__arm--l {
  left: 4px;
  transform: rotate(24deg);
}

.spaceman-astro__arm--r {
  right: 4px;
  transform: rotate(-24deg);
}

.spaceman-astro__leg {
  position: absolute;
  top: 34px;
  width: 7px;
  height: 14px;
  border-radius: 3px;
  background: #64748b;
}

.spaceman-astro__leg--l {
  left: 10px;
  transform: rotate(-8deg);
}

.spaceman-astro__leg--r {
  right: 10px;
  transform: rotate(8deg);
}

.spaceman-astro__thruster {
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 14px;
  height: 4px;
  margin-left: -7px;
  display: flex;
  justify-content: center;
  gap: 2px;
  opacity: 0;
  transition: opacity 0.2s;
}

.spaceman-astro__thruster span {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(180deg, #fbbf24, #f97316, transparent);
  transform-origin: top center;
}

.game-curve-stage--spaceman-practice.is-spaceman-thrust .spaceman-astro__thruster {
  opacity: 1;
}

.game-curve-stage--spaceman-practice.is-spaceman-thrust .spaceman-astro__thruster span {
  animation: spacemanThrustParticle 0.28s ease-out infinite alternate;
}

.game-curve-stage--spaceman-practice.is-spaceman-thrust .spaceman-astro__thruster span:nth-child(2) {
  animation-delay: 0.05s;
}
.game-curve-stage--spaceman-practice.is-spaceman-thrust .spaceman-astro__thruster span:nth-child(3) {
  animation-delay: 0.1s;
}
.game-curve-stage--spaceman-practice.is-spaceman-thrust .spaceman-astro__thruster span:nth-child(4) {
  animation-delay: 0.14s;
}

@keyframes spacemanThrustParticle {
  from {
    transform: scaleY(0.4) translateY(2px);
    opacity: 0.5;
  }
  to {
    transform: scaleY(1.4) translateY(6px);
    opacity: 1;
  }
}

@keyframes spacemanIdleBob {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-4px) rotate(2deg);
  }
}

.game-curve-stage.is-curve-crash .spaceman-astro__suit {
  animation: spacemanCrashBurst 0.85s ease forwards;
}

.game-curve-stage.is-curve-cash .spaceman-astro__suit {
  animation: rocketCashPulse 0.55s ease;
}

@keyframes spacemanCrashBurst {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  40% {
    transform: scale(1.15) rotate(6deg);
    filter: brightness(1.8);
  }
  100% {
    transform: scale(0.2) rotate(22deg);
    filter: brightness(0.3);
    opacity: 0;
  }
}

.game-curve-stage--spaceman-practice.is-curve-explode::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40%;
  height: 40%;
  margin: -20% 0 0 -20%;
  border-radius: 50%;
  border: 3px solid rgba(251, 191, 36, 0.65);
  box-shadow: 0 0 24px rgba(251, 191, 36, 0.4);
  animation: spacemanShockwave 0.85s ease-out forwards;
  pointer-events: none;
  z-index: 7;
}

.game-curve-stage--spaceman-practice.is-curve-explode::after {
  content: '';
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(248, 113, 113, 0.55) 0%, rgba(251, 146, 60, 0.25) 38%, transparent 62%);
  animation: spacemanExplodeBurst 0.78s ease-out forwards;
  pointer-events: none;
  z-index: 8;
}

@keyframes spacemanShockwave {
  from {
    opacity: 0.95;
    transform: scale(0.3);
  }
  to {
    opacity: 0;
    transform: scale(2.4);
  }
}

@keyframes spacemanExplodeBurst {
  from {
    opacity: 0.95;
    transform: scale(0.35);
  }
  45% {
    opacity: 1;
    transform: scale(1.05);
  }
  to {
    opacity: 0;
    transform: scale(1.4);
  }
}

.spaceman-practice__mult-block {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  text-align: center;
  pointer-events: none;
  min-width: 12rem;
}

.spaceman-practice__idle-mult {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: center;
}

.spaceman-practice__idle-mult.is-concealed {
  display: none;
}

.spaceman-practice__ready {
  font-size: clamp(2.25rem, 10vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(148, 163, 184, 0.45);
  text-transform: uppercase;
}

.spaceman-practice__ready-sub {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.35);
}

.spaceman-practice .game-curve-mult.spaceman-practice__mult {
  position: static;
  transform: none;
  font-size: clamp(2.5rem, 12vw, 4rem);
  color: #a5b4fc;
  text-shadow:
    0 0 36px rgba(129, 140, 248, 0.5),
    0 0 72px rgba(56, 189, 248, 0.2);
}

.spaceman-practice .game-curve-mult.is-concealed {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  opacity: 0;
}

.spaceman-practice__status.game-curve-status {
  bottom: 0.55rem;
  font-size: 0.6875rem;
  max-width: 94%;
}

.spaceman-practice__panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

@media (max-width: 520px) {
  .spaceman-practice__panels {
    grid-template-columns: 1fr;
  }
}

.spaceman-practice__panel {
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.spaceman-practice__panel-title {
  margin: 0 0 0.55rem;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.spaceman-practice__bet-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.spaceman-practice__bet-input {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: #111;
  font-weight: 700;
  font-size: 1rem;
}

.spaceman-practice__bet-suffix {
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.spaceman-practice__quick-bets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.55rem;
}

.spaceman-quick {
  min-width: 2.35rem;
  padding: 0.35rem 0.4rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
}

.spaceman-quick:hover {
  border-color: rgba(167, 139, 250, 0.5);
  background: rgba(129, 140, 248, 0.12);
}

.spaceman-practice__auto-label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.spaceman-practice__auto-input {
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: #111;
  font-weight: 600;
}

.spaceman-practice__diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.spaceman-diff-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.15s;
}

.spaceman-diff-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.2);
}

.spaceman-diff-card.is-selected {
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.6);
  border-color: rgba(248, 113, 113, 0.45);
}

.spaceman-diff-card__name {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.spaceman-diff-card__name--easy {
  color: #4ade80;
}
.spaceman-diff-card__name--med {
  color: #fbbf24;
}
.spaceman-diff-card__name--hard {
  color: #f87171;
}
.spaceman-diff-card__name--vh {
  color: #c084fc;
}

.spaceman-diff-card__hint {
  font-size: 0.625rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.spaceman-practice__cta-row {
  margin-bottom: 0.5rem;
}

.spaceman-practice__btn-start {
  width: 100%;
  justify-content: center;
  padding: 0.65rem 1rem;
  font-weight: 800;
}

.spaceman-practice__eject-row {
  margin-bottom: 0.45rem;
  border-radius: 14px;
  padding: 3px;
  transition: box-shadow 0.2s;
}

.spaceman-practice__eject-row.is-visible {
  animation: spacemanEjectPulse 1.1s ease-in-out infinite;
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.55), 0 0 28px rgba(251, 191, 36, 0.25);
}

@keyframes spacemanEjectPulse {
  0%,
  100% {
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.45), 0 0 20px rgba(251, 191, 36, 0.2);
  }
  50% {
    box-shadow: 0 0 0 3px rgba(252, 211, 77, 0.75), 0 0 36px rgba(251, 191, 36, 0.35);
  }
}

.spaceman-practice__btn-cash {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.5);
  background: linear-gradient(180deg, rgba(67, 48, 8, 0.9) 0%, rgba(38, 28, 6, 0.96) 100%);
  color: #fde68a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.2s;
}

.spaceman-practice__btn-cash:hover:not(:disabled) {
  box-shadow: 0 0 24px rgba(251, 191, 36, 0.3);
  transform: translateY(-1px);
}

.spaceman-practice__btn-cash:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.spaceman-practice__tutorial-row {
  margin: 0 0 0.85rem;
  text-align: center;
}

.spaceman-practice__link-tutorial {
  background: none;
  border: none;
  color: #a78bfa;
  font-size: 0.8125rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.25rem;
}

.spaceman-practice__footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 520px) {
  .spaceman-practice__footer {
    grid-template-columns: 1fr;
  }
}

.spaceman-practice__footer-title {
  margin: 0 0 0.45rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.spaceman-practice__log-legend {
  margin: 0 0 0.4rem;
  font-size: 0.6rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.spaceman-practice__history {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-height: 2rem;
}

.spaceman-practice__stats {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.spaceman-practice__stats strong {
  color: var(--heading);
}

.spaceman-stat--good {
  color: #4ade80 !important;
}

.spaceman-stat--good.is-negative {
  color: #f87171 !important;
}

.spaceman-practice__howto-title {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  color: var(--heading);
}

.spaceman-practice__howto-sub {
  margin: 0.85rem 0 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--heading);
}

.spaceman-practice__log {
  margin-top: 0.75rem;
  max-height: 100px;
}

/* ——— JetX practice simulator ——— */
.jetx-practice-section {
  border-top: none;
  padding-top: 0;
}

.jetx-practice__shell {
  max-width: 560px;
  margin: 0 auto;
  padding: 1.1rem 1.15rem 1.25rem;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(12, 18, 36, 0.98) 0%, rgba(6, 10, 22, 0.99) 100%);
  border: 1px solid rgba(251, 191, 36, 0.22);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45),
    0 20px 50px rgba(0, 0, 0, 0.48),
    0 0 50px rgba(251, 146, 60, 0.06);
}

.jetx-practice__top {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.45rem 0.65rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.jetx-practice__brand {
  display: flex;
  align-items: center;
}

.jetx-practice__logo {
  font-size: 1.5rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #fde68a 0%, #f59e0b 45%, #ea580c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.45));
}

.jetx-practice__logo-x {
  font-size: 1.15em;
  margin-left: 1px;
}

.jetx-practice__pill {
  grid-column: 1 / -1;
  margin: 0;
  justify-self: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.5625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7dd3fc;
  background: rgba(14, 116, 144, 0.28);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.jetx-practice__balance {
  grid-column: 2;
  grid-row: 1;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.35rem 0.65rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(251, 191, 36, 0.38);
}

.jetx-practice__balance strong {
  color: #fbbf24;
  font-weight: 700;
}

.jetx-practice__stage-wrap {
  margin-bottom: 0.85rem;
}

.game-curve-stage--jetx-practice {
  min-height: 256px;
  background: linear-gradient(180deg, #0c1929 0%, #0a1628 55%, #071018 100%);
  border-color: rgba(59, 130, 246, 0.25);
  position: relative;
  overflow: hidden;
}

.jetx-practice__sky {
  position: absolute;
  inset: 0;
  bottom: 18%;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 12%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 22% 28%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 44% 8%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 68% 22%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 88% 14%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 15% 48%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1.5px 1.5px at 52% 38%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 78% 44%, rgba(255, 255, 255, 0.28), transparent);
  opacity: 0.85;
  pointer-events: none;
}

.jetx-practice__sky::before {
  content: '×';
  position: absolute;
  font-size: 6px;
  color: rgba(255, 255, 255, 0.35);
  text-shadow:
    80px 40px 0 rgba(255, 255, 255, 0.25),
    160px 20px 0 rgba(255, 255, 255, 0.2),
    240px 55px 0 rgba(255, 255, 255, 0.3),
    120px 90px 0 rgba(255, 255, 255, 0.22),
    200px 75px 0 rgba(255, 255, 255, 0.28);
  left: 6%;
  top: 18%;
  pointer-events: none;
}

.jetx-practice__clouds {
  position: absolute;
  inset: 0;
  bottom: 22%;
  background:
    radial-gradient(ellipse 28% 12% at 18% 35%, rgba(59, 130, 246, 0.12), transparent),
    radial-gradient(ellipse 32% 14% at 72% 28%, rgba(96, 165, 250, 0.1), transparent),
    radial-gradient(ellipse 24% 10% at 48% 52%, rgba(147, 197, 253, 0.08), transparent);
  pointer-events: none;
}

.jetx-practice__hud {
  position: absolute;
  top: 0.45rem;
  left: 0.5rem;
  right: 0.5rem;
  display: flex;
  justify-content: space-between;
  z-index: 5;
  pointer-events: none;
}

.jetx-practice__hud-readout {
  font-family: ui-monospace, 'Cascadia Code', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  color: #4ade80;
  text-shadow: 0 0 8px rgba(74, 222, 128, 0.35);
  letter-spacing: 0.04em;
}

.game-curve-stage--jetx-practice .game-curve-trail-path {
  filter: drop-shadow(0 0 5px rgba(251, 146, 60, 0.4));
}

.jetx-jet {
  position: absolute;
  left: 14%;
  bottom: 22%;
  z-index: 3;
  width: 40px;
  height: 48px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 50%) rotate(-32deg);
  transition: opacity 0.35s ease;
}

.game-curve-stage--jetx-practice.is-curve-live .jetx-jet {
  opacity: 1;
}

.game-curve-stage--jetx-practice:not(.is-curve-live):not(.is-curve-crash) .jetx-jet {
  opacity: 0.58;
}

.game-curve-stage--jetx-practice:not(.is-curve-live):not(.is-curve-crash) .jetx-jet__body {
  animation: jetxIdleTaxi 2.8s ease-in-out infinite;
}

@keyframes jetxIdleTaxi {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.jetx-jet__body {
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: 50% 70%;
}

.jetx-jet__svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.jetx-jet__flame {
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 16px;
  height: 10px;
  margin-left: -8px;
  display: flex;
  justify-content: center;
  gap: 2px;
  opacity: 0;
  transition: opacity 0.15s;
}

.jetx-jet__flame span {
  width: 4px;
  height: 12px;
  border-radius: 2px;
  background: linear-gradient(180deg, #fef08a, #f97316, transparent);
}

.game-curve-stage--jetx-practice.is-jetx-thrust .jetx-jet__flame {
  opacity: 1;
}

.game-curve-stage--jetx-practice.is-jetx-thrust .jetx-jet__flame span {
  animation: jetxAfterburn 0.22s ease-out infinite alternate;
}

.game-curve-stage--jetx-practice.is-jetx-thrust .jetx-jet__flame span:nth-child(2) {
  animation-delay: 0.04s;
}
.game-curve-stage--jetx-practice.is-jetx-thrust .jetx-jet__flame span:nth-child(3) {
  animation-delay: 0.08s;
}

@keyframes jetxAfterburn {
  from {
    transform: scaleY(0.5) translateY(1px);
    opacity: 0.65;
  }
  to {
    transform: scaleY(1.35) translateY(5px);
    opacity: 1;
  }
}

.game-curve-stage.is-curve-crash .jetx-jet__body {
  animation: jetxCrashBurst 0.82s ease forwards;
}

@keyframes jetxCrashBurst {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  35% {
    transform: scale(1.12) rotate(-8deg);
    filter: brightness(1.7);
  }
  100% {
    transform: scale(0.15) rotate(18deg);
    opacity: 0;
    filter: brightness(0.2);
  }
}

.game-curve-stage.is-curve-cash .jetx-jet__body {
  animation: rocketCashPulse 0.55s ease;
}

.game-curve-stage--jetx-practice.is-curve-explode::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 42%;
  width: 36%;
  height: 36%;
  margin: -18% 0 0 -18%;
  border-radius: 50%;
  border: 3px solid rgba(251, 191, 36, 0.55);
  animation: jetxShockwave 0.82s ease-out forwards;
  pointer-events: none;
  z-index: 7;
}

.game-curve-stage--jetx-practice.is-curve-explode::after {
  content: '';
  position: absolute;
  inset: -8%;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.55) 0%, rgba(239, 68, 68, 0.35) 40%, transparent 65%);
  animation: jetxFireball 0.75s ease-out forwards;
  pointer-events: none;
  z-index: 8;
}

@keyframes jetxShockwave {
  from {
    opacity: 0.9;
    transform: scale(0.25);
  }
  to {
    opacity: 0;
    transform: scale(2.3);
  }
}

@keyframes jetxFireball {
  from {
    opacity: 0.95;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  to {
    opacity: 0;
    transform: scale(1.35);
  }
}

.jetx-practice__runway {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18%;
  background: linear-gradient(180deg, #1e1410 0%, #2d1f18 40%, #1a120e 100%);
  border-top: 1px solid rgba(251, 191, 36, 0.15);
  z-index: 1;
  pointer-events: none;
}

/* Shoulder stripes — reads as a runway strip, not random dots */
.jetx-practice__runway::before,
.jetx-practice__runway::after {
  content: '';
  position: absolute;
  top: 0.35rem;
  bottom: 0.4rem;
  width: 2px;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.22) 0 6px,
    transparent 6px 12px
  );
  opacity: 0.85;
}

.jetx-practice__runway::before {
  left: 7%;
}

.jetx-practice__runway::after {
  right: 7%;
}

.jetx-practice__runway-label {
  position: absolute;
  left: 50%;
  top: 0.28rem;
  transform: translateX(-50%);
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 191, 36, 0.4);
  white-space: nowrap;
  pointer-events: none;
}

/* True centerline dashes (repeating gradient — avoids broken border-dash rendering) */
.jetx-practice__runway-line {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  border-radius: 1px;
  background: repeating-linear-gradient(
    90deg,
    rgba(251, 191, 36, 0.88) 0,
    rgba(251, 191, 36, 0.88) 22px,
    transparent 22px,
    transparent 36px
  );
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.15);
  opacity: 0.92;
}

.jetx-practice__mult-block {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  z-index: 4;
  text-align: center;
  pointer-events: none;
  min-width: 11rem;
}

.jetx-practice__idle-mult {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: center;
}

.jetx-practice__idle-mult.is-concealed {
  display: none;
}

.jetx-practice__standby {
  font-size: clamp(2rem, 9vw, 3.25rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(148, 163, 184, 0.42);
  text-transform: uppercase;
}

.jetx-practice__standby-sub {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.32);
}

.jetx-practice .game-curve-mult.jetx-practice__mult {
  position: static;
  transform: none;
  font-size: clamp(2.5rem, 12vw, 4rem);
  color: #fbbf24;
  text-shadow:
    0 0 32px rgba(251, 191, 36, 0.45),
    0 0 64px rgba(249, 115, 22, 0.15);
}

.jetx-practice .game-curve-mult.is-concealed {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  opacity: 0;
}

.jetx-practice__status.game-curve-status {
  bottom: calc(18% + 0.35rem);
  font-size: 0.6875rem;
  max-width: 94%;
  z-index: 2;
}

.jetx-practice__panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

@media (max-width: 520px) {
  .jetx-practice__panels {
    grid-template-columns: 1fr;
  }
}

.jetx-practice__panel {
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.jetx-practice__panel-title {
  margin: 0 0 0.55rem;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
}

.jetx-practice__bet-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.jetx-practice__bet-input {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: #111;
  font-weight: 700;
  font-size: 1rem;
}

.jetx-practice__bet-suffix {
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.jetx-practice__quick-bets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.55rem;
}

.jetx-quick {
  min-width: 2.35rem;
  padding: 0.35rem 0.4rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
}

.jetx-quick:hover {
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.1);
}

.jetx-practice__auto-label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.jetx-practice__auto-input {
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: #111;
  font-weight: 600;
}

.jetx-practice__diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.jetx-diff-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.15s;
}

.jetx-diff-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.2);
}

.jetx-diff-card.is-selected {
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.65);
  border-color: rgba(248, 113, 113, 0.5);
}

.jetx-diff-card__name {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.jetx-diff-card__name--easy {
  color: #4ade80;
}
.jetx-diff-card__name--med {
  color: #fbbf24;
}
.jetx-diff-card__name--hard {
  color: #f87171;
}
.jetx-diff-card__name--vh {
  color: #c084fc;
}

.jetx-diff-card__hint {
  font-size: 0.625rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.jetx-practice__cta-row {
  margin-bottom: 0.5rem;
}

.jetx-practice__btn-start {
  width: 100%;
  justify-content: center;
  padding: 0.65rem 1rem;
  font-weight: 800;
  border: 1px solid rgba(251, 191, 36, 0.35) !important;
  box-shadow: 0 0 24px rgba(251, 146, 60, 0.12);
}

.jetx-practice__bail-row {
  margin-bottom: 0.45rem;
  border-radius: 14px;
  padding: 3px;
  transition: box-shadow 0.2s;
}

.jetx-practice__bail-row.is-visible {
  animation: jetxBailPulse 1.05s ease-in-out infinite;
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.5), 0 0 26px rgba(251, 191, 36, 0.22);
}

@keyframes jetxBailPulse {
  0%,
  100% {
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.4), 0 0 18px rgba(251, 191, 36, 0.18);
  }
  50% {
    box-shadow: 0 0 0 3px rgba(252, 211, 77, 0.7), 0 0 34px rgba(251, 191, 36, 0.32);
  }
}

.jetx-practice__btn-cash {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.48);
  background: linear-gradient(180deg, rgba(80, 50, 12, 0.92) 0%, rgba(40, 26, 8, 0.96) 100%);
  color: #fde68a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.2s;
}

.jetx-practice__btn-cash:hover:not(:disabled) {
  box-shadow: 0 0 22px rgba(251, 191, 36, 0.28);
  transform: translateY(-1px);
}

.jetx-practice__btn-cash:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.jetx-practice__tutorial-row {
  margin: 0 0 0.85rem;
  text-align: center;
}

.jetx-practice__link-tutorial {
  background: none;
  border: none;
  color: #38bdf8;
  font-size: 0.8125rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.25rem;
}

.jetx-practice__footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 520px) {
  .jetx-practice__footer {
    grid-template-columns: 1fr;
  }
}

.jetx-practice__footer-title {
  margin: 0 0 0.45rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.jetx-practice__history {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-height: 2rem;
}

.jetx-practice__stats {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.jetx-practice__stats strong {
  color: var(--heading);
}

.jetx-stat--good {
  color: #4ade80 !important;
}

.jetx-stat--good.is-negative {
  color: #f87171 !important;
}

.jetx-practice__howto-title {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  color: var(--heading);
}

.jetx-practice__log {
  margin-top: 0.75rem;
  max-height: 100px;
}

/* ——— Plinko practice hub ——— */
.plinko-practice-section {
  border-top: none;
  padding-top: 0;
}

.plinko-practice__shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem 1.1rem 1.2rem;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(24, 16, 40, 0.98) 0%, rgba(10, 8, 22, 0.99) 100%);
  border: 1px solid rgba(167, 139, 250, 0.28);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 18px 48px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(139, 92, 246, 0.08);
}

.plinko-practice__top {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.4rem 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}

.plinko-practice__logo {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  background: linear-gradient(90deg, #e9d5ff 0%, #a78bfa 40%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(167, 139, 250, 0.55));
}

.plinko-practice__pill {
  grid-column: 1 / -1;
  justify-self: center;
  margin: 0;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.5625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #c4b5fd;
  border: 1px solid rgba(167, 139, 250, 0.4);
  background: rgba(76, 29, 149, 0.35);
}

.plinko-practice__balance {
  grid-column: 2;
  grid-row: 1;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.35rem 0.65rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(244, 114, 182, 0.35);
}

.plinko-practice__balance strong {
  color: #f0abfc;
  font-weight: 700;
}

.plinko-practice__layout {
  display: grid;
  grid-template-columns: 1fr min(300px, 100%);
  gap: 1rem;
  align-items: start;
}

@media (max-width: 820px) {
  .plinko-practice__layout {
    grid-template-columns: 1fr;
  }
}

.plinko-practice__board-col {
  min-width: 0;
}

.plinko-practice__win-banner {
  min-height: 1.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #86efac;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.plinko-practice__win-banner.is-visible {
  opacity: 1;
}

.plinko-practice__stage {
  position: relative;
  min-height: 280px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(15, 10, 28, 0.95) 0%, rgba(8, 6, 18, 0.98) 100%);
  border: 1px solid rgba(139, 92, 246, 0.22);
  overflow: hidden;
}

.plinko-practice__pegs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.38rem;
  padding: 0.65rem 0.35rem 0.25rem;
}

.plinko-practice__peg-row {
  display: flex;
  gap: 0.42rem;
  justify-content: center;
}

.plinko-practice__peg {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #e9d5ff, #7c3aed);
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.65);
}

.plinko-practice__ball {
  position: absolute;
  left: 50%;
  top: 3%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fefce8, #facc15);
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.75);
  transform: translate(-50%, -50%);
  z-index: 4;
  pointer-events: none;
  transition: left 0.06s linear, top 0.06s linear;
}

.plinko-practice__ball.is-falling {
  transition: none;
}

.plinko-practice__slots-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.2rem;
  margin-top: 0.35rem;
  padding: 0 0.15rem;
}

.plinko-practice__slot {
  flex: 1 1 0;
  min-width: 0;
  max-width: 3.2rem;
  padding: 0.4rem 0.1rem;
  text-align: center;
  font-size: 0.625rem;
  font-weight: 800;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.plinko-practice__slot--edge {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(248, 113, 113, 0.45);
  color: #fecaca;
}

.plinko-practice__slot--orange {
  background: rgba(249, 115, 22, 0.2);
  border-color: rgba(251, 146, 60, 0.45);
  color: #fed7aa;
}

.plinko-practice__slot--yellow {
  background: rgba(234, 179, 8, 0.2);
  border-color: rgba(250, 204, 21, 0.45);
  color: #fef08a;
}

.plinko-practice__slot--green {
  background: rgba(22, 163, 74, 0.22);
  border-color: rgba(74, 222, 128, 0.4);
  color: #bbf7d0;
}

.plinko-practice__slot--green2 {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(52, 211, 153, 0.42);
  color: #a7f3d0;
}

.plinko-practice__slot--center {
  background: rgba(139, 92, 246, 0.35);
  border-color: rgba(196, 181, 253, 0.55);
  color: #ede9fe;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.35);
}

.plinko-practice__slot.is-hit {
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.55);
  transform: scale(1.06);
}

.plinko-practice__status {
  margin: 0.55rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.plinko-practice__sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.plinko-practice__side-block {
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.plinko-practice__side-title {
  margin: 0 0 0.45rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a78bfa;
}

.plinko-practice__bet-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.plinko-practice__bet-input {
  flex: 1;
  min-width: 0;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: #111;
  font-weight: 700;
}

.plinko-practice__bet-suffix {
  font-size: 0.7rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.plinko-practice__quick-bets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}

.plinko-quick {
  min-width: 2.2rem;
  padding: 0.32rem 0.35rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.plinko-quick:hover {
  border-color: rgba(167, 139, 250, 0.45);
  background: rgba(139, 92, 246, 0.12);
}

.plinko-practice__diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}

.plinko-diff-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.45rem 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-align: left;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.plinko-diff-btn__sub {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-muted);
}

.plinko-diff-btn.is-selected {
  border-color: rgba(167, 139, 250, 0.65);
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.45);
}

.plinko-practice__drop-btn {
  width: 100%;
  justify-content: center;
  padding: 0.75rem 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid rgba(167, 139, 250, 0.4) !important;
}

.plinko-practice__tutorial-wrap {
  margin: 0;
  text-align: center;
}

.plinko-practice__tutorial-link {
  background: none;
  border: none;
  color: #c4b5fd;
  font-size: 0.8125rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.2rem;
}

.plinko-practice__stats {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.plinko-practice__stats strong {
  color: var(--heading);
}

.plinko-stat--good {
  color: #4ade80 !important;
}

.plinko-stat--good.is-negative {
  color: #f87171 !important;
}

.plinko-practice__history {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  min-height: 2rem;
  align-items: center;
}

.plinko-practice__hist-empty {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.plinko-practice__hist-pill {
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.plinko-practice__hist-pill--low {
  background: rgba(248, 113, 113, 0.2);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #fecaca;
}

.plinko-practice__hist-pill--mid {
  background: rgba(250, 204, 21, 0.15);
  border: 1px solid rgba(250, 204, 21, 0.4);
  color: #fef08a;
}

.plinko-practice__hist-pill--high {
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: #bbf7d0;
}

.plinko-practice__howto-title {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  color: var(--heading);
}
