/**
 * training-v2.css — Training tab v2 finish-pass (mockup 03-shot-timer.html).
 * Loaded AFTER v2-theme.css + shot-timer-v2.css so it can sit on top of the
 * existing timer shell without rewriting it.
 *
 * Adds:
 *   - .training-top-row     — wrap holding both new affordances above the
 *                             timer host. Spacing + stacking only.
 *   - .training-drillrow    — horizontal scrollable chip row for drill presets
 *                             (mockup .drillrow). Chips fire window.badger
 *                             ShotTimerLoadDrill(drillId) which delegates to
 *                             the shot-timer's existing loadDrill flow.
 *   - .training-drill-chip  — individual chip; dname (display font) + dmeta.
 *   - .training-rank        — team leaderboard pill (mockup .rank). Tap →
 *                             team tab → leaderboard subtab.
 *
 * Does NOT touch shot-timer-v2.css or the timer's own DOM — pure additions
 * above the host.
 */

/* =============================================================================
   TOP-OF-TIMER STRIP
   ========================================================================== */

.training-top-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 14px;
}

/* =============================================================================
   DRILL CHIP ROW
   ========================================================================== */

.training-drillrow {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 2px;
  margin: 0;
}

.training-drillrow::-webkit-scrollbar {
  display: none;
}

.training-drill-chip {
  flex: 0 0 auto;
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  min-width: 120px;
}

.training-drill-chip:hover {
  background: var(--s2);
  border-color: var(--line2);
}

.training-drill-chip:focus-visible {
  outline: 1px solid var(--olive);
  outline-offset: 2px;
}

.training-drill-chip .dname {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-hi);
  text-transform: uppercase;
  line-height: 1;
}

.training-drill-chip .dmeta {
  font-size: 10px;
  color: var(--ink-mid);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.training-drill-chip-custom {
  border-style: dashed;
  background: transparent;
}

.training-drill-chip-custom .dname {
  color: var(--olive);
}

/* =============================================================================
   TEAM LEADERBOARD PILL
   ========================================================================== */

.training-rank {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.training-rank:hover {
  background: var(--s2);
  border-color: var(--line2);
}

.training-rank:focus-visible {
  outline: 1px solid var(--olive);
  outline-offset: 2px;
}

.training-rank .rk-pos {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-hi);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.training-rank .rk-pos small {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-low);
  letter-spacing: 0.04em;
}

.training-rank .rk-msg {
  flex: 1;
  font-size: 12px;
  color: var(--ink-mid);
  line-height: 1.3;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.training-rank .rk-go {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--olive);
  flex-shrink: 0;
}
