/* Legacy race-result engine receives a restrained black/white editorial skin.
   All original result rendering, event data, export controls and sorting remain untouched. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
body.ft-legacy-editorial{font-family:Inter,Arial,sans-serif;background:#090909;color:#fff;--bg-dark:#090909;--bg-mid:#101820;--bg-light:#0e2738;--accent-cyan:#9bc8de;--accent-blue:#0b6085;--accent-glow:rgba(33,102,137,.08);--text-main:#fff;--text-muted:#bbb;--glass-bg:#151515;--glass-hover:#1b1b1b;--glass-border-light:rgba(255,255,255,.15);--glass-border-dark:rgba(255,255,255,.12);--glass-shadow:none}
.ft-legacy-editorial .ambient-bg{background:#090909!important;animation:none!important}.ft-legacy-editorial .bubble{display:none!important}
.ft-legacy-editorial .container{max-width:1550px;padding:38px 3%}.ft-legacy-editorial .main-header{text-align:left;padding-top:20px}.ft-legacy-editorial .main-header h1{font-family:Inter,Arial,sans-serif;font-weight:800;letter-spacing:-.075em;line-height:.95;background:linear-gradient(105deg,#fff 30%,#a7cbdc 70%,#6198b0);-webkit-background-clip:text;background-clip:text;text-shadow:none}
.ft-legacy-editorial h1,.ft-legacy-editorial h2,.ft-legacy-editorial h3,.ft-legacy-editorial h4{font-family:Inter,Arial,sans-serif;letter-spacing:-.045em}.ft-legacy-editorial .section-title{font-size:clamp(1.9rem,3vw,3rem);letter-spacing:-.06em}.ft-legacy-editorial .section-title::after{height:1px;background:#a5c5d2;box-shadow:none}
.ft-legacy-editorial .glass-box,.ft-legacy-editorial .race-card,.ft-legacy-editorial .cat-card,.ft-legacy-editorial .race-detail-header,.ft-legacy-editorial .modal-content{background:#161616;backdrop-filter:none;box-shadow:none;border:1px solid #353535;border-radius:5px}.ft-legacy-editorial .race-card{color:#fff;transition:background .55s cubic-bezier(.16,1,.3,1),border-color .55s cubic-bezier(.16,1,.3,1);overflow:hidden}.ft-legacy-editorial .race-card:hover{transform:none;background:#222;border-color:#95b8cc;box-shadow:none}.ft-legacy-editorial .race-card::after{display:none}.ft-legacy-editorial .race-card .meta{color:#bebebe}.ft-legacy-editorial .sub-tag{background:#232323;color:#ddd;border:1px solid #424242;border-radius:3px}
.ft-legacy-editorial .controls-row,.ft-legacy-editorial .top-scrollbar-wrapper{background:#1b1b1b;border-color:#333}.ft-legacy-editorial .tab-btn,.ft-legacy-editorial .btn-link{background:#171717;color:#ededed;border:1px solid #666;border-radius:4px;box-shadow:none;transition:background .55s cubic-bezier(.16,1,.3,1),color .55s cubic-bezier(.16,1,.3,1)}.ft-legacy-editorial .tab-btn.active,.ft-legacy-editorial .btn-link:hover{background:#fff;color:#080808;border-color:#fff;box-shadow:none;transform:none}.ft-legacy-editorial .tab-btn:hover{background:#2d2d2d;color:#fff;transform:none}.ft-legacy-editorial .search-input,.ft-legacy-editorial .filter-group input,.ft-legacy-editorial .filter-group select{background:#0e0e0e;color:#fff;border:1px solid #646464;border-radius:4px;box-shadow:none}.ft-legacy-editorial .search-input:focus,.ft-legacy-editorial .filter-group input:focus{border-color:#9cc7d9;box-shadow:none}.ft-legacy-editorial table{color:#fff}.ft-legacy-editorial th{background:#202020;color:#ddd;border-bottom:1px solid #555;letter-spacing:.06em}.ft-legacy-editorial th:hover{background:#303030;color:#fff}.ft-legacy-editorial td{border-bottom:1px solid #343434}.ft-legacy-editorial tbody tr,.ft-legacy-editorial tbody tr:nth-child(even){background:#151515}.ft-legacy-editorial tbody tr:nth-child(even){background:#1b1b1b}.ft-legacy-editorial tbody tr:hover{background:#293239}.ft-legacy-editorial .rank-badge,.ft-legacy-editorial .rank-badge-cat{background:#222;color:#cce5f1;border:1px solid #607988;box-shadow:none;border-radius:3px}.ft-legacy-editorial .time-badge{color:#fff;text-shadow:none}.ft-legacy-editorial .gender-icon.female,.ft-legacy-editorial .gender-icon.male,.ft-legacy-editorial .top-time{color:#abd0e0;text-shadow:none}.ft-legacy-editorial .cat-card{border-top:1px solid #555}.ft-legacy-editorial .cat-card h3{color:#fff}.ft-legacy-editorial .cat-card:hover{border-color:#9ebed1;box-shadow:none;transform:none}.ft-legacy-editorial .close-modal:hover{color:#fff}.ft-legacy-editorial .race-info-content h2{text-shadow:none}
.ft-legacy-back{display:inline-flex;align-items:center;gap:8px;font:700 .83rem Inter,Arial,sans-serif;letter-spacing:-.02em;text-decoration:none;color:#c9dfe9;border-bottom:1px solid #687e8b;padding:8px 0;margin-bottom:25px}.ft-legacy-back:hover{color:#fff}.ft-legacy-editorial *:focus-visible{outline:2px solid #b5d6e6;outline-offset:3px}@media(max-width:600px){.ft-legacy-editorial .container{padding:20px 16px}.ft-legacy-editorial .main-header h1{font-size:2.8rem}}
@media(prefers-reduced-motion:reduce){.ft-legacy-editorial *, .ft-legacy-editorial *::before{animation:none!important;transition:none!important}}
@media print{.ft-legacy-editorial .ft-legacy-back{display:none!important}}
/* The older search button sets red inline; replace it with the ocean accent. */
.ft-legacy-editorial #dashSearchClear{color:#a9ccde!important;border-color:#6f8590!important}
.ft-legacy-editorial #dashSearchClear:hover{color:#090909!important;border-color:#fff!important}
