/* Critter Rodeo styles */
.rodeo-pedals {
  position: fixed;
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
  display: flex;
  gap: 10px;
  pointer-events: auto;
  max-width: 96vw;
}

.pedal {
  min-height: 52px;
  padding: 10px 20px;
  border-radius: 20px;
  border: 3px solid #fff;
  font: 800 0.95rem/1 var(--body);
  color: #fff;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.35), 0 6px 16px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  user-select: none;
  touch-action: none;
}

.pedal.brake {
  background: #e67e22;
  box-shadow: 0 4px 0 #935116, 0 6px 16px rgba(0, 0, 0, 0.25);
}

.pedal.hop {
  background: #8e44ad;
  box-shadow: 0 4px 0 #5b2c6f, 0 6px 16px rgba(0, 0, 0, 0.25);
}

.pedal.gas {
  background: #2ecc71;
  color: #0b2e18;
  box-shadow: 0 4px 0 #1b7943, 0 6px 16px rgba(0, 0, 0, 0.25);
}

.pedal:active {
  transform: translateY(2px);
}

@media (max-width: 560px) {
  .pedal {
    padding: 8px 13px;
    font-size: 0.8rem;
  }
}

.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); }

/* keep the how-to hint off the rig on short landscape phones */
@media (max-height: 520px) { .rodeo .hint { top: calc(env(safe-area-inset-top, 0px) + 14px); left: auto; right: 176px; transform: none; max-width: 38vw; } }
