.stash-toolbar {display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;margin-bottom:10px}
.stash-toolbar h3 {margin:0 auto 0 0}
.stash-toolbar select {max-width:100%;margin-left:4px;padding:5px;color:#def3ff;background:#0b1528;border:1px solid #536985;border-radius:4px}
.stash-grid {grid-template-columns:repeat(auto-fill,minmax(75px,1fr));gap:7px}
.stash-item {max-height:102px}
.stash-item img {max-height:84px}
#rpg-station button.equip-slot.slot-target {border-color:#85ffdb;outline:2px solid #85ffdb;outline-offset:1px;background:#1a4550;box-shadow:0 0 16px #62ffcd80}
#rpg-station .circuit-nav {grid-template-columns:repeat(4,minmax(0,1fr))}
#rpg-station[data-screen="shop"] #combat {display:none}
.shop-banner {position:relative}
.shop-banner h3 {position:absolute;inset:auto 0 0;margin:0;padding:24px 16px 12px;color:#fff4db;font-size:clamp(1.45rem,4vw,2.4rem);background:linear-gradient(transparent,#090c17e8);border-radius:0 0 9px 9px}
.shop-art {display:block;width:100%;max-height:420px;object-fit:cover;object-position:center 45%;border:1px solid #785d42;border-radius:9px}
.shop-offer {display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:16px;margin-top:12px;background:#161f30;border:1px solid #3d4d62;border-radius:8px}
.shop-offer h4,.shop-offer p {margin:0 0 5px}
.shop-offer strong,#shop-status {color:#ffd991}
#shop-status:empty {display:none}
#gear-collections {display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:8px;margin-bottom:16px}
.gear-set {display:grid;gap:8px;align-content:space-between;padding:10px;background:#101b2c;border:1px solid #39536d;border-radius:8px}
.gear-set h4 {margin:0}
.gear-set h4 small {color:#a8cade}
.gear-set-items {display:flex;gap:3px;flex-wrap:wrap}
.gear-set-items img {height:36px;width:36px;object-fit:contain;background:#0b1322;border:1px solid #335164;border-radius:4px;padding:3px}
.gear-set-items img.missing {opacity:.33;filter:grayscale(1)}
.set-badge {display:inline-block;padding:5px 9px;border:1px solid #f2ba6e;border-radius:5px;color:#f9d79d;background:#423122}
.cabinet.illustrated-cabinet {
  --dial-x:50.26%;--dial-y:55.47%;--dial-size:10.94%;
  width:100%;height:auto;aspect-ratio:3/2;overflow:hidden;
  border:1px solid color-mix(in srgb,var(--signal) 45%,#202039);
  border-radius:8px;filter:none;background:#100b1b;
}
.illustrated-cabinet>img {display:block;width:100%;height:100%;object-fit:cover}
.illustrated-cabinet .cabinet-crank {inset:var(--dial-y) auto auto var(--dial-x);transform:translate(-50%,-50%);width:var(--dial-size);height:auto;aspect-ratio:1;border:0;background:none;box-shadow:none}
.illustrated-cabinet .cabinet-crank i {position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:50%;background:url('/capsule-figure-cabinet-dial.webp') center/cover}
.illustrated-cabinet .cabinet-crank i::after {display:none}
.capsule-gear .illustrated-cabinet {--dial-x:50.52%;--dial-y:55.27%;--dial-size:11.2%}
.capsule-gear .illustrated-cabinet .cabinet-crank i {background-image:url('/capsule-gear-cabinet-dial.webp')}
.capsule-cosmetic .illustrated-cabinet {--dial-x:50.39%;--dial-y:55.66%;--dial-size:11.72%}
.capsule-cosmetic .illustrated-cabinet .cabinet-crank i {background-image:url('/capsule-cosmetic-cabinet-dial.webp')}
.illustrated-cabinet .dispensed {left:47%;bottom:16%;width:6%}
@media(max-width:670px) {
  .capsule-card .illustrated-cabinet {align-self:center}
  .stash-grid {grid-template-columns:repeat(auto-fill,minmax(65px,1fr))}
}
