/* Coast Guard Rescue 3D : page-specific styles (shared styles come from the hub kit) */
#game-root .sim-controls-help { margin-top: 14px; }
#game-root .ak-pick.is-locked { opacity: .55; }
/* mission status: timer, swimmers, fires, tows, seats + warnings */
.cg-panel { border-top: 1px solid rgba(255, 255, 255, .16); margin-top: 4px; padding-top: 4px; color: #fff; white-space: nowrap; }
.cg-panel b { font: 800 14px system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.cg-panel small { display: flex; justify-content: flex-start; gap: 10px; font: 800 12px system-ui, sans-serif; margin-top: 1px; }
.cg-panel small .is-bad { color: #fca5a5; animation: cg-flash .6s steps(2) infinite; }
@keyframes cg-flash { 50% { opacity: .35; } }
/* touch: water cannon + tow rope on the right of the steering buttons */
.cg-touch .sim-tbtn[data-id="jet"] { order: 2; margin-left: auto; background: rgba(14, 116, 144, .8); }
.cg-touch .sim-tbtn[data-id="act"] { margin-left: 0; }
@container (max-width: 480px) {
  .cg-panel b { font-size: 11px; } .cg-panel small { font-size: 10.5px; }
  .cg-touch .sim-tbtns { gap: 5px; }
  .cg-touch .sim-tbtn { min-width: 46px; flex: 1 1 0; padding-left: 0; padding-right: 0; }
  .cg-touch .sim-tbtn[data-id="jet"] { margin-left: 8px; }
}
@media (prefers-reduced-motion: reduce) { .cg-panel small .is-bad { animation: none; } }
