/* Exclusive arsenal — dossier with real weapon art. Navy and magenta. */
.zr-arsenal {
  --xw-ink: #f3f6ff;
  --xw-dim: #9aa6c7;
  --xw-hot: #ff4f9a;
  --xw-ice: #7ee0ff;
  --xw-lime: #b8ff6a;
  --xw-card: #12182b;
  --xw-line: rgba(126, 224, 255, 0.18);
  background: #0a0e1a;
  color: var(--xw-ink);
}
.zr-arsenal__head { max-width: 72rem; margin: 0 auto 1rem; padding: 0 1rem; }
.zr-arsenal__kicker {
  margin: 0 0 0.3rem;
  color: var(--xw-hot);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.zr-arsenal__head h1 { margin: 0 0 0.35rem; }
.zr-arsenal__lead { margin: 0; max-width: 40rem; color: var(--xw-dim); }

.zr-xw, #zr-arsenal {
  max-width: 72rem;
  margin: 0 auto 2.5rem;
  padding: 0 1rem 2rem;
}
.zr-arsenal button { font: inherit; cursor: pointer; color: inherit; }

/* Hero picker */
.zr-xw__heroes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.zr-xw__hero {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0.15rem 0.65rem;
  align-items: center;
  text-align: left;
  background: var(--xw-card);
  border: 1px solid var(--xw-line);
  border-radius: 1rem;
  padding: 0.85rem;
}
.zr-xw__hero.is-on {
  border-color: var(--xw-hot);
  box-shadow: inset 0 0 0 1px var(--xw-hot), 0 0 24px rgba(255, 79, 154, 0.12);
}
.zr-xw__hero-art { grid-row: 1 / span 2; }
.zr-xw__hero strong { font-size: 1.15rem; }
.zr-xw__hero-shard {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--xw-dim);
  font-size: 0.78rem;
  line-height: 1.2;
}
.zr-xw__hero-pic {
  width: 3.6rem;
  height: 3.6rem;
  object-fit: contain;
  display: block;
}

/* Layout */
.zr-xw__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: start;
}
.zr-xw__panel {
  background: linear-gradient(180deg, rgba(255, 79, 154, 0.07), transparent 24%), var(--xw-card);
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid var(--xw-line);
}
.zr-xw__panel--tracks {
  background: linear-gradient(180deg, rgba(126, 224, 255, 0.08), transparent 24%), var(--xw-card);
}

/* Dossier header */
.zr-xw__head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}
.zr-xw__portrait {
  flex: 0 0 auto;
  width: 6.5rem;
  height: 6.5rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: radial-gradient(circle at 30% 20%, rgba(255, 79, 154, 0.25), transparent 55%), #0b1020;
  border: 1px solid rgba(255, 79, 154, 0.35);
}
.zr-xw__weapon-pic {
  width: 5.2rem;
  height: 5.2rem;
  object-fit: contain;
}
.zr-xw__head-copy h2 { margin: 0 0 0.25rem; font-size: 1.35rem; }
.zr-xw__meta { margin: 0 0 0.35rem; color: var(--xw-dim); font-size: 0.86rem; }
.zr-xw__meta b { color: var(--xw-ice); }
.zr-xw__note { color: var(--xw-dim); font-size: 0.86rem; margin: 0; }

/* Inputs */
.zr-xw__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin: 0.75rem 0; }
.zr-xw label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--xw-dim);
}
.zr-xw input {
  background: #0b1020;
  color: var(--xw-ink);
  border: 1px solid rgba(126, 224, 255, 0.3);
  border-radius: 0.45rem;
  padding: 0.45rem;
  font: inherit;
}

/* Costs */
.zr-xw__costs h3, .zr-xw__stats-block h3, .zr-xw__skills-wrap h3 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  color: var(--xw-ice);
}
.zr-xw__costs {
  margin: 0.85rem 0;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 79, 154, 0.2);
}
.zr-xw__bill { list-style: none; margin: 0; padding: 0; }
.zr-xw__stats li, .zr-xw__bill li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.32rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.zr-xw__bill li span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--xw-dim);
}
.zr-xw__stats b, .zr-xw__bill b { color: var(--xw-ice); white-space: nowrap; }
.zr-xw__need { align-items: flex-start; }
.zr-xw__need span { display: block; flex: 1; min-width: 0; }
.zr-xw__bill-total { font-weight: 600; }
.zr-xw__bill-total span { color: var(--xw-ink) !important; }
.zr-xw__univ {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0.65rem 0 0;
  color: var(--xw-dim);
  font-size: 0.82rem;
}

/* Stats */
.zr-xw__sub {
  margin: 0.55rem 0 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--xw-dim);
}
.zr-xw__stats--person b { color: var(--xw-hot); }
.zr-xw__stats--global b { color: var(--xw-lime); }

/* Skills */
.zr-xw__skills { display: grid; gap: 0.55rem; }
.zr-xw__skill {
  border-left: 3px solid rgba(255, 79, 154, 0.35);
  padding: 0.55rem 0.7rem;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 0 0.55rem 0.55rem 0;
}
.zr-xw__skill.is-live { border-left-color: var(--xw-ice); }
.zr-xw__skill.is-locked { opacity: 0.82; }
.zr-xw__skill-top {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 0.35rem;
}
.zr-xw__skill-pic {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 0.45rem;
  background: #0b1020;
}
.zr-xw__skill h4 { margin: 0; font-size: 0.95rem; }
.zr-xw__skill-gate {
  display: inline-block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--xw-dim);
}
.zr-xw__skill.is-live .zr-xw__skill-gate { color: var(--xw-ice); }
.zr-xw__skill p { margin: 0; color: var(--xw-dim); font-size: 0.86rem; line-height: 1.45; }

/* Track tabs */
.zr-xw__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin: 0.75rem 0;
}
.zr-xw__tab {
  background: #0b1020;
  border: 1px solid var(--xw-line);
  border-radius: 0.55rem;
  padding: 0.45rem 0.35rem;
  font-size: 0.78rem;
  text-align: center;
}
.zr-xw__tab.is-on {
  border-color: var(--xw-accent, var(--xw-hot));
  color: var(--xw-accent, var(--xw-hot));
  box-shadow: inset 0 0 0 1px var(--xw-accent, var(--xw-hot));
}
.zr-xw__tracks { display: grid; gap: 0.5rem; }
.zr-xw__track {
  border-top: 2px solid var(--xw-accent, var(--xw-hot));
  padding-top: 0.65rem;
}
.zr-xw__track-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.zr-xw__track-head h3 { margin: 0; font-size: 1rem; }
.zr-xw__track-head span { color: var(--xw-dim); font-size: 0.78rem; }
.zr-xw__track-lv { margin: 0.45rem 0 0.65rem; }

.zr-xw__gates {
  margin: 0.65rem 0;
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  font-size: 0.82rem;
}
.zr-xw__gates.is-blocked {
  background: rgba(255, 79, 154, 0.1);
  border: 1px solid rgba(255, 79, 154, 0.35);
  color: #ffb4d2;
}
.zr-xw__gates.is-clear {
  background: rgba(184, 255, 106, 0.08);
  border: 1px solid rgba(184, 255, 106, 0.28);
  color: #d8ffb0;
}
.zr-xw__gates h4 { margin: 0 0 0.35rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.zr-xw__gates ul { list-style: none; margin: 0 0 0.35rem; padding: 0; }
.zr-xw__gates li.is-ok b { color: var(--xw-lime); }
.zr-xw__gates li.is-short b { color: var(--xw-hot); }
.zr-xw__gates p { margin: 0; }

.zr-xw__next {
  margin-top: 0.65rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.55rem;
  background: rgba(0, 0, 0, 0.18);
  border: 1px dashed rgba(126, 224, 255, 0.25);
}
.zr-xw__next summary { cursor: pointer; color: var(--xw-ice); font-size: 0.84rem; }

/* Icons */
.zr-xw__glyph {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
  flex: 0 0 auto;
}
.zr-xw__pic-fallback {
  display: inline-block;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.06);
}

.zr-xw__modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.zr-xw__mode {
  background: #0b1020;
  border: 1px solid var(--xw-line);
  border-radius: 0.55rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.84rem;
  text-align: center;
}
.zr-xw__mode.is-on {
  border-color: var(--xw-hot);
  color: var(--xw-hot);
  box-shadow: inset 0 0 0 1px var(--xw-hot);
}
.zr-xw__panel--wide { grid-column: 1 / -1; }
@media (min-width: 901px) {
  .zr-xw__grid:has(.zr-xw__panel--wide) {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .zr-xw__panel--wide { grid-column: auto; }
}

.zr-xw__req {
  margin: 0.75rem 0;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  background: rgba(126, 224, 255, 0.06);
  border: 1px solid rgba(126, 224, 255, 0.18);
}
.zr-xw__req h3 { margin: 0 0 0.4rem; font-size: 0.9rem; color: var(--xw-ice); }
.zr-xw__req-list { list-style: none; margin: 0; padding: 0; }
.zr-xw__req-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.28rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
}
.zr-xw__req-list li span { color: var(--xw-dim); }
.zr-xw__req-list li b { color: var(--xw-ink); white-space: nowrap; }
.zr-xw__req-list li.is-warn b { color: var(--xw-hot); }

.zr-xw__lines {
  margin: 0.75rem 0;
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--xw-line);
  background: rgba(0, 0, 0, 0.18);
}
.zr-xw__lines.is-invalid { border-color: rgba(255, 79, 154, 0.45); }
.zr-xw__lines.is-valid { border-color: rgba(184, 255, 106, 0.25); }
.zr-xw__lines h3 { margin: 0 0 0.35rem; font-size: 0.95rem; color: var(--xw-ice); }
.zr-xw__lines-lead { margin: 0 0 0.65rem; color: var(--xw-dim); font-size: 0.82rem; }
.zr-xw__line-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.zr-xw__line-card {
  border-top: 2px solid var(--xw-accent, var(--xw-hot));
  padding: 0.5rem;
  border-radius: 0.45rem;
  background: rgba(0, 0, 0, 0.15);
}
.zr-xw__line-card.is-bad { box-shadow: inset 0 0 0 1px rgba(255, 79, 154, 0.45); }
.zr-xw__line-card strong { display: block; margin-bottom: 0.35rem; font-size: 0.82rem; }
.zr-xw__line-card label { margin-bottom: 0.35rem; }
.zr-xw__line-valid { font-size: 0.72rem; color: var(--xw-dim); }
.zr-xw__line-valid b { color: var(--xw-lime); }
.zr-xw__line-pill {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.55rem;
}
.zr-xw__pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--xw-accent, var(--xw-hot));
  color: var(--xw-accent, var(--xw-hot));
}
.zr-xw__pill.is-bad {
  border-color: var(--xw-hot);
  background: rgba(255, 79, 154, 0.12);
  color: #ffb4d2;
}
.zr-xw__warn {
  margin: 0 0 0.55rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.45rem;
  background: rgba(255, 79, 154, 0.1);
  border: 1px solid rgba(255, 79, 154, 0.3);
  color: #ffb4d2;
  font-size: 0.82rem;
}
.zr-xw__plan, .zr-xw__combo { margin-top: 0.65rem; }
.zr-xw__plan h4, .zr-xw__combo h4 {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--xw-dim);
}
.zr-xw__stats--combo b { color: var(--xw-ice); }
.zr-xw__hint {
  font-size: 0.72rem;
  font-weight: normal;
  color: var(--xw-dim);
  text-transform: none;
  letter-spacing: 0;
}

.zr-xw__slider-wrap { margin: 0.5rem 0 0.75rem; position: relative; }
.zr-xw__slider-wrap input[type="range"] {
  width: 100%;
  accent-color: var(--xw-accent, var(--xw-hot));
}
.zr-xw__mile-dots {
  position: relative;
  height: 1.2rem;
  margin-top: 0.25rem;
}
.zr-xw__mile-dots span {
  position: absolute;
  transform: translateX(-50%);
  font-size: 0.65rem;
  color: var(--xw-dim);
  top: 0;
}

@media (max-width: 900px) {
  .zr-xw__heroes, .zr-xw__grid, .zr-xw__pair, .zr-xw__tabs, .zr-xw__line-grid {
    grid-template-columns: 1fr;
  }
  .zr-xw__head { flex-direction: column; align-items: center; text-align: center; }
}
.zr-xw__gate-list {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}
.zr-xw__gate-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
}
.zr-xw__gate-list .is-ok b { color: var(--xw-lime, #b8ff6a); }
.zr-xw__gate-list .is-short b { color: var(--xw-hot, #ff4f9a); }
