/* Trash Orbit styles */
.orbit #front {
  cursor: crosshair;
  touch-action: none;
}

.orbit #front.aiming {
  cursor: grabbing;
}

.orbit .brand h1,
.orbit .brand .score,
.orbit .brand .best {
  color: #fff7e8;
  text-shadow: 0 2px 8px rgba(7, 10, 28, 0.85);
}

.orbit .brand .best {
  color: rgba(220, 232, 255, 0.9);
}

.orbit-badge {
  display: inline-block;
  margin-left: 5px;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 800;
  vertical-align: middle;
  background: rgba(255, 210, 63, 0.25);
  border: 1.5px solid #ffd23f;
  color: #fff2b2;
  text-shadow: none;
}

.orbit-controls {
  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;
}

.orbit-pill {
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 99px;
  border: 3px solid #fff;
  background: rgba(34, 42, 86, 0.9);
  color: #fff7e8;
  font: 800 0.9rem/1 var(--body);
  box-shadow: 0 3px 0 #151b40, 0 6px 16px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.orbit-pill.boost {
  background: #1e9e68;
  box-shadow: 0 3px 0 #0f5838, 0 6px 16px rgba(0, 0, 0, 0.35);
}

.orbit-pill.boost:not(:disabled) {
  border-color: #9dff6a;
  box-shadow: 0 3px 0 #0f5838, 0 0 18px rgba(109, 242, 167, 0.55);
}

.orbit-pill:disabled {
  opacity: 0.48;
  cursor: default;
}

.orbit-pill:not(:disabled):active {
  transform: translateY(2px);
}

.book.end {
  text-align: center;
  width: min(92vw, 410px);
}

.end h2 {
  font-size: 1.9rem;
  margin-top: 4px;
}

.win-stars {
  font-size: 2.3rem;
  letter-spacing: 6px;
  color: #f4b337;
  text-shadow: 0 2px 0 #7a4c00;
  margin: 4px 0 6px;
}

.endbtns {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.btn {
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 99px;
  font-weight: 800;
  border: 2px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.btn.go {
  background: var(--gold);
  border-color: #fff;
  color: #3a2400;
  box-shadow: 0 3px 0 var(--gold-ink);
}

@media (max-width: 520px) {
  .orbit-pill {
    min-height: 40px;
    padding: 6px 14px;
    font-size: 0.82rem;
  }
}
