.recovery-ring-card { display: flex; align-items: center; gap: 22px; }
.recovery-ring { width: 110px; height: 110px; flex-shrink: 0; }

.not-tracked-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.nt-tile {
  background: var(--bg-elevated);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}
.nt-tile .ic { color: var(--ink-faint); margin-bottom: 6px; }
.nt-tile .ic svg { width: 18px; height: 18px; }
.nt-tile .l { font-size: 11px; color: var(--ink-faint); }

/* Visually set apart from challenge data: dashed edge, cooler accent,
   so it can never be mistaken for a Day 1-21 measurement. */
.baseline-card { border-style: dashed; border-color: var(--line); }
.baseline-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.baseline-tile {
  background: var(--bg-elevated);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 12px;
}
.baseline-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase;
  color: var(--sleep);
}
.baseline-value {
  font-family: var(--font-display); font-size: 20px; margin: 6px 0 4px;
  color: var(--ink);
  text-shadow: 0 0 20px var(--sleep-glow);
}
.baseline-meta { font-size: 11px; color: var(--ink-faint); line-height: 1.5; }

@media (max-width: 720px) {
  .not-tracked-grid { grid-template-columns: repeat(2, 1fr); }
  .baseline-grid { grid-template-columns: 1fr; }
}

/* Run-up vs challenge: three tiles over one long strip of every night on
   file. Dim bars are before Day 1, bright bars the challenge. */
.cmp-card { display: flex; flex-direction: column; }
.cmp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.cmp-tile {
  background: var(--bg-elevated);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 8px 10px 8px 12px;
  position: relative;
  overflow: hidden;
}
.cmp-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #5B4C80; }
.cmp-tile.dur::before { background: #B06BFF; box-shadow: 0 0 12px #B06BFF; }
.cmp-tile.chg::before { background: var(--forge); box-shadow: 0 0 12px var(--forge); }
.cmp-label { font-size: 10px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--ink-dim); }
.cmp-value {
  font-family: var(--font-display); font-size: 20px; margin: 3px 0 2px; color: var(--ink);
  text-shadow: 0 0 20px var(--sleep-glow);
}
.cmp-value .unit { font-size: 11px; color: var(--ink-dim); font-family: var(--font-body); font-weight: 600; margin-left: 5px; text-shadow: none; }
.cmp-value.good { color: var(--success); text-shadow: 0 0 20px rgba(43, 255, 155, 0.35); }
.cmp-value.bad { color: var(--warn); text-shadow: 0 0 20px rgba(255, 179, 71, 0.35); }
.cmp-meta { font-size: 10.5px; color: var(--ink-faint); line-height: 1.45; }
.cmp-card canvas { display: block; width: 100%; height: 150px; margin-top: auto; }
.cmp-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; font-size: 10.5px; color: var(--ink-faint); align-items: center; }
.cmp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cmp-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.cmp-legend i.dash { width: 16px; height: 0; border-top: 2px dashed #2BFF9B; border-radius: 0; }
/* Below desktop width the run-up card and Current Focus stack as two
   full-width rectangles; the three comparison tiles stay in one row
   until a phone-sized screen. */
@media (max-width: 1100px) { .stack-md { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cmp-grid { grid-template-columns: 1fr; } }

/* Streak card: big number, orange streak line, a row of ten flames */
.streak-card { display: flex; flex-direction: column; justify-content: center; gap: 10px; min-height: 230px; }
.streak-card > .photo-bg { opacity: 0.75; background-position: center; }
.streak-card > .photo-bg::after { background: linear-gradient(90deg, rgba(20,24,34,0.96) 0%, rgba(20,24,34,0.78) 55%, rgba(20,24,34,0.25) 100%); }
.streak-card .card-head { margin-bottom: 4px; }
.streak-ic { display: inline-flex; margin-right: 2px; } .streak-ic svg { width: 20px; height: 20px; filter: drop-shadow(0 0 8px var(--forge-glow)); }
.streak-row { display: flex; align-items: center; gap: 16px; }
.streak-num { font-family: var(--font-display); font-size: 52px; line-height: 1; color: var(--ink); text-shadow: 0 0 24px var(--forge-glow); }
.streak-title { font-family: var(--font-display); font-size: 20px; letter-spacing: 1px; text-transform: uppercase; color: var(--forge-hot, var(--forge)); text-shadow: 0 0 16px var(--forge-glow); }
.streak-sub { font-size: 13px; color: var(--ink-dim); margin-top: 3px; }
.flames.big { gap: 4px; margin-top: 6px; flex-wrap: nowrap; }
.flames.big span { width: 36px; height: 36px; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.7)); }
.flames.big span svg { width: 32px; height: 32px; }
.flames.big span.lit svg.fire:nth-child(1) { animation-delay: 0s; }
.flames.big span.lit:nth-child(odd) svg.fire { animation-delay: .45s; }
.flames.big span.lit:nth-child(3n) svg.fire { animation-delay: .9s; }
@media (max-width: 720px) { .flames.big span { width: 28px; height: 28px; } .flames.big span svg { width: 24px; height: 24px; } }
