/* LOADOUT, the home page: the wrist computer (css/pip.css) in the middle of the hangar bay photo, as large as the
   page's height allows (#pg-loadout is a size container: the device is 1.5 times as wide as it is high) */
#pg-loadout{background:#121517 url(../assets/items/profile_bg.jpg) center/cover no-repeat;container-type:size}
#loadoutIn{min-height:100%;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:12px 18px}
#loadoutIn .pip{width:min(100%,1060px,calc((100cqh - 40px) * 1.5))}
#hBuy{position:absolute;right:12px;top:72px;width:290px;max-height:calc(100% - 250px);overflow:auto;z-index:2}
.hb{display:grid;grid-template-columns:96px minmax(0,1fr);gap:8px;padding:7px 0;border-top:1px solid rgba(47,143,47,.4)}
.hb:first-of-type{border-top:0}
.hbImg{position:relative;height:64px;border:1px solid #111;overflow:hidden;background:#020602;box-shadow:inset 0 0 10px rgba(0,0,0,.9),0 0 0 1px rgba(255,255,255,.06)}
.hbImg img{width:100%;height:100%;object-fit:cover;display:block;mix-blend-mode:screen} /* green pictograms on black, like the skill icons */
.hbImg::after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,rgba(0,0,0,.28) 0 1px,transparent 1px 3px)}
.hbTx{display:flex;flex-direction:column;gap:1px;min-width:0}
.hbTx b{color:#fff}
.hbTx .mbtn{margin-top:4px;align-self:flex-start}
.hgBot{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 12px 12px;position:relative;z-index:2}
.gpan{background:rgba(9,24,9,.86);border:1px solid #2f8f2f;box-shadow:inset 0 0 14px rgba(0,0,0,.7),0 0 6px rgba(47,143,47,.3);padding:5px 10px 8px;font-size:11px;line-height:1.6;color:#cfe8c9;min-width:0}
.gpan h5{font:bold 11px var(--f-ui);color:#6dff5a;border-bottom:1px solid #2f8f2f;margin:0 -10px 5px;padding:0 10px 4px;display:flex;justify-content:space-between;gap:8px}
.gpan h5 span{color:#9fd79a;font-weight:normal}
.gpan .r{display:flex;justify-content:space-between;gap:8px}
.gpan .r b{font-weight:normal;color:#fff;text-align:right}
.gpan .lnk{display:inline-block;margin-top:3px}
.gpan .lnks{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}

/* loadout tab (weapons half): two-column item cards, buy-mech rows */
.wgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.wcard{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;padding:8px;font-size:11px;line-height:1.55;min-width:0}
.wimg{width:112px;height:84px;border:1px solid #111;background:linear-gradient(#e2e5e4,#a9aead);overflow:hidden;box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.wimg img,.mimg img,.im img{width:100%;height:100%;object-fit:cover;display:block}
.wtx{position:relative;min-width:0;display:flex;flex-direction:column}
.wtx h4{font:bold 11px var(--f-ui);text-align:center;color:#fff;margin:0 26px 4px}
.wtx h4 em{font-style:normal;font-weight:normal;color:#9fd79a}
.q{position:absolute;right:0;top:0;color:var(--g-link);cursor:pointer;font-size:11px;background:none;border:0;font-family:inherit;padding:0}
.q:hover{color:#8dff7a}
.kv{display:grid;grid-template-columns:auto auto;gap:0 18px;justify-content:start;color:#dfe6df}
.kv b{font-weight:normal;color:#fff}
.hlp{display:none;margin-top:4px;padding:4px 7px;background:rgba(0,0,0,.35);border-left:2px solid var(--g-hi);color:#cfe8c9}
.wcard.help .hlp{display:block}
.req{margin-top:auto;padding-top:4px;display:flex;gap:10px;align-items:flex-end;justify-content:space-between}
.req span{flex:1;text-align:center;color:#dfe6df}
.req .ok{color:#6dff5a}
.acts{margin-top:auto;display:flex;gap:6px;flex-wrap:wrap;padding-top:5px}
.mrow{display:grid;grid-template-columns:230px minmax(0,1fr) 210px;gap:16px;padding:8px;margin-bottom:10px;align-items:center}
.mimg{height:150px;border:1px solid #111;overflow:hidden;background:linear-gradient(#e2e5e4,#a9aead)}
.mtx h3{font:bold 15px var(--f-ui);color:#fff;margin-bottom:6px}
.mtx p{font-size:12px;line-height:1.55;color:#e2e8e2}
.mtx .dim{color:#a9c3a5;font-size:11px;margin-top:6px}
.mbuy{align-self:stretch;border-left:2px solid rgba(255,255,255,.35);padding-left:14px;text-align:center;font-size:12px;display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center}
.mcols{display:flex;gap:20px;justify-content:center;color:#cfd8cf;font-size:11px}
.mcols b{display:block;color:#fff;font-weight:normal;font-size:13px}
.msg{min-height:1.2em;font-size:11px;color:#fff2a0}

