body.live-results {
    background: #404040;
    color: white;
}

body.live-results #MeetDetails,
body.live-results #bottom_nav,
body.live-results #MSOFooter {
    display: none !important;
}

div.in-rotation-wrapper {
    max-width: 977px;
}


.event-content .dates .thru {
    padding-left: 3px;
    padding-right: 3px
}

.event-content .dates li {
    display: table-cell
}

/* GROK Bot Edit (2026-10-17): Results pre-score view (Karl). Folded in from the removed Results.e.prescore.css; Results.c.layout loads before Results.d.responsive, which has no overlapping selectors.
   1) .mso-live-area (Results.xml, above the breadcrumb nav): the All Access banner (<LiveDisclaimer/>, close X hidden here only) beside the LIVE STATUS ticker (<LiveProgress/>, untouched).
   2) faint results-grid behind the "Waiting for scores" block (#EmptyResults .mso-wait-plain), theme-aware. */
/* 1) live area */
body.results .mso-live-area { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: .5rem; margin-bottom: .5rem; }
body.results .mso-live-area:empty,
body.results .mso-live-area:not(:has(*)) { display: none; }
body.results .mso-live-area > .card.mso-allaccess-offer { flex: 1 1 22rem; min-width: 0; width: auto; margin: 0 !important; }
body.results .mso-live-area > #live_status_container { flex: 0 0 auto; margin-left: auto; }
body.results .mso-live-area > #live_status_container > .float-end { float: none !important; margin-top: 0 !important; }
/* GROK Bot Edit (2026-10-17): no close X on the banner inside the live area (Karl). Results-page only; the X and its Bootstrap data-bs-dismiss stay in the LiveDisclaimer template.
   Hiding the button also drops the space .card-body reserved for it (pe-5). */
body.results .mso-live-area > .card.mso-allaccess-offer > .mso-live-disclaimer-close { display: none !important; }
body.results .mso-live-area > .card.mso-allaccess-offer > .card-body { padding-right: 1rem !important; }
@media (max-width: 575.98px) {
  body.results .mso-live-area > #live_status_container { flex: 1 1 100%; display: flex; justify-content: flex-end; }
}

/* 2) faint grid behind the waiting message: header band + row lines + a few column lines, masked to fade toward the edges */
body.results #EmptyResults .mso-wait-plain { position: relative; isolation: isolate; overflow: hidden; border-radius: .75rem; --mso-grid-line: rgba(23, 52, 79, .085); --mso-grid-head: rgba(23, 52, 79, .045); }
body.mso-theme-dark.results #EmptyResults .mso-wait-plain { --mso-grid-line: rgba(143, 163, 187, .10); --mso-grid-head: rgba(143, 163, 187, .05); }
body.results #EmptyResults .mso-wait-plain::before {
  content: "";
  position: absolute;
  inset: .25rem 0 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to bottom, var(--mso-grid-head) 0, var(--mso-grid-head) 2.1rem, transparent 2.1rem),
    repeating-linear-gradient(to bottom, transparent 0, transparent calc(2.1rem - 1px), var(--mso-grid-line) calc(2.1rem - 1px), var(--mso-grid-line) 2.1rem),
    repeating-linear-gradient(to right, transparent 0, transparent calc(16.666% - 1px), var(--mso-grid-line) calc(16.666% - 1px), var(--mso-grid-line) 16.666%);
  -webkit-mask-image: radial-gradient(ellipse 70% 85% at 50% 40%, #000 30%, transparent 100%);
          mask-image: radial-gradient(ellipse 70% 85% at 50% 40%, #000 30%, transparent 100%);
}
body.results #EmptyResults .mso-wait-plain > * { position: relative; }

/* Reload pill: spin state set by _399_results.015.js (2s, then reload) */
body.results #EmptyResults .mso-wait-reload.is-reloading { pointer-events: none; cursor: progress; filter: none; }

/* GROK Bot Edit (2026-10-18): Nearby sort on /Results (Karl). Markup from Documents.Xsl/MeetDriven.xsl, rendered only when the Active rows carry distance_miles
   (no location = no new markup, so nothing here applies). Pill sits in the empty bottom-left corner of the card (city/dates are bottom-right).
   Within 50 mi = MSO green (theme var), beyond = neutral. "Nearby Meets" (< 5 mi) is one full-width card with a VIEW SCORES button. */
body.results .mso-meetdriven .meet-container .mso-dist-pill {
  position: absolute; left: 1.05rem; bottom: .85rem; z-index: 1;
  display: inline-block; max-width: 28%; padding: .15rem .5rem; border-radius: 999px;
  font-size: .72rem; font-weight: 800; line-height: 1.3; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--mso-muted, #61738a); background: rgba(97, 115, 138, .10); border: 1px solid rgba(97, 115, 138, .28);
}
body.results .mso-meetdriven .meet-container .mso-dist-pill.is-near {
  color: var(--mso-green, #087f63); background: rgba(8, 127, 99, .10); border-color: rgba(8, 127, 99, .35);
}
body.mso-theme-dark.results .mso-meetdriven .meet-container .mso-dist-pill { background: rgba(143, 163, 187, .12); border-color: rgba(143, 163, 187, .30); }
body.mso-theme-dark.results .mso-meetdriven .meet-container .mso-dist-pill.is-near { background: rgba(88, 217, 160, .12); border-color: rgba(88, 217, 160, .40); }
body.results .mso-meetdriven .meet-container[data-distance] .meet-meta { max-width: 66%; }

body.results .mso-meetdriven .mso-nearby-top { margin-bottom: 1rem; }
body.results .mso-meetdriven .mso-nearby-top .mso-nearby-title { margin: 0 0 .5rem; font-size: .9rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--mso-green, #087f63); }
body.results .mso-meetdriven .mso-nearby-top .mso-meetdriven-grid { grid-template-columns: 1fr; }
body.results .mso-meetdriven .mso-nearby-top .meet-container { border-color: var(--mso-green, #087f63) !important; border-width: 2px !important; min-height: 0; }
body.results .mso-meetdriven .mso-nearby-top .mso-nearby-cta { align-self: flex-start; margin: .1rem 0 .4rem; padding: .5rem 1.25rem; font-size: .95rem; letter-spacing: .05em; }
@media (max-width: 600px) {
  body.results .mso-meetdriven .mso-nearby-top .mso-nearby-cta { align-self: stretch; text-align: center; }
}
