/* School Bus Driver 3D (shared: sim3d.css + car-kit.css) */
#game-root .sim-controls-help { margin-top: 14px; }
.sb-comfort { position: absolute; left: 12px; bottom: 100px; display: flex; align-items: center; gap: 6px; background: rgba(8, 16, 28, .7); border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; padding: 3px 8px; }
.sb-comfort span { font-size: 18px; }
.sb-comfort div { width: 70px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.sb-comfort i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #ef4444, #facc15, #4ade80); }
.sb-safety { position: absolute; left: 12px; bottom: 136px; display: flex; gap: 6px; }
.sb-warn { background: rgba(8, 16, 28, .72); border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; padding: 4px 10px; font: 800 13px system-ui, sans-serif; }
.sb-warn[data-w="amber"] { background: rgba(180, 110, 0, .85); border-color: #fbbf24; }
.sb-warn[data-w="red"] { background: rgba(170, 20, 20, .88); border-color: #f87171; animation: sb-blink .7s steps(2) infinite; }
@keyframes sb-blink { 50% { filter: brightness(1.35); } }
.sim-has-touch .sb-comfort { bottom: 186px; }
.sim-has-touch .sb-safety { bottom: 222px; }
.ck-touch .sim-tbtn[data-id="amber"] { order: 2; margin-left: auto; }
.ck-touch .sim-tbtn[data-id="doors"] { order: 2; }
.ck-touch .sim-tbtn[data-id="hb"] { display: none; }
@container (max-width: 480px) {
  .sim-has-touch .sb-comfort { bottom: 176px; }
  .sim-has-touch .sb-safety { bottom: 210px; }
  .ck-touch .sim-tbtn[data-id="amber"], .ck-touch .sim-tbtn[data-id="doors"] { min-width: 44px; }
}
@media (prefers-reduced-motion: reduce) { .sb-warn[data-w="red"] { animation: none; } }
