/* Arsenal: presentation-only inventory layout. Uses the existing Light Atlas plates. */
.world-game.edge-to-edge-map dialog.equipment-dialog:not(.restart-dialog){
 width:calc(100vw - 16px);max-width:1600px;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);
 padding:14px 22px 18px;margin:auto;overflow:hidden;border-width:8px;
 border-image:var(--atlas-frame) 120 180 / 14px / 0 stretch;background:#f7f2eb var(--atlas-paper);background-blend-mode:multiply
}
.world-game.edge-to-edge-map dialog.equipment-dialog[open]{display:flex;flex-direction:column}
.world-game.edge-to-edge-map dialog.equipment-dialog>.dialog-header{
 flex:none;position:relative;top:auto;background:none;margin:0 0 16px;padding:0 8px 12px;min-height:54px;align-items:center
}
.world-game.edge-to-edge-map dialog.equipment-dialog>.dialog-header h2{font-size:38px;line-height:1.15;margin:0}
.world-game.edge-to-edge-map .equipment-dialog .arsenal-header-tools{display:flex;align-items:center;gap:22px}
.world-game.edge-to-edge-map .equipment-dialog .arsenal-gold{display:flex;align-items:center;gap:8px;font:600 26px Georgia,serif;font-variant-numeric:tabular-nums}
.world-game.edge-to-edge-map .equipment-dialog .arsenal-gold .icon{color:#8a641c;width:26px;height:26px}
.world-game.edge-to-edge-map .equipment-dialog :is(.collection,#equipment-fixture-content){display:block;min-height:0;flex:1;overflow:hidden}
.world-game.edge-to-edge-map .arsenal-workspace{
 --arsenal-line:#b49a68;--arsenal-soft:#ead7b0;display:grid;height:100%;min-height:0;gap:0;
 grid-template-columns:minmax(0,.95fr) minmax(0,1.2fr) minmax(0,1fr);align-items:stretch
}
.arsenal-mobile-nav{display:none}
.world-game.edge-to-edge-map .arsenal-workspace>div{min-width:0;min-height:0;padding:0 20px;overflow:auto;scrollbar-width:thin;scrollbar-color:#92703c #f1dfb8;scroll-padding:8px}
.world-game.edge-to-edge-map .arsenal-workspace>.arsenal-loadout{padding-left:4px;padding-right:22px}
.world-game.edge-to-edge-map .arsenal-workspace>.arsenal-bag-column{border-inline:1px solid var(--arsenal-line);display:flex;flex-direction:column}
.world-game.edge-to-edge-map .arsenal-workspace>.arsenal-inspector{padding-right:4px}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-section-heading{margin:0 0 14px;gap:12px;align-items:center;min-height:30px}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-section-heading h3{
 font:600 clamp(18px,1.5vw,24px)/1.25 Georgia,serif;color:#183b30;flex:none;max-width:85%;text-wrap:balance
}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-section-heading::after{content:"";height:1px;flex:1;background:#b49a68}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-section-heading>span{order:2;white-space:nowrap;color:#60563e;font-size:12px}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-board{width:100%;max-width:none;padding:0;border:0;border-image:none;background:none;border-radius:0}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-diagram{grid-template-columns:repeat(2,minmax(0,1fr));padding:0;gap:12px}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-slot{gap:5px;padding:8px;border:1px solid #c2ab7b;border-radius:6px;background:#ead8b14d;min-height:165px;align-content:start}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-slot-name{min-height:0;font:16px/1.25 Georgia,serif;display:block;color:#254736}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-slot-button{
 width:100%;max-width:146px;height:112px;padding:7px;border:1px solid #c2ab7b;border-radius:5px;background:#e6d3ab66;
 display:flex;flex-direction:column;justify-content:center;gap:6px;box-sizing:border-box
}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-slot-button:disabled{color:#77633c;opacity:1;border-style:solid}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-slot-button .item-art{height:96px;width:100%;max-width:96px;aspect-ratio:auto;background:transparent;border-radius:4px}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-slot-button .item-art--card{width:64px;max-width:100%}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-slot>small{display:block;max-width:100%;font-size:11px;color:#60563e}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-slot.is-selected{border-color:#8d6b2c}
.world-game.edge-to-edge-map .arsenal-workspace :is(.equipment-slot,.equipment-personal-seat).is-selected .equipment-slot-button{outline:2px solid #9b722f;outline-offset:2px}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-slot-empty{display:grid;place-items:center;gap:7px;color:#78623f;font-size:12px}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-slot-empty svg{width:48px;height:48px;stroke:#aa905e;fill:none;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-board{margin-top:20px;padding-top:16px;border-top:1px solid var(--arsenal-line)}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-intro{font-size:12px;line-height:1.45;margin:0 0 12px;color:#60563e}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-seats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:stretch}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-seat{display:flex;flex-direction:column;gap:12px;min-width:0;text-align:center}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-fighter{gap:4px;width:100%}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-fighter>img{max-height:clamp(120px,calc((100dvh - 440px)*.29),182px);aspect-ratio:2/3;width:100%;object-fit:contain;border-radius:5px}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-fighter>strong{font-size:11px;font-weight:600;line-height:1.35;min-height:30px;-webkit-line-clamp:2}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-fighter>small{font-size:11px;color:#60563e}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-slot{display:flex;flex-direction:column;gap:6px;align-items:center;width:100%;margin-top:auto}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-slot>span{font:13px/1.35 Georgia,serif;color:#31503c}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-slot>small{font-size:11px;line-height:1.4}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-slot .equipment-slot-button{height:104px;min-width:44px}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-slot .item-art{height:88px}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-slot .item-art--card{width:59px}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-seat.is-empty{min-height:250px;border:1px dashed #b59e71;border-radius:6px;padding:12px 8px;justify-content:center}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-seat-empty{font:14px/1.4 Georgia,serif;color:#526045}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-seat-note{font-size:11px;color:#6b614b}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-bag{padding:0;border:0;min-height:0;display:flex;flex-direction:column;flex:1}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-filters{display:flex;gap:8px;margin-bottom:12px;flex:none}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-filters button{flex:1;min-width:0;min-height:44px;padding:8px;border:1px solid #b39762;border-radius:5px;background:#ecdab5;color:#284432;font:16px Georgia,serif;cursor:pointer}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-filters button[aria-pressed=true]{background:#234b39;color:#fff0cc;border:3px double #b8974d;padding:6px}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-filters button:hover:not([aria-pressed=true]){background:#e2cca0}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-grid{grid-template-columns:repeat(3,minmax(0,1fr));min-height:0;max-height:none;gap:14px 10px;padding:4px 5px 10px;align-content:start;flex:1;overscroll-behavior:contain}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-item{position:relative;padding:0 0 5px;gap:5px;background:none;border:0;border-radius:5px;transition:outline-color .15s ease-out}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-item>.item-art{width:100%;background:transparent;border-radius:5px}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-item.is-selected{outline:3px solid #9a722b;outline-offset:2px;background:#e8d5ac}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-item:hover:not(:disabled){background:#e8d5ac;outline:2px solid #ac884b;outline-offset:2px}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-item-name{padding:0 3px;font-size:12px;line-height:1.35;color:#254736}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-item>small{padding:0 3px;font-size:11px;line-height:1.4;color:#60563e}
.world-game.edge-to-edge-map .arsenal-workspace .arsenal-provisions{flex:none;margin-top:16px;padding:12px 10px;border:1px solid #b89a62;border-radius:6px;background:#ecd9ae55}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-supplies{padding:0;margin:0;border:0}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-supplies h3{text-align:center;font:600 18px Georgia,serif;color:#254736}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-supply-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:10px}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-supply{display:grid;grid-template-columns:48px minmax(0,1fr);gap:8px;align-items:center}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-supply>.item-art{width:48px;max-width:none;border-radius:6px}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-supply figcaption{display:flex;margin:0;gap:4px;flex-direction:column;align-items:flex-start;text-align:left;font-size:12px}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-supply strong{font:600 20px Georgia,serif}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-supply small{display:none}
.world-game.edge-to-edge-map .arsenal-workspace .utility-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.world-game.edge-to-edge-map .arsenal-workspace .utility-row .button{font-size:12px;padding:7px;min-height:44px;white-space:normal}
.world-game.edge-to-edge-map .arsenal-workspace :is(.equipment-detail,.equipment-detail.has-whole-card){
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 8px;align-items:start;border:0;padding:0;scroll-margin-top:10px
}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-detail>*{grid-column:1/-1;grid-row:auto;order:2;margin:0;min-width:0}
.world-game.edge-to-edge-map .arsenal-workspace :is(.equipment-detail,.equipment-detail.has-whole-card)>.equipment-detail-art{width:min(100%,clamp(220px,calc((100dvh - 560px)*.666667),340px));float:none;grid-row:auto;order:0;margin:0 auto 4px}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-detail-art>.item-art{background:transparent;border-radius:7px}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-detail>.equipment-equipped-status{grid-column:1;order:3}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-detail>.equipment-activation{grid-column:2;order:3}
.world-game.edge-to-edge-map .arsenal-workspace :is(.equipment-equipped-status,.equipment-activation){padding:9px 8px;border:1px solid #bda674;border-radius:5px;font:14px/1.3 Georgia,serif;text-align:center;color:#6b5738;background:#ecdab566;min-height:39px;box-sizing:border-box}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-activation.is-active{color:#216140;background:#dce4bc66}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-activation>span{font:11px/1.4 system-ui,sans-serif;color:#60563e}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-requirement{order:4;padding-top:5px;gap:9px}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-requirement>span{text-align:center;font-size:13px}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-clan-gems{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-clan-gem{display:grid;grid-template-columns:26px minmax(0,1fr);gap:4px;align-items:center;padding:10px 7px;border:1px solid #bda674;border-radius:5px;font:13px/1.3 Georgia,serif;color:#254736}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-clan-gem small{grid-column:1/-1;font:11px/1.4 system-ui,sans-serif;color:#874827}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-clan-gem.is-met small{color:#296146}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-clan-gem svg{width:24px;height:32px;fill:var(--gem);stroke:#563e29;stroke-width:1;stroke-linejoin:round}
.equipment-clan-gem[data-clan=red]{--gem:#bc3c33}.equipment-clan-gem[data-clan=green]{--gem:#49935c}.equipment-clan-gem[data-clan=violet]{--gem:#9464c7}.equipment-clan-gem[data-clan=blue]{--gem:#6398bd}.equipment-clan-gem[data-clan=gold]{--gem:#c99a36}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-detail-action{order:6;margin-top:4px}
.world-game.edge-to-edge-map dialog.equipment-dialog .arsenal-workspace .equipment-detail-action .equipment-equip{background:#234b39;color:#fff0cc;border:3px double #bd9a4c;border-radius:8px;min-height:52px;font:600 18px/1.25 Georgia,serif;padding:12px;width:100%}
.world-game.edge-to-edge-map dialog.equipment-dialog .arsenal-workspace .equipment-detail-action .equipment-equip:hover:not(:disabled){background:#2c5b43;color:#fff3d7;filter:none}
.world-game.edge-to-edge-map dialog.equipment-dialog .arsenal-workspace .equipment-detail-action .equipment-equip:disabled{background:#dfcfad;color:#685c44;border-color:#b29b6f}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-detail-action>p{text-align:center;font-size:12px;margin:8px 0 4px;color:#60563e}
.world-game.edge-to-edge-map .arsenal-workspace :is(.equipment-promotion,.equipment-personal-assignment){order:5;margin:0;padding-top:10px}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-charges{order:5}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-rules{order:7}
.world-game.edge-to-edge-map .arsenal-workspace .local-artifact-caption{margin-top:10px;font-size:13px}
.world-game.edge-to-edge-map .arsenal-workspace .local-artifact-caption>strong{font-size:14px}
.world-game.edge-to-edge-map .arsenal-workspace .local-artifact-caption[lang=ru]>p{color:#60563e;font-size:13px;line-height:1.5}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-empty{border:0;padding:24px 4px;text-align:center}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-empty p{font:18px/1.4 Georgia,serif;color:#254736}
.world-game.edge-to-edge-map .arsenal-workspace .equipment-empty span{color:#60563e;font-size:13px}
@media(min-width:701px) and (max-height:950px){
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-slot{min-height:136px;padding:6px;gap:4px}
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-slot-button{height:90px}
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-slot-button .item-art{height:76px}
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-slot-button .item-art--card{width:51px}
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-board{margin-top:14px;padding-top:12px}
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-intro{font-size:11px;margin-bottom:8px}
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-seat{gap:8px}
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-slot .equipment-slot-button{height:84px}
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-slot .item-art{height:70px}
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-slot .item-art--card{width:47px}
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-slot>small{font-size:10px}
}
@media(max-width:1100px) and (min-width:701px){
 .world-game.edge-to-edge-map dialog.equipment-dialog:not(.restart-dialog){padding:12px 14px}
 .world-game.edge-to-edge-map .arsenal-workspace{grid-template-columns:minmax(0,.88fr) minmax(0,1fr) minmax(0,1fr)}
 .world-game.edge-to-edge-map .arsenal-workspace>div{padding-inline:12px}
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-seats{gap:6px}
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-slot{padding:6px;min-height:152px}
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-section-heading h3{font-size:18px;flex:1}
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-section-heading::after{display:none}
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-clan-gems{gap:5px}
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-clan-gem{grid-template-columns:1fr;justify-items:center;font-size:12px;padding:7px 3px}
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-supply{grid-template-columns:1fr;justify-items:center}
}
@media(max-width:700px){
 .world-game.edge-to-edge-map dialog.equipment-dialog:not(.restart-dialog){width:calc(100vw - 8px);max-width:calc(100vw - 8px);height:calc(100dvh - 8px);max-height:calc(100dvh - 8px);padding:12px 12px 16px;border-width:5px}
 .world-game.edge-to-edge-map dialog.equipment-dialog>.dialog-header{padding:0 0 10px;margin-bottom:12px;min-height:48px}
 .world-game.edge-to-edge-map dialog.equipment-dialog>.dialog-header h2{font-size:26px}
 .world-game.edge-to-edge-map .equipment-dialog .arsenal-header-tools{gap:10px}
 .world-game.edge-to-edge-map .equipment-dialog .arsenal-gold{font-size:20px}
 .world-game.edge-to-edge-map .equipment-dialog :is(.collection,#equipment-fixture-content){overflow:auto;overscroll-behavior:contain;scroll-padding-top:12px}
 .world-game.edge-to-edge-map .arsenal-workspace{display:flex;flex-direction:column;height:auto;gap:24px}
 .world-game.edge-to-edge-map .arsenal-workspace .arsenal-mobile-nav{display:flex;position:sticky;top:0;z-index:3;gap:6px;padding:4px 0 8px;margin-bottom:-12px;background:#f7f2eb var(--atlas-paper);background-blend-mode:multiply}
 .world-game.edge-to-edge-map .arsenal-workspace .arsenal-mobile-nav button{flex:1;min-width:0;min-height:44px;border:1px solid #92703c;border-radius:5px;background:#e9d7b0;color:#183b30;font:14px Georgia,serif;cursor:pointer}
 .world-game.edge-to-edge-map .arsenal-workspace .arsenal-mobile-nav button:active{background:#234b39;color:#fff0cc}
 .world-game.edge-to-edge-map .arsenal-workspace>div[id]{scroll-margin-top:68px}
 .world-game.edge-to-edge-map .arsenal-workspace>div{overflow:visible;flex:none;padding:0}
 .world-game.edge-to-edge-map .arsenal-workspace>.arsenal-loadout{padding:0}
 .world-game.edge-to-edge-map .arsenal-workspace>.arsenal-bag-column{border:0;border-top:1px solid var(--arsenal-line);padding-top:20px}
 .world-game.edge-to-edge-map .arsenal-workspace>.arsenal-inspector{border-top:1px solid var(--arsenal-line);padding:20px 0 0}
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-section-heading h3{font-size:21px}
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-slot{min-height:150px}
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-seat.is-empty{min-height:170px}
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-grid{max-height:480px;flex:none;overflow:auto;grid-template-columns:repeat(3,minmax(0,1fr))}
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-item-name{font-size:11px}
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-filters{background:#f7f2eb var(--atlas-paper);background-blend-mode:multiply;padding-block:4px}
 .world-game.edge-to-edge-map .arsenal-workspace :is(.equipment-detail,.equipment-detail.has-whole-card)>.equipment-detail-art{width:min(100%,340px)}
 .world-game.edge-to-edge-map .arsenal-workspace .equipment-personal-fighter>img{max-height:none}
}
@media(prefers-reduced-motion:reduce){.world-game.edge-to-edge-map .arsenal-workspace .equipment-item{transition:none}}
