/* ============================================================
   coach_v3.css — Valmentajan modernisoidut komponentit (v3).
   Riippuvuus: fissi_v3.css + components_v3.css ENNEN.
   ============================================================ */

/* ── Login ─────────────────────────────────────────────── */
.v3-login-shell {
    min-height: 100dvh;
    background: var(--bg);
    color: var(--text);
    display: grid;
    place-items: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
}
.v3-login-shell::before {
    /* sporty diagonal gates motif behind */
    content: '';
    position: absolute; inset: 0;
    background:
        repeating-linear-gradient(110deg,
            transparent 0 60px,
            color-mix(in oklch, var(--d-dh) 5%, transparent) 60px 64px,
            transparent 64px 120px,
            color-mix(in oklch, var(--d-sl) 5%, transparent) 120px 124px,
            transparent 124px 200px);
    pointer-events: none;
    opacity: .6;
}
.v3-login-card {
    position: relative;
    width: 100%; max-width: 420px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px 28px 28px;
    box-shadow: var(--shadow-lg);
}
.v3-login-brand {
    display: flex; align-items: center; gap: 10px; margin-bottom: 22px;
}
.v3-login-brand .v3-brand-mark { width: 36px; height: 36px; font-size: 22px; border-radius: 8px; }
.v3-login-brand .v3-brand-word { font-size: 22px; }

.v3-login-head { margin-bottom: 24px; }
.v3-login-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .12em;
    color: var(--muted);
    text-transform: uppercase;
}
.v3-login-title {
    font-family: var(--font-display);
    font-size: 38px;
    letter-spacing: .02em;
    line-height: .95;
    margin: 6px 0 0;
    color: var(--text);
}

.v3-field {
    display: flex; flex-direction: column;
    margin-bottom: 14px;
}
.v3-field label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 6px;
}
.v3-field .v3-input-wrap {
    position: relative;
    display: flex; align-items: center;
}
.v3-field .v3-input-wrap > i {
    position: absolute; left: 14px;
    color: var(--muted);
    font-size: 13px;
    pointer-events: none;
}
.v3-input {
    width: 100%;
    height: 46px;
    padding: 0 14px 0 38px;
    border: 1px solid var(--border-bright);
    background: var(--surface-2);
    color: var(--text);
    border-radius: 10px;
    font: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    font-family: var(--font-body);
}
.v3-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--input-shadow);
}
.v3-input.no-icon { padding-left: 14px; }

.v3-btn-block {
    display: flex;
    width: 100%;
    height: 48px;
    align-items: center; justify-content: center;
    gap: 10px;
    background: var(--accent);
    color: var(--accent-ink);
    border: 0;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .02em;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 8px;
    transition: background .15s, transform .05s;
    text-decoration: none;
    font-family: var(--font-body);
}
.v3-btn-block:hover { background: color-mix(in oklch, var(--accent) 88%, white); }
.v3-btn-block:active { transform: translateY(1px); }

.v3-login-links { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; }
.v3-login-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color .15s;
}
.v3-login-links a:hover { color: var(--accent); }
.v3-login-links a.primary { color: var(--accent); }

.v3-login-error {
    background: color-mix(in oklch, var(--danger) 14%, transparent);
    color: var(--danger);
    border: 1px solid color-mix(in oklch, var(--danger) 35%, transparent);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 14px;
    display: flex; align-items: center; gap: 10px;
}

/* ── Coach overview / topbar info ──────────────────────── */
.v3-coach-bar {
    max-width: 1280px;
    margin: 8px auto 0;
    padding: 10px 18px;
    display: flex; align-items: center; gap: 12px;
    font-size: 13px;
    color: var(--text-2);
}
.v3-coach-avatar {
    width: 36px; height: 36px; border-radius: 18px;
    background: var(--accent);
    color: var(--accent-ink);
    display: grid; place-items: center;
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 1;
}
.v3-coach-bar .name { font-weight: 600; color: var(--text); }
.v3-coach-bar .club { color: var(--muted); }

/* ── Athletes table & cards ────────────────────────────── */
.v3-tbl-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 18px;
}

/* Desktop table */
.v3-athletes-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}
.v3-athletes-table th {
    text-align: left;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    font-weight: 600;
    padding: 12px 14px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.v3-athletes-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text-2);
    font-size: 13px;
    vertical-align: middle;
}
.v3-athletes-table tr:last-child td { border-bottom: 0; }
.v3-athletes-table tr:hover td { background: var(--surface-2); color: var(--text); }
.v3-athletes-table .mono {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text);
}
.v3-athletes-table .name { font-weight: 600; color: var(--text); }
.v3-athletes-table .ath-actions { white-space: nowrap; text-align: right; }
.v3-athletes-table .ath-actions a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px;
    border-radius: 6px;
    color: var(--muted);
    border: 1px solid var(--border);
    background: var(--surface);
    text-decoration: none;
    transition: color .15s, background .15s, border-color .15s;
    margin-left: 4px;
}
.v3-athletes-table .ath-actions a:hover {
    color: var(--danger);
    border-color: color-mix(in oklch, var(--danger) 50%, transparent);
    background: color-mix(in oklch, var(--danger) 12%, transparent);
}

/* Mobile athlete cards */
.v3-athlete-cards { display: flex; flex-direction: column; gap: 8px; }
.v3-athlete-cards .v3-ath-card {
    display: flex; gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    align-items: center;
}
.v3-ath-avatar {
    width: 40px; height: 40px;
    border-radius: 20px;
    background: var(--surface-2);
    color: var(--text);
    display: grid; place-items: center;
    font-family: var(--font-display);
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
}
.v3-ath-body { flex: 1; min-width: 0; }
.v3-ath-name { font-weight: 600; color: var(--text); font-size: 14px; }
.v3-ath-meta { color: var(--muted); font-size: 12px; margin-top: 2px; display: flex; gap: 8px; flex-wrap: wrap; }
.v3-ath-meta .mono { font-family: var(--font-mono); font-size: 11px; }
.v3-ath-points { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 8px; }
.v3-ath-points .pt {
    background: var(--surface-2);
    border-radius: 4px;
    padding: 5px 4px;
    text-align: center;
}
.v3-ath-points .pt .k { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.v3-ath-points .pt .v { font-family: var(--font-mono); font-size: 11px; font-weight: 600; margin-top: 1px; }
.v3-ath-actions {
    display: flex; flex-direction: column; gap: 6px;
}
.v3-ath-actions a {
    width: 32px; height: 32px;
    border-radius: 7px;
    display: grid; place-items: center;
    color: var(--muted);
    border: 1px solid var(--border);
    background: var(--surface-2);
    text-decoration: none;
}
.v3-ath-actions a:hover { color: var(--danger); }

.v3-show-mobile { display: block; }
.v3-show-desktop { display: none; }
@media (min-width: 900px) {
    .v3-show-mobile { display: none; }
    .v3-show-desktop { display: block; }
}

/* ── Page actions row ──────────────────────────────────── */
.v3-page-actions {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    padding: 0 18px 12px;
    max-width: 1280px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.v3-search-box {
    display: flex; align-items: center; gap: 10px;
    flex: 1; min-width: 200px;
    height: 40px;
    padding: 0 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    transition: border-color .15s;
}
.v3-search-box:focus-within { border-color: var(--accent); }
.v3-search-box > i { color: var(--muted); font-size: 13px; }
.v3-search-box input {
    flex: 1; height: 100%;
    background: transparent;
    border: 0; outline: none;
    color: inherit;
    font: inherit;
    font-size: 13.5px;
}
.v3-search-box input::placeholder { color: var(--muted); }

/* ── Group section (registration) ──────────────────────── */
.v3-group-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    margin-top: 12px;
}
.v3-group-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 12px;
}
.v3-group-title {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: .02em;
    color: var(--text);
    display: flex; align-items: center; gap: 10px;
}
.v3-group-count {
    background: var(--accent);
    color: var(--accent-ink);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    min-width: 22px;
    text-align: center;
}

.v3-group-rows { display: flex; flex-direction: column; gap: 6px; }
.v3-group-row {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
}
.v3-group-row .v3-ath-avatar { width: 32px; height: 32px; border-radius: 16px; background: var(--surface-3); font-size: 12px; }
.v3-group-row .grow { flex: 1; min-width: 0; }
.v3-group-row .name { font-weight: 600; color: var(--text); font-size: 13.5px; }
.v3-group-row .meta { color: var(--muted); font-size: 11.5px; margin-top: 1px; }
.v3-group-row .remove-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    width: 32px; height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: grid; place-items: center;
}
.v3-group-row .remove-btn:hover {
    color: var(--danger);
    border-color: color-mix(in oklch, var(--danger) 50%, transparent);
    background: color-mix(in oklch, var(--danger) 12%, transparent);
}

.v3-group-empty {
    padding: 20px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    background: var(--surface-2);
    border: 1px dashed var(--border-bright);
    border-radius: 10px;
}

.v3-group-cta {
    display: flex;
    width: 100%;
    margin-top: 12px;
    align-items: center; justify-content: center;
    gap: 10px;
    height: 52px;
    background: var(--accent);
    color: var(--accent-ink);
    border: 0;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    transition: background .15s;
    font-family: var(--font-body);
}
.v3-group-cta:hover { background: color-mix(in oklch, var(--accent) 88%, white); }
.v3-group-cta:disabled {
    background: var(--surface-2);
    color: var(--muted);
    border: 1px solid var(--border);
    cursor: not-allowed;
}

/* ── Race selector ─────────────────────────────────────── */
.v3-event-overview {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    margin-top: 8px;
}
.v3-event-overview .head {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 12px; margin-bottom: 12px;
}
.v3-event-overview .head .title {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: .02em;
    color: var(--text);
    line-height: 1.05;
}
.v3-event-overview .head .meta {
    color: var(--muted);
    font-size: 12px;
    margin-top: 4px;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.v3-event-overview .desc {
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.5;
    margin: 4px 0 12px;
}

.v3-race-toggles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}
@media (min-width: 600px) {
    .v3-race-toggles { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
    .v3-race-toggles { grid-template-columns: 1fr 1fr 1fr; }
}

.v3-race-toggle {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    position: relative;
}
.v3-race-toggle:hover { border-color: var(--border-bright); }
.v3-race-toggle.selected {
    border-color: var(--accent);
    background: color-mix(in oklch, var(--accent) 12%, var(--surface));
    box-shadow: 0 0 0 1px var(--accent) inset;
}
.v3-race-toggle input[type="checkbox"] {
    appearance: none;
    width: 18px; height: 18px;
    border-radius: 4px;
    border: 1.5px solid var(--border-bright);
    background: var(--surface);
    cursor: pointer;
    display: grid; place-items: center;
    transition: background .15s, border-color .15s;
    flex-shrink: 0;
    position: relative;
}
.v3-race-toggle.selected input[type="checkbox"] {
    background: var(--accent);
    border-color: var(--accent);
}
.v3-race-toggle.selected input[type="checkbox"]::after {
    content: '';
    width: 5px; height: 9px;
    border: solid var(--accent-ink);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}
.v3-race-toggle .body { flex: 1; min-width: 0; }
.v3-race-toggle .name {
    font-size: 13px; font-weight: 600; color: var(--text);
    line-height: 1.2;
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.v3-race-toggle .meta {
    font-size: 11px; color: var(--muted);
    margin-top: 4px;
    display: flex; align-items: center; gap: 6px;
    flex-wrap: wrap;
}
.v3-race-toggle .meta .mono { font-family: var(--font-mono); }

.v3-race-status-row {
    margin-top: 12px;
    display: flex; align-items: center; gap: 10px;
    font-size: 12.5px;
}
.v3-race-status-row .status {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--muted);
    font-size: 12px;
}
.v3-race-status-row .status.confirmed { color: var(--ok); }
.v3-race-status-row .status.not-confirmed { color: var(--warn); }

/* ── Tabs (My athletes / New registration) ─────────────── */
.v3-tabs {
    display: flex; gap: 6px;
    margin: 18px 0 12px;
    border-bottom: 1px solid var(--border);
}
.v3-tab {
    padding: 10px 14px;
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: -1px;
}
.v3-tab:hover { color: var(--text); }
.v3-tab.active {
    color: var(--text);
    border-bottom-color: var(--accent);
}

/* ── My Athletes — selectable cards ────────────────────── */
.v3-select-list { display: flex; flex-direction: column; gap: 6px; }
.v3-select-card {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.v3-select-card:hover { border-color: var(--border-bright); }
.v3-select-card input[type="checkbox"] {
    appearance: none;
    width: 18px; height: 18px;
    border-radius: 4px;
    border: 1.5px solid var(--border-bright);
    background: var(--surface);
    display: grid; place-items: center;
    cursor: pointer;
    flex-shrink: 0;
}
.v3-select-card input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
}
.v3-select-card input[type="checkbox"]:checked::after {
    content: '';
    width: 5px; height: 9px;
    border: solid var(--accent-ink);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}
.v3-select-card.already-added {
    opacity: .5;
    background: var(--surface-2);
}
.v3-select-card.already-added::after {
    content: 'IN GROUP';
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--ok);
    background: color-mix(in oklch, var(--ok) 18%, transparent);
    padding: 2px 7px;
    border-radius: 999px;
    margin-left: auto;
}
.v3-select-card .body { flex: 1; min-width: 0; }

/* ── Search dropdown (autocomplete) ─────────────────────── */
.v3-search-wrap { position: relative; }
.v3-search-wrap ul#search-results {
    position: absolute;
    top: calc(100% + 4px); left: 0; right: 0;
    z-index: 50;
    background: var(--surface);
    border: 1px solid var(--border-bright);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    list-style: none;
    margin: 0; padding: 4px;
    max-height: 260px; overflow-y: auto;
    display: none;
}
.v3-search-wrap ul#search-results li {
    padding: 9px 12px;
    border-radius: 6px;
    color: var(--text-2);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.v3-search-wrap ul#search-results li:hover {
    background: var(--surface-2);
    color: var(--text);
}

/* ── Athlete preview card (after search pick) ───────────── */
.v3-athlete-preview {
    background: var(--surface);
    border: 1px solid var(--accent);
    border-radius: 12px;
    padding: 16px;
    margin-top: 14px;
    box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 14%, transparent);
}
.v3-athlete-preview .head {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 12px;
}
.v3-athlete-preview .head .name {
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1;
    color: var(--text);
}
.v3-athlete-preview .head .ok {
    margin-left: auto;
    color: var(--ok);
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.v3-athlete-preview .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 14px;
    font-size: 13px;
}
.v3-athlete-preview .row > div { display: flex; flex-direction: column; gap: 2px; }
.v3-athlete-preview .row .k {
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.v3-athlete-preview .row .v { color: var(--text); }
.v3-athlete-preview .row .v.mono { font-family: var(--font-mono); }

/* ── Sticky bottom action bar (mobile registration) ────── */
.v3-sticky-bottom {
    position: sticky;
    bottom: 0;
    margin: 18px -12px 0;
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px));
    background: color-mix(in oklch, var(--surface) 95%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
    z-index: 50;
}
@media (min-width: 900px) {
    .v3-sticky-bottom {
        position: static; padding: 0; background: transparent;
        backdrop-filter: none; border: 0; margin: 12px 0 0;
    }
}

/* ── Empty state buttons ────────────────────────────────── */
.v3-empty .v3-btn-primary {
    margin-top: 16px;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0 18px; height: 44px;
    background: var(--accent);
    color: var(--accent-ink);
    border-radius: 10px;
    font-weight: 700;
}
/* Reset icon size inside buttons — .v3-empty i sets 36px globally */
.v3-empty .v3-btn-primary i,
.v3-empty .v3-btn i {
    font-size: 14px;
}

/* ── Modal — registration summary ──────────────────────── */
.v3-summary-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 12px 0 18px;
}
.v3-summary-table th {
    text-align: left;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    font-weight: 600;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
}
.v3-summary-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text-2);
    font-size: 13px;
}
.v3-summary-table td.ok    { color: var(--ok); font-weight: 600; }
.v3-summary-table td.fail  { color: var(--danger); font-weight: 600; }
.v3-summary-actions {
    display: flex; gap: 8px; justify-content: flex-end;
    margin-top: 12px;
    flex-wrap: wrap;
}

/* ── Messages (success/error/info) ─────────────────────── */
.v3-msg {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    display: flex; align-items: center; gap: 10px;
    margin: 10px 0;
    border: 1px solid var(--border);
}
.v3-msg.success { background: color-mix(in oklch, var(--ok)     14%, transparent); color: var(--ok);     border-color: color-mix(in oklch, var(--ok)     35%, transparent); }
.v3-msg.error   { background: color-mix(in oklch, var(--danger) 14%, transparent); color: var(--danger); border-color: color-mix(in oklch, var(--danger) 35%, transparent); }
.v3-msg.warn    { background: color-mix(in oklch, var(--warn)   14%, transparent); color: var(--warn);   border-color: color-mix(in oklch, var(--warn)   35%, transparent); }
.v3-msg.info    { background: color-mix(in oklch, var(--info)   14%, transparent); color: var(--info);   border-color: color-mix(in oklch, var(--info)   35%, transparent); }

/* ── Athlete search overlay ─────────────────────────────── */
.v3-search-overlay {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(0,0,0,.45);
    display: flex; flex-direction: column; justify-content: flex-end;
    opacity: 0; pointer-events: none;
    transition: opacity .2s ease;
}
.v3-search-overlay[aria-hidden="false"] {
    opacity: 1; pointer-events: auto;
}
.v3-search-panel {
    background: var(--surface);
    border-radius: 18px 18px 0 0;
    max-height: 75dvh;
    display: flex; flex-direction: column;
    overflow: hidden;
    transform: translateY(24px);
    transition: transform .22s ease;
    box-shadow: 0 -8px 32px rgba(0,0,0,.18);
}
.v3-search-overlay[aria-hidden="false"] .v3-search-panel {
    transform: translateY(0);
}
.v3-search-head {
    display: flex; gap: 8px; align-items: center;
    padding: 16px 16px 12px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.v3-search-body {
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}
.v3-search-ath {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}
.v3-search-ath:last-child { border-bottom: none; }
.v3-search-ath-name { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.v3-search-ath-meta {
    font-size: 11.5px; color: var(--muted);
    font-family: var(--font-mono);
    margin-bottom: 8px;
}
.v3-search-race-row {
    display: flex; gap: 8px; align-items: center;
    font-size: 12.5px; padding: 3px 0;
}
.v3-search-race-row .race-name { flex: 1; }
.v3-search-race-date {
    color: var(--muted); font-family: var(--font-mono); font-size: 11px;
    white-space: nowrap;
}
