#gameRoot .flight-stage { min-height:0; height:320px; }
#gameRoot .hud { margin:10px 0; }
#gameRoot .hud > div { min-height:0; padding:8px 12px; }
#gameRoot .hud span { font-size:10px; color:#a2b6cd; letter-spacing:.04em; }
#gameRoot .lane { top:20%; min-height:190px; width:18%; }
#gameRoot .lane-left { left:39%; }
#gameRoot .lane-center { left:59%; }
#gameRoot .lane-right { left:79%; }
#gameRoot .gate-ring { width:min(100%,83px); }
#gameRoot .lane-name, #gameRoot .lane-color { font-size:11px; letter-spacing:.03em; }
#gameRoot .witch-wrap { pointer-events:none; }
#gameRoot .status-row { padding:12px 0; }
#gameRoot .sigil-readout { flex-shrink:0; }
#gameRoot .sigil-readout strong { font:700 17px system-ui,sans-serif; }
#gameRoot .selection-readout span,#gameRoot .selection-readout small,#gameRoot .flight-help { color:#a0b1c9; }
#gameRoot .flight-controls { padding-top:10px; }
#gameRoot .lane:focus-visible { outline:2px solid #e5fff5; outline-offset:-2px; }
@media(max-width:600px) {
 #gameRoot .flight-stage { height:300px; }
 #gameRoot .lane { width:26%; top:30%; min-height:155px; padding:8px 2px; }
 #gameRoot .lane-left { left:17%; }
 #gameRoot .lane-center { left:44%; }
 #gameRoot .lane-right { left:71%; }
 #gameRoot .gate-ring { width:55px; }
 #gameRoot .witch-wrap { top:18%; }
 #gameRoot .lane-name,#gameRoot .lane-color { font-size:9px; }
 #gameRoot .hud { grid-template-columns:repeat(5,minmax(0,1fr)); }
 #gameRoot .hud > div { padding:7px 3px; }
 #gameRoot .hud strong { font-size:17px; }
 #gameRoot .hud span { font-size:8px; }
 #gameRoot .flight-controls { flex-wrap:wrap; gap:8px; }
 #gameRoot .flight-help { font-size:11px; }
 #gameRoot .selection-readout { min-width:0; }
}

/* Exact whole-frame sprite stepping, including the final atlas frame. */
@keyframes ghost-fly { from {background-position:0 0;} to {background-position:114.28571428571429% 0;} }

@keyframes witch-fly {from{transform:translateX(0);}to{transform:translateX(-100%);}}
