/* Compact only the original battle instruction dock. Nested damage and
   warning text keep their existing height and wrapping rules. */
body[data-game=defense][data-battle-phase=battle] .world-area .stage-note{
 display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;
 gap:5px 10px;padding:7px 10px;
}
body[data-game=defense][data-battle-phase=battle] .world-area .stage-note>#phase{white-space:nowrap;font-size:12px}
body[data-game=defense][data-battle-phase=battle] .world-area .stage-note>.battle-guide{
 grid-column:2;grid-row:1;min-width:0;pointer-events:auto;
}
@media(max-width:350px){
 body[data-game=defense][data-battle-phase=battle] .world-area .stage-note{grid-template-columns:minmax(0,1fr);gap:3px;padding:6px 8px}
 body[data-game=defense][data-battle-phase=battle] .world-area .stage-note>.battle-guide{grid-column:1;grid-row:2}
}
@media(orientation:landscape) and (max-height:600px){
 body[data-game=defense][data-battle-phase=battle] .world-area .stage-note{padding:4px 8px}
}
