/* A compact sports desk: consistent navigation and a separate all-dates index. */
[hidden] { display: none !important; }
.desk-nav { display: flex; align-items: center; gap: 5px; padding: 12px 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.desk-nav a { flex: none; padding: 12px 16px; text-decoration: none; color: var(--ink); font-size: 12px; font-weight: 800; border-radius: 7px; }
.desk-nav a:hover, .desk-nav a[aria-current="page"] { color: white; background: var(--ink); }
.desk-nav a[aria-current="page"] { box-shadow: inset 0 -3px #dcf34a; }
.desk-nav > span { margin-left: auto; padding: 0 8px; font: 10px 'DM Mono', monospace; color: var(--muted); white-space: nowrap; }
.hero-copy h1 { font-weight: 800; }
.search-section, .news-page-section { margin-top: 55px; }
body[data-page="home"] .search-section { display: none; }
.search-intro { max-width: 740px; margin: -2px 0 20px; color: var(--muted); line-height: 1.7; font-size: 13px; }
.search-section { border-top: 4px solid var(--ink); padding-top: 24px; scroll-margin-top: 15px; }
.search-section .schedule-toolbar { display: grid; grid-template-columns: minmax(230px, 2fr) repeat(2, minmax(140px, 1fr)); align-items: end; gap: 16px; padding: 22px; background: #edf2f8; border: 1px solid #d6dfeb; border-radius: 12px; }
.schedule-toolbar .toolbar-field { min-width: 0; }
.schedule-toolbar .toolbar-field > span { display: block; margin-bottom: 8px; font-weight: 800; color: #34455d; font-size: 11px; }
.search-section .schedule-toolbar input[type="search"], .search-section .schedule-toolbar select { width: 100%; min-height: 46px; border: 1px solid #c2ccda; border-radius: 7px; padding: 10px 12px; background: white; font: 12px Manrope, sans-serif; color: var(--ink); }
.search-section .toolbar-search { grid-column: 1 / -1; }
.search-section .schedule-toolbar input[type="search"] { min-height: 56px; font-size: 16px; font-weight: 600; padding-left: 18px; }
.medal-switch { display: flex; gap: 9px; align-items: center; align-self: center; font-size: 12px; font-weight: 800; cursor: pointer; }
.medal-switch input { width: 18px; height: 18px; accent-color: #164dc4; }
.search-section .clear-filters { min-height: 42px; background: white; border: 1px solid #c2ccda; }
.search-extra { grid-column: 1 / -1; }
.search-extra summary { width: fit-content; cursor: pointer; padding: 8px 0; font-size: 12px; font-weight: 700; color: var(--blue); }
.search-extra-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding-top: 8px; }
.search-extra-fields .medal-switch { grid-column: 1 / -1; }
body[data-page="home"] .search-section { padding-top: 16px; }
body[data-page="home"] .search-section .section-heading { margin-bottom: 12px; gap: 10px; }
body[data-page="home"] .search-section .section-heading h2 { font-size: 22px; }
body[data-page="home"] .search-section .eyebrow,
body[data-page="home"] .search-section > .search-intro { display: none; }
body[data-page="home"] .search-section .schedule-toolbar { padding: 12px; gap: 8px; grid-template-columns: repeat(2,minmax(0,1fr)); }
body[data-page="home"] .search-section .schedule-toolbar input[type="search"],
body[data-page="home"] .search-section .schedule-toolbar select { min-height: 40px; padding: 8px 10px; font-size: 12px; }
body[data-page="home"] .search-section .toolbar-field > span { margin-bottom: 3px; font-size: 10px; }
body[data-page="home"] .search-section .search-extra { grid-column: 1; }
body[data-page="home"] .search-section .search-extra[open] { grid-column: 1 / -1; }
body[data-page="home"] .search-section .clear-filters { min-height: 34px; justify-self: end; padding: 5px 12px; }
body[data-page="home"] .search-status { margin-top: 12px; }
body[data-page="home"] .search-coverage { margin: 5px 0 10px; font-size: 10px; line-height: 1.5; }
body[data-page="home"] .search-welcome { padding: 0; }
body[data-page="home"] .search-welcome > span,
body[data-page="home"] .search-welcome > h3,
body[data-page="home"] .search-welcome > p { display: none; }
body[data-page="home"] .search-results:has(.search-welcome) { padding: 8px; background: transparent; border: 0; }
.search-status { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 20px; }
.search-status #filter-summary { color: var(--ink); font-size: 13px; font-family: Manrope, sans-serif; }
.search-coverage { margin: 10px 0 18px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.search-results { max-height: 720px; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-gutter: stable; border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #f3f6fa; }
.search-result + .search-result { margin-top: 18px; }
.search-result-date { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 2px 3px 9px; font: 10px 'DM Mono', monospace; color: #42536c; }
.search-result-position { display: flex; align-items: center; gap: 9px; min-width: 0; }
.search-result-number { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 5px; box-sizing: border-box; flex-shrink: 0; border-radius: 6px; background: var(--ink); color: white; font-weight: 700; }
.search-mode { padding: 5px 8px; border-radius: 4px; background: #e0e7f0; text-transform: uppercase; font-weight: 500; }
.search-mode-live { background: #dcf7e6; color: #146738; }
.search-mode-completed { background: #e3e9fc; color: #24449c; }
.search-result .event-card { margin: 0; }
.search-welcome { padding: 28px 20px; text-align: center; }
.search-welcome > span { color: var(--blue); font-size: 48px; line-height: 1; }
.search-welcome h3 { margin: 12px 0; font-size: 20px; letter-spacing: -.6px; }
.search-welcome p { font-size: 13px; color: var(--muted); }
#search-more { display: block; margin: 16px auto 0; }
.news-page-section { display: none; }
body:not([data-page="home"]) .hero { min-height: 300px; }
body:not([data-page="home"]) .hero-copy { margin-top: 58px; max-width: 850px; padding-right: 24px; padding-bottom: 80px; }
body:not([data-page="home"]) .hero-copy h1 { font-family: Manrope, sans-serif; font-size: clamp(30px, 5vw, 56px); letter-spacing: -2px; max-width: 850px; }
body:not([data-page="home"]) .hero-metrics { display: none; }
body:not([data-page="home"]) .shell > section,
body:not([data-page="home"]) #milestone-strip,
body:not([data-page="home"]) .home-only { display: none; }
body[data-page="search"] .shell > .search-section,
body[data-page="news"] .shell > .news-page-section,
body[data-page="history"] .shell > .history-section { display: block; }
body[data-page="news"] .news-story { background: white; border-left: 3px solid #174ac6; }
body[data-page="news"] .news-group-title { font-size: 21px; padding: 16px 0; border-bottom: 2px solid var(--ink); }
.news-page-section .news-dialog-list { gap: 20px; }
:where(button, a, input, select, [tabindex]):focus-visible { outline: 3px solid #2962d9; outline-offset: 3px; }
@media (max-width: 700px) {
  .desk-nav > span { display: none; }
  .desk-nav a { padding: 11px 12px; font-size: 11px; }
  .search-section .schedule-toolbar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 16px; gap: 14px 10px; }
  .search-section .toolbar-search { grid-column: 1 / -1; }
  .search-section .schedule-toolbar input[type="search"] { font-size: 14px; }
  .search-results { max-height: 65vh; padding: 10px; }
  .search-result-date { align-items: flex-start; line-height: 1.5; }
  .search-mode { flex: none; }
  body:not([data-page="home"]) .hero { min-height: 310px; }
}
