/*==================================================
    GEAR PACK SHOP (10 Nov 2026) — js/gearShop.js
    Two columns on each gear pack card:
    Beast Token (in the game) | AtomicHub (WAX)
==================================================*/
.gs-box{ display:grid; grid-template-columns:1fr 1fr; gap:8px; width:100%; margin-top:4px; }
.gs-col{
    display:flex; flex-direction:column; align-items:center; gap:3px; min-width:0;
    padding:8px 6px; border-radius:12px; background:rgba(0,0,0,.28); border:1px solid rgba(255,255,255,.08);
}
.gs-col-bt{ border-color:rgba(162,89,255,.35); }
.gs-price{ font-size:18px; font-weight:800; color:#ffd76a; line-height:1.1; }
.gs-sub{ font-size:11px; color:#9fb3d6; line-height:1.2; min-height:2.4em; display:flex; align-items:center; text-align:center; }
.gs-left{ font-size:11px; color:#c9d3ea; line-height:1.25; min-height:1.25em; margin-bottom:4px; font-variant-numeric:tabular-nums; }
.gs-left b{ display:block; color:#ffb020; font-size:10px; letter-spacing:.06em; text-transform:uppercase; }
.gs-left.gs-almost{ color:#ffd76a; }
.gs-left.gs-out{ color:#ff5d73; font-weight:800; letter-spacing:.08em; }
/* 12 Nov 2026: countdown on its own line above the button ("Opens in 3m 42s", "Again in 29m 15s") */
.gs-timer{ font-size:12px; font-weight:800; color:#35ffb0; line-height:1.2; margin-bottom:4px; text-align:center; font-variant-numeric:tabular-nums; white-space:nowrap; }
.gs-timer[hidden]{ display:none; }

.shop-pack .gs-buy{
    display:flex; align-items:center; justify-content:center; gap:6px;
    width:100%; height:38px; min-height:38px; margin-top:auto; padding:0 8px; white-space:nowrap; border:none; border-radius:10px; cursor:pointer;
    font:inherit; font-size:14px; font-weight:800; color:#fff;
    background:linear-gradient(100deg, #6B3BFF, #8b3fff);
}
.shop-pack .gs-buy:hover{ filter:brightness(1.12); }
.shop-pack .gs-buy:focus-visible{ outline:2px solid #00e5ff; outline-offset:2px; }
.shop-pack .gs-buy img{ width:20px; height:20px; object-fit:contain; flex:0 0 auto; }
.shop-pack .gs-buy .gs-ah-word{ font-style:normal; font-size:11px; font-weight:700; opacity:.9; }
.shop-pack .gs-buy.pack-btn-soon{ background:rgba(255,255,255,.08); color:#8fa3c8; cursor:pointer; opacity:.75; }
.shop-pack .gs-buy.pack-btn-soon img{ filter:grayscale(.7); opacity:.7; }

/* popups */
.gs-pick{ text-align:center; }
.gs-pick p{ margin:6px 0; color:#c9d3ea; }
.gs-stepper{ display:inline-flex; align-items:center; gap:14px; margin:6px 0; }
.gs-stepper button{
    width:38px; height:38px; border:none; border-radius:10px; cursor:pointer; font:inherit; font-size:20px; font-weight:800; color:#fff;
    background:linear-gradient(100deg, #6B3BFF, #8b3fff);
}
.gs-stepper b{ min-width:32px; font-size:24px; color:#fff; font-variant-numeric:tabular-nums; }
.gs-pick-total{ font-weight:700; color:#ffd76a !important; }
.gs-confirm{ text-align:center; }
.gs-confirm-cost{ display:flex; align-items:center; justify-content:center; gap:8px; margin:4px 0 8px; }
.gs-confirm-cost img{ width:30px; height:30px; object-fit:contain; }
.gs-confirm-cost b{ font-size:26px; color:#ffd76a; font-variant-numeric:tabular-nums; }
.gs-confirm-cost span{ color:#c9d3ea; font-weight:700; }
.gs-confirm p{ margin:4px 0; color:#c9d3ea; font-size:13px; }
.gs-confirm .gs-lock{ color:#35ffb0; font-weight:700; font-variant-numeric:tabular-nums; }
.gs-confirm .gs-note{ color:#8fa3c8; font-size:12px; }

/* 10 Nov 2026: a narrow card (small window, side menu open): the two columns go one under the other,
   but only when the buttons would overflow (checked in js/gearShop.js) */
.shop-pack .gs-buy span{ min-width:0; overflow:hidden; text-overflow:ellipsis; }
@container (max-width: 380px){
    .shop-pack .gs-buy.pack-btn-soon .gs-ah-word{ display:none; }
}
/* js/gearShop.js adds .gs-stack only when a button's text + logo would not fit side by side */
.gs-box.gs-stack{ grid-template-columns:1fr; gap:6px; }
.gs-box.gs-stack .gs-sub{ min-height:0; }
@media (max-width:420px){
    .gs-box{ gap:6px; }
    .gs-price{ font-size:16px; }
    .shop-pack .gs-buy{ font-size:13px; padding:0 4px; gap:4px; }
    .shop-pack .gs-buy.pack-btn-soon .gs-ah-word{ display:none; }
}
@media (prefers-reduced-motion: reduce){ .shop-pack .gs-buy:hover{ filter:none; } }
