/* --------------------------------------------------------------------------
   GARAGE — Phase 1 additions (PHASE1_SPEC §3). The base look lives in css/style.css
   (.garage-left, #garage-preview, .tabs, .part-card, .statbar, .pips, .delta …);
   this file only adds the slot bar, the per-slot card states and the 7-row stats panel.
   -------------------------------------------------------------------------- */

/* Slot bar: a tray snug under the preview frame (created by js/ui/garage.js) */
#garage-slots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: -4px 8px 0;
  padding: 4px 10px;
  min-height: 34px;
  border: 2px solid var(--ink);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: linear-gradient(180deg, rgba(11, 29, 58, .92), rgba(20, 28, 61, .92));
  box-shadow: 0 4px 0 var(--ink-2);
  transition: opacity .15s;
}
#garage-slots .slot-label {
  color: var(--muted);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-right: 6px;
}
#garage-slots .slot-btn {
  min-width: 38px;
  min-height: 26px;
  padding: 2px 10px;
  font-size: 14px;
  letter-spacing: 1px;
}
#garage-slots .slot-btn.slot-all { min-width: 56px; }
#garage-slots .slot-btn.active {
  background: linear-gradient(180deg, #B2FF59, var(--green-dk));
  color: var(--green-ink);
  box-shadow: 0 0 0 2px rgba(118, 255, 3, .45), 0 0 12px rgba(118, 255, 3, .35);
  transform: translateY(0);
}
/* Tabs that do not equip per slot keep the bar visible but quiet */
#garage-slots.idle { opacity: .55; }
#garage-slots.idle .slot-btn.active { box-shadow: none; }

/* The note above the WHEELS / JUMPY lists saying where EQUIP goes */
.part-list .list-note {
  margin: 0;
  padding: 6px 10px;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
  line-height: 1.3;
  border-left: 3px solid var(--cyan);
  background: rgba(0, 229, 255, .06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.part-list .slot-note { color: var(--text); }

/* "EQUIPPED ×k" chip next to the part name */
.part-card .equip-count {
  display: inline-block;
  vertical-align: 2px;
  margin-left: 8px;
  padding: 1px 7px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: linear-gradient(180deg, #B2FF59, var(--green-dk));
  color: var(--green-ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
/* A part that sits in some slots but not the selected one: a quieter green */
.part-card.partial { border-color: rgba(118, 255, 3, .45); }
.part-card.partial .part-name { color: #CFFFB3; }

/* Seven stat rows (WHEELS added) must still fit under the preview: tighter rows */
#garage-stats { gap: 4px; padding: 6px 12px; }
#garage-stats .statbar { min-height: 18px; }
#garage-stats .statbar .bar { height: 12px; }
#garage-stats .statbar .fill { min-height: 8px; }
#garage-stats .statbar[data-stat="wheels"] .fill { background: linear-gradient(90deg, var(--cyan), #80F4FF); }
