/* ── Cashier overlay ─────────────────────────────────────── */
.cashier-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.78);
  display: flex; align-items: center; justify-content: center;
  z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.15s;
}
.cashier-overlay--visible { opacity: 1; pointer-events: auto; }
.cashier-modal {
  background: #1A1E3A;
  border: 2px solid #FFD700;
  border-radius: 4px;
  padding: 22px 26px;
  text-align: center;
  box-shadow: 6px 6px 0 #000;
  min-width: 220px;
  max-width: 280px;
  font-family: var(--font-main);
}
.cashier-modal__title {
  font-size: 0.75rem; font-weight: bold;
  color: #FFD700; letter-spacing: 0.12em;
  margin-bottom: 14px;
  text-shadow: 0 0 8px rgba(255,215,0,0.4);
}
.cashier-modal__row {
  display: block;
  text-align: center;
  margin-bottom: 5px;
}
.cashier-modal__label {
  font-size: 0.38rem; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.05em;
  cursor: default;
}
.cashier-modal__value {
  font-size: 0.38rem; color: #22cc55; font-weight: bold;
}
.cashier-modal__value--low { color: var(--accent-orange, #ff8800); }
.cashier-chips {
  display: flex; gap: 10px; justify-content: center;
  margin: 16px 0 14px;
}
.cashier-chip-btn {
  font-family: var(--font-main); font-size: 0.45rem; font-weight: bold;
  background: var(--accent-green); color: #fff;
  border: 2px solid #000; border-radius: 50%;
  width: 54px; height: 54px;
  cursor: pointer; box-shadow: 3px 3px 0 #000;
  display: flex; align-items: center; justify-content: center;
}
.cashier-chip-btn:hover { background: #33dd66; }
.cashier-chip-btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 #000; }
.cashier-chip-btn:disabled {
  background: #3a3a3a; color: #666; cursor: default; box-shadow: 1px 1px 0 #000;
}
.cashier-modal__bust {
  font-size: 0.5rem; color: #ff4444; font-weight: bold; margin-bottom: 10px;
}
.cashier-close {
  font-family: var(--font-main); font-size: 0.38rem;
  background: transparent; color: #aaa;
  border: 1px solid #556; border-radius: 2px;
  padding: 5px 20px; margin-top: 8px;
  cursor: pointer; display: inline-block;
}
.cashier-close:hover { color: #fff; border-color: #aaa; }

/* ── Busted overlay — centered on the field, like the outcome screens ── */
.busted-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 150; opacity: 0; pointer-events: none; transition: opacity 0.18s;
}
/* Dim the field (transparent above the logo so BALLCRAP stays lit), matching
   the celebrate / outcome overlays. */
.busted-overlay--visible {
  opacity: 1; pointer-events: auto;
  background: linear-gradient(to bottom, transparent var(--logo-bottom), rgba(0,0,0,0.72) var(--logo-bottom));
}
.busted-modal {
  background: #2a0a0a;
  border: 3px solid var(--accent-red, #ff2244);
  border-radius: 6px;
  padding: 24px 40px 22px;
  text-align: center;
  box-shadow: 8px 8px 0 #000;
  max-width: min(420px, 90%);
  animation: celebrate-pop 0.45s cubic-bezier(.2,1.4,.35,1);
}
.busted-modal__sign {
  font-family: var(--font-logo);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  color: var(--accent-red, #ff2244);
  letter-spacing: 0.04em; line-height: 1; white-space: nowrap;
  text-shadow: 4px 4px 0 #000;
  margin-bottom: 12px;
}
.busted-modal__text {
  font-family: var(--font-main); font-size: 0.5rem;
  color: #f0d8d8; line-height: 1.5; margin-bottom: 18px;
}
.busted-modal__btn {
  font-family: var(--font-main); font-size: 0.5rem; font-weight: bold;
  background: var(--text-gold, #ffcc00); color: #1a1a1a;
  border: 2px solid #000; border-radius: 3px;
  padding: 9px 22px; cursor: pointer; box-shadow: 3px 3px 0 #000;
}
.busted-modal__btn:hover { background: #ffd633; }
.busted-modal__btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 #000; }
