/* fs-competitions: see CLAUDE.md conventions - theme tokens (--dbn-*), --fs-live only for live / action-needed things. */

/* Setup checklist: one line of steps on wide screens, wrapping on narrow ones. */
.fs-comp-checklist {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
    font-size: 0.8125rem;
}
.fs-comp-step { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; color: var(--dbn-text); }
.fs-comp-step > i { font-size: 0.8125rem; color: var(--fs-live); }
.fs-comp-step.is-done { color: var(--dbn-text-muted); }
.fs-comp-step.is-done > i { color: var(--dbn-ok); }
.fs-comp-step a { text-decoration: underline; text-underline-offset: 2px; }
.fs-comp-step a:focus-visible { outline: 2px solid var(--dbn-accent); outline-offset: 2px; border-radius: 2px; }

/* The athletes' states: one compact line of numbers. */
.fs-comp-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 18px;
    margin: 0 0 10px;
    font-size: 0.8125rem;
    color: var(--dbn-text-muted);
}
.fs-comp-stats:empty { display: none; }
.fs-comp-stat strong { color: var(--dbn-text); font-weight: 600; font-size: 0.9375rem; margin-right: 2px; }

/* A section jumped to (the checklist's links) lands below the top bar. */
.fs-comp-section, #sec-fields { scroll-margin-top: calc(var(--fs-topbar-height, 0px) + 12px); }

@media (max-width: 575.98px) {
    .fs-comp-checklist, .fs-comp-stats { gap: 2px 12px; }
}

