.tactical-field.aiming,.tactical-field.aiming *{cursor:none!important}.aim-cursor{color:#e1d692;fill:none;stroke:currentColor;stroke-width:1.5px;filter:drop-shadow(0 1px 1px #10180e)}.aim-cursor.invalid{color:#ed9d7c}.aim-cursor .aim-outer{stroke-width:1px;opacity:.8}.aim-cursor .aim-step{stroke-width:3px;opacity:.22}.aim-cursor .aim-step.filled{opacity:1}.aim-cursor text{fill:currentColor;stroke:#11190f;stroke-width:3px;paint-order:stroke;font:600 11px ui-monospace,monospace}.aim-cursor .aim-detail{font-size:10px}.tactical-field [data-person-hit-target]:focus:not(:focus-visible){outline:none}.aim-cursor .aim-empty,.aim-cursor .aim-reload{stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.combat-journal{color:#f1e5c7;font-size:.8rem}.combat-journal>summary{cursor:pointer;white-space:nowrap;background:#25372e;border:1px solid #796d50;border-radius:3px;padding:.4rem .6rem}.combat-journal>summary:focus-visible{outline-offset:3px;outline:2px solid #f0cf80}.combat-journal-panel{z-index:80;box-sizing:border-box;overscroll-behavior:contain;background:#17271f;border:1px solid #a39268;border-radius:4px;width:min(32rem,100vw - 2rem);max-height:min(28rem,65vh);padding:1rem;line-height:1.5;position:absolute;top:calc(100% + .4rem);right:8px;overflow:auto;box-shadow:0 .4rem 1.5rem #0009}.combat-journal-panel p{color:#c7c6ad;margin:0 0 .65rem}.combat-journal-panel p:last-child{margin-bottom:0}.combat-journal-panel ol{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.combat-journal-panel li{overflow-wrap:anywhere;border-top:1px solid #ffffff21;grid-template-columns:4.5rem minmax(0,1fr);gap:.5rem;padding-top:.5rem;display:grid}.combat-journal-turn{color:#d6bd80;font-variant-numeric:tabular-nums}@media (max-width:650px){.battle-layout .tactical-map-toolbar .map-toolbar-actions{flex-wrap:wrap;grid-area:3/1/auto/-1;justify-content:flex-end}}.battle-layout .ja2-conversation{z-index:12;color:#f2edd7;background:#19231d;border:2px solid #aaa076;width:310px;max-width:calc(100% - 24px);max-height:calc(100% - 52px);padding:5px;font-size:12px;position:absolute;top:42px;right:12px;overflow:auto;box-shadow:inset 0 0 0 2px #394235,2px 3px 8px #0009}.ja2-conversation-head{grid-template-columns:112px 1fr;gap:5px;display:grid}.ja2-conversation figure{background:#111814;border:1px solid #82795a;margin:0}.ja2-conversation figure img{object-fit:contain;object-position:center;width:100%;height:142px;display:block}.ja2-conversation figcaption{text-align:center;color:#e1d4a8;padding:4px;font-size:11px;line-height:1.2}.ja2-conversation-choices{flex-direction:column;gap:3px;display:flex}.battle-layout .ja2-conversation button{color:#f1e6bf;background:linear-gradient(#48513d,#303c2d);border:1px solid #847b59;border-radius:0;min-height:27px;padding:4px 6px;font-size:11px;line-height:1.2;box-shadow:inset 1px 1px #ffffff15}.battle-layout .ja2-conversation button:disabled{opacity:.45;cursor:not-allowed}.battle-layout .ja2-conversation button:focus-visible{outline-offset:1px;outline:2px solid #f4cf68}.ja2-speech button:focus-visible{outline-offset:1px;outline:2px solid #f4cf68}.ja2-conversation-choices button:last-child{margin-top:auto}.battle-layout .ja2-conversation-text{background:#101711;border:1px solid #b8aa78;margin:5px 0 0;padding:9px;font-size:13px;line-height:1.45}.ja2-conversation-reason{color:#ddc796;padding:5px}.ja2-conversation-reason p{margin:0 0 5px}.battle-layout .ja2-speech{z-index:11;color:#f7f1da;pointer-events:auto;background:#172016f5;border:2px solid #c1b482;width:max-content;max-width:min(280px,100% - 24px);padding:8px 27px 8px 10px;position:absolute;transform:translate(-50%,-100%);box-shadow:inset 0 0 0 1px #53563a,2px 3px 5px #0008}.ja2-speech p{margin:0;font-size:13px;line-height:1.4}.battle-layout .ja2-speech button{color:#d4cba9;background:0 0;border:0;padding:1px 4px;position:absolute;top:2px;right:3px}.battle-layout .ja2-hud .ja2-strip.squad-view{flex-shrink:0;grid-template-columns:minmax(0,1fr) 210px;gap:10px;height:186px;min-height:186px;max-height:none;padding:8px;display:grid;position:relative;overflow:visible}.battle-layout .ja2-hud .ja2-roster-pages{min-width:0;height:100%;position:relative}.battle-layout .ja2-hud .ja2-roster{grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-flow:row;gap:6px;height:100%;display:grid;overflow:hidden}.battle-layout .ja2-hud .ja2-portrait-cell,.battle-layout .ja2-hud .empty-portrait-slot{box-sizing:border-box;min-width:0;height:100%;min-height:0;padding:4px}.battle-layout .ja2-hud .ja2-portrait-cell{grid-template-rows:minmax(0,1fr) 17px 28px 14px;grid-template-columns:minmax(0,1fr) 15px;gap:2px}.battle-layout .ja2-hud .ja2-portrait-face{min-height:0;overflow:hidden}.battle-layout .ja2-hud .ja2-portrait-face img{object-fit:contain;object-position:center;box-sizing:border-box;background:#121b16;width:100%;height:100%}.battle-layout .ja2-hud .ja2-portrait-cell .portrait-name{white-space:nowrap;text-overflow:ellipsis;font-size:11px;line-height:15px;overflow:hidden}.battle-layout .ja2-hud .ja2-portrait-cell .portrait-numbers{white-space:nowrap;text-overflow:ellipsis;font-size:9px;line-height:13px;overflow:hidden}.battle-layout .ja2-hud .ja2-roster-hands{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;min-width:0;min-height:0;display:grid}.battle-layout .ja2-hud .ja2-roster-hand{color:#c9c3a7;background:#131d17;border:1px inset #677054;place-items:center;min-width:0;min-height:0;display:grid;position:relative;overflow:hidden}.battle-layout .ja2-hud .ja2-roster-hand img{object-fit:contain;image-rendering:auto;pointer-events:none;width:100%;height:100%;max-height:26px}.battle-layout .ja2-hud .ja2-roster-hand>svg{width:16px;height:16px}.battle-layout .ja2-hud .ja2-roster-hand.empty{color:#65715e}.battle-layout .ja2-hud .ja2-roster-hand.blocked{color:#90967d;background:repeating-linear-gradient(135deg,#1c281e,#1c281e 4px,#35402d 4px 5px)}.battle-layout .ja2-hud .roster-hand-load{white-space:nowrap;color:#ede3be;text-shadow:0 1px 2px #000;font:9px/10px monospace;position:absolute;bottom:0;left:2px}.battle-layout .ja2-hud .roster-hand-loading{font:8px/10px monospace}.battle-layout .ja2-hud .roster-hand-status{text-shadow:0 1px 1px #000;gap:2px;font:700 19px monospace;display:flex;position:absolute;top:0;right:2px}.battle-layout .ja2-hud .roster-hand-status .close-combat{color:#ff6861}.battle-layout .ja2-hud .roster-hand-status .attachment{color:#92df74}.battle-layout .ja2-hud .ja2-vitals{gap:2px}.battle-layout .ja2-hud .ja2-vitals>span{flex:1;min-width:3px}.battle-layout .ja2-hud .ja2-group-tag{background:#162519;padding:2px;font-size:9px;position:absolute;top:5px;left:5px}.battle-layout .ja2-hud .ja2-portrait-cell{position:relative}.battle-layout .ja2-hud .ja2-roster-paging{background:#202c23;border:1px solid #9a8b59;align-items:center;gap:8px;padding:2px 6px;font-size:11px;display:flex;position:absolute;bottom:100%;right:0}.battle-layout .ja2-hud .ja2-roster-paging button{padding:1px 10px}.battle-layout .ja2-hud .has-artillery .ja2-roster-paging{left:0;right:auto}.battle-layout .ja2-hud .ja2-orders-menu{z-index:12;color:#ece1c4;background:#202c23;border:1px solid #9a8b59;font-size:11px;position:absolute;bottom:100%;right:8px}.battle-layout .ja2-hud .ja2-orders-menu>summary{cursor:pointer;padding:5px 12px;list-style:none}.battle-layout .ja2-hud .ja2-artillery-toolbar{z-index:12;align-items:flex-end;gap:6px;max-width:calc(100vw - 24px);display:flex;position:absolute;bottom:100%;right:8px}.battle-layout .ja2-hud .ja2-artillery-menu{color:#ece1c4;background:#202c23;border:1px solid #9a8b59;min-width:0;font-size:11px}.battle-layout .ja2-hud .ja2-artillery-menu>summary{cursor:pointer;text-overflow:ellipsis;white-space:nowrap;max-width:180px;padding:5px 12px;overflow:hidden}.battle-layout .ja2-hud .ja2-artillery-menu>summary[data-cannon-active=true]{color:#eddda8}.battle-layout .ja2-hud .ja2-personal-weapon{white-space:nowrap;flex-shrink:0;padding:5px 9px;font-size:11px}.battle-layout .ja2-hud .ja2-artillery-menu .ja2-artillery{box-sizing:border-box;background:#202c23;border:1px solid #9a8b59;gap:8px;width:min(330px,100vw - 32px);max-height:45svh;padding:12px;position:absolute;bottom:100%;right:0;overflow:auto;box-shadow:0 0 24px #0008}.battle-layout .ja2-hud .ja2-artillery-menu p{flex-basis:100%;margin:0;font-size:11px}.battle-layout .ja2-hud .ja2-orders-menu .ja2-context{background:#202c23;border:1px solid #9a8b59;gap:8px;width:min(470px,100vw - 32px);max-height:55svh;padding:12px;display:flex;position:absolute;bottom:100%;right:0;overflow:auto;box-shadow:0 0 24px #0008}.battle-layout .ja2-hud .ja2-orders-menu .ja2-context .ja2-equipped-help,.battle-layout .ja2-hud .ja2-orders-menu .ja2-action-readout small{display:none}.battle-layout .ja2-hud .ja2-right{flex-direction:column;gap:3px;min-width:0;display:flex;overflow:visible}.battle-layout .ja2-hud .ja2-radar .tactical-minimap{width:100%;height:78px;margin:0}.battle-layout .ja2-hud .ja2-radar .map-zoom{display:none}.battle-layout .ja2-hud .ja2-locale h3{margin:0;font-size:11px;line-height:15px}.battle-layout .ja2-hud .ja2-locale p{margin:0;font-size:10px;line-height:13px}.battle-layout .ja2-hud .ja2-locale p:nth-last-child(2){display:none}.battle-layout .ja2-hud .ja2-essential{gap:4px;display:flex}.battle-layout .ja2-hud .ja2-essential button{flex:1;padding:4px;font-size:10px}.battle-layout .ja2-hud .ja2-garrison-toggle{font-size:10px;position:relative}.battle-layout .ja2-hud .ja2-garrison-toggle[open]>div{z-index:15;background:#202c23;width:260px;max-height:50svh;position:absolute;bottom:100%;right:0;overflow:auto}.battle-layout .ja2-hud .ja2-strip.inventory-open{height:280px;min-height:280px;max-height:none;padding:8px;overflow:visible}.battle-layout .ja2-hud .ja2-inventory{grid-template-rows:minmax(0,1fr) 25px;grid-template-columns:90px minmax(145px,.8fr) minmax(200px,1.1fr) minmax(225px,1.3fr) 160px;gap:8px;height:100%;min-height:0;font-size:11px;display:grid;position:relative;overflow:visible}.battle-layout .ja2-hud .ja2-inv-header{flex-direction:column;grid-area:1/1/3;gap:6px;min-height:0;display:flex}.battle-layout .ja2-hud .ja2-inv-header .portrait{flex-shrink:1;width:84px;height:128px;min-height:0}.battle-layout .ja2-hud .ja2-inv-header h2{margin:0;font-size:14px}.battle-layout .ja2-hud .ja2-inv-header span{font-size:9px}.battle-layout .ja2-hud .ja2-stats{grid-area:1/2/3;min-width:0;display:block;overflow:visible}.battle-layout .ja2-hud .ja2-stats>div{justify-content:space-between;gap:5px;font-size:10px;line-height:15px;display:flex}.battle-layout .ja2-hud .ja2-stats>div span{white-space:nowrap}.battle-layout .ja2-hud .paper-doll{background:0 0;flex-direction:column;grid-area:1/3/3;gap:4px;min-width:0;padding:0;display:flex;overflow:visible}.battle-layout .ja2-hud .ja2-outfit-slot{gap:3px;padding:3px}.battle-layout .ja2-hud .ja2-outfit-slot>small{font-size:9px}.battle-layout .ja2-hud .ja2-outfit-slot button{min-height:22px;padding:3px;font-size:10px}.battle-layout .ja2-hud .ja2-hands{gap:4px}.battle-layout .ja2-hud .ja2-hands button{min-height:75px;padding:4px}.battle-layout .ja2-hud .ja2-hands img{height:26px}.battle-layout .ja2-hud .ja2-hands span{font-size:10px}.battle-layout .ja2-hud .ja2-hands small{font-size:9px}.battle-layout .ja2-hud .paper-readouts{gap:8px;margin:0;display:flex}.battle-layout .ja2-hud .paper-readouts small,.battle-layout .ja2-hud .paper-readouts b{font-size:10px}.battle-layout .ja2-hud .slot-grid{grid-area:1/4;min-height:0;max-height:none;padding:0;display:block;overflow:visible}.battle-layout .ja2-hud .ja2-pocket{height:39px;min-height:39px}.battle-layout .ja2-hud .ja2-pockets small{min-height:0;margin:0 0 4px;font-size:9px}.battle-layout .ja2-hud .ja2-inventory .ja2-right{grid-area:1/5/3;overflow:visible}.battle-layout .ja2-hud .ja2-inventory .ja2-radar .tactical-minimap{height:75px}.battle-layout .ja2-hud .ja2-done{margin-top:auto;padding:6px;font-size:12px}.battle-layout .ja2-hud .ja2-inventory-extra{border:0;min-width:0;padding:0;font-size:10px;overflow:visible}.battle-layout .ja2-hud .ja2-inventory-extra>summary{cursor:pointer;color:#eddeb2;text-overflow:ellipsis;white-space:nowrap;background:#233228;border:1px solid #777c54;padding:4px 6px;overflow:hidden}.battle-layout .ja2-hud .ja2-inventory-popup{z-index:20;box-sizing:border-box;background:#202c23;border:1px solid #a99760;width:min(540px,100vw - 32px);max-height:55svh;padding:12px;font-size:12px;position:absolute;bottom:calc(100% + 12px);left:0;overflow:auto;box-shadow:0 0 30px #0009}.battle-layout .ja2-hud .ja2-inventory-popup button{padding:5px;font-size:11px}.battle-layout .ja2-hud .ja2-inventory-popup p{font-size:11px;line-height:1.5}.battle-layout .ja2-hud .ja2-inventory-popup .ja2-stance-grid{flex-wrap:wrap;display:flex;overflow:visible}.battle-layout .ja2-hud .ja2-inventory-actions{grid-area:2/4;gap:4px;min-width:0;display:flex;overflow:visible}.battle-layout .ja2-hud .ja2-inventory .pertrechos{flex:1;margin:0;overflow:visible}.battle-layout .ja2-hud .ja2-nearby-actions{flex:none;margin:0}.battle-layout .ja2-hud .ja2-inventory-actions .ja2-inventory-popup{left:auto;right:0}@media (max-width:950px){.battle-layout .ja2-hud .ja2-strip.squad-view{grid-template-columns:minmax(0,1fr) 165px;gap:6px;height:174px;min-height:174px}.battle-layout .ja2-hud .ja2-portrait-cell .portrait-numbers{font-size:8px}.battle-layout .ja2-hud .ja2-roster{gap:3px}.battle-layout .ja2-hud .ja2-inventory{grid-template-columns:72px 145px minmax(165px,1fr) minmax(180px,1.1fr);gap:6px}.battle-layout .ja2-hud .ja2-inventory .ja2-right{grid-area:2/1}.battle-layout .ja2-hud .ja2-inventory .ja2-right>:not(.ja2-done){display:none}.battle-layout .ja2-hud .ja2-inv-header{grid-row:1}.battle-layout .ja2-hud .ja2-inv-header .portrait{width:64px;height:90px}}@media (max-width:650px){.battle-layout .ja2-hud .ja2-strip.squad-view{grid-template-columns:minmax(0,1fr) 92px;gap:4px;height:148px;min-height:148px;padding:4px}.battle-layout .ja2-hud .ja2-roster{grid-template-columns:repeat(6,minmax(78px,1fr));overflow-x:auto}.battle-layout .ja2-hud .ja2-portrait-cell{grid-template-rows:minmax(0,1fr) 14px 23px 12px;grid-template-columns:minmax(0,1fr) 6px;padding:2px}.battle-layout .ja2-hud .ja2-portrait-cell .portrait-name{font-size:8px;line-height:12px}.battle-layout .ja2-hud .ja2-roster-hands{gap:2px}.battle-layout .ja2-hud .ja2-roster-hand img{max-height:21px}.battle-layout .ja2-hud .ja2-roster-hand>svg{width:13px;height:13px}.battle-layout .ja2-hud .roster-hand-status{gap:1px;font-size:16px;line-height:16px;right:1px}.battle-layout .ja2-hud .ja2-portrait-cell .portrait-numbers{font-size:7px;line-height:10px}.battle-layout .ja2-hud .ja2-vitals{gap:1px}.battle-layout .ja2-hud .ja2-vitals>span{min-width:1px}.battle-layout .ja2-hud .ja2-radar .tactical-minimap{height:40px}.battle-layout .ja2-hud .ja2-essential button,.battle-layout .ja2-hud .ja2-right>.retreat-button{padding:3px;font-size:9px}.battle-layout .ja2-hud .ja2-locale h3{font-size:9px}.battle-layout .ja2-hud .ja2-locale p{font-size:8px}.battle-layout .ja2-hud .ja2-strip.inventory-open{grid-template-rows:minmax(0,1fr);height:330px;min-height:330px;padding:5px}.battle-layout .ja2-hud .ja2-inventory{grid-template-rows:minmax(0,1fr) 125px auto;grid-template-columns:64px minmax(105px,1fr) minmax(145px,1.2fr);gap:4px;display:grid}.battle-layout .ja2-hud .ja2-inv-header{grid-area:1/1}.battle-layout .ja2-hud .ja2-inventory .ja2-right{grid-area:2/1;align-self:end}.battle-layout .ja2-hud .ja2-stats{grid-area:1/2/3;overflow:auto}.battle-layout .ja2-hud .ja2-stats>div{font-size:9px;line-height:17px}.battle-layout .ja2-hud .ja2-stats>div span{white-space:normal}.battle-layout .ja2-hud .paper-doll{grid-area:1/3;gap:2px}.battle-layout .ja2-hud .paper-readouts{display:none}.battle-layout .ja2-hud .ja2-outfit-slot{flex-wrap:wrap;display:flex}.battle-layout .ja2-hud .ja2-outfit-slot>small{display:none}.battle-layout .ja2-hud .ja2-hands button{min-height:58px}.battle-layout .ja2-hud .ja2-hands img{height:18px}.battle-layout .ja2-hud .ja2-hands small{font-size:7px}.battle-layout .ja2-hud .ja2-hands span{font-size:8px}.battle-layout .ja2-hud .slot-grid{grid-area:2/3}.battle-layout .ja2-hud .ja2-pocket{height:26px;min-height:26px}.battle-layout .ja2-hud .ja2-pocket img{height:12px}.battle-layout .ja2-hud .ja2-pocket span{font-size:7px}.battle-layout .ja2-hud .ja2-pockets p,.battle-layout .ja2-hud .ja2-pockets small{display:none}.battle-layout .ja2-hud .ja2-inventory-actions{grid-area:3/2/auto/4}.battle-layout .ja2-hud .ja2-inventory-extra>summary{padding:3px;font-size:9px}.battle-layout .ja2-hud .ja2-inventory-popup{max-height:45svh}.battle-layout .ja2-hud .tactical-help-toggle{top:8px;bottom:auto}}.battle-layout .ja2-hud .squad-view,.battle-layout .ja2-hud .ja2-roster{grid-template-rows:minmax(0,1fr)}.battle-layout .ja2-hud .ja2-portrait-face.dead,.battle-layout .ja2-hud .ja2-inventory-portrait.dead{background:radial-gradient(at bottom,#44221b,#111914 70%);place-items:center;display:grid}.battle-layout .ja2-hud .ja2-dead-skull{color:#dfd7b6;filter:drop-shadow(0 2px 2px #000);width:55%;height:75%}.battle-layout .ja2-hud .ja2-portrait-blood{background:#9b201e;border-radius:50%;width:40%;height:8px;animation:1.1s ease-out 2 portrait-blood;position:absolute;bottom:4px;left:30%;box-shadow:0 0 4px #641411}@keyframes portrait-blood{0%{opacity:.3;transform:scale(.5)}to{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.battle-layout .ja2-hud .ja2-portrait-blood{animation:none}}.battle-layout .ja2-hud .ja2-personal-enemies{color:#f5c2ae;background:#18201ded;align-items:center;gap:3px;padding:2px 3px;font:700 12px/1 monospace;display:flex;position:absolute;top:3px;right:3px;box-shadow:0 1px 3px #0008}.battle-layout .ja2-hud .ja2-ap-readout{color:#f4f2c8;text-shadow:0 1px #000;background:#102719e8;align-items:baseline;gap:3px;padding:2px 4px;font:700 18px/1 monospace;display:flex;position:absolute;bottom:3px;left:3px}.battle-layout .ja2-hud .ja2-ap-readout small{font:9px/1 sans-serif}.battle-layout .ja2-hud .ja2-vitals .untreated{background:#f2d848}.battle-layout .ja2-hud .ja2-vitals .morale{background:#61c04d}.battle-layout .ja2-hud .ja2-vitals[aria-hidden=true]{opacity:.3}.battle-layout .ja2-hud .ja2-inventory-portrait{cursor:default;border-radius:0;flex-shrink:0;padding:0;position:relative}.battle-layout .ja2-hud .ja2-inv-header .ja2-inventory-portrait img{object-fit:contain;object-position:center;background:#121b16}.battle-layout .ja2-hud .ja2-inventory-paging{justify-content:space-between;align-items:center;gap:3px;width:100%;font-size:10px;display:flex}.battle-layout .ja2-hud .ja2-inventory-paging button{color:#f1e6bf;background:#293b2d;border:1px solid #847b59;padding:3px 7px;font-size:13px}.battle-layout .ja2-hud .ja2-inventory-vitals{flex-shrink:0;gap:3px;display:grid}.battle-layout .ja2-hud .ja2-inventory-vitals>span{background:#111813;border:1px solid #515540;height:6px;display:block;position:relative}.battle-layout .ja2-hud .ja2-inventory-vitals i{height:100%;position:absolute;bottom:0;left:0}.battle-layout .ja2-hud .ja2-inventory-vitals .health{background:#e23a39}.battle-layout .ja2-hud .ja2-inventory-vitals .bandaged{background:#f09eba}.battle-layout .ja2-hud .ja2-inventory-vitals .untreated{background:#f2d848}.battle-layout .ja2-hud .ja2-inventory-vitals .energy{background:#4a98e7}.battle-layout .ja2-hud .ja2-inventory-vitals .morale{background:#61c04d}.battle-layout .ja2-hud .ja2-stats>.ja2-mobile-weight{display:none}.battle-layout .ja2-hud .ja2-radar{position:relative}.battle-layout .ja2-hud .ja2-radar-caption{color:#e9e5be;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;background:#14271de8;padding:2px 4px;font:10px/1.2 monospace;display:block;position:absolute;inset:auto 1px 1px;overflow:hidden}.battle-layout .ja2-hud .ja2-radar-caption small{font:inherit;color:#c6d6bc;display:block}.battle-layout .ja2-hud .ja2-locale .eyebrow,.battle-layout .ja2-hud .ja2-locale p:last-child{display:none}@media (max-width:650px){.battle-layout .ja2-hud .ja2-ap-readout{gap:1px;padding:2px;font-size:13px;bottom:1px;left:1px}.battle-layout .ja2-hud .ja2-ap-readout small{font-size:7px}.battle-layout .ja2-hud .ja2-personal-enemies{gap:1px;padding:1px;font-size:9px;top:1px;right:1px}.battle-layout .ja2-hud .ja2-personal-enemies svg{width:10px;height:10px}.battle-layout .ja2-hud .ja2-radar-caption{padding:1px 2px;font-size:7px}.battle-layout .ja2-hud .ja2-inventory-paging button{padding:2px 5px}.battle-layout .ja2-hud .ja2-inventory-paging{font-size:8px}.battle-layout .ja2-hud .ja2-inv-header{grid-row:1/3}.battle-layout .ja2-hud .ja2-stats>div{line-height:16px}.battle-layout .ja2-hud .ja2-stats>.ja2-mobile-weight{display:flex}}.battle-layout .ja2-hud .ja2-artillery-crew{flex-wrap:wrap;flex-basis:100%;gap:2px 8px;display:flex}.battle-layout .ja2-hud .ja2-artillery-crew>span:first-child,.battle-layout .ja2-hud .ja2-artillery-crew>.unavailable{flex-basis:100%}.battle-layout .ja2-hud .ja2-artillery-crew>.unavailable{color:#f0b6a3}@media (max-width:700px){.battle-layout .ja2-hud .ja2-artillery-toolbar{gap:4px;max-width:calc(100% - 132px);right:4px}.battle-layout .ja2-hud .ja2-artillery-menu>summary{max-width:150px;padding:5px 8px}}:is(.battle-layout,.campaign-pockets) .ja2-outfit-slot{background:#18211d;border:1px solid #747558;grid-column:1/-1;gap:4px;min-width:0;padding:6px;display:grid}:is(.battle-layout,.campaign-pockets) .ja2-outfit-slot>small:first-child{text-transform:uppercase;color:#ded3a3;letter-spacing:.08em}:is(.battle-layout,.campaign-pockets) .ja2-outfit-slot>small{color:#c5c7b5;font-size:10px;line-height:1.4}:is(.battle-layout,.campaign-pockets) .ja2-outfit-slot button{white-space:normal;text-align:left;min-height:30px;font-size:11px}:is(.battle-layout,.campaign-pockets) .ja2-outfit-slot button[aria-pressed=true]{background:#2f3b29;border-color:#e0cf7c}:is(.battle-layout,.campaign-pockets) .ja2-outfit-slot button:focus-visible{outline-offset:2px;outline:2px solid #e0cf7c}.ja2-outfit-slot button[data-held=true]{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.ja2-outfit-slot button.drop-target{background:#35432a;outline:2px solid #f6d881}.campaign-pockets>.ja2-outfit-slot{margin-bottom:6px}.ja2-body-slots{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;width:100%;display:grid}.ja2-body-slots button{flex-direction:column;gap:3px;min-width:0;display:flex}.ja2-body-slots button small{color:#ded3a3;text-transform:uppercase;font-size:9px}.ja2-body-layout{grid-template-columns:62px minmax(0,1fr);align-items:stretch;gap:2px;min-width:0;display:grid}.ja2-body-figure{align-self:center;width:100%;height:86px;display:block}.ja2-body-layout .ja2-body-slots{grid-template-rows:repeat(3,minmax(0,1fr));grid-template-columns:minmax(0,1fr);gap:3px}.ja2-body-layout .ja2-body-slots button{flex-direction:row;align-items:center;gap:5px}.ja2-body-layout .ja2-body-slots button small{flex:0 0 42px}.ja2-body-slots button{position:relative;padding-bottom:7px!important}.ja2-body-slots button span:not(.ja2-item-bar){white-space:nowrap;text-overflow:ellipsis;width:100%;font-size:9px;overflow:hidden}.ja2-body-slots .ja2-item-bar{width:calc(100% - 6px);position:absolute;bottom:2px;left:3px}@media (max-width:650px){.ja2-body-layout{grid-template-columns:40px minmax(0,1fr);width:100%}.ja2-body-figure{height:74px}.ja2-body-layout .ja2-body-slots{gap:2px}.ja2-body-slots button{gap:1px;min-height:22px!important;padding-bottom:5px!important}.ja2-body-slots button small{font-size:7px}.ja2-body-layout .ja2-body-slots button small{flex-basis:30px}.ja2-body-slots button span:not(.ja2-item-bar){font-size:7px}}.ja2-hands{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;display:grid}:is(.battle-layout,.campaign-pockets) .ja2-hands button{color:#eae2c3;background:#182219;border:1px solid #9c8c57;border-radius:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:0;padding:7px;display:flex}.ja2-hands img{object-fit:contain;width:100%;height:54px;image-rendering:pixelated}.ja2-hands small{color:#c5bc99;font-size:10px}.ja2-hands span{font-size:11px}:is(.battle-layout,.campaign-pockets) .ja2-hands .blocked{opacity:.7;background:repeating-linear-gradient(135deg,#20281d,#20281d 5px,#2e3527 5px 6px)}:is(.battle-layout,.campaign-pockets) .ja2-hands.compact button{gap:1px;padding:4px}.ja2-hands.compact{margin:5px 0}:is(.battle-layout,.campaign-pockets) .ja2-hands .drop-target{background:#35432a;outline:2px solid #f6d881}.ja2-hands .equipment-drag-hint{grid-column:1/-1;min-height:14px}.ja2-hands button[data-held=true]{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.battle-layout .paper-doll .ja2-stow-hand{grid-column:1/-1;min-height:0;padding:5px;font-size:10px}.ja2-hands button[aria-pressed=true]{border-color:#e0c068;box-shadow:inset 0 0 0 2px #e0c068}.ja2-hands button:focus-visible{outline-offset:2px;outline:2px solid #f6d881}.ja2-hands button{position:relative;padding-bottom:9px!important}.ja2-item-bar{box-sizing:border-box;background:#10190f;border:1px solid #526349;width:100%;height:4px;min-height:4px;display:block;overflow:hidden}.ja2-item-bar i{background:#7dbb55;height:100%;display:block}.ja2-item-bar.ammunition i{background:#d9b86b}.ja2-hands .ja2-item-bar{width:calc(100% - 8px);position:absolute;bottom:2px;left:4px}.ja2-attachment-detail{flex-wrap:wrap;align-items:center;gap:.7rem;max-width:100%;margin:.6rem 0;display:flex}.ja2-attachment-slot{border:1px solid var(--brass,#a79758);color:#e8e5ce;background:#17251b;justify-items:center;gap:.15rem;width:9.5rem;min-height:5.5rem;padding:.35rem;display:grid}.ja2-attachment-slot img{object-fit:contain;width:5rem;height:2rem}.ja2-attachment-slot.occupied{border-color:#719453}.ja2-attachment-slot:focus-visible{outline-offset:2px;outline:2px solid #e2d68b}.ja2-attachment-slot:disabled{opacity:.65}.ja2-attachment-detail p{flex:1;min-width:9rem;margin:0;font-size:.8rem}.ja2-attachment-none{font-size:.8rem}.battle-layout .pertrechos .ja2-attachment-detail small{font-size:11px;display:block}.ja2-attachment-detail>small{overflow-wrap:anywhere;flex-basis:100%}.ja2-item-card{color:#e8e3cf;background:#1b2119;border:1px solid #89794c;grid-template-columns:minmax(130px,1fr) minmax(125px,1fr);gap:.7rem;max-width:440px;padding:.8rem;display:grid}.ja2-item-picture{background:#303426;border:1px solid #615b40;place-items:center;min-height:100px;display:grid;position:relative}.ja2-item-picture img{object-fit:contain;width:100%;max-height:110px}.ja2-item-charge{color:#fff;font-variant-numeric:tabular-nums;background:#742b24;border-radius:12px;padding:2px 9px;position:absolute;bottom:4px;left:4px}.ja2-item-card dl{grid-template-columns:1fr auto;align-content:start;gap:.4rem;margin:0;font-size:13px;display:grid}.ja2-item-card dd{font-variant-numeric:tabular-nums;margin:0}.ja2-item-card h4,.ja2-item-card>p,.ja2-item-card>.ja2-attachment-detail,.ja2-item-card>.ja2-attachment-none{grid-column:1/-1;margin:0}.ja2-item-card h4{border-top:1px solid #89794c;padding-top:.5rem}.ja2-item-card>p{font-size:12px;line-height:1.5}.ja2-item-picture>.ja2-item-bar{width:100%;height:5px;min-height:5px;position:absolute;bottom:0;left:0}.ja2-weapon-mode{flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:3px;display:flex}.battle-layout .ja2-weapon-mode button{color:#e3ddbc;background:#263127;border:1px solid #7b8060;border-radius:0;padding:3px 7px;font-size:10px;line-height:1.25}.battle-layout .ja2-weapon-mode button[aria-pressed=true]{color:#fff3bb;background:#5c603b;border-color:#dbce82}.battle-layout .ja2-weapon-mode button:focus-visible{outline-offset:1px;outline:2px solid #f4cf68}.ja2-weapon-mode span{color:#d4c78c;font-size:10px}.battle-layout .slot-grid:has(.ja2-pockets){max-height:none;display:block;overflow-y:auto}.ja2-pockets{color:#ded9bd;grid-column:1/-1;min-width:0}.ja2-pockets p{margin:0 0 .35rem;font-size:.68rem}.ja2-pockets small{color:#b7baa4;min-height:24px;margin-bottom:4px;font-size:.6rem;line-height:1.25;display:block}.ja2-pocket-row{gap:3px;margin-bottom:3px;display:grid}.ja2-pocket-row.large{grid-template-columns:repeat(2,minmax(0,1fr))}.ja2-pocket-row.small{grid-template-columns:repeat(4,minmax(0,1fr))}.ja2-pocket{color:#ded9bd;background:linear-gradient(135deg,#242a20,#141b15);border:1px solid #696044;border-radius:2px;flex-direction:column;justify-content:center;align-items:center;height:38px;min-height:38px;padding:3px;display:flex;position:relative;box-shadow:inset 0 0 0 2px #10170f}.ja2-pocket.occupied{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.ja2-pocket[aria-pressed=true]{border-color:#e0c068;box-shadow:inset 0 0 0 2px #e0c068}.ja2-pocket:focus-visible{outline-offset:2px;outline:2px solid #f6d881}.ja2-pocket img{object-fit:contain;image-rendering:auto;width:90%;height:19px}.ja2-pocket svg{color:#c7b379;height:18px}.ja2-pocket span{text-overflow:ellipsis;white-space:nowrap;text-align:center;width:100%;font-size:8px;display:block;overflow:hidden}.ja2-pocket b{color:#f1d680;text-shadow:1px 1px #000;font-size:9px;position:absolute;top:1px;right:3px}.ja2-pocket .empty{opacity:.4;font-size:9px}.ja2-pocket:disabled{opacity:.45;cursor:default}.ja2-pocket-overflow{border:1px solid #ae694e;margin-top:8px;padding:8px}.ja2-pocket-overflow button{margin:3px;padding:4px;font-size:.7rem}.ja2-pocket.drop-target{background:#35432a;outline:2px solid #f6d881}.equipment-quantity{color:#ded9bd;align-items:center;gap:5px;margin:0 0 5px;font-size:.65rem;display:flex}.equipment-quantity label{align-items:center;gap:5px;display:flex}.equipment-quantity input{color:#f1d680;width:4em;min-height:25px;font:inherit;background:#172019;border:1px solid #8b8058;border-radius:2px;padding:2px 4px}.equipment-quantity button{color:#eee5c5;min-height:25px;font:inherit;background:#293425;border:1px solid #8b8058;border-radius:2px;padding:2px 7px}:is(.equipment-quantity input:focus-visible,.equipment-quantity button:focus-visible){outline-offset:2px;outline:2px solid #f6d881}.equipment-quantity :disabled{opacity:.45}.ja2-pocket .ja2-item-bar{width:calc(100% - 6px);height:3px;min-height:3px;position:absolute;bottom:1px;left:3px}.movement-route{color:#fff;fill:currentColor;stroke:#121610;stroke-width:1px;filter:drop-shadow(0 1px 1px #000)}.movement-route.stealth{color:#f5db45}.movement-route.insufficient{animation:.65s step-end infinite movement-ap-warning}@keyframes movement-ap-warning{50%{color:#111;stroke:#fff}}.movement-cost path,.movement-cost circle{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.movement-cost circle{fill:currentColor}.movement-cost text{fill:currentColor;stroke:#101610;stroke-width:3px;paint-order:stroke;font:700 12px ui-monospace,monospace}.tactical-action-failure{stroke:#fff;stroke-width:3px;filter:drop-shadow(0 1px 2px #000);animation:1.2s ease-out forwards tactical-cross-fade}@keyframes tactical-cross-fade{65%{opacity:1}to{opacity:0}}.tactical-hit-reaction{pointer-events:none;animation:.9s ease-out both tactical-impact}.tactical-hit-reaction path{stroke:#f15f54;stroke-width:4px;fill:none;stroke-linecap:round}.tactical-damage-number{animation:.9s ease-out both tactical-damage-rise}@keyframes tactical-damage-rise{0%{transform:translateY(0)}to{transform:translateY(-18px)}}.tactical-hit-reaction text{fill:#fff;stroke:#681c1b;stroke-width:3px;paint-order:stroke;font:700 12px ui-monospace,monospace}@keyframes tactical-impact{0%{opacity:0}12%,65%{opacity:1}to{opacity:0}}.tactical-turn-bar{pointer-events:none;z-index:6;background:#449b52;height:5px;position:absolute;top:0;left:0;right:0}.tactical-turn-bar.enemy{background:#ab4d42}.tactical-turn-bar.interrupt{color:#151b14;text-align:center;background:#ddc15b;height:22px;font:700 11px/22px ui-monospace,monospace}.tactical-feedback-popup{z-index:16;color:#f5ead4;pointer-events:none;background:#17201bef;border:1px solid #c9b982;max-width:80%;padding:6px 10px;font-size:12px;position:absolute;top:32px;left:50%;transform:translate(-50%);box-shadow:0 2px 6px #0008}.battle-middle>.tactical-notices{z-index:9;max-width:calc(100% - 16px);position:absolute;top:26px;left:8px}.battle-middle{position:relative}.tactical-notices>.ja2-interrupt-banner{display:none}.tactical-quick-tools{z-index:8;background:#19221bee;border:1px solid #748171;gap:2px;padding:3px;display:flex;position:absolute;top:12px;right:9px}.tactical-quick-tools button{color:#eee6d0;cursor:pointer;background:#253124;border:1px solid #66735f;place-items:center;width:26px;height:26px;padding:3px;display:grid}.tactical-quick-tools button[aria-pressed=true]{background:#616c38}.tactical-quick-tools button:disabled{opacity:.4;cursor:default}.tactical-quick-tools svg{width:17px;height:17px}@media (prefers-reduced-motion:reduce){.movement-route.insufficient{color:#fff;stroke:#000;stroke-dasharray:2 2;animation:none}.tactical-hit-reaction,.tactical-damage-number,.tactical-action-failure{animation:none}}.battle-layout .tactical-notices{z-index:20;pointer-events:none;max-height:45%;position:absolute;top:28px;left:0;right:0;overflow:auto}.battle-layout .tactical-notices>*{pointer-events:auto}.battle-layout .tactical-notices .ja2-group-move{gap:4px 8px;padding:5px 8px;font-size:11px}.battle-layout .tactical-notices .ja2-group-move button{min-height:24px;padding:4px 6px;font-size:11px}.battle-layout .tactical-notices .ja2-group-preview[open]{max-height:110px;overflow:auto}.battle-layout{background:#20241e;flex-direction:column;height:calc(100svh - 68px);min-height:500px;display:flex;position:relative;overflow:hidden}.battle-layout .battle-header{background:#242a24;border-bottom:1px solid #686e52;flex-shrink:0;gap:12px;height:42px;min-height:42px;padding:4px 12px}.battle-layout .battle-header h1{margin:0;font-size:17px;line-height:1.15}.battle-layout .battle-header .eyebrow{letter-spacing:1px;margin:0 0 2px;font-size:8px}.battle-layout .battle-status{flex-wrap:nowrap;gap:9px;max-width:none;font-size:11px}.battle-layout .mobile-details{padding:4px 8px;font-size:11px;display:block}.battle-layout .battle-middle{flex:1;height:auto;min-height:180px;display:block;position:relative;overflow:hidden}.battle-layout .field-wrap{height:100%;min-height:0;overflow:auto}.battle-layout .tactical-field{width:100%;min-width:0;height:100%;min-height:0;display:block}.battle-layout .map-zoom button{min-height:20px;padding:0 6px}.battle-layout .battle-inspector{display:none}.battle-layout .battle-inspector.inspector-open{z-index:30;background:#202c25;border:1px solid #93906a;width:min(340px,100% - 16px);max-height:none;padding:12px;display:block;position:absolute;top:8px;bottom:8px;right:8px;overflow:auto;box-shadow:0 5px 20px #0009}.battle-layout .inspector-close{float:right;padding:4px 8px;font-size:11px}.battle-layout .battle-inspector .soldier-heading{clear:both}.battle-layout .battle-inspector .field-supplies{padding:8px 0;font-size:12px}.battle-layout .battle-inspector h2{font-size:20px}.battle-layout .battle-inspector .weapon-icon{object-fit:contain;max-height:65px}.battle-layout .battle-inspector .field-log{max-height:170px;overflow:auto}.battle-layout .command-bar{background:#31352a;border-top:2px solid #858163;border-bottom:1px solid #151d17;flex-direction:row;flex-shrink:0;gap:6px;min-height:42px;padding:3px 8px}.battle-layout .commands{flex:1;justify-content:flex-start;gap:2px;min-width:0;overflow-x:auto}.battle-layout .commands button{white-space:nowrap;gap:2px;padding:4px 5px;min-width:49px!important;font-size:9px!important}.battle-layout .commands svg{width:16px;height:16px}.battle-layout .end-turn{white-space:nowrap;gap:5px;padding:6px 10px;font-size:13px}.battle-layout .end-turn svg{width:15px}.battle-layout .tactical-roster{background:linear-gradient(#3e4435,#252c23);border-top:1px solid #676c50;flex-shrink:0;grid-template-columns:repeat(6,minmax(72px,115px)) minmax(100px,1fr);gap:5px;min-height:112px;padding:5px 8px;display:grid;overflow-x:auto}.battle-layout .portrait-card{color:#e3dfbf;background:#18211d;border:1px solid #747558;border-radius:0;flex-direction:column;align-items:stretch;gap:2px;min-width:72px;padding:3px;display:flex}.battle-layout .portrait-card.active{background:#2f3b29;border:2px solid #e0cf7c;padding:2px}.battle-layout .portrait-name{white-space:nowrap;text-overflow:ellipsis;text-align:left;font-size:10px;line-height:13px;display:block;overflow:hidden}.battle-layout .portrait-name b{color:#bdb17b;margin-right:3px}.battle-layout .portrait-vitals{gap:4px;min-width:0;height:64px;display:flex}.battle-layout .portrait-vitals img{object-fit:cover;object-position:center 35%;border:1px solid #616148;width:calc(100% - 23px);min-width:0;height:64px}.battle-layout .portrait-fallback{background:#4c503b;place-items:center;width:calc(100% - 23px);font:20px Georgia;display:grid}.battle-layout .hud-vitals{align-items:stretch;gap:2px;width:19px;display:flex}.battle-layout .hud-vitals>span{background:#111813;border:1px solid #515540;width:5px;position:relative}.battle-layout .hud-vitals i{width:100%;position:absolute;bottom:0;left:0}.battle-layout .hud-vitals .health{background:#ca574b}.battle-layout .hud-vitals .action{background:#b9ae61}.battle-layout .hud-vitals .energy{background:#65a5b1}.battle-layout .portrait-numbers{white-space:nowrap;text-align:center;font:8px monospace}.battle-layout .empty-portrait-slot{color:#4e5d48;background:#1c251f;border:1px inset #565d45;place-items:center;min-width:72px;display:grid}.battle-layout .hud-selection{flex-direction:column;justify-content:center;gap:5px;padding:4px 10px;font-size:11px;display:flex}.battle-layout .hud-selection>span{color:#b2b49a}.battle-layout .hud-selection .line-button{padding:5px;font-size:11px}.battle-layout .tactical-help-toggle{z-index:25;position:absolute;top:46px;right:12px}.battle-layout .tactical-help-toggle>button{background:#1d2a22dd;padding:3px 7px;font-size:10px}.battle-layout #tactical-key-reference{z-index:60;border:1px solid #aaa077;width:min(550px,100vw - 24px);max-height:calc(100svh - 140px);font-size:12px;position:fixed;top:110px;right:12px;overflow:auto;box-shadow:0 10px 40px #000a}.battle-layout .hud-mission{background:#2c3528;border-bottom:1px solid #596346;flex-shrink:0;padding:3px 12px;font-size:11px}.battle-layout .hud-mission summary{cursor:pointer}.battle-layout .hud-mission[open]{max-height:150px;overflow:auto}.battle-layout .local-garrison{background:#293126;flex-shrink:0;max-height:100px;padding:2px 10px;font-size:11px;overflow:auto}.battle-layout .local-garrison .squad-strip{gap:4px;padding:3px}.battle-layout .local-garrison .squad-card{min-width:100px;padding:4px;font-size:10px}.battle-layout .local-garrison .eyebrow{margin:0;font-size:9px}.battle-layout .local-garrison small{display:none}.battle-layout>.notice{z-index:40;max-width:min(520px,100% - 24px);max-height:50%;position:absolute;bottom:160px;left:12px;overflow:auto}@media (max-width:700px){.battle-layout{height:calc(100svh - 68px);min-height:420px}.battle-layout .battle-header h1{max-width:180px;font-size:13px}.battle-layout .battle-header .eyebrow{display:none}.battle-layout .battle-status{gap:5px;font-size:9px}.battle-layout .enemy-count{display:none}.battle-layout .tactical-roster{grid-template-columns:repeat(6,78px) 105px;min-height:104px}.battle-layout .portrait-vitals,.battle-layout .portrait-vitals img{height:58px}.battle-layout .command-bar{min-height:42px}.battle-layout .hud-selection{padding:2px}.battle-layout .tactical-help-toggle{bottom:calc(52svh + 8px);right:7px}.battle-layout .field-wrap{overflow:auto}}.game-shell:has(.battle-layout) .game-nav{height:28px;min-height:28px;padding:0 10px}.game-shell:has(.battle-layout) .wordmark{letter-spacing:1px;font-size:12px}.game-shell:has(.battle-layout) .wordmark span{display:none}.game-shell:has(.battle-layout) .nav-center{display:none}.game-shell:has(.battle-layout) .nav-tools{gap:14px}.game-shell:has(.battle-layout) .nav-tools button{font-size:10px}.game-shell:has(.battle-layout) .nav-tools svg{width:13px;height:13px}.game-shell:has(.battle-layout) .battle-layout{height:calc(100svh - 28px)}.battle-layout .tactical-minimap{cursor:crosshair;background:#18211a;border:1px solid #8c8963;flex-shrink:0;align-self:center;width:136px;height:75px}.battle-layout .hud-selection{grid-template-columns:minmax(80px,1fr) auto;gap:3px 10px;padding:3px 6px;display:grid}.battle-layout .hud-selection .tactical-minimap{grid-area:1/2/4}.battle-layout .hud-selection strong,.battle-layout .hud-selection>span,.battle-layout .hud-selection>button{grid-column:1}.battle-layout .tactical-help-toggle{top:auto;bottom:max(min(26svh,340px) + 8px,158px);right:12px}.battle-layout .map-zoom{flex-shrink:0;align-items:center;gap:4px;display:flex}@media (max-width:1100px){.battle-layout .hud-selection{gap:2px;padding:2px;display:flex}.battle-layout .hud-selection strong,.battle-layout .hud-selection>span,.battle-layout .hud-selection>button{display:none}.battle-layout .tactical-minimap{width:100%;min-width:90px;height:89px}}.battle-layout .ja2-hud{flex-shrink:0;min-width:0;position:relative}.battle-layout .ja2-strip{background:linear-gradient(#3e4435,#252c23);border-top:1px solid #676c50;flex-shrink:0;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) 230px;gap:6px;height:min(26svh,340px);min-height:150px;padding:5px 8px;display:grid;position:relative;overflow:hidden}.battle-layout .ja2-roster{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;min-width:0;min-height:0;margin:0;padding:0;list-style:none;display:grid;overflow:hidden}.battle-layout .ja2-portrait-cell{color:#e3dfbf;cursor:pointer;text-align:left;background:#18211d;border:1px solid #747558;border-radius:0;flex-direction:column;align-items:stretch;gap:2px;min-width:0;min-height:0;padding:3px;display:flex;overflow:hidden}.battle-layout .ja2-portrait-cell.active{background:#2f3b29;border:2px solid #e0cf7c;padding:2px}.battle-layout .ja2-portrait-cell.fallen{border-style:dashed}.battle-layout .ja2-portrait-face{flex-shrink:0;height:64px;min-height:40px;display:block;overflow:hidden}.battle-layout .ja2-portrait-face img{object-fit:cover;object-position:center 35%;border:1px solid #616148;width:100%;height:100%;display:block}.battle-layout .ja2-portrait-face .portrait-fallback{background:#4c503b;place-items:center;width:100%;height:100%;font:20px Georgia;display:grid}.battle-layout .ja2-vitals{flex-shrink:0;gap:3px;height:24px;display:flex}.battle-layout .ja2-vitals>span{background:#111813;border:1px solid #515540;flex:1;min-width:0;position:relative}.battle-layout .ja2-vitals i{width:100%;position:absolute;bottom:0;left:0}.battle-layout .ja2-vitals .health{background:#e23a39}.battle-layout .ja2-vitals .action{background:#b9ae61}.battle-layout .ja2-vitals .energy{background:#4a98e7}.battle-layout .ja2-vitals .bandaged{background:#f09eba}.battle-layout .ja2-portrait-face{position:relative}.battle-layout .ja2-bleeding-mark{color:#ffe0cc;background:#611e18e8;padding:2px;font:9px monospace;position:absolute;bottom:2px;left:2px}.battle-layout .ja2-action-readout{flex-wrap:wrap;flex-shrink:0;gap:2px 8px;font-size:10px;display:flex}.battle-layout .ja2-action-readout strong{color:#eee0a8}.battle-layout .ja2-action-readout small{color:#bdc3aa;flex-basis:100%;font-size:9px}.battle-layout .ja2-action-readout .ja2-noise-readout{color:#efd28c}.battle-layout .ja2-equipped-slots{flex-wrap:wrap;flex-shrink:0;gap:4px;display:flex}.battle-layout .ja2-equipped-slots button{color:#efe5c9;background:#1b2921;border:1px solid #778371;padding:4px 7px;font-size:10px}.battle-layout .ja2-equipped-slots button[aria-pressed=true]{opacity:1;color:#fff0b5;background:#39452f;border-color:#e0cf7c}.battle-layout .ja2-equipped-help{color:#d3d9bf;flex-shrink:0;margin:0;font-size:10px;line-height:1.35}.battle-layout .ja2-target-preview{z-index:12;color:#f0e7c9;pointer-events:none;background:#172a21ee;border:1px solid #b9ba85;flex-direction:column;gap:3px;max-width:min(360px,100% - 24px);padding:8px 10px;font-size:11px;display:flex;position:absolute;top:34px;left:12px}.battle-layout .ja2-target-preview.unavailable{color:#f1c7ad;border-color:#d28e70}.battle-layout details.ja2-target-preview{pointer-events:auto;padding:0;display:block}.battle-layout .ja2-target-preview>summary{cursor:pointer;padding:4px 7px;font-size:10px}.battle-layout .ja2-preview-details{flex-direction:column;gap:3px;max-height:30vh;padding:6px 9px;display:flex;overflow:auto}.battle-layout .hand-slot.medical{grid-column:1/-1;min-height:50px}.battle-layout .hand-slot.medical>b{color:#e0cfba;font-size:20px}.battle-layout .ja2-equipped-slots button:disabled:not([aria-pressed=true]),.battle-layout .ja2-order-grid button:disabled,.battle-layout .ja2-stance-grid button:disabled{opacity:.4;cursor:default}.battle-layout .ja2-weapon-line{white-space:nowrap;text-overflow:ellipsis;color:#b2b49a;flex-shrink:0;font-size:9px;overflow:hidden}.battle-layout .ja2-context{flex-direction:column;gap:5px;min-width:0;min-height:0;display:flex;overflow-y:auto}.battle-layout .ja2-order-grid{flex-wrap:wrap;flex:1 0 28px;align-content:flex-start;gap:3px;min-height:28px;display:flex;overflow-y:auto}.battle-layout .ja2-order-grid button{color:#ece5d3;white-space:nowrap;background:0 0;border:1px solid #566366;align-items:center;gap:4px;padding:4px 5px;font-size:9px;display:inline-flex}.battle-layout .ja2-order-grid button svg{flex-shrink:0;width:14px;height:14px}.battle-layout .ja2-order-grid button.selected{background:#2f3b29;border-color:#e0cf7c}.battle-layout .ja2-shot-locations{align-items:center;gap:3px;display:inline-flex}.battle-layout .ja2-shot-locations button[aria-pressed=true]{background:#2f3b29;border-color:#e0cf7c}.battle-layout .ja2-shot-controls{flex-wrap:wrap;flex-shrink:0;gap:4px 8px;font-size:9px;display:flex}.battle-layout .ja2-shot-controls>span{align-items:center;gap:3px;display:inline-flex}.battle-layout .ja2-shot-controls button{color:#ece5d3;background:0 0;border:1px solid #566366;padding:3px 5px;font-size:9px}.battle-layout .ja2-shot-controls button[aria-pressed=true]{background:#2f3b29;border-color:#e0cf7c}.battle-layout .ja2-shot-controls button:disabled{opacity:.4;cursor:default}.battle-layout .ja2-context-footer{flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:4px;margin-top:auto;display:flex}.battle-layout .ja2-context-footer .line-button{width:auto;padding:4px 8px;font-size:10px}.battle-layout .ja2-context-footer .gold-button.end-turn{align-self:center;margin-top:0}.battle-layout .ja2-interrupt-banner{color:#ffedbe;background:#4a3c20;border-bottom:2px solid #d8af57;flex-wrap:wrap;flex-shrink:0;align-items:center;gap:6px 12px;padding:7px 12px;font-size:11px;display:flex}.battle-layout .ja2-interrupt-banner>div:first-child{flex-direction:column;gap:2px;display:flex}.battle-layout .ja2-interrupt-banner strong{letter-spacing:.06em;font-size:15px}.battle-layout .ja2-interrupt-banner>.line-button{background:#231e13;margin-left:auto;padding:5px 8px;font-size:11px}.battle-layout .ja2-interrupt-units{flex-wrap:wrap;gap:4px;display:flex}.battle-layout .ja2-interrupt-units button{color:#fff1c5;background:#2c291c;border:1px solid #b9a777;padding:4px 6px;font-size:10px}.battle-layout .ja2-interrupt-units button[aria-pressed=true]{background:#675626;border-color:#ffe197}.battle-layout .ja2-portrait-cell.interrupt-ready{box-shadow:inset 0 0 0 1px #d8af57}.battle-layout .ja2-portrait-cell:disabled:not(.fallen){opacity:.5}.battle-layout .ja2-artillery{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:4px;font-size:10px;display:flex}.battle-layout .ja2-artillery .eyebrow{letter-spacing:1px;flex-basis:100%;margin:0;font-size:8px}.battle-layout .ja2-artillery select{color:#e9dfc5;background:#182d2d;border:1px solid #667b6a;max-width:100%;padding:3px;font-size:10px}.battle-layout .ja2-artillery .line-button{width:auto;padding:3px 6px;font-size:9px}.battle-layout .ja2-artillery small{color:#aeb998;flex-basis:100%;font-size:9px}.battle-layout .ja2-context>.line-button{flex-shrink:0;align-self:flex-start;width:auto;padding:4px 8px;font-size:10px}.battle-layout .ja2-context .gold-button.end-turn{flex-shrink:0;align-self:flex-end;margin-top:auto;padding:6px 12px;font-size:12px}.battle-layout .ja2-right{flex-direction:column;gap:4px;min-width:0;min-height:0;font-size:11px;display:flex;overflow-y:auto}.battle-layout .ja2-radar{flex-direction:column;flex-shrink:0;align-items:center;gap:3px;display:flex}.battle-layout .ja2-radar .tactical-minimap{flex-shrink:0;width:136px;height:75px}.battle-layout .ja2-radar .map-zoom{align-items:center;gap:2px;display:flex}.battle-layout .ja2-radar .map-zoom button{width:22px;min-height:18px;padding:0;font-size:12px}.battle-layout .ja2-radar .map-zoom span{text-align:center;min-width:28px;font-size:9px}.battle-layout .ja2-locale{flex-shrink:0}.battle-layout .ja2-locale .eyebrow{letter-spacing:1px;margin:0 0 2px;font-size:8px}.battle-layout .ja2-locale h3{margin:0;font:16px Georgia,serif}.battle-layout .ja2-locale p{color:#b2b49a;margin:1px 0;font-size:10px}.battle-layout .ja2-garrison-toggle{background:#293126;border:1px solid #596346;flex-shrink:0;padding:2px 6px;font-size:10px}.battle-layout .ja2-garrison-toggle summary{cursor:pointer}.battle-layout .ja2-garrison-toggle .squad-strip{flex-wrap:wrap;gap:4px;padding:4px 0;display:flex}.battle-layout .ja2-garrison-toggle .squad-card{text-align:left;min-width:100px;max-width:100%;padding:4px;font-size:10px}.battle-layout .ja2-garrison-toggle .squad-card.fallen{opacity:.6}.battle-layout .ja2-log-overlay{z-index:40;background:#202c25f2;border:1px solid #93906a;width:min(480px,100% - 16px);max-height:38svh;padding:6px 10px;font-size:11px;position:absolute;bottom:calc(100% + 6px);right:8px;overflow:auto}.battle-layout .ja2-log-overlay .line-button{width:auto;padding:3px 8px;font-size:9px}.battle-layout .ja2-log-overlay p{margin:2px 0}.battle-layout .ja2-log-overlay .latest{color:#e0cf7c}.battle-layout .ja2-strip.inventory-open{grid-template-columns:minmax(0,1fr)}.battle-layout .ja2-inventory{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr) minmax(0,.8fr) minmax(0,1.1fr) 230px;gap:5px;min-width:0;height:100%;min-height:0;display:grid;overflow:hidden}.battle-layout .ja2-inv-header{min-width:0;min-height:0;overflow:hidden}.battle-layout .ja2-inv-header .portrait{background:#4c503b;border:1px solid #616148;height:84px;overflow:hidden}.battle-layout .ja2-inv-header .portrait img{object-fit:cover;object-position:center 30%;width:100%;height:100%;display:block}.battle-layout .ja2-inv-header .portrait span{place-items:center;height:100%;font:22px Georgia;display:grid}.battle-layout .ja2-inv-header h2{margin:2px 0 0;font:17px Georgia,serif}.battle-layout .ja2-inv-header span{color:#b2b49a;font-size:10px}.battle-layout .ja2-stats{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:2px 10px;min-width:0;min-height:0;font-size:10px;display:grid;overflow-y:auto}.battle-layout .ja2-stats>div{white-space:normal;justify-content:space-between;gap:6px;min-width:0;display:flex}.battle-layout .ja2-stats span{color:#b2b49a}.battle-layout .ja2-stats b{color:#e3dfbf;flex-shrink:0;font-weight:400}.battle-layout .ja2-stats p{grid-column:1/-1;margin:2px 0}.battle-layout .ja2-stats details{grid-column:1/-1}.battle-layout .ja2-stance-grid{flex-direction:column;gap:4px;min-width:0;min-height:0;display:flex;overflow-y:auto}.battle-layout .ja2-stance-grid>div{flex-wrap:wrap;gap:3px;display:flex}.battle-layout .ja2-stance-grid button{color:#ece5d3;white-space:nowrap;background:0 0;border:1px solid #566366;padding:4px 5px;font-size:9px}.battle-layout .ja2-stance-grid button.active{background:#2f3b29;border-color:#e0cf7c}.battle-layout .paper-doll{grid-template-columns:1fr 1fr;align-content:start;gap:4px;min-width:0;min-height:0;display:grid;overflow-y:auto}.battle-layout .hand-slot{color:#e3dfbf;cursor:pointer;background:#18211d;border:1px solid #747558;flex-direction:column;align-items:center;gap:3px;min-height:64px;padding:4px;font-size:9px;display:flex}.battle-layout .hand-slot.primary{border-style:solid}.battle-layout .hand-slot.blade{border-style:double}.battle-layout .hand-slot.active{background:#2f3b29;border:2px solid #e0cf7c}.battle-layout .hand-slot img{object-fit:contain;max-width:100%;max-height:44px}.battle-layout .hand-slot span{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.battle-layout .paper-readouts{grid-column:1/-1;gap:8px;display:flex}.battle-layout .paper-readouts .armor,.battle-layout .paper-readouts .weight,.battle-layout .paper-readouts .camo{text-align:center;flex:1;font-size:10px}.battle-layout .paper-readouts small{letter-spacing:1px;color:#b2b49a;font-size:8px;display:block}.battle-layout .slot-grid{grid-column:1/3;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;min-height:0;max-height:132px;display:grid;overflow-y:auto}.battle-layout .slot-cell{background:#1c251f;border:1px solid #565d45;min-height:34px;padding:3px;font-size:9px;overflow:hidden}.battle-layout .slot-cell.equippable{background:#232b1f;border-color:#8d917e}.battle-layout .slot-cell span{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.battle-layout .slot-cell .line-button{width:auto;margin-top:2px;padding:2px 4px;font-size:8px}.battle-layout .pertrechos{grid-column:3/5;min-width:0;min-height:0;font-size:10px;overflow:hidden}.battle-layout .pertrechos .eyebrow{letter-spacing:1px;margin:0 0 2px;font-size:8px}.battle-layout .pertrechos p{margin:2px 0}.battle-layout .pertrechos small{color:#b2b49a}.battle-layout .ja2-inventory .ja2-right{grid-area:1/5/3}.battle-layout .ja2-inventory .ja2-done{flex-shrink:0;width:100%;padding:6px 10px;font-size:11px;position:sticky;bottom:0}@media (max-width:1100px){.battle-layout .ja2-strip{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 180px}.battle-layout .ja2-radar .tactical-minimap{width:100%;min-width:0;height:70px}.battle-layout .ja2-inventory{flex-wrap:wrap;display:flex;overflow-y:auto}.battle-layout .ja2-inventory>*{flex:200px;min-height:0}.battle-layout .ja2-inventory .ja2-right{flex:180px}.battle-layout .slot-grid{grid-column:auto;grid-template-columns:repeat(3,minmax(0,1fr))}.battle-layout .pertrechos{grid-column:auto}}@media (max-width:700px){.battle-layout .ja2-strip{grid-template-rows:none;grid-template-columns:minmax(0,1fr);height:auto;max-height:52svh;overflow-y:auto}.battle-layout .ja2-roster{grid-template-columns:repeat(6,minmax(78px,1fr));overflow-x:auto}.battle-layout .ja2-portrait-face{height:58px}.battle-layout .ja2-right{width:auto}.battle-layout .ja2-strip.inventory-open{max-height:70svh}.battle-layout .ja2-inventory{flex-direction:column;height:auto;display:flex;overflow-y:auto}.battle-layout .slot-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none}}.battle-layout .ja2-portrait-cell{grid-template-rows:minmax(64px,1fr) auto auto auto;grid-template-columns:minmax(0,1fr) 19px;gap:3px;display:grid}.battle-layout .ja2-portrait-face{grid-area:1/1;height:100%;min-height:0}.battle-layout .ja2-vitals{grid-area:1/2;gap:2px;height:100%}.battle-layout .ja2-vitals>span{flex:0 0 5px}.battle-layout .ja2-portrait-cell .portrait-name,.battle-layout .ja2-weapon-line,.battle-layout .ja2-portrait-cell .portrait-numbers{grid-column:1/-1}.battle-layout .ja2-radar .tactical-minimap{height:62px}.battle-layout .ja2-locale h3{white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.battle-layout .ja2-locale .eyebrow,.battle-layout .ja2-locale p:last-child{display:none}.battle-layout .ja2-right>.retreat-button{margin:0;padding:4px 8px;font-size:10px}@media (min-width:1101px){.battle-layout .ja2-inventory{grid-template-rows:minmax(0,1fr) 34px;grid-template-columns:115px minmax(180px,1.1fr) minmax(140px,.9fr) minmax(150px,1fr) minmax(130px,.8fr) 230px}.battle-layout .ja2-inv-header{grid-area:1/1}.battle-layout .ja2-inv-header .portrait{width:64px;height:84px}.battle-layout .ja2-stats{grid-area:1/2}.battle-layout .ja2-stance-grid{grid-area:1/3}.battle-layout .paper-doll{grid-area:1/4}.battle-layout .slot-grid{grid-area:1/5;grid-template-rows:repeat(4,minmax(28px,1fr));grid-template-columns:repeat(3,minmax(0,1fr));max-height:none}.battle-layout .slot-cell{min-height:28px;overflow:auto}.battle-layout .pertrechos{border-top:1px solid #52645a;grid-area:2/1/auto/6}.battle-layout .pertrechos .eyebrow,.battle-layout .pertrechos small{display:none}.battle-layout .ja2-inventory .ja2-right{grid-area:1/6/3}}@media (max-width:700px){.battle-layout .ja2-portrait-cell{min-height:120px}.battle-layout .ja2-inventory{flex-direction:row}.battle-layout .ja2-inv-header{min-height:115px}.battle-layout .ja2-inventory>*{flex:0 0 100%}.battle-layout .ja2-stats,.battle-layout .ja2-stance-grid,.battle-layout .paper-doll{overflow:visible}.battle-layout .ja2-inventory .ja2-right{flex-basis:100%}}.battle-layout .ja2-inventory .ja2-radar .tactical-minimap{height:48px}.battle-layout .ja2-hand-management{flex-wrap:wrap;grid-column:1/-1;gap:3px;display:flex}.battle-layout .ja2-pocket-count{color:#d3cfb0;grid-column:1/-1;margin:0;font-size:10px}.battle-layout .ja2-hand-management button{padding:3px 5px;font-size:9px}.battle-layout .ja2-tool-selector{color:#d3cfb0;flex-direction:column;grid-column:1/-1;gap:3px;font-size:10px;display:flex}.battle-layout .ja2-tool-selector select{color:#e3dfbf;background:#18211d;border:1px solid #747558;width:100%;min-width:0;padding:4px;font-size:10px}.battle-layout .ja2-supply-items{flex-wrap:wrap;gap:3px;display:flex}.battle-layout .ja2-supply-items button{padding:3px 5px;font-size:9px}.battle-layout .ja2-supply-items button[aria-pressed=true]{background:#2f3b29;border-color:#e0cf7c}.battle-layout .ja2-item-handling{flex-wrap:wrap;align-items:flex-end;gap:5px;margin-top:5px;display:flex}.battle-layout .ja2-item-handling label{flex-direction:column;gap:2px;min-width:0;font-size:9px;display:flex}.battle-layout .ja2-item-handling select,.battle-layout .ja2-item-handling input{color:#e3dfbf;background:#18211d;border:1px solid #747558;min-width:0;max-width:210px;height:26px;padding:3px 5px;font-size:10px}.battle-layout .ja2-item-handling input{width:62px}.battle-layout .ja2-item-handling button{height:26px;padding:3px 6px;font-size:10px}.battle-layout .ja2-item-feedback{color:#d3cfb0;white-space:normal;font-size:10px}.battle-layout .ja2-nearby-loot{border-top:1px solid #52645a;max-height:120px;margin-top:5px;padding-top:4px;font-size:10px;overflow:auto}.battle-layout .ja2-nearby-loot summary{cursor:pointer;color:#e3dfbf}.battle-layout .ja2-inventory .pertrechos{overflow-y:auto}@media (min-width:701px){.battle-layout .ja2-strip.inventory-open{height:min(48svh,420px);min-height:300px}}@media (min-width:1101px){.battle-layout .ja2-inventory{grid-template-rows:minmax(0,1fr) minmax(100px,auto)}}@media (max-width:700px){.battle-layout .ja2-inventory .pertrechos{overflow:visible}.battle-layout .ja2-item-handling label:first-child{flex-basis:calc(100% - 72px)}.battle-layout .ja2-item-handling label:first-child select{max-width:none}}@media (min-width:701px) and (max-width:1100px){.battle-layout .ja2-roster{grid-template-columns:repeat(6,78px);overflow-x:auto}}@media (max-width:700px){.battle-layout .ja2-strip{grid-auto-rows:max-content}.battle-layout .ja2-context{min-height:max-content;overflow:visible}.battle-layout .ja2-order-grid{flex:none;min-height:24px;overflow:visible}.battle-layout .ja2-context .gold-button.end-turn{margin-top:0}.battle-layout .tactical-help-toggle{bottom:calc(52svh + 8px)}}.ja2-auto-bandage{border-top:1px solid #766b4e;padding-top:.5rem}.ja2-auto-bandage p{margin:.35rem 0}.ja2-auto-bandage ul{padding-left:1.1rem}.ja2-group-move{color:#eee3c4;background:#253d35;border:1px solid #8c9970;flex-wrap:wrap;align-items:center;gap:.5rem;padding:.6rem .8rem;display:flex}.ja2-group-members{flex-wrap:wrap;gap:.3rem;display:flex}.ja2-group-preview{box-sizing:border-box;flex:0 0 100%;min-width:0;line-height:1.25rem;overflow:auto}.ja2-group-move ul{margin:.25rem 0;padding-left:1.1rem}.ja2-group-move p{margin:.25rem 0}.ja2-portrait-cell.group-selected{outline-offset:-3px;outline:2px solid #aeca81}.ja2-group-tag{color:#d6edb5;font-size:.65rem}.ja2-campaign-return{background:#293126;border-bottom:1px solid #596346;flex-wrap:wrap;flex-shrink:0;align-items:center;gap:.3rem .75rem;padding:.3rem .75rem;display:flex}.ja2-campaign-return .line-button{padding:.2rem .5rem;font-size:.75rem}.ja2-campaign-return small{font-size:.7rem}.ja2-bayonet-control{border:1px solid #76764f;gap:.25rem;padding:.35rem;display:grid}.ja2-bayonet-control small{display:block}.ja2-exit-panel{color:#f1e5c7;background:#24342d;border:1px solid #9e8b5c;gap:.65rem;margin:.5rem 0;padding:1rem;display:grid}.ja2-exit-panel header{justify-content:space-between;align-items:start;gap:1rem;display:flex}.ja2-exit-panel p{margin:.3rem 0;font-size:.85rem}.ja2-exit-panel select{color:#f1e5c7;background:#18251f;border:1px solid #9e8b5c;max-width:100%;margin-left:.5rem;padding:.35rem}.ja2-exit-selection{flex-wrap:wrap;gap:.4rem;display:flex}.ja2-exit-panel fieldset{border:1px solid #736f51;gap:.35rem;padding:.6rem;display:grid}.ja2-exit-unit{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.ja2-exit-unit small{margin-left:auto}.ja2-exit-note,.ja2-departure-notice{color:#d4c69f;font-size:.8rem}.ja2-departure-notice{background:#24342d;padding:.5rem}@media (max-width:600px){.ja2-exit-panel header{flex-wrap:wrap}.ja2-exit-unit small{flex-basis:100%;margin-left:1.5rem}}.ja2-loot-dialog{box-sizing:border-box;color:#f0e6c9;background:#263329;border:1px solid #b6a46c;width:min(440px,100vw - 32px);max-height:calc(100svh - 32px);margin:auto;padding:18px;overflow:auto;box-shadow:0 16px 64px #0009}.ja2-loot-dialog::backdrop{background:#07140dbb}.ja2-loot-dialog header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.ja2-loot-dialog h2{margin:0;font-size:20px}.ja2-loot-dialog p{font-size:13px;line-height:1.5}.ja2-loot-dialog header p{margin:4px 0}.ja2-loot-dialog label{gap:5px;margin:12px 0;font-size:13px;display:grid}.ja2-loot-dialog select,.ja2-loot-dialog input{box-sizing:border-box;color:#f0e6c9;width:100%;min-width:0;font:inherit;background:#13251b;border:1px solid #8e956e;padding:8px}.ja2-loot-dialog :focus-visible{outline-offset:3px;outline:2px solid #f4d882}.ja2-loot-dialog .gold-button{width:100%;margin-top:8px}.ja2-loot-select{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.ja2-loot-list{overscroll-behavior:contain;border-block:1px solid #667353;max-height:42svh;overflow:auto}.ja2-loot-row{border-bottom:1px solid #46583f;grid-template-columns:minmax(0,1fr) 76px;gap:12px;padding:10px 2px;display:grid}.ja2-loot-row:last-child{border-bottom:0}.ja2-loot-dialog .ja2-loot-choice{align-items:flex-start;gap:8px;margin:0;display:flex}.ja2-loot-dialog .ja2-loot-choice input{accent-color:#cfbc7e;flex-shrink:0;width:17px;height:17px;margin:3px 0}.ja2-loot-choice span{min-width:0}.ja2-loot-choice strong,.ja2-loot-choice small{overflow-wrap:anywhere;line-height:1.5;display:block}.ja2-loot-choice small{color:#d1d8bf}.ja2-loot-row p{margin:5px 0 0 25px;font-size:12px}.ja2-loot-dialog .ja2-loot-quantity{align-content:start;margin:0}.ja2-loot-dialog footer{padding-top:8px}.battle-layout .ja2-roster.multiple-squads{overscroll-behavior-x:contain;grid-template-columns:none;grid-auto-columns:minmax(78px,calc(16.6667% - 4.16667px));grid-auto-flow:column;overflow-x:auto}.battle-layout .tactical-notices{top:0}.battle-layout .tactical-notices:has(>.ja2-interrupt-banner){top:48px}.battle-layout .battle-header.tactical-map-toolbar{color:#f1ead7;background:#202e25;flex:none;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:8px;height:auto;min-height:36px;padding:4px 8px;display:grid;position:relative}.battle-layout .tactical-map-toolbar h1{text-overflow:ellipsis;white-space:nowrap;color:#f3ead5;grid-column:2;min-width:0;max-width:none;margin:0;font-size:14px;line-height:1.2;overflow:hidden}.battle-layout .tactical-map-toolbar .battle-status{color:#e9eddf;white-space:nowrap;flex-wrap:nowrap;grid-column:3;align-items:center;gap:8px;max-width:none;font-size:11px;display:flex}.battle-layout .battle-phase{align-items:center;gap:5px;display:inline-flex}.battle-layout .tactical-map-toolbar .enemy-count{color:#e9b99d;border-left:1px solid #6d7a64;margin:0;padding:0 0 0 8px;display:inline}.battle-layout .map-toolbar-actions{grid-column:4;align-items:center;gap:6px;display:flex}.battle-layout .map-order-mode{text-overflow:ellipsis;white-space:nowrap;color:#eddda8;max-width:110px;font-size:11px;overflow:hidden}.battle-layout .tactical-map-toolbar .line-button{color:#fff3cb;white-space:nowrap;background:#1a2a20;border:1px solid #839271;border-radius:3px;min-height:27px;padding:3px 7px;font-size:12px;line-height:1.25}.battle-layout .tactical-map-toolbar button:hover:not(:disabled){background:#42543a;border-color:#ddcf94}.battle-layout .tactical-map-toolbar :focus-visible{outline-offset:1px;outline:2px solid #f4d882}.battle-layout .tactical-map-toolbar .ja2-campaign-return{background:0 0;border:0;grid-column:1;margin:0;padding:0}.battle-layout .tactical-map-toolbar .tactical-help-toggle{position:static;inset:auto}.battle-layout #tactical-key-reference{max-height:calc(100svh - 88px);font-size:13px;top:72px;right:8px}.battle-layout #tactical-key-reference h2{font-size:20px}.battle-layout #tactical-key-reference .map-order-help{border-left:2px solid #d7bf7c;padding-left:10px}.battle-layout #tactical-camera-panel{z-index:50;color:#f1e5c7;background:#20332c;border:1px solid #95a27f;width:max-content;max-width:calc(100% - 16px);max-height:min(280px,60svh);padding:10px;font-size:12px;position:absolute;top:calc(100% + 4px);right:8px;overflow:auto;box-shadow:0 5px 20px #0008}.battle-layout .map-camera-controls,.battle-layout .map-camera,.battle-layout .map-zoom{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.battle-layout .map-camera-controls{gap:8px 12px}.battle-layout .map-control-label{color:#e0e5d3;width:auto;min-width:0;margin-right:3px}.battle-layout .map-camera-controls button{color:#fff3cb;background:#1a2a20;border:1px solid #839271;border-radius:3px;min-width:28px;height:28px;padding:0 6px;font-size:16px}.battle-layout .map-camera-controls button.map-center{width:auto;font-size:12px}.battle-layout .map-zoom output{text-align:center;color:#fff0bb;min-width:38px;font:12px/1.2 ui-monospace,monospace}.battle-layout .map-reference{flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.battle-layout #tactical-camera-panel p{color:#d5ddcb;margin:8px 0 0;font-size:11px}@media (max-width:650px){.battle-layout .battle-header.tactical-map-toolbar{gap:4px 8px}.battle-layout .tactical-map-toolbar h1{grid-column:2/5}.battle-layout .tactical-map-toolbar .battle-status{grid-area:2/1/auto/3}.battle-layout .map-toolbar-actions{grid-area:2/3/auto/5;justify-content:flex-end}.battle-layout .map-order-mode{max-width:85px}.battle-layout .tactical-map-toolbar .enemy-count{display:none}.battle-layout #tactical-key-reference{max-height:calc(100svh - 110px);top:94px}}.ammunition-load-choice{text-align:left;flex-direction:column;gap:6px;width:100%;min-width:0;display:flex}.ammunition-load-choice label,.ammunition-load-choice select{box-sizing:border-box;width:100%;max-width:100%;display:block}.ammunition-load-choice small{white-space:normal}.corpse-blood-spread{transform-box:fill-box;transform-origin:50%;animation:.7s ease-out both corpse-blood-settle}.tactical-noise-direction{animation:2.4s ease-out both tactical-noise-fade}@keyframes corpse-blood-settle{0%{opacity:.45;transform:scale(.45)}to{opacity:1;transform:scale(1)}}@keyframes tactical-noise-fade{0%{opacity:0}15%,55%{opacity:.7}to{opacity:0}}@media (prefers-reduced-motion:reduce){.corpse-blood-spread{animation:none}.tactical-noise-direction{animation-duration:10ms}}.battle-layout .tactical-three-canvas{pointer-events:none;width:100%;height:100%;display:block;position:absolute;inset:0}.battle-layout .tactical-field{background:0 0;position:relative}.tactical-three-status{z-index:5;color:#eee6c7;pointer-events:none;background:#19261de8;border:1px solid #8a8565;padding:10px 18px;font-size:13px;position:absolute;top:45%;left:50%;transform:translate(-50%,-50%)}.tactical-three-status.failed{pointer-events:auto;background:#412a22ed}.tactical-three-status button{color:#eee6c7;cursor:pointer;background:#19261d;border:1px solid #b4a678;margin:10px auto 0;padding:6px 10px;display:block}
