/* Crazy Bus (shared: sim3d.css + car-kit.css) */
#game-root .sim-controls-help { margin-top: 14px; }
.cz-top { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); display: flex; gap: 8px; align-items: stretch; }
.cz-clock, .cz-cash { background: rgba(8, 16, 28, .78); border: 2px solid rgba(250, 204, 21, .8); border-radius: 14px; padding: 4px 14px; font: 900 28px/1.1 system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.cz-cash { border-color: rgba(74, 222, 128, .85); color: #bbf7d0; }
.cz-clock.is-low { color: #fca5a5; border-color: #ef4444; animation: cz-blink .5s steps(2) infinite; }
@keyframes cz-blink { 50% { opacity: .55; } }
.cz-fares { position: absolute; left: 12px; top: 12px; display: flex; flex-direction: column; gap: 6px; }
.cz-fare { background: rgba(8, 16, 28, .78); border: 2px solid #facc15; border-radius: 12px; padding: 3px 10px; font: 800 18px system-ui, sans-serif; min-width: 96px; }
.cz-fare b { font-variant-numeric: tabular-nums; }
.cz-fare small { display: block; font-size: 11px; font-weight: 700; opacity: .8; }
.cz-fare.is-late { opacity: .7; }
.cz-fare.is-late b { color: #fca5a5; }
.cz-boost { position: absolute; left: 12px; bottom: 100px; display: flex; align-items: center; gap: 6px; background: rgba(8, 16, 28, .72); border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; padding: 3px 8px; }
.cz-boost span { font-size: 17px; }
.cz-boost div { width: 80px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.cz-boost i { display: block; height: 100%; width: 50%; background: linear-gradient(90deg, #38bdf8, #a78bfa); }
.cz-pop { position: absolute; left: 50%; top: 70px; transform: translateX(-50%); font: 900 22px system-ui, sans-serif; color: #fde047; text-shadow: 0 2px 6px rgba(0, 0, 0, .7); white-space: nowrap; opacity: 0; pointer-events: none; }
.cz-pop.is-on { animation: cz-pop 1.5s ease-out; }
@keyframes cz-pop { 0% { opacity: 0; transform: translate(-50%, 8px) scale(.9); } 12% { opacity: 1; transform: translate(-50%, 0) scale(1.08); } 70% { opacity: 1; transform: translate(-50%, -4px) scale(1); } 100% { opacity: 0; transform: translate(-50%, -16px); } }
.sim-has-touch .cz-boost { bottom: 186px; }
.ck-touch .sim-tbtn[data-id="hb"] { order: 2; margin-left: auto; font-size: 12px; }
.ck-touch .sim-tbtn[data-id="boost"] { order: 2; }
@container (max-width: 480px) {
  .cz-top { top: 6px; left: 8px; transform: none; }
  .cz-clock, .cz-cash { font-size: 20px; padding: 3px 10px; }
  .cz-fares { top: 92px; left: 8px; }
  .cz-fare { font-size: 15px; min-width: 76px; }
  .cz-pop { top: 150px; font-size: 18px; }
  .sim-has-touch .cz-boost { bottom: 176px; }
  .ck-touch .sim-tbtn[data-id="hb"], .ck-touch .sim-tbtn[data-id="boost"] { min-width: 46px; }
}
@media (prefers-reduced-motion: reduce) { .cz-pop.is-on { animation: none; opacity: 1; } .cz-clock.is-low { animation: none; } }
