/* NO PERRY — War Table build editor discoverability 55G
   Editor-only affordances; export uses interactive:false mannequinHtml. */

.np-arsenal__war-table .np-arsenal__call-forge-head {
  gap: 0.35rem;
}

.np-arsenal__war-table .np-arsenal__call-inventory {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(196, 184, 160, 0.88);
}

.np-arsenal__war-table .np-arsenal__call-actions {
  flex-wrap: wrap;
  gap: 0.45rem;
}

.np-arsenal__war-table .np-arsenal__add-build {
  align-self: center;
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  border: 1px dashed rgba(168, 138, 74, 0.55);
  border-radius: 3px;
  background: rgba(8, 7, 8, 0.72);
  color: rgba(214, 198, 160, 0.92);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.np-arsenal__war-table .np-arsenal__add-build:hover,
.np-arsenal__war-table .np-arsenal__add-build:focus-visible {
  border-color: color-mix(in srgb, var(--np-role-edge, #a88a4a) 72%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--np-role-edge, #a88a4a) 35%, transparent);
  color: #f2e8d4;
  outline: none;
}

.np-arsenal__war-table .np-arsenal__slot-editor-head {
  margin-bottom: 0.35rem;
}

.np-arsenal__war-table .np-arsenal__slot-status {
  margin: 0.15rem 0 0;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(168, 154, 120, 0.78);
}

/* ── Empty slot affordance ── */
.np-arsenal__war-table .np-arsenal__sock-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.np-arsenal__war-table .np-arsenal__sock.is-empty {
  min-width: 44px;
}

.np-arsenal__war-table .np-arsenal__sock.is-empty .np-arsenal__sock-aperture {
  width: calc(var(--wt-slot-sm, 72px) - 2px);
  height: calc(var(--wt-slot-sm, 72px) - 2px);
  opacity: 1;
  background:
    radial-gradient(circle at 50% 38%, rgba(24, 20, 18, 0.92), rgba(6, 5, 6, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(72, 66, 58, 0.55),
    inset 0 0 0 2px rgba(18, 16, 14, 0.85);
  border: 1px dashed rgba(110, 98, 82, 0.42);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.np-arsenal__war-table .np-arsenal__sock-add-icon {
  display: grid;
  place-items: center;
  width: 44%;
  height: 44%;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 300;
  color: rgba(196, 176, 138, 0.72);
  transition: color 0.18s ease, transform 0.18s ease;
}

.np-arsenal__war-table .np-arsenal__sock.is-empty .np-arsenal__sock-label {
  opacity: 0.88;
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-align: center;
  max-width: 96px;
  color: rgba(198, 184, 152, 0.9);
}

.np-arsenal__forge-center[data-role-family] .np-arsenal__sock.is-empty:hover .np-arsenal__sock-aperture,
.np-arsenal__forge-center[data-role-family] .np-arsenal__sock.is-empty:focus-visible .np-arsenal__sock-aperture {
  border-color: color-mix(in srgb, var(--np-role-edge, #a88a4a) 58%, rgba(110, 98, 82, 0.42));
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--np-role-edge, #a88a4a) 45%, transparent),
    0 0 12px -4px color-mix(in srgb, var(--np-role-edge, #a88a4a) 35%, transparent);
}

.np-arsenal__forge-center[data-role-family] .np-arsenal__sock.is-empty:hover .np-arsenal__sock-add-icon,
.np-arsenal__forge-center[data-role-family] .np-arsenal__sock.is-empty:focus-visible .np-arsenal__sock-add-icon {
  color: color-mix(in srgb, var(--np-role-edge, #d8c090) 82%, #fff);
  transform: scale(1.06);
}

.np-arsenal__war-table .np-arsenal__sock.is-empty:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--np-role-edge, #a88a4a) 70%, transparent);
  outline-offset: 3px;
}

/* ── Filled slot edit/remove ── */
.np-arsenal__war-table .np-arsenal__sock.is-filled .np-arsenal__sock-aperture {
  position: relative;
}

.np-arsenal__war-table .np-arsenal__sock-edit-hint {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.12rem 0.2rem;
  font-size: 0.42rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(240, 232, 210, 0.95);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  opacity: 0;
  transition: opacity 0.18s ease;
}

.np-arsenal__war-table .np-arsenal__sock.is-filled:hover .np-arsenal__sock-edit-hint,
.np-arsenal__war-table .np-arsenal__sock.is-filled:focus-visible .np-arsenal__sock-edit-hint {
  opacity: 1;
}

.np-arsenal__war-table .np-arsenal__sock-remove,
.np-arsenal__war-table .np-arsenal__swap-remove {
  margin-top: 0.15rem;
  min-height: 28px;
  padding: 0.12rem 0.35rem;
  border: none;
  background: transparent;
  color: rgba(150, 138, 118, 0.82);
  font-size: 0.42rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.18s ease, color 0.18s ease;
}

.np-arsenal__war-table .np-arsenal__sock-wrap:hover .np-arsenal__sock-remove,
.np-arsenal__war-table .np-arsenal__sock-wrap:focus-within .np-arsenal__sock-remove,
.np-arsenal__war-table .np-arsenal__swap-wrap:hover .np-arsenal__swap-remove,
.np-arsenal__war-table .np-arsenal__swap-wrap:focus-within .np-arsenal__swap-remove {
  opacity: 1;
}

.np-arsenal__war-table .np-arsenal__sock-remove:hover,
.np-arsenal__war-table .np-arsenal__swap-remove:hover,
.np-arsenal__war-table .np-arsenal__sock-remove:focus-visible,
.np-arsenal__war-table .np-arsenal__swap-remove:focus-visible {
  color: rgba(214, 170, 130, 0.95);
  outline: none;
}

/* ── Swap affordance ── */
.np-arsenal__war-table .np-arsenal__swap-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.np-arsenal__war-table .np-arsenal__swap-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 72px;
  min-height: 72px;
  padding: 0.35rem;
  border: 1px dashed rgba(110, 98, 82, 0.48);
  background: rgba(8, 7, 8, 0.78);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.np-arsenal__war-table .np-arsenal__swap-add-icon {
  font-size: 1.2rem;
  line-height: 1;
  color: rgba(196, 176, 138, 0.78);
}

.np-arsenal__war-table .np-arsenal__swap-add-label {
  font-size: 0.44rem;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  color: rgba(198, 184, 152, 0.9);
  max-width: 68px;
}

.np-arsenal__war-table .np-arsenal__swap-add:hover,
.np-arsenal__war-table .np-arsenal__swap-add:focus-visible {
  border-color: color-mix(in srgb, var(--np-role-edge, #a88a4a) 58%, rgba(110, 98, 82, 0.48));
  box-shadow: 0 0 10px -4px color-mix(in srgb, var(--np-role-edge, #a88a4a) 35%, transparent);
  outline: none;
}

.np-arsenal__war-table .np-arsenal__swap-edit-hint {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.1rem;
  font-size: 0.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(240, 232, 210, 0.95);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  opacity: 0;
  transition: opacity 0.18s ease;
}

.np-arsenal__war-table .np-arsenal__swap-item {
  position: relative;
}

.np-arsenal__war-table .np-arsenal__swap-item:hover .np-arsenal__swap-edit-hint,
.np-arsenal__war-table .np-arsenal__swap-item:focus-visible .np-arsenal__swap-edit-hint {
  opacity: 1;
}

/* ── Picker grid icons ── */
.np-arsenal__picker--41a .np-arsenal__pick img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* ── Mobile: always show action labels ── */
@media (max-width: 768px) {
  .np-arsenal__war-table .np-arsenal__sock-remove,
  .np-arsenal__war-table .np-arsenal__swap-remove,
  .np-arsenal__war-table .np-arsenal__sock-edit-hint,
  .np-arsenal__war-table .np-arsenal__swap-edit-hint {
    opacity: 1;
  }

  .np-arsenal__war-table .np-arsenal__sock.is-empty .np-arsenal__sock-label,
  .np-arsenal__war-table .np-arsenal__swap-add-label {
    font-size: 0.48rem;
  }

  .np-arsenal__picker--41a {
    max-height: min(88vh, 720px);
    overflow: auto;
  }
}

/* ══════════════════════════════════════════════════════════════
   55G ADDENDUM — Ornamental role frame art direction
   Four perceptual layers: outer frame · role channel · crest · chamber
   Background battlefield unchanged (55C). Editor = restrained; export = full.
   ══════════════════════════════════════════════════════════════ */

.np-arsenal {
  --wt-iron-deep: #0e0c0a;
  --wt-gunmetal: #1a1714;
  --wt-brass: rgba(168, 138, 74, 0.68);
  --wt-brass-dim: rgba(120, 98, 58, 0.42);
  --wt-moss: #667a3e;
  --wt-engrave: rgba(102, 122, 62, 0.28);
}

/* ── LAYER 1+2: Editor role frame (forge center) ── */
.np-arsenal__war-table .np-arsenal__forge-center.np-arsenal__selected-warrior {
  position: relative;
  isolation: isolate;
  margin-top: 1.1rem;
  padding: 2.15rem 0.8rem 0.85rem;
  background:
    linear-gradient(165deg, rgba(18, 16, 14, 0.94) 0%, rgba(8, 7, 8, 0.97) 100%);
  border: none;
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.55),
    inset 0 0 0 3px var(--wt-gunmetal),
    inset 0 0 0 4px rgba(28, 24, 20, 0.95),
    inset 0 0 0 5px var(--wt-brass-dim),
    inset 0 0 0 7px color-mix(in srgb, var(--np-role-edge, #8fa65b) 38%, transparent);
}

.np-arsenal__war-table .np-arsenal__forge-center.np-arsenal__selected-warrior::before,
.np-arsenal__war-table .np-arsenal__forge-center.np-arsenal__selected-warrior::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  z-index: 2;
  border: 2px solid var(--wt-brass);
  opacity: 0.88;
}

.np-arsenal__war-table .np-arsenal__forge-center.np-arsenal__selected-warrior::before {
  top: 6px;
  left: 6px;
  border-right: none;
  border-bottom: none;
  box-shadow:
    inset 2px 2px 0 rgba(102, 122, 62, 0.22),
    3px 3px 0 rgba(0, 0, 0, 0.35);
}

.np-arsenal__war-table .np-arsenal__forge-center.np-arsenal__selected-warrior::after {
  bottom: 6px;
  right: 6px;
  border-left: none;
  border-top: none;
  box-shadow:
    inset -2px -2px 0 rgba(102, 122, 62, 0.18),
    -3px -3px 0 rgba(0, 0, 0, 0.35);
}

/* bottom closure */
.np-arsenal__war-table .np-arsenal__forge-center.np-arsenal__selected-warrior .np-arsenal__equip-chamber::after {
  content: '';
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -0.55rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--np-role-edge, #a88a4a), transparent);
  opacity: 0.72;
  pointer-events: none;
}

.np-arsenal__war-table .np-arsenal__forge-center[data-role-family]::before {
  box-shadow:
    inset 0 0 10px color-mix(in srgb, var(--np-role-edge) 28%, transparent),
    3px 3px 0 rgba(0, 0, 0, 0.35);
}

/* role atmospheric body tint */
.np-arsenal__war-table .np-arsenal__forge-center[data-role-family="caller"] {
  background-image:
    radial-gradient(ellipse 80% 45% at 50% 0%, rgba(112, 76, 196, 0.14), transparent 68%),
    linear-gradient(165deg, rgba(18, 14, 24, 0.95), rgba(8, 7, 10, 0.98));
}

.np-arsenal__war-table .np-arsenal__forge-center[data-role-family="tank"] {
  background-image:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(64, 118, 186, 0.12), transparent 65%),
    linear-gradient(165deg, rgba(12, 16, 24, 0.95), rgba(8, 7, 10, 0.98));
}

.np-arsenal__war-table .np-arsenal__forge-center[data-role-family="dps"] {
  background-image:
    radial-gradient(ellipse 70% 38% at 50% 100%, rgba(168, 52, 40, 0.1), transparent 62%),
    linear-gradient(165deg, rgba(22, 10, 9, 0.95), rgba(8, 7, 8, 0.98));
}

.np-arsenal__war-table .np-arsenal__forge-center[data-role-family="cortaCura"] {
  background-image:
    linear-gradient(135deg, rgba(126, 24, 38, 0.08) 0%, transparent 42%),
    linear-gradient(165deg, rgba(20, 6, 10, 0.96), rgba(8, 6, 7, 0.98));
}

.np-arsenal__war-table .np-arsenal__forge-center[data-role-family="support"] {
  background-image:
    radial-gradient(ellipse 75% 35% at 50% 0%, rgba(226, 220, 205, 0.08), transparent 60%),
    linear-gradient(165deg, rgba(16, 15, 14, 0.95), rgba(8, 8, 8, 0.98));
}

.np-arsenal__war-table .np-arsenal__forge-center[data-role-family="healer"] {
  background-image:
    radial-gradient(ellipse 70% 38% at 50% 0%, rgba(90, 150, 76, 0.12), transparent 62%),
    linear-gradient(165deg, rgba(10, 18, 10, 0.95), rgba(8, 8, 8, 0.98));
}

/* ── LAYER 3: Role crest ── */
.np-arsenal__role-crest {
  position: absolute;
  top: -1.35rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3.4rem;
  height: 3.4rem;
  z-index: 4;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(22, 20, 18, 0.98), rgba(8, 7, 8, 0.99));
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.55),
    inset 0 0 0 2px var(--wt-brass-dim),
    inset 0 0 0 3px color-mix(in srgb, var(--np-role-edge) 45%, transparent),
    0 0 14px -4px color-mix(in srgb, var(--np-role-edge) 35%, transparent);
}

.np-arsenal__role-crest::before {
  content: '';
  position: absolute;
  inset: 0.45rem;
  background: color-mix(in srgb, var(--np-role-edge) 72%, #1a1410);
  opacity: 0.85;
  -webkit-mask: var(--crest-mask, none) center / 72% 72% no-repeat;
  mask: var(--crest-mask, none) center / 72% 72% no-repeat;
}

.np-arsenal__role-crest[data-crest="command"] {
  --crest-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='5' fill='black'/%3E%3Cpath d='M12 8 L15 12 L12 16 L9 12 Z' fill='black'/%3E%3C/svg%3E");
}

.np-arsenal__role-crest[data-crest="command"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 28% 32%, rgba(210, 198, 255, 0.55) 0.5px, transparent 1px),
    radial-gradient(circle at 68% 24%, rgba(180, 160, 240, 0.45) 0.5px, transparent 1px),
    radial-gradient(circle at 52% 72%, rgba(200, 188, 255, 0.4) 0.5px, transparent 1px);
  background-size: 100% 100%;
  opacity: 0.55;
  pointer-events: none;
  border-radius: inherit;
}

.np-arsenal__role-crest[data-crest="shield"] {
  --crest-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 L20 6 V12 C20 17 12 22 12 22 C12 22 4 17 4 12 V6 Z' fill='black'/%3E%3C/svg%3E");
}

.np-arsenal__role-crest[data-crest="blades"] {
  --crest-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20 L20 4 M20 20 L4 4' stroke='black' stroke-width='3'/%3E%3C/svg%3E");
}

.np-arsenal__role-crest[data-crest="severed"] {
  --crest-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 V21 M5 10 H19' stroke='black' stroke-width='2.5'/%3E%3Cpath d='M3 20 L21 4' stroke='black' stroke-width='3.5'/%3E%3C/svg%3E");
}

.np-arsenal__role-crest[data-crest="wing"] {
  --crest-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 14 Q12 6 22 14 Q12 10 2 14' fill='black'/%3E%3C/svg%3E");
}

.np-arsenal__role-crest[data-crest="cross"] {
  --crest-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 V22 M6 9 H18' stroke='black' stroke-width='3'/%3E%3Ccircle cx='12' cy='9' r='8' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E");
}

/* ── Role title nameplate ── */
.np-arsenal__role-nameplate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0.15rem 0 0.35rem;
}

.np-arsenal__role-nameplate-flank {
  flex: 1;
  max-width: 2.8rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--np-role-edge, #a88a4a), transparent);
  opacity: 0.65;
  position: relative;
}

.np-arsenal__role-nameplate-flank::before {
  content: '';
  position: absolute;
  top: -3px;
  width: 6px;
  height: 6px;
  background: color-mix(in srgb, var(--np-role-edge) 55%, var(--wt-brass));
  transform: rotate(45deg);
}

.np-arsenal__role-nameplate-flank:first-child::before { right: 0; }
.np-arsenal__role-nameplate-flank:last-child::before { left: 0; }

.np-arsenal__war-table .np-arsenal__warrior-role {
  margin: 0;
  padding: 0.2rem 0.55rem;
  font-size: clamp(0.92rem, 2vw, 1.15rem);
  letter-spacing: 0.1em;
  color: color-mix(in srgb, var(--np-role-edge) 35%, #f0eadc);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.65);
  background: linear-gradient(180deg, rgba(12, 10, 9, 0.72), rgba(6, 5, 5, 0.55));
  box-shadow: inset 0 0 0 1px rgba(168, 138, 74, 0.28);
  border-radius: 2px;
}

/* ── LAYER 4: Equipment chamber ── */
.np-arsenal__equip-chamber {
  position: relative;
  padding: 0.55rem 0.45rem 0.65rem;
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(6, 5, 6, 0.88), rgba(10, 9, 10, 0.92));
  box-shadow:
    inset 0 0 0 1px rgba(42, 38, 34, 0.75),
    inset 0 2px 8px rgba(0, 0, 0, 0.45),
    inset 0 0 0 2px color-mix(in srgb, var(--np-role-edge) 22%, transparent);
}

.np-arsenal__forge-center[data-role-family="caller"] .np-arsenal__equip-chamber {
  background: linear-gradient(180deg, rgba(18, 10, 28, 0.82), rgba(6, 5, 8, 0.94));
}

.np-arsenal__forge-center[data-role-family="tank"] .np-arsenal__equip-chamber {
  background: linear-gradient(180deg, rgba(10, 16, 26, 0.82), rgba(6, 5, 8, 0.94));
}

.np-arsenal__forge-center[data-role-family="dps"] .np-arsenal__equip-chamber {
  background: linear-gradient(180deg, rgba(26, 8, 8, 0.82), rgba(6, 5, 6, 0.94));
}

.np-arsenal__forge-center[data-role-family="cortaCura"] .np-arsenal__equip-chamber {
  background: linear-gradient(180deg, rgba(22, 6, 10, 0.85), rgba(6, 4, 5, 0.94));
}

.np-arsenal__forge-center[data-role-family="support"] .np-arsenal__equip-chamber {
  background: linear-gradient(180deg, rgba(18, 17, 16, 0.82), rgba(8, 8, 8, 0.94));
}

.np-arsenal__forge-center[data-role-family="healer"] .np-arsenal__equip-chamber {
  background: linear-gradient(180deg, rgba(10, 20, 12, 0.82), rgba(6, 8, 6, 0.94));
}

/* integrated socket ring */
.np-arsenal__equip-chamber .np-arsenal__socket-ring {
  padding: 0.25rem;
  border-radius: 4px;
  background: rgba(4, 4, 4, 0.35);
  box-shadow: inset 0 0 0 1px rgba(50, 46, 42, 0.4);
}

/* primary weapon pedestal */
.np-arsenal__war-table .np-arsenal__sock--weapon .np-arsenal__sock-aperture {
  position: relative;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--np-role-edge) 35%, rgba(80, 72, 62, 0.5)),
    inset 0 -6px 12px -8px color-mix(in srgb, var(--np-role-edge) 25%, transparent),
    0 0 8px -4px rgba(0, 0, 0, 0.5);
}

.np-arsenal__war-table .np-arsenal__sock--weapon .np-arsenal__sock-aperture::before {
  content: '';
  position: absolute;
  inset: 12% 18%;
  border-radius: 3px;
  background: radial-gradient(ellipse at 50% 80%, color-mix(in srgb, var(--np-role-edge) 18%, transparent), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.np-arsenal__war-table .np-arsenal__sock-aperture img {
  position: relative;
  z-index: 1;
}

/* subtle item halo — no recolor of Albion art */
.np-arsenal__war-table .np-arsenal__sock.is-filled .np-arsenal__sock-aperture::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 6px -2px color-mix(in srgb, var(--np-role-edge) 22%, transparent);
  pointer-events: none;
}

/* recessed integrated empty slots */
.np-arsenal__war-table .np-arsenal__sock.is-empty .np-arsenal__sock-aperture {
  background:
    radial-gradient(circle at 50% 38%, rgba(20, 18, 16, 0.92), rgba(4, 3, 4, 0.98));
  border: 1px solid rgba(58, 52, 46, 0.55);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px color-mix(in srgb, var(--np-role-edge) 12%, transparent);
}

/* swap holster */
.np-arsenal__war-table .np-arsenal__swap-rack {
  margin-top: 0.45rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(58, 52, 46, 0.45);
  position: relative;
}

.np-arsenal__war-table .np-arsenal__swap-rack::before {
  content: '⇄';
  position: absolute;
  top: -0.55rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1.4rem;
  height: 1.1rem;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  color: color-mix(in srgb, var(--np-role-edge) 65%, var(--wt-brass));
  background: rgba(8, 7, 8, 0.95);
  border: 1px solid var(--wt-brass-dim);
  border-radius: 2px;
}

.np-arsenal__war-table .np-arsenal__swap-add,
.np-arsenal__war-table .np-arsenal__swap-item {
  border: 1px solid rgba(58, 52, 46, 0.55);
  background:
    linear-gradient(180deg, rgba(10, 9, 10, 0.88), rgba(4, 4, 4, 0.92));
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--np-role-edge) 18%, transparent),
    inset 0 2px 5px rgba(0, 0, 0, 0.4);
}

/* ── Formation marker ornamental frames ── */
.np-arsenal__war-table .np-arsenal__warrior-marker[data-role-family] {
  position: relative;
  min-width: 62px;
  padding: 1.35rem 0.32rem 0.42rem;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(16, 14, 12, 0.96), rgba(6, 5, 6, 0.98));
  box-shadow:
    inset 0 0 0 2px rgba(42, 38, 34, 0.9),
    inset 0 0 0 3px var(--wt-brass-dim),
    inset 0 0 0 4px color-mix(in srgb, var(--np-role-edge) 32%, transparent),
    0 8px 18px rgba(0, 0, 0, 0.42);
}

.np-arsenal__wm-crest {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(18, 16, 14, 0.98), rgba(8, 7, 8, 0.99));
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px var(--wt-brass-dim),
    inset 0 0 0 2px color-mix(in srgb, var(--np-role-edge) 40%, transparent);
}

.np-arsenal__wm-crest::before {
  content: '';
  position: absolute;
  inset: 0.28rem;
  background: color-mix(in srgb, var(--np-role-edge) 70%, #141010);
  -webkit-mask: var(--crest-mask, none) center / 70% 70% no-repeat;
  mask: var(--crest-mask, none) center / 70% 70% no-repeat;
}

.np-arsenal__wm-crest[data-crest="command"] { --crest-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='5' fill='black'/%3E%3Cpath d='M12 8 L15 12 L12 16 L9 12 Z' fill='black'/%3E%3C/svg%3E"); }
.np-arsenal__wm-crest[data-crest="shield"] { --crest-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 L20 6 V12 C20 17 12 22 12 22 C12 22 4 17 4 12 V6 Z' fill='black'/%3E%3C/svg%3E"); }
.np-arsenal__wm-crest[data-crest="blades"] { --crest-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20 L20 4 M20 20 L4 4' stroke='black' stroke-width='3'/%3E%3C/svg%3E"); }
.np-arsenal__wm-crest[data-crest="severed"] { --crest-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 V21 M5 10 H19' stroke='black' stroke-width='2.5'/%3E%3Cpath d='M3 20 L21 4' stroke='black' stroke-width='3.5'/%3E%3C/svg%3E"); }
.np-arsenal__wm-crest[data-crest="wing"] { --crest-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 14 Q12 6 22 14 Q12 10 2 14' fill='black'/%3E%3C/svg%3E"); }
.np-arsenal__wm-crest[data-crest="cross"] { --crest-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 V22 M6 9 H18' stroke='black' stroke-width='3'/%3E%3Ccircle cx='12' cy='9' r='8' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E"); }

.np-arsenal__war-table .np-arsenal__warrior-marker[data-role-family="caller"] {
  background-image: radial-gradient(ellipse 90% 50% at 50% 0%, rgba(112, 76, 196, 0.12), transparent 70%), linear-gradient(180deg, rgba(16, 12, 22, 0.96), rgba(6, 5, 8, 0.98));
}

.np-arsenal__war-table .np-arsenal__warrior-marker[data-role-family="tank"] {
  background-image: radial-gradient(ellipse 85% 45% at 50% 0%, rgba(64, 118, 186, 0.1), transparent 68%), linear-gradient(180deg, rgba(12, 16, 24, 0.96), rgba(6, 5, 8, 0.98));
}

.np-arsenal__war-table .np-arsenal__warrior-marker[data-role-family="dps"] {
  background-image: radial-gradient(ellipse 80% 40% at 50% 100%, rgba(168, 52, 40, 0.08), transparent 65%), linear-gradient(180deg, rgba(20, 8, 8, 0.96), rgba(6, 5, 6, 0.98));
}

.np-arsenal__war-table .np-arsenal__warrior-marker[data-role-family="cortaCura"] {
  background-image: linear-gradient(135deg, rgba(126, 24, 38, 0.1), transparent 50%), linear-gradient(180deg, rgba(18, 6, 10, 0.96), rgba(6, 4, 5, 0.98));
}

.np-arsenal__war-table .np-arsenal__warrior-marker[data-role-family="support"] {
  background-image: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(226, 220, 205, 0.07), transparent 62%), linear-gradient(180deg, rgba(16, 15, 14, 0.96), rgba(8, 8, 8, 0.98));
}

.np-arsenal__war-table .np-arsenal__warrior-marker[data-role-family="healer"] {
  background-image: radial-gradient(ellipse 80% 42% at 50% 0%, rgba(90, 150, 76, 0.1), transparent 65%), linear-gradient(180deg, rgba(10, 18, 10, 0.96), rgba(6, 8, 6, 0.98));
}

@media (max-width: 768px) {
  .np-arsenal__role-crest {
    width: 2.8rem;
    height: 2.8rem;
    top: -1.1rem;
  }

  .np-arsenal__war-table .np-arsenal__forge-center.np-arsenal__selected-warrior {
    padding-top: 1.85rem;
  }
}
