/* "I'm running this" add-on in the race hero */
.race-actions { display: grid; gap: 10px; margin-top: 2px; min-height: 44px; align-content: start; }
.rs-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rs-more { display: contents; }
.rs-more[hidden], .rs-count[hidden] { display: none; }
.rs-pill { padding: 8px 12px; min-height: 40px; font-size: 0.84rem; font-weight: 600; font-family: inherit; line-height: 1.1; }
.rs-pill svg { flex: none; width: 15px; height: 15px; max-width: none; }
.rs-toggle.is-on { background: var(--accent-wash); border-color: rgba(79, 216, 154, 0.55); color: var(--accent-ink); }
.rs-pill:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.rs-count { margin: 0; font-size: 0.86rem; color: var(--on-photo-muted); letter-spacing: 0.01em; }
.rs-banner { display: inline-flex; max-width: 100%; padding: 9px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--accent-ink); text-decoration: none;
  background: var(--accent-wash); border: 1px solid rgba(79, 216, 154, 0.4); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); justify-self: start; }
.rs-banner:hover { color: var(--ink); }
@media (max-width: 560px) {
  .rs-row { display: grid; grid-template-columns: 1fr 1fr; }
  .rs-toggle { grid-column: 1 / -1; justify-content: center; }
  .rs-pill { justify-content: center; text-align: center; padding-inline: 10px; }
  .rs-banner { border-radius: 18px; }
}
@media (prefers-reduced-motion: no-preference) { .rs-pill { transition: transform 0.15s, background 0.2s, border-color 0.2s, color 0.2s; } .rs-pill:hover { transform: translateY(-1px); } }
@media (min-width: 900px) { .race-actions { width: 700px; max-width: calc(100vw - 2 * var(--edge, 20px)); } .rs-row { flex-wrap: nowrap; } .rs-more { display: contents; } }
