/* Slate-and-gold warehouse, using the live stash and equipment controls. */
body.armory-active #overlay{padding:16px;background:#080d14f2}
body.armory-active #overlay>.modal{max-width:1480px;width:100%;padding:0 24px 16px;background:radial-gradient(ellipse at 84% 45%,#39413944,transparent 45%),linear-gradient(125deg,#1b242d,#10161d 62%,#192027);border:1px solid #84704e;border-radius:4px;box-shadow:0 20px 80px #000b;overflow-y:auto}
body.armory-active #world-panel-bar,body.armory-active #eyebrow,body.armory-active #title,body.armory-active #summary,body.armory-active #camp>.section-title,body.armory-active #camp-tabs,body.armory-active #departure-steps,body.armory-active .modal>.muted{display:none}
#armory{--armory-gold:#d8bd83;--armory-line:#af95623b;color:#e8e7dd;text-align:left}
#armory[hidden]{display:none!important}
#armory button,#armory select{touch-action:manipulation}
#armory button:focus-visible,#armory select:focus-visible{outline:2px solid #f1d99a;outline-offset:3px}
#armory-head{display:flex;align-items:center;gap:26px;min-height:78px;border-bottom:1px solid var(--armory-line);margin-bottom:24px}
#armory-back{border:0;background:none;color:#b9bdbd;padding:12px 0;font-size:14px;white-space:nowrap}
#armory-nav{display:flex;align-self:stretch;gap:26px}
#armory-nav>button{position:relative;background:none;border:0;border-radius:0;color:#acb4b8;font:600 20px 'Noto Serif SC','Songti SC',serif;letter-spacing:2px;padding:15px 4px}
#armory-nav>[aria-current=page]{color:var(--armory-gold)}
#armory-nav>[aria-current=page]::after{position:absolute;content:'';height:3px;background:var(--armory-gold);left:0;right:0;bottom:0;box-shadow:0 -6px 16px #d8bd8329}
#armory-wallet{margin-left:auto;font:600 20px Georgia,'Songti SC',serif;color:#f0d49b;white-space:nowrap}
#armory-body{display:grid;grid-template-columns:minmax(300px,1.5fr) minmax(230px,1fr) minmax(210px,.85fr);gap:24px;align-items:start}
#armory-items,#armory-kit,#armory-hero{min-width:0}
#armory-items{padding-right:20px;border-right:1px solid var(--armory-line)}
#armory .camp-fold{margin:0;border:0;background:none;padding:0;border-radius:0}
#armory .camp-fold>summary,#armory .stash-filters,#armory .stash-info,#armory .stash-actions{display:none}
#armory .camp-fold>div,#armory .camp-fold>section{padding:0}
#armory .section-title{padding:0;margin:0 0 12px;border:0;font-size:13px}
#armory .section-title h3{font-size:14px;color:#c3cbd1;font-weight:400;letter-spacing:2px}
#armory #camp-stash>.note{display:none}
#armory .stash-toolbar{position:relative;display:flex;flex-direction:column;gap:10px;margin:0 0 14px;padding:0;background:none;border:0}
#armory .stash-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}
#armory select{width:100%;min-width:0;max-width:100%;border:1px solid #77808a5c;border-radius:3px;background:#161d25;color:#dce0df;font-size:13px;padding:10px 9px;min-height:42px}
#armory .stash-tools>button{padding:7px 9px;min-height:36px;font-size:12px;background:#25303b;border:1px solid #82939835;border-radius:3px;color:#c1cbd0}
#armory .stash-summary{font-size:11px;line-height:1.6;color:#8d9da8;margin:0}
#armory #stash-bulk-sell{min-height:38px;background:#b29a69;color:#111b23;border:1px solid #dfc48f;border-radius:3px;font-size:13px;padding:8px 12px}
#armory button:disabled{opacity:.4;cursor:not-allowed}
#armory .stash-feedback{margin:0;color:#b1d4bc;font-size:13px}
#armory .stash-feedback:empty{display:none}
#armory .stash-confirm{padding:14px;background:#352c20;border:1px solid #d6b470;border-radius:4px;color:#f7e4b6}
#armory .stash-confirm[hidden]{display:none}
#armory .stash-confirm p{font-size:13px;line-height:1.7}
#armory .stash-confirm button{font-size:13px;margin:5px 5px 0 0;padding:9px 10px;border:1px solid #cfb57e;background:#5f4e31;color:#fff0cb}
#armory #stash-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;max-height:54vh;overflow-y:auto;padding:3px 4px 5px 0;align-content:start}
#armory #stash-list>.note{grid-column:1/-1}
#armory .stash-row{position:relative;display:block;min-width:0;margin:0;padding:0;border:1px solid var(--item-color);border-radius:3px;overflow:hidden;background:linear-gradient(150deg,#51637842,#192028 75%);box-shadow:inset 0 -18px 30px #0002}
#armory .stash-row::before{content:'';position:absolute;pointer-events:none;inset:0;opacity:.16;background:linear-gradient(135deg,var(--item-color),transparent 65%)}
#armory .armory-item-open{display:flex;position:relative;flex-direction:column;align-items:center;width:100%;min-height:132px;padding:14px 5px 7px;border:0;border-radius:0;color:var(--item-color);background:none;gap:2px;text-align:center}
#armory .armory-item-open strong{font-size:11px;line-height:1.5;font-weight:500;overflow-wrap:anywhere;color:#eee9dd}
#armory .armory-item-open small{font-size:10px;color:#c1cbd2}
#armory .armory-icon{width:50px;height:58px;filter:drop-shadow(0 3px 5px #0009)}
#armory .armory-icon svg{width:100%;height:100%}
#armory .armory-check{position:absolute;z-index:2;top:4px;left:4px;appearance:auto;width:18px;height:18px;margin:0;accent-color:#d7b775;cursor:pointer}
#armory .armory-check:disabled{visibility:hidden}
#armory .armory-item-tag{position:absolute;right:0;top:0;color:#17212a;background:var(--item-color);font-size:9px;padding:2px 5px}
#armory .armory-selected{outline:2px solid #ffe4a6;outline-offset:-3px;box-shadow:inset 0 0 24px #e9c78024}
#armory .armory-empty{min-height:132px;border:1px solid #6a79822c;background:#6b7b8a06;border-radius:3px}
.armory-section-title{font-size:13px;color:#aebac3;letter-spacing:3px;border-bottom:1px solid var(--armory-line);padding-bottom:12px;margin-bottom:16px}
#armory #kit-slots{display:grid;grid-template-columns:1fr;gap:10px}
#armory .kit-slot{position:relative;padding:12px 14px;border:1px solid #9da98c4c;border-radius:3px;background:linear-gradient(100deg,#38434d77,#1a232a);min-width:0}
#armory .kit-slot>small{font-size:10px;color:#c4aa7b;letter-spacing:2px}
#armory .kit-slot>strong{font-size:17px;color:#e8e6d9;margin:5px 0;display:block;font-family:'Noto Serif SC','Songti SC',serif}
#armory .kit-slot>span{display:block;font-size:11px;color:#97a9b1;margin-bottom:8px}
#armory #kit-details{border:0;background:none;margin:14px 0;padding:0}
#armory #kit-details>summary{display:none}
#armory #kit-details>div{padding:0}
#armory #loadout-stats{display:grid;grid-template-columns:1fr 1fr;gap:5px 12px;margin:0}
#armory #loadout-stats>div{display:flex;justify-content:space-between;gap:7px;padding:6px 0;border:0;background:none;font-size:11px}
#armory #loadout-stats>div span{color:#8fa2ae}
#armory #loadout-stats>div b{font-size:12px;color:#d9d8ca;font-weight:500;text-align:right}
#armory #kit-note{font-size:11px!important;line-height:1.7!important;color:#8e9ba5;margin:12px 0}
#armory-detail{border-top:1px solid var(--armory-line);margin-top:18px;padding-top:14px}
#armory-detail-title{font-family:'Noto Serif SC','Songti SC',serif;font-size:20px;margin:0 0 10px}
#armory-detail-text{font-size:12px;line-height:1.9;color:#b6c1c9;white-space:pre-line;margin:0 0 12px}
#armory-detail-actions{display:flex;flex-wrap:wrap;gap:8px}
#armory .armory-detail-action{border:1px solid #ab9165;border-radius:3px;background:#343629;color:#f0dcb0;font-size:13px;padding:9px 12px;min-height:42px}
#armory .armory-detail-action:first-child{background:#cab17b;color:#1c2427}
#armory-hero{text-align:center}
#armory-hero .armory-section-title{text-align:left}
#armory-portrait{width:100%;height:auto;max-height:400px;object-fit:contain;display:block;margin:-8px auto -25px}
#armory-hero-name{font:24px 'Noto Serif SC','Songti SC',serif;letter-spacing:3px;margin:12px 0;color:#e7d3a9}
.armory-muted{font-size:11px;color:#83939e;margin:8px 0 20px}
#armory-hero-stats{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--armory-line);border-bottom:1px solid var(--armory-line);margin:18px 0;padding:16px 0;gap:16px 8px}
#armory-hero-stats>div{display:flex;flex-direction:column;gap:6px}
#armory-hero-stats span{font-size:11px;color:#899faa}
#armory-hero-stats strong{font:24px Georgia,serif;color:#e7dabb}
#armory-appearance{border:0;background:none;color:#bfb391;font-size:13px;padding:10px}
#armory #equipment-shop,#armory #backpack-shop{display:grid;grid-template-columns:1fr;gap:10px}
#armory .equipment-tier{background:#26313bcc;border:1px solid var(--tier-color);padding:14px}
#armory .equipment-tier h3{font-size:20px}
#armory .equipment-tier p,#armory #camp-shop>.note{font-size:12px!important;line-height:1.7!important}
#armory .equipment-tier button{font-size:13px;padding:10px;min-height:44px}
#armory #camp-supply,#armory #camp-vouchers{max-height:70vh;overflow-y:auto;padding-right:6px}
body.armory-active #camp-departure{margin-top:20px;padding:16px 0 0;border-top:1px solid #af95623b;display:flex;justify-content:flex-end;align-items:center;gap:18px}
body.armory-active #start{width:auto;min-width:280px;background:linear-gradient(110deg,#d8c08b,#a78c5b);border:1px solid #edd5a3;color:#16202a;box-shadow:0 3px 12px #0004;font-size:16px;border-radius:3px;padding:13px 28px}
body.armory-active #practice-entry{color:#a7b6bf}
#armory-mobile-tabs{display:none}
@media(min-width:1350px){#armory #stash-list{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1000px){
 body.armory-active #overlay{padding:8px}body.armory-active #overlay>.modal{padding:0 16px 12px}
 #armory-head{gap:16px;min-height:65px;margin-bottom:18px}#armory-nav{gap:18px}#armory-nav>button{font-size:17px;letter-spacing:1px}#armory-wallet{font-size:17px}
 #armory-body{grid-template-columns:minmax(280px,1.3fr) minmax(215px,1fr) minmax(170px,.8fr);gap:16px}#armory-items{padding-right:12px}#armory #stash-list{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:800px){
 body.armory-active #overlay{padding:0}body.armory-active #overlay>.modal{border:0;border-radius:0;padding:0 max(14px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));max-height:100dvh}
 #armory-head{flex-wrap:wrap;gap:4px 15px;margin-bottom:12px;padding-top:max(7px,env(safe-area-inset-top))}#armory-back{font-size:13px;order:0}#armory-wallet{order:1;font-size:17px}#armory-nav{order:2;width:100%;justify-content:space-between;gap:12px}#armory-nav>button{font-size:17px;padding:12px 6px}
 #armory-mobile-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:18px}#armory-mobile-tabs button{border:1px solid #66798866;border-radius:3px;background:#212d38;color:#adc0cd;min-height:42px;font-size:14px}#armory-mobile-tabs [aria-pressed=true]{background:#bba273;color:#15212a;border-color:#ebcf99}
 #armory-body{display:block}#armory-items{padding:0;border:0}#armory-items,#armory-kit,#armory-hero{display:none}#armory[data-page=items] #armory-items,#armory[data-page=kit] #armory-kit,#armory[data-page=hero] #armory-hero{display:block}
 #armory #stash-list{grid-template-columns:repeat(4,minmax(0,1fr));max-height:none;overflow:visible}#armory .armory-item-open,#armory .armory-empty{min-height:125px}#armory .armory-icon{width:44px;height:52px}
 #armory #camp-supply,#armory #camp-vouchers{max-height:none;overflow:visible;padding:0}#armory-portrait{max-height:380px}#armory #kit-slots{grid-template-columns:1fr}#armory #loadout-stats>div{font-size:13px}#armory #loadout-stats>div b{font-size:14px}
 #armory-detail-text{font-size:14px}#armory #kit-note{font-size:12px!important}body.armory-active #camp-departure{display:flex;flex-direction:column;gap:6px;margin-top:18px}body.armory-active #start{width:100%;min-width:0;min-height:48px;font-size:16px;padding:12px 10px}
}
@media(max-width:360px){#armory #stash-list{grid-template-columns:repeat(3,minmax(0,1fr))}#armory-nav>button{font-size:15px}}
@media(max-width:800px){#armory[data-page=kit] #armory-kit{display:flex;flex-direction:column}#armory #armory-detail{order:-1;margin:0 0 22px;padding:14px;border:1px solid #ab91654d;background:#38434d44;border-radius:3px}}
