/* Dumpster Pinball styles */
.pinball #front { cursor: pointer; }

.pinball-touch {
  position: fixed;
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
  display: flex;
  gap: 8px;
  pointer-events: auto;
  max-width: 96vw;
}

.flip-btn {
  min-height: 48px;
  padding: 8px 15px;
  border-radius: 99px;
  border: 3px solid #fff;
  background: #8e44ad;
  color: #fff;
  font: 800 0.86rem/1 var(--body);
  box-shadow: 0 3px 0 #5b2c6f, 0 6px 14px rgba(0, 0, 0, 0.28);
  white-space: nowrap;
  user-select: none;
  touch-action: none;
}

.flip-btn.plunge {
  background: var(--gold);
  color: #3a2400;
  box-shadow: 0 3px 0 var(--gold-ink), 0 6px 14px rgba(0, 0, 0, 0.28);
}

.flip-btn.nudge {
  background: #e67e22;
  color: #fff;
  box-shadow: 0 3px 0 #935116, 0 6px 14px rgba(0, 0, 0, 0.28);
}

.flip-btn:active {
  transform: translateY(2px);
}

.book.end { text-align: center; width: min(92vw, 400px); }
.end h2 { font-size: 1.85rem; margin-top: 4px; }
.endbtns { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.btn { min-height: 44px; padding: 8px 20px; border-radius: 99px; font-weight: 800; border: 2px solid var(--line); background: transparent; }
.btn.go { background: var(--gold); border-color: #fff; color: #3a2400; box-shadow: 0 3px 0 var(--gold-ink); }

@media (max-width: 540px) {
  .flip-btn {
    padding: 8px 10px;
    font-size: 0.74rem;
  }
}
