/* SCREKO TERMINAL — 武器库 */
#sw-modal {
  position: fixed;
  inset: 0;
  z-index: 71;
  display: grid;
  place-items: center;
  background: rgba(4, 3, 3, .74);
  backdrop-filter: blur(8px);
  font-family: 'Chakra Petch', system-ui, sans-serif;
}
#sw-modal[hidden] { display: none; }
#sw-modal .sp-card {
  position: relative;
  width: min(880px, 95vw);
  max-height: 88vh;
  overflow: auto;
  background: linear-gradient(180deg, rgba(22, 15, 11, .97), rgba(10, 8, 7, .97));
  border: 1px solid rgba(255, 154, 46, .35);
  box-shadow: 0 0 60px rgba(255, 120, 30, .18);
  padding: 26px 28px 22px;
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  color: #f3ede6;
}
#sw-modal .sp-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: 0;
  color: #9a8d7f;
  font-size: 24px;
  cursor: pointer;
}
#sw-modal .sp-close:hover { color: #ffc46a; }
#sw-modal .sp-title { font-size: 20px; font-weight: 700; letter-spacing: .2em; color: #ff9a2e; }
.sw-head { margin-top: 10px; font-size: 14px; }
.sw-credits { color: #ffc46a; }
.sw-msg { min-height: 18px; font-size: 12px; color: #ff9a2e; margin-top: 4px; }
.sw-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.sw-slot-title {
  font-size: 11px;
  letter-spacing: .18em;
  color: #9a8d7f;
  border-bottom: 1px solid rgba(255, 154, 46, .25);
  padding-bottom: 6px;
  margin-bottom: 10px;
}
.sw-card {
  border: 1px solid rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .025);
  padding: 12px;
  margin-bottom: 10px;
  transition: border-color .15s;
}
.sw-card.eq { border-color: rgba(255, 154, 46, .65); background: rgba(255, 154, 46, .07); }
.sw-name { font-weight: 700; letter-spacing: .06em; }
.sw-desc { font-size: 12px; color: #a89a8b; margin: 6px 0; line-height: 1.5; min-height: 34px; }
.sw-stats { font-size: 12px; color: #ffc46a; letter-spacing: .06em; }
.sw-action { margin-top: 10px; display: flex; align-items: center; gap: 8px; min-height: 28px; }
.sw-btn {
  background: rgba(255, 154, 46, .12);
  border: 1px solid rgba(255, 154, 46, .5);
  color: #ffc46a;
  font: inherit;
  font-size: 12px;
  letter-spacing: .1em;
  padding: 5px 14px;
  cursor: pointer;
}
.sw-btn:hover:not(:disabled) { background: rgba(255, 154, 46, .28); }
.sw-btn:disabled { opacity: .35; cursor: default; }
.sw-btn.gold { background: rgba(255, 154, 46, .22); }
.sw-tag { font-size: 11px; letter-spacing: .12em; color: #9a8d7f; }
.sw-tag.on { color: #7be38a; }
@media (max-width: 760px) {
  .sw-body { grid-template-columns: 1fr; }
}
