/* ── Season Progress Bar ────────────────────────────────────────────────── */

#season-progress {
  position: absolute;
  left: 14px;
  top: 80px;
  bottom: 80px;
  z-index: 500;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.progress-node {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
}

.progress-row {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 20px;
}

/* ── Dots ───────────────────────────────────────────────────────────────── */
.progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.progress-dot.complete {
  background: var(--accent);
}

.progress-dot.live {
  background: var(--live-color);
  box-shadow: 0 0 0 3px rgba(0,200,83,0.2);
  animation: progressGlow 2s ease-in-out infinite;
}

.progress-dot.upcoming {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.2);
}

.progress-dot.cancelled {
  background: transparent;
  border: 2px dashed rgba(255,255,255,0.2);
}

body.light-theme .progress-dot.upcoming {
  border-color: rgba(0,0,0,0.15);
}

body.light-theme .progress-dot.cancelled {
  border-color: rgba(0,0,0,0.15);
}

@keyframes progressGlow {
  0%,100% { box-shadow: 0 0 0 3px rgba(0,200,83,0.2); }
  50%      { box-shadow: 0 0 0 6px rgba(0,200,83,0.45); }
}

/* ── Labels ─────────────────────────────────────────────────────────────── */
.progress-label {
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
  line-height: 1;
}

.progress-label.complete  { color: var(--accent); }
.progress-label.live      { color: var(--live-color); }
.progress-label.upcoming  { color: rgba(255,255,255,0.3); }
.progress-label.cancelled {
  color: rgba(255,255,255,0.2);
  text-decoration: line-through;
}

body.light-theme .progress-label.complete  {
  color: var(--accent);
  text-shadow: 0 1px 3px rgba(255,255,255,0.7);
}
body.light-theme .progress-label.live      {
  color: var(--live-color);
  text-shadow: 0 1px 3px rgba(255,255,255,0.7);
}
body.light-theme .progress-label.upcoming  {
  color: rgba(0,0,0,0.25);
  text-shadow: none;
}
body.light-theme .progress-label.cancelled {
  color: rgba(0,0,0,0.2);
  text-shadow: none;
}

/* ── Connector lines ────────────────────────────────────────────────────── */
.progress-line {
  width: 2px;
  height: 12px;
  margin-left: 3px;
  border-radius: 2px;
  transition: background 0.3s ease;
}

.progress-line.complete { background: var(--accent); }
.progress-line.upcoming { background: rgba(255,255,255,0.1); }

body.light-theme .progress-line.upcoming {
  background: rgba(0,0,0,0.08);
}

/* ── Mobile ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  #season-progress {
    top: 60px;
    left: 10px;
    bottom: 70%;
  }

  .progress-dot {
    width: 6px;
    height: 6px;
  }

  .progress-label {
    font-size: 0.48rem;
  }

  .progress-line {
    height: 10px;
    margin-left: 2px;
  }

  .progress-row {
    height: 16px;
  }
}