/* ---------------- danger meter ---------------- */
.danger-meter {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.dpip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  display: inline-block;
}
.danger-label {
  margin-left: 6px;
  font-size: 10.5px;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}

/* ---------------- bar chart ---------------- */
.bar-chart {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bar-row {
  display: grid;
  grid-template-columns: 120px 1fr 60px;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
}
.bar-label { color: var(--text-dim); }
.bar-track {
  height: 8px;
  background: var(--surface-2);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.bar-fill {
  display: block;
  height: 100%;
  background: var(--text-dim);
  border-radius: 4px;
  transition: width 280ms ease;
}
.bar-value {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

/* ---------------- loadout grid ---------------- */
.loadout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 6px;
}
.loadout-slot {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 9px;
  background: var(--surface);
  min-height: 50px;
}
.lo-slot-label {
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.lo-slot-value {
  font-size: 12.5px;
  color: var(--text);
  line-height: 1.3;
}
.lo-empty { color: var(--text-faint); }
.lo-tier {
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------------- minimap ---------------- */
.minimap {
  display: block;
  border-radius: var(--radius-sm);
  background: var(--surface);
}

/* ---------------- NPC roster ---------------- */
.npc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.npc-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 5px 8px;
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
}
.npc-row:last-child { border-bottom: none; }
.npc-count {
  font-variant-numeric: tabular-nums;
  color: var(--text);
  width: 36px;
}
.npc-type { flex: 1; color: var(--text); }
.npc-meta { color: var(--text-faint); font-size: 11.5px; font-variant-numeric: tabular-nums; }

/* ---------------- sound triggers ---------------- */
.sound-triggers {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sound-triggers li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
}
.sound-triggers li:last-child { border-bottom: none; }
.st-event { color: var(--text); }
.st-range { color: var(--text-faint); font-variant-numeric: tabular-nums; }
.st-notes { color: var(--text-dim); }
