.ride-body {
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
}

.ride {
  position: relative;
  width: 100%;
  height: 100vh;
}

#ride-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}

.ride__back {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

.ride__hud {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
  z-index: 2;
}

.ride__title {
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 14px;
  color: var(--accent);
  text-shadow: 0 0 12px rgba(255, 79, 163, 0.6);
}

.ride__hint {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.3px;
}

.ride__gauges {
  position: absolute;
  top: 74px;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 420px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
  pointer-events: none;
}

.ride__gauge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ride__gauge-label {
  min-width: 62px;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.3px;
}

.ride__gauge-track {
  flex: 1;
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 79, 163, 0.3);
  overflow: hidden;
}

.ride__gauge-fill {
  height: 100%;
  width: 100%;
  transition: width 0.15s linear;
}

.ride__gauge-fill--health {
  background: linear-gradient(90deg, #ff4fa3, #ff9fd0);
}

.ride__gauge-fill--distance {
  background: linear-gradient(90deg, #7a1f52, #ff4fa3);
}

.ride__jump-btn {
  position: absolute;
  right: 20px;
  bottom: 28px;
  z-index: 2;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: rgba(122, 31, 82, 0.55);
  color: var(--text);
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 10px;
  box-shadow: 0 0 18px rgba(255, 79, 163, 0.4);
}

.ride__jump-btn:active {
  background: rgba(255, 79, 163, 0.55);
}

@media (min-width: 900px) {
  .ride__jump-btn {
    display: none;
  }
}
