.back-link {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.875rem;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.back-link:hover { color: #fff; }

/* Hero temps */
.runner-hero {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.hero-time {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 160px;
}
.hero-time:first-child { border-left: 4px solid var(--red); }
.hero-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.hero-value {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.hero-value--sm { font-size: 1.6rem; }

/* Percentile bar */
.percentile-bar-wrap { margin: 1.25rem 0 0.5rem; }
.percentile-bar {
  position: relative;
  height: 28px;
  background: #e5e7eb;
  border-radius: 14px;
  overflow: visible;
}
.percentile-fill {
  height: 100%;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--blue) 0%, #4f79c8 100%);
  transition: width 0.6s ease;
}
.percentile-marker {
  position: absolute;
  top: -6px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.percentile-marker::after {
  content: '';
  width: 4px;
  height: 40px;
  background: var(--red);
  border-radius: 2px;
  margin-top: 0;
}
.percentile-marker-label {
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  white-space: nowrap;
  margin-bottom: 2px;
}
.percentile-axis {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

.median-compare {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text);
  padding: 0.6rem 1rem;
  background: var(--light);
  border-radius: 8px;
  border-left: 3px solid var(--blue);
}

/* Split */
.split-detail {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.split-half {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--light);
  border-radius: var(--radius);
  padding: 1rem 2rem;
  flex: 1;
  min-width: 120px;
}
.split-half-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.split-half-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.split-arrow {
  font-size: 1.5rem;
  color: var(--muted);
}
.split-verdict {
  width: 100%;
  text-align: center;
  padding: 0.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}
.split-verdict.positive { background: #fff1f2; color: var(--red); }
.split-verdict.negative { background: #eff6ff; color: #2563eb; }
.split-verdict.even     { background: #f0fdf4; color: #16a34a; }

/* Not found */
.not-found {
  max-width: 400px;
  margin: 4rem auto;
  text-align: center;
  font-size: 1.1rem;
}
.not-found a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--blue);
  text-decoration: none;
}

@media (max-width: 600px) {
  .hero-value { font-size: 1.8rem; }
  .hero-value--sm { font-size: 1.3rem; }
  .split-detail { flex-direction: column; }
  .split-arrow { transform: rotate(90deg); }
}
