/* Runner-specific rules (D-16). Split from app.css by the D-16 CSS-split discretion:
   these selectors only ever apply inside section[data-route="run"]. */

.runner-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}

.runner-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 1rem;
}

.runner-exercise-name {
  font-size: 1.5rem;
  font-weight: 700;
}

.runner-set-no {
  color: var(--muted);
  font-size: 1.125rem;
}

/* D-16: the runner's number is read at arm's length, mid-set — never below 40px. */
.runner-target {
  font-size: clamp(40px, 12vw, 64px);
  line-height: 1.1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-top: 0.5rem;
}

/* The band-view cap timer is read the same way. */
.cap-timer {
  font-size: clamp(40px, 12vw, 64px);
  line-height: 1.1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.runner-clip {
  width: 100%;
  margin-top: 0.75rem;
  border-radius: 8px;
  background: #000;
}

.runner-cue-text,
.runner-next-up {
  margin-top: 0.75rem;
}

.runner-next-up { color: var(--muted); }

/* D-16, one-hand use: the primary controls stay pinned to the bottom of the scroll area
   while the card above scrolls. main is the scroll container, so bottom: 0 pins the bar
   above the tab bar rather than over it. */
.runner-controls {
  position: sticky;
  bottom: 0;
  background: var(--bg);
  padding-bottom: 0.75rem;
}

.runner-controls button { min-width: var(--tap); }
