/* ═══════════════════════════════════════════════════════════
   Homepage live milestone strip
   Replaces the old hardcoded SVG timeline. Same source as /progress.html,
   so this panel cannot silently go stale.
   ═══════════════════════════════════════════════════════════ */

.home-ms {
  background: rgba(13, 15, 18, 0.92);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 12px;
  padding: 1.5rem 1.6rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.home-ms__loading {
  color: var(--text-dim);
  font-size: .85rem;
  margin: auto;
}

.home-ms__head {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  flex-wrap: wrap;
}

.home-ms__pct {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}

.home-ms__cap {
  font-size: .85rem;
  color: var(--text-muted);
}

/* ── Segmented track ──────────────────────────────────────── */

.home-ms__track {
  display: flex;
  gap: .25rem;
  height: 12px;
}

.home-ms__seg {
  position: relative;
  min-width: 8px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.home-ms__fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
}

.home-ms__seg.is-complete { box-shadow: 0 0 10px -3px var(--gold); }

/* ── Legend ───────────────────────────────────────────────── */

.home-ms__legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.home-ms__item {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  font-size: .78rem;
  color: var(--text-dim);
}

.home-ms__item.is-complete { color: var(--text-muted); }

.home-ms__ver {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold-dark);
  min-width: 3.2rem;
}

.home-ms__item.is-complete .home-ms__ver { color: var(--gold); }

.home-ms__name { flex: 1 1 auto; }

.home-ms__pts {
  font-variant-numeric: tabular-nums;
  opacity: .8;
}

.home-ms__stats {
  margin-top: auto;
  padding-top: .8rem;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  font-size: .76rem;
  color: var(--text-dim);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .home-ms { padding: 1.2rem; min-height: 0; }
  .home-ms__pct { font-size: 2.1rem; }
}
