/* Reuse the measured foot badges. No extra labels over faces or larger boxes. */
.unit-nameplates .unit-nameplate[data-commander=warn]{background:#623d1a;border:2px solid #ffd091;box-shadow:inset 0 0 0 1px #452813}
.unit-nameplates .unit-nameplate[data-commander=jammed]{background:#1a4866;border:2px solid #9be2ff;box-shadow:inset 0 0 0 1px #15394d}
.unit-nameplates .unit-nameplate[data-commander] .plate-rank{color:#fff}
.unit-nameplates .unit-nameplate[data-commander=""] .plate-rank{color:var(--plate-role)}
/* The warning already says pause/battle. Reuse the phase line's space so the
   live countdown and two-line advice fit without an internal scrollbar. */
body[data-game=defense][data-field-dock=landscape] .stage-note:has(.boss-signal:not([hidden])) #phase{display:none}
body[data-game=defense][data-field-dock=landscape] .stage-note:has(.boss-signal:not([hidden])) .battle-guide{height:38px;min-height:38px;overflow:visible}
@media(min-width:801px) and (min-height:601px){
 body[data-game=defense] .stage-note:has(.boss-signal:not([hidden])) #phase{display:none}
 body[data-game=defense] .stage-note:has(.boss-signal:not([hidden])) .battle-guide{height:42px;min-height:42px;overflow:visible}
}
