/* Compact battle controls; a focused aim and an assigned order are distinct. */
:is(.fleet-orders,.fleet-command-strip) .battle-order{position:relative;display:block;flex:0 0 72px;width:72px;height:72px;padding:14px 16px 0 0;max-width:none}
:is(.fleet-orders,.fleet-command-strip) .battle-order>button.battle-command{position:relative;display:grid;place-items:center;width:56px;height:56px;min-width:56px;min-height:56px;max-width:56px;padding:0;border:1px solid #435e68;border-radius:11px;background:#081321;color:#bad0d8;touch-action:pan-x;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;isolation:isolate}
.battle-command-image{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit;pointer-events:none;user-select:none;-webkit-user-drag:none}
:is(.fleet-orders,.fleet-command-strip) .battle-order>button.battle-command.active{border-color:#75e4db;color:#a4fff2;background:linear-gradient(145deg,#244d50,#102a35);box-shadow:inset 0 0 0 1px #75e4db55}
:is(.fleet-orders,.fleet-command-strip) .battle-order>button.battle-command.ordered{border-color:#edc579;color:#ffe0a1;box-shadow:inset 0 0 14px #edc57922,0 0 9px #edc57925}
:is(.fleet-orders,.fleet-command-strip) .battle-order>button.battle-command.unavailable{opacity:.45;cursor:help}
.battle-command:focus-visible{outline:2px solid #b4fff3;outline-offset:2px}
.battle-command-mark,.battle-command-cooldown{position:absolute;z-index:2;right:3px;bottom:2px;display:grid;place-items:center;min-width:17px;height:17px;border:1px solid #edc57988;border-radius:5px;background:#081321ef;color:#ffe0a1;font:12px/1 system-ui,sans-serif;pointer-events:none}
.battle-command-cooldown{left:2px;right:auto;color:#d9e4f2;border-color:#748caa88}
:is(.fleet-orders,.fleet-command-strip) .battle-order>.battle-order-cancel{position:absolute;z-index:3;top:0;right:-6px;display:grid;place-items:center;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;touch-action:pan-x;isolation:isolate}
.battle-order-cancel::before{content:'';position:absolute;inset:9px;border:1px solid #a47b69;border-radius:50%;background:radial-gradient(circle at 35% 25%,#35424e,#111a25 75%);box-shadow:0 2px 5px #000c,inset 0 1px #ffffff25;pointer-events:none}
.battle-order-cancel .battle-command-image{position:relative;z-index:1;width:28px;height:28px;object-fit:contain;border-radius:0;filter:drop-shadow(0 1px 1px #000)}
:is(.fleet-orders,.fleet-command-strip) .battle-order>.battle-order-cancel:hover{background:transparent}
.battle-order-cancel:hover::before{border-color:#ffc3a6;background:radial-gradient(circle at 35% 25%,#63504d,#292029 75%)}
.battle-order-cancel:focus-visible{outline:2px solid #ffc3a6;outline-offset:-7px}
.battle-command-details{position:fixed;z-index:1000;pointer-events:none;padding:14px 16px;border:1px solid #6badb6;border-radius:12px;background:#0b1925f7;color:#e1eff4;box-shadow:0 8px 30px #0009;font:13px/1.5 system-ui,sans-serif;max-height:calc(100dvh - 24px);overflow:hidden;box-sizing:border-box}
.battle-command-details strong{display:block;color:#9cf2e4;font-size:15px;margin-bottom:7px}
.battle-command-details p{margin:0;white-space:pre-line;color:#bfd0dc;font-size:13px}
@media(max-height:500px){:is(.fleet-orders,.fleet-command-strip) .battle-order{height:64px;width:64px;flex-basis:64px;padding:14px 16px 0 0}:is(.fleet-orders,.fleet-command-strip) .battle-order>button.battle-command{height:48px;min-height:48px;width:48px;min-width:48px;max-width:48px;padding:0}.battle-command-details{font-size:12px;padding:10px}.battle-command-details p{font-size:12px}}
