/* Race dashboard; retains the site's fonts and theme. */
.rd-dashboard{--rd-blue:#0066cc;--rd-border:var(--line);display:grid;gap:16px;min-width:0;max-width:1180px;box-sizing:border-box;margin:0 auto 24px;font-family:var(--body)}
.rd-dashboard>*,.rd-selected>*{min-width:0}.rd-dashboard .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.rd-hero-content{min-width:0;box-sizing:border-box;overflow-wrap:anywhere}.rd-dashboard .powerup-list{flex-wrap:wrap}
.rd-start .rd-button{padding-inline:6px}.rd-pen{overflow-wrap:anywhere}.rd-heat summary{min-height:44px!important}
.rd-chart svg text{font-size:17px!important}.rd-hero-facts{font-weight:600;font-variant-numeric:tabular-nums}
.rd-dashboard h3{font-size:1.25rem;line-height:1.25;margin:0 0 12px}.rd-dashboard h4{font-size:1rem;line-height:1.3;margin:12px 0}.rd-dashboard p{margin:8px 0}.rd-note,.rd-unavailable{font-size:.75rem;line-height:1.5;color:var(--muted)}
.rd-hero{position:relative;isolation:isolate;min-height:260px;background:linear-gradient(110deg,#102344,#165b83);color:white;border-radius:12px;overflow:hidden;display:flex;align-items:center}.rd-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% center;z-index:-2}.rd-hero::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#000b,#0002);z-index:-1}.rd-hero-content{padding:24px;max-width:900px}.rd-hero h2{font-size:2.8rem;line-height:1.08;overflow-wrap:anywhere;margin:12px 0}.rd-kicker{font-weight:700;font-size:.85rem}.rd-hero .rd-note{color:#dde7f2}
.rd-information{display:grid;grid-template-columns:1.1fr 1fr .8fr;gap:16px}.rd-panel,.rd-pen{background:var(--panel);border:1px solid var(--rd-border);border-radius:10px;padding:16px;min-width:0}.rd-panel .powerup-list{gap:14px}.rd-panel .powerup-list li{align-items:flex-start}.rd-panel .powerup-list small{display:block;font-size:.7rem;color:var(--muted)}.rd-segments{list-style:none;padding:0;margin:0;font-size:.8rem}.rd-segments li{padding:8px 0;border-bottom:1px solid var(--line)}.rd-segments span{display:block;color:var(--muted)}.rd-map img{width:100%;height:auto;max-height:180px;object-fit:contain;background:white;border-radius:8px}.rd-map a{font-size:.8rem}
.rd-section-heading{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:12px}.rd-section-heading h3{margin:0;margin-right:auto}.rd-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;padding:8px 12px;border:1px solid var(--rd-blue);background:var(--rd-blue);color:white!important;border-radius:8px;font-family:var(--body);font-size:.8rem;font-weight:700;text-decoration:none;text-align:center;line-height:1.3;cursor:pointer}.rd-button:hover{background:#0057b0}.rd-button:active{background:#004a99}.rd-secondary{background:var(--panel);color:var(--text)!important;border-color:var(--line2)}.rd-secondary:hover{background:var(--panel2)}
.rd-dashboard :is(button,a,summary):focus-visible{outline:3px solid #0057b0;outline-offset:3px}.rd-strip-controls{display:flex;gap:8px;align-items:center;min-width:0}.rd-start-strip{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;padding:4px 4px 12px;min-width:0;scroll-snap-type:x proximity}.rd-start{flex:0 0 170px;display:flex;flex-direction:column;gap:8px;padding:12px;border:2px solid var(--line);border-radius:8px;background:var(--panel);min-width:0}.rd-start.is-selected{border-color:var(--rd-blue);background:var(--panel2)}.rd-select{appearance:none;border:0;background:none;color:var(--text);font-family:var(--body);display:grid;gap:6px;padding:0;text-align:left;cursor:pointer}.rd-select span:first-child{font-size:.8rem}.rd-select time{font-size:.9rem;font-weight:700;line-height:1.4;font-variant-numeric:tabular-nums}.rd-selected-marker{font-size:.7rem;color:var(--muted)}.rd-count{font-size:.75rem;color:var(--muted)}.rd-start .rd-button{margin-top:auto}.rd-arrow{border:1px solid var(--line2);border-radius:50%;background:var(--panel);color:var(--text);font-size:1.6rem;min-width:44px;height:44px;cursor:pointer}
.rd-selected{padding:20px;border:1px solid var(--rd-blue);border-radius:12px;display:grid;gap:16px;background:var(--panel)}.rd-selected h3{margin:0}.rd-selected [aria-busy=true]{min-height:260px}.rd-evidence-heading,.rd-pen-heading{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.rd-pen-heading h4{margin:0;margin-right:auto}.rd-pen-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(224px,100%),1fr));gap:12px;margin-top:12px}.rd-pen{min-height:220px}.rd-pen-badge{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;border-radius:6px;background:var(--pen);color:var(--pen-text);font-weight:700}.rd-chart{margin:8px 0;color:var(--pen)}.rd-chart svg{width:100%;height:auto;min-height:95px;overflow:visible}.rd-chart svg text{fill:var(--text);font-size:11px;font-family:var(--body)}.rd-chart figcaption{color:var(--muted);font-size:.68rem;line-height:1.45}.rd-chart-data{font-size:.7rem;margin-top:12px}.rd-chart-data table{width:100%;font-size:.7rem}.rd-chart-data th,.rd-chart-data td{padding:4px;text-align:left}.rd-chart-data summary{cursor:pointer}
.rd-lower{display:grid;grid-template-columns:.9fr 1.7fr .8fr;gap:12px}.rd-lower .rd-panel{background:var(--bg2)}.rd-lower dl{display:grid;grid-template-columns:1fr 1fr;font-size:.8rem;gap:8px;margin:0}.rd-lower dd{margin:0;font-weight:700}.rd-lower a{font-size:.8rem}.rd-lower .rd-button{margin-top:12px}
.rd-heat{position:relative;flex:0 0 auto}.rd-heat summary{list-style:none;display:flex;align-items:center;color:#c4480b;cursor:pointer;min-height:32px}.rd-heat summary::-webkit-details-marker{display:none}.rd-heat svg{width:18px;height:22px}.rd-heat p{position:absolute;right:0;top:100%;z-index:3;width:min(290px,70vw);padding:12px;border:1px solid var(--line2);border-radius:8px;background:var(--panel);color:var(--text);box-shadow:0 4px 16px #0003;font-size:.75rem}.rd-heat:not([open]):hover p,.rd-heat:not([open]):focus-within p{display:block}.rd-heat:not([open]):hover>p,.rd-heat:not([open]):focus-within>p{content-visibility:visible}.rd-dialog{width:min(740px,calc(100% - 32px));max-height:85vh;overflow:auto;box-sizing:border-box;padding:20px;border:1px solid var(--line2);border-radius:12px;background:var(--panel);color:var(--text)}.rd-dialog::backdrop{background:#0009}.rd-dialog .rd-start{margin:12px 0}.rd-dialog .rd-start button{width:100%}.rd-dialog section>h4{margin-top:20px}.rd-past{margin-top:16px}
:root:not([data-theme=dark]) .rd-dashboard{--rd-border:#dce7f3;background:#f3f8fc;padding:16px;border-radius:12px}:root:not([data-theme=dark]) .rd-start.is-selected{background:#eef5ff}:root[data-theme=dark] .rd-heat summary{color:#ff923f}
@media(max-width:1023px){.rd-information{grid-template-columns:1fr 1fr}.rd-map{grid-column:1/-1}.rd-lower{grid-template-columns:1fr}.rd-map img{max-height:240px}.rd-hero h2{font-size:2.2rem}}
@media(max-width:639px){.rd-information{grid-template-columns:1fr}.rd-map{grid-column:auto}.rd-hero{min-height:280px}.rd-hero::after{background:#0008}.rd-hero-content{padding:16px}.rd-hero h2{font-size:1.8rem}.rd-selected{padding:16px}.rd-pen-grid{grid-template-columns:1fr}.rd-start{flex-basis:144px}.rd-arrow{display:none}.rd-dialog{height:calc(100dvh - 24px);max-height:none;width:calc(100% - 24px);padding:16px}.rd-dashboard{gap:24px}:root:not([data-theme=dark]) .rd-dashboard{padding:0;background:transparent}}
@media(prefers-reduced-motion:reduce){.rd-dashboard *{scroll-behavior:auto;transition:none}}

/* Match each row's tallest content panel; keep the full map below its heading. */
.rd-information{align-items:stretch}
.rd-map{display:block}
.rd-map a{display:block}
.rd-map a>img{display:block;width:100%;height:auto;max-height:none}

/* Compact upcoming-start review; no changes to completed-race typography. */
.rd-dashboard :is(h2,h3,h4){font-family:var(--body);font-weight:600;letter-spacing:normal}
.rd-dashboard h3{margin-bottom:8px;font-size:1.1rem}.rd-dashboard h4{margin:8px 0}
.rd-hero{min-height:220px}.rd-hero-content{padding:20px;display:grid;gap:5px}
.rd-hero h2{font-size:2.1rem;margin:0;line-height:1.15}
.rd-hero p{margin:0;line-height:1.3}.rd-kicker{font-weight:600}
.rd-panel{padding:14px}.rd-panel .powerup-list{gap:12px}
.rd-panel .powerup-list strong{font-weight:600}.rd-panel .powerup-list small{max-width:120px;line-height:1.3}
.rd-segments li{display:flex;align-items:center;gap:8px;padding:6px 0}
.rd-segments .segment-icon{width:24px;height:24px;flex:0 0 24px}
.rd-segments strong{font-weight:600}.rd-segments span{line-height:1.35}
.rd-select{gap:4px}.rd-select>span:first-child{font-size:.8rem}
.rd-time-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.rd-time-row time{font-weight:600}.rd-start-date{font-size:.72rem;color:var(--muted)}
.rd-card-flames{display:inline-flex;align-items:center;gap:0;line-height:1}
.rd-flame{font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;font-size:18px;line-height:1.2}
.rd-selected{padding:16px;gap:12px}.rd-selected-header{display:flex;align-items:center;flex-wrap:wrap;gap:10px 20px}
.rd-selected-header h3{flex:1 1 340px;margin:0;line-height:1.35}
.rd-selected-header [data-selected-summary]{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px}
.rd-hot{display:flex;align-items:center;gap:8px}.rd-hot .rd-flame{font-size:30px}
.rd-hot strong{font-size:.9rem;font-weight:600}.rd-hot small{display:block;font-size:.72rem;color:var(--muted);max-width:220px;line-height:1.3}
.rd-signups{display:grid;gap:5px}.rd-signups>strong{font-size:.8rem;font-weight:600}
.rd-avatars{display:flex;align-items:center;padding-left:5px;min-height:30px}
.rd-avatars img,.rd-avatar-overflow{width:28px;height:28px;border:2px solid var(--panel);border-radius:50%;margin-left:-5px;box-sizing:content-box;background:var(--panel2);object-fit:cover}
.rd-avatar-overflow{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:28px;padding:0 3px;font-size:.65rem;color:var(--text)}
/* Desktop photos match the combined two-line Hot Race label; mobile is unchanged. */
@media(min-width:640px){
 .rd-hot strong{display:block;line-height:1.35}
 .rd-selected-header .rd-signup-total{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
 .rd-selected-header .rd-avatars{--rd-avatar-size:calc(.9rem * 1.35 + .72rem * 1.3);padding-left:9px;min-height:var(--rd-avatar-size)}
 .rd-selected-header .rd-avatars img,.rd-selected-header .rd-avatar-overflow{width:var(--rd-avatar-size);height:var(--rd-avatar-size);min-width:var(--rd-avatar-size);box-sizing:border-box;margin-left:-9px}
 .rd-selected-header .rd-avatar-overflow{width:auto;padding:0 6px;font-size:.75rem}
}
.rd-pen-grid{grid-template-columns:repeat(auto-fit,minmax(min(184px,100%),1fr));gap:10px;margin-top:8px}
.rd-pen{padding:10px;min-height:0}.rd-pen-heading{gap:5px;min-height:44px}.rd-pen-heading h4{margin:0;font-size:.82rem}
.rd-pen-badge{min-width:26px;min-height:26px;font-size:.85rem}
.rd-eligibility{font-size:.7rem;color:var(--text);white-space:nowrap;background:color-mix(in srgb,var(--pen) 16%,var(--panel));border-radius:4px;padding:2px 4px}
.rd-pen-count{display:block;font-size:.78rem;font-weight:600;margin:3px 0}
.rd-pen .rd-heat{margin-left:auto}.rd-chart{margin:3px 0 0}
.rd-median-number{font-weight:600}
.rd-start .rd-register{min-height:32px;padding:4px 8px}
.rd-fact-icon{width:18px;height:18px;flex:0 0 18px;vertical-align:middle}
.rd-lower dt,.rd-hero-facts>span{display:inline-flex;align-items:center;gap:6px}
.rd-hero-facts{display:flex;flex-wrap:wrap;gap:6px 14px}
@media(pointer:coarse){.rd-start .rd-register{min-height:44px}}
.rd-chart svg{min-height:0;height:70px}.rd-median-line{stroke-width:1.5}
.rd-selected [aria-busy=true]{min-height:190px}
@media(max-width:1023px){.rd-hero h2{font-size:1.9rem}}
@media(max-width:639px){.rd-dashboard{gap:16px}.rd-hero{min-height:210px}.rd-hero-content{padding:16px}.rd-hero h2{font-size:1.6rem}.rd-selected{padding:12px}.rd-selected-header h3{flex-basis:100%}.rd-pen-grid{grid-template-columns:1fr}.rd-chart svg{height:76px}.rd-pen-heading h4{font-size:.9rem}}

/* Compact disclosure: the selected-start summary remains visible when closed. */
.rd-dashboard{width:100%;gap:10px;margin-bottom:16px}
.rd-dashboard p{margin:5px 0}.rd-dashboard h3{margin-bottom:6px}
.rd-hero-content{padding:16px;gap:3px}.rd-hero p{margin:0}
.rd-information{gap:10px}.rd-panel{padding:10px 12px}
.rd-section-heading{gap:8px;margin-bottom:6px}
.rd-start-strip{flex:1 1 0;gap:8px;padding:2px 2px 6px}
.rd-start{box-sizing:border-box;gap:5px;padding:8px 10px}.rd-select{gap:2px}
.rd-arrow{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;padding:0;line-height:1;font-family:var(--body);box-sizing:border-box}
.rd-arrow svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.rd-selected{padding:10px 12px;gap:0}
.rd-selected-header{gap:6px 14px}.rd-selected-header h3{margin:0}
.rd-selected-header [data-selected-summary]{gap:6px 14px}
.rd-start-toggle{appearance:none;display:flex;align-items:center;gap:8px;min-height:44px;width:100%;padding:0;border:0;background:none;color:var(--text);font:inherit;text-align:left;cursor:pointer}
.rd-start-toggle-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;font-size:1.4rem;line-height:1;color:#ff6a00}
.rd-selected-body{display:grid;gap:8px;padding-top:6px}
.rd-selected-body[hidden]{display:none}
.rd-selected-body h4{margin:6px 0}.rd-pen-grid{margin-top:6px;gap:8px}
.rd-lower{gap:8px}.rd-lower .rd-button{margin-top:6px}
.rd-signups{gap:2px}.rd-hot{gap:6px}
@media(max-width:639px){.rd-dashboard{gap:10px}.rd-hero-content{padding:12px}.rd-selected{padding:8px 10px}.rd-arrow{display:none}}

/* Neutral event groups match Power-ups; start cards use the action blue. */
.rd-dashboard{--rd-border:var(--line)}
:root:not([data-theme=dark]) .rd-dashboard{--rd-border:#c9ced5}
.rd-start,.rd-start.is-selected,.rd-selected{border:1px solid var(--rd-border)}
.rd-start,.rd-start.is-selected{border-color:var(--rd-blue)}
.rd-useful-links a,.rd-useful-links a:hover,.rd-useful-links a:visited{color:var(--text);text-decoration:none}
.rd-useful-links a.rd-useful-link{display:flex;align-items:center;gap:8px;min-height:36px;color:var(--text)!important;text-decoration:none;line-height:1.35}
.rd-useful-link>span{min-width:0;overflow-wrap:anywhere}
.rd-useful-link .rd-external-icon{flex:0 0 18px;width:18px;height:18px;margin-left:auto}
.rd-count:empty{display:none}

/* Small visual circles retain a 44px keyboard/touch target. */
.rd-arrow{position:relative;border:0;background:transparent;border-radius:0}
.rd-arrow::before{content:"";position:absolute;width:30px;height:30px;border:1px solid var(--rd-border);border-radius:50%;background:var(--panel);box-sizing:border-box}
.rd-arrow svg{position:relative;width:14px;height:14px}
.rd-completed{font-size:.75rem;color:#167a3e}
:root[data-theme=dark] .rd-completed{color:#62d58e}
.rd-pen-start{font-size:.75rem;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.rd-pen-heading{flex-wrap:wrap}
.rd-route-profile{margin:6px 0 0}
.rd-route-profile img{display:block;width:100%;height:auto;border-radius:6px}
.rd-route-profile figcaption{font-size:.72rem;color:var(--muted);line-height:1.4;margin-top:5px}

/* Keep pen headings compact and align the taller plots across each grid row. */
.rd-pen{display:flex;flex-direction:column}
.rd-pen-heading{gap:4px}
.rd-pen .rd-pen-heading h4{margin:0;font-size:.78rem;white-space:nowrap}
.rd-pen-heading .rd-pen-badge{flex:0 0 26px}
.rd-pen-heading .rd-eligibility{font-size:.65rem}
.rd-pen .rd-heat summary{flex-wrap:nowrap}
.rd-pen .rd-heat .rd-flame{font-size:12px;flex:0 0 12px}
.rd-pen .rd-chart{margin-top:auto;padding-top:6px}
.rd-pen .rd-chart svg{height:96px}
.rd-chart .rd-x-axis{color:var(--muted)}
.rd-chart .rd-x-axis path{fill:none;stroke:currentColor;stroke-width:1.25;vector-effect:non-scaling-stroke}
.rd-chart figcaption{margin-top:3px}
.rd-chart .rd-axis-title{display:block;text-align:center}

/* Banner and chance stay together. Very long names scroll inside the panel,
   never force the mobile page wider or obscure the full description. */
@media(max-width:639px){
  /* Let the banner text and its padding set the height, not the artwork. */
  .rd-hero{min-height:0;height:auto}
  .rd-start-selection>.rd-section-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:6px 8px}
  .rd-start-selection>.rd-section-heading h3{margin:0}
  .rd-start-selection>.rd-section-heading>.rd-note{align-self:end;text-align:right;max-width:45vw;overflow-wrap:anywhere}
  .rd-start-selection>.rd-section-heading>[data-all-starts]{grid-column:1/-1;justify-self:end}
  .rd-information>.rd-map{order:-1}
  .rd-panel .powerup-list{overflow-x:auto;overscroll-behavior-x:contain}
  .rd-panel .powerup-list small{max-width:none;white-space:nowrap}
  .rd-panel .powerup-list li{flex-shrink:0}
}

.rd-route-profile figcaption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
/* Match the distance/elevation/laps rows, with the external-link icon kept
   on the trailing edge. */
.rd-useful-links a.rd-useful-link{min-height:0;padding:0;margin:0;line-height:1.4}
.rd-useful-links{--rd-detail-row-gap:8px}
.rd-useful-links>h3{margin-bottom:8px}
.rd-useful-links [data-selected-links]{display:grid;gap:var(--rd-detail-row-gap);margin-top:var(--rd-detail-row-gap)}

/* Keep the selected start at the left and its saved field evidence together at
   the right. Native heat disclosure and profile-photo fallbacks are preserved. */
.rd-selected-header h3{flex:0 1 auto;min-width:0;max-width:100%}
.rd-selected-header [data-selected-summary]{margin-left:auto;min-width:0;max-width:100%;justify-content:flex-end}
.rd-selected-header .rd-number-summary{display:flex;align-items:center;justify-content:flex-end;gap:16px;width:auto;max-width:100%;min-height:44px;height:auto;flex:0 1 auto}
.rd-number-summary .rd-number-main{display:flex;align-items:center;gap:5px;flex:none;min-width:0;white-space:nowrap}
.rd-number-summary .rd-number-main>strong{font-size:30px;line-height:1.1;font-weight:750;letter-spacing:-.04em;font-variant-numeric:tabular-nums;color:var(--text)}
.rd-number-summary .rd-number-main>small{display:inline;font-size:14px;line-height:1.3;color:var(--muted);white-space:nowrap}
.rd-number-summary .rd-number-evidence,.rd-number-summary .rd-number-heat{flex:0 1 auto;min-width:0;height:auto}
.rd-number-summary .rd-number-evidence,.rd-number-summary .rd-number-heat>summary{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 16px;width:auto;min-height:44px!important;height:auto;box-sizing:border-box;padding:0}
.rd-number-summary .rd-number-evidence-top{display:contents}
.rd-number-summary .rd-number-evidence-top>b{font-size:14px;line-height:1.3;font-weight:600;color:var(--muted);white-space:nowrap}
/* Trim extra text space where supported to centre the visible text with
   the header's images and badges. Normal centred line boxes are the fallback. */
@supports(text-box-trim:trim-both){
 .rd-selected-header .rd-selected-full,.rd-selected-header .rd-selected-compact,.rd-number-summary .rd-number-main>strong,.rd-number-summary .rd-number-main>small,.rd-number-summary .rd-number-evidence-top>b{text-box-trim:trim-both;text-box-edge:cap alphabetic}
}
.rd-number-summary .rd-number-flames{display:inline-flex;align-items:center;gap:1px;flex:none;order:2;line-height:1}
.rd-number-summary .rd-number-flames .rd-flame{display:inline-flex;align-items:center;justify-content:center;width:25px;flex:0 0 25px;font-size:24px;line-height:1}
.rd-number-summary .rd-number-avatars{display:flex;align-items:center;flex:none;order:1;min-width:0;height:30.8px;padding:0;white-space:nowrap;isolation:isolate}
.rd-number-summary .rd-number-avatar{display:block;position:relative;flex:none;width:30.8px;height:30.8px;margin-left:-12.1px;box-sizing:border-box;border:2px solid var(--panel);border-radius:50%;background:var(--panel2);overflow:hidden}
.rd-number-summary .rd-number-avatar:first-child{margin-left:0;z-index:5}
.rd-number-summary .rd-number-avatar:nth-child(2){z-index:4}
.rd-number-summary .rd-number-avatar:nth-child(3){z-index:3}
.rd-number-summary .rd-number-avatar:nth-child(4){z-index:2}
.rd-number-summary .rd-number-avatar:nth-child(5){z-index:1}
.rd-number-summary .rd-number-avatar>svg{display:block;width:100%;height:100%;fill:var(--muted);opacity:.6}
.rd-number-summary .rd-number-avatar>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;border:0;border-radius:50%;background:var(--panel2)}
.rd-number-summary .rd-number-overflow{display:inline-flex;align-items:center;flex:none;min-height:22px;margin-left:5px;padding:0 4px;border:1px solid var(--line);border-radius:6px;color:var(--muted);font-size:12px;line-height:1.3;font-variant-numeric:tabular-nums}
.rd-selected-compact{display:none}
@media(max-width:639px){
 .rd-selected-header h3{flex-basis:100%}
 .rd-selected-header .rd-selected-full{display:none}
 .rd-selected-header .rd-selected-compact{display:inline;white-space:nowrap;font-size:.85rem;line-height:1.35}
 .rd-selected-header .rd-number-summary{gap:6px}
 .rd-number-summary .rd-number-main{gap:4px}
 .rd-number-summary .rd-number-main>strong{font-size:22px}
 .rd-number-summary .rd-number-main>small,.rd-number-summary .rd-number-evidence-top>b{font-size:12px}
 .rd-number-summary .rd-number-evidence,.rd-number-summary .rd-number-heat>summary{column-gap:6px}
 .rd-number-summary .rd-number-avatars{height:24.2px}
 .rd-number-summary .rd-number-avatar{width:24.2px;height:24.2px;margin-left:-12.1px}
 .rd-number-summary .rd-number-avatar:first-child{margin-left:0}
 .rd-number-summary .rd-number-overflow{margin-left:2px;padding:0 2px;font-size:11px}
 .rd-number-summary .rd-number-flames .rd-flame{width:19px;flex-basis:19px;font-size:18px}
}

/* One saved banner occurrence per row; the surrounding information grid stays
   unchanged. The same component is used by member and public schedules. */
.fixture-powerups{container-type:inline-size;min-width:0;max-width:100%;color:var(--text);font-family:var(--body)}
.fixture-powerups *,.fixture-powerups *::before,.fixture-powerups *::after{box-sizing:border-box}
.fixture-powerups [hidden]{display:none!important}
.fixture-powerups .pu-subtitle{margin:0 0 12px;color:var(--muted);font-size:.8rem;line-height:1.45}
.fixture-powerups .pu-legend{display:flex;flex-wrap:wrap;gap:8px 18px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.fixture-powerups .pu-key{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%;color:var(--muted);font-size:.8rem;line-height:1.35;overflow-wrap:anywhere}
.fixture-powerups .pu-visual{display:inline-flex;align-items:center;gap:5px;flex:none;min-width:0}
.fixture-powerups .pu-icon{display:inline-grid;place-items:center;flex:none;width:40px;height:40px;object-fit:contain}
.fixture-powerups .pu-icon-fallback{border:1px solid var(--line2,var(--line));border-radius:50%;background:var(--panel2);color:var(--muted);font-size:1rem;font-weight:700}
.fixture-powerups .pu-icon-name{font-size:.75rem;line-height:1.25;overflow-wrap:anywhere;min-width:0}
.fixture-powerups .pu-key .pu-icon{width:25px;height:25px}
.fixture-powerups .pu-key .pu-icon-name,.fixture-powerups .pu-choice .pu-icon-name{display:none}
.fixture-powerups .pu-list{display:block;list-style:none;padding:0;margin:0;min-width:0;max-width:100%}
.fixture-powerups .pu-item{display:block;border-bottom:1px solid var(--line);min-width:0;max-width:100%}
.fixture-powerups .pu-row{appearance:none;display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-width:44px;min-height:64px;padding:11px 0;border:0;border-radius:5px;background:transparent;color:var(--text);font:inherit;font-size:.95rem;line-height:1.4;text-align:left;cursor:pointer}
.fixture-powerups .pu-item:hover>.pu-row,.fixture-powerups .pu-row[aria-expanded=true]{background:var(--panel2)}
.fixture-powerups .pu-row:focus-visible{outline:3px solid var(--rd-blue,#2468c9);outline-offset:2px}
html[data-theme=dark] .fixture-powerups .pu-row:focus-visible{outline-color:#88baff}
.fixture-powerups .pu-order{display:inline-grid;place-items:center;width:24px;height:25px;border-radius:5px;background:var(--panel2);color:var(--muted);font-size:.7rem;font-weight:600}
.fixture-powerups .pu-name{min-width:0;font-weight:600;overflow-wrap:anywhere}
.fixture-powerups .pu-award{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px 12px;min-width:0;max-width:100%}
.fixture-powerups .pu-stack{display:flex;align-items:center;flex-wrap:wrap;row-gap:5px;max-width:168px;min-width:0;padding-left:9px}
.fixture-powerups .pu-stack>.pu-visual{margin-left:-9px}
.fixture-powerups .pu-stack>.pu-visual--missing{flex:1 1 auto;margin-left:0;max-width:100%}
.fixture-powerups .pu-odds{min-width:58px;font-size:1rem;font-variant-numeric:tabular-nums;line-height:1.3}
.fixture-powerups .pu-each{color:var(--muted);font-size:.75rem;font-weight:400}
.fixture-powerups .pu-odds--unknown{max-width:105px;color:var(--muted);font-size:.8rem}
.fixture-powerups .pu-award--pairs{grid-column:2/-1;justify-content:flex-start;gap:8px 16px;padding-bottom:2px}
.fixture-powerups .pu-choice{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%;font-size:.8rem;font-weight:600;overflow-wrap:anywhere}
.fixture-powerups .pu-choice .pu-icon{width:30px;height:30px}
.fixture-powerups .pu-detail{margin:0 0 12px 34px;padding:10px 12px;border-radius:6px;background:var(--panel2);color:var(--muted);font-size:.8rem;line-height:1.45;overflow-wrap:anywhere}
.fixture-powerups .pu-detail strong{color:var(--text);font-weight:600}
.fixture-powerups .pu-detail p{margin:4px 0 0;font-size:inherit;line-height:inherit}
.fixture-powerups .pu-footnote{margin:12px 0 0;font-size:.72rem;color:var(--muted);line-height:1.4;overflow-wrap:anywhere}
.fixture-powerups .fixture-powerup-repeat{margin:10px 0 0;font-size:.8rem;line-height:1.4;color:var(--text)}
@container(max-width:270px){
 .fixture-powerups .pu-row{grid-template-columns:24px minmax(0,1fr);row-gap:7px}
 .fixture-powerups .pu-award{grid-column:2;justify-content:flex-start}
 .fixture-powerups .pu-award--pairs{grid-column:2}
}

/* Public schedule, layout A: pinned race strip, folded race cards. */
.sched-strip{position:sticky;top:0;z-index:30;display:flex;gap:8px;overflow-x:auto;margin:0 -3px 14px;padding:8px 3px;background:var(--panel,#fff);border-bottom:1px solid var(--line,#d6dfed);scrollbar-width:thin}
.sched-pill{flex:1 0 118px;display:flex;flex-direction:column;align-items:flex-start;gap:1px;padding:7px 12px;border:1px solid var(--line,#d6dfed);border-radius:10px;background:var(--panel,#fff);color:var(--text,#17263f);font:inherit;text-align:left;cursor:pointer}
.sched-pill b{font-family:var(--disp,inherit);font-size:1.05rem;font-weight:700;line-height:1.1}
.sched-pill span{font-size:.75rem;color:var(--muted,#53627a)}
.sched-pill small{font-size:.6875rem;color:var(--muted,#53627a)}
.sched-pill.is-done b{color:var(--good,#1a7f37)}
.sched-pill.is-next{border-color:var(--accent,#174ee3);background:color-mix(in srgb,var(--accent,#174ee3) 10%,var(--panel,#fff))}
.sched-pill.is-next small{color:var(--accent,#174ee3);font-weight:600}
.sched-pill[aria-current]{box-shadow:0 0 0 2px var(--accent,#174ee3)}
.sched-pill:hover{border-color:var(--accent,#174ee3)}
.sched-pill:focus-visible,.sched-toggle:focus-visible{outline:3px solid var(--accent,#174ee3);outline-offset:2px}
#fixtureList>.rd-dashboard{scroll-margin-top:var(--sched-offset,84px)}
#fixtureList>.rd-dashboard .rd-hero{position:relative}
.sched-summary{margin:4px 0 0;font-size:.8125rem;opacity:.85}
.sched-toggle{position:absolute;right:14px;top:14px;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid rgba(255,255,255,.35);border-radius:999px;background:rgba(255,255,255,.1);color:inherit;font:inherit;font-size:.8125rem;cursor:pointer}
.sched-toggle svg{transition:transform .15s}
.sched-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
#fixtureList[data-layout-a] .rd-hero-content{padding-right:150px}
.rd-dashboard.is-folded>:not(.rd-hero){display:none!important}
.rd-dashboard.is-folded .rd-hero{min-height:0!important}
/* A folded race is a compact two-row header: title and start count, then facts and date. */
.rd-dashboard.is-folded .rd-hero-content{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'title summary' 'facts date';align-items:baseline;gap:2px 16px;max-width:none;padding:10px 140px 10px 16px}
.rd-dashboard.is-folded .rd-hero h2{grid-area:title;font-size:1.3rem;line-height:1.2;margin:0}
.rd-dashboard.is-folded .rd-hero-facts{grid-area:facts}
.rd-dashboard.is-folded .rd-hero [data-hero-date]{grid-area:date;justify-self:end;text-align:right}
.rd-dashboard.is-folded .sched-summary{grid-area:summary;justify-self:end}
.rd-dashboard.is-folded .rd-hero-facts,.rd-dashboard.is-folded .rd-hero [data-hero-date],.rd-dashboard.is-folded .sched-summary{font-size:.8125rem;margin:0}
.rd-dashboard.is-folded .sched-toggle{top:50%;transform:translateY(-50%)}
@media(max-width:650px){.rd-dashboard.is-folded .rd-hero h2{font-size:1.1rem}.rd-dashboard.is-folded .rd-hero-content{grid-template-columns:minmax(0,1fr);grid-template-areas:'title' 'facts';padding-right:56px}.rd-dashboard.is-folded .sched-summary,.rd-dashboard.is-folded .rd-hero [data-hero-date]{display:none}#fixtureList[data-layout-a] .rd-hero-content{padding-right:56px}.sched-pill{flex-basis:104px}.sched-toggle span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.sched-toggle{padding:8px}}
/* Layout A shows every start of the open race at once, earliest first, instead of a sideways scroller. */
#fixtureList[data-layout-a] .rd-strip-controls{display:block}
#fixtureList[data-layout-a] .rd-strip-controls .rd-arrow{display:none}
#fixtureList[data-layout-a] .rd-start-strip{display:flex;flex-direction:row-reverse;flex-wrap:wrap;justify-content:flex-end;gap:10px;overflow:visible;padding-right:0!important}

/* Live finishers: the riders Zwift has listed so far for a race in progress. */
.rd-live{display:inline-flex;align-items:center;gap:6px;font-size:.75rem;font-weight:700;color:#b42318}
.rd-live i,.rd-live-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#d92d20;box-shadow:0 0 0 0 rgba(217,45,32,.5);animation:rd-live-pulse 1.8s ease-out infinite}
:root[data-theme=dark] .rd-live{color:#ff8a80}
@keyframes rd-live-pulse{70%{box-shadow:0 0 0 7px rgba(217,45,32,0)}100%{box-shadow:0 0 0 0 rgba(217,45,32,0)}}
@media (prefers-reduced-motion:reduce){.rd-live i,.rd-live-dot{animation:none}}
.rd-live-status{display:block;margin:0 0 4px;font-size:.9rem;line-height:1.5}.rd-live-dot{margin-right:8px;vertical-align:middle}
.rd-live-status strong{color:#b42318}:root[data-theme=dark] .rd-live-status strong{color:#ff8a80}
.rd-live-note,.rd-live-warning{margin:8px 0;padding:10px 12px;border:1px solid var(--rd-border);border-radius:8px;background:var(--bg2);font-size:.85rem;line-height:1.45}
.rd-live-warning{border-color:#b54708;background:rgba(181,71,8,.08)}
.rd-live-pens{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:12px;margin-top:8px}
.rd-live-pen{background:var(--panel);border:1px solid var(--rd-border);border-radius:10px;padding:0;min-width:0;overflow:hidden}
.rd-live-pen h4{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;padding:12px 12px 8px}
.rd-live-toggle{margin-top:8px}
.rd-live-summary .rd-number-evidence-top b{color:#b42318}:root[data-theme=dark] .rd-live-summary .rd-number-evidence-top b{color:#ff8a80}
.rd-live-all{grid-column:1/-1}
/* The live board is laid out like the Individual Results and GC tables: one table, header band, trophies, coloured category and club badges. */
.rd-live-scroll{overflow-x:auto}
.rd-live-pen>.rd-note,.rd-live-pen>.rd-live-toggle{margin:8px 12px 12px}
.rd-live-pen>.rd-live-toggle{display:block}
.rd-live-table{width:100%;min-width:0;border-collapse:collapse;font-size:.78rem;font-variant-numeric:tabular-nums}
.rd-live-table th{padding:8px 4px;background:var(--panel2);color:var(--muted);font-family:var(--disp);font-size:.9rem;font-weight:600;line-height:1.15;text-align:left;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}
.rd-live-table tbody th{background:transparent;font-family:inherit;font-size:inherit;text-transform:none;letter-spacing:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rd-live-table td,.rd-live-table tbody th{height:20px;box-sizing:border-box;padding:2px 4px;border-top:1px solid var(--line,var(--rd-border));vertical-align:middle;text-align:left;line-height:18px}
.rd-live-table tbody[hidden]{display:none}
.rd-live-table tbody tr:hover{background:color-mix(in srgb,var(--panel2) 70%,transparent);color:var(--text)}
/* Column positions and cell styles copied from the GC table: Pos 52 · flag 52 · Cat 86 · source 34 · Rider · Club · Time (88, right, orange mono) · gap (112, left, small, soft grey) */
.rd-live-table .rd-live-rank{width:52px;text-align:center;color:var(--text)}
.rd-live-table td.rd-live-rank{font-family:"IBM Plex Mono",monospace;font-weight:700;font-variant-numeric:tabular-nums}
.rd-live-table .rd-live-flag{width:52px;text-align:center;padding-top:1px;padding-bottom:1px;line-height:18px}
.rd-live-table .country-flag{display:inline-block;width:24px;height:18px;max-width:none;border:0;border-radius:0;box-shadow:none;object-fit:contain;vertical-align:middle}
.rd-live-table .rd-live-cat{width:86px;text-align:center;white-space:nowrap}
.rd-live-table .rd-live-src{width:34px;text-align:center}
.rd-live-bolt{display:inline-flex;align-items:center;justify-content:center;width:14px;vertical-align:middle;color:#2ba64b}
.rd-live-bolt svg{display:block}
.rd-live-table thead .rd-live-rank,.rd-live-table thead .rd-live-flag,.rd-live-table thead .rd-live-cat,.rd-live-table thead .rd-live-src{text-align:center}
.rd-live-table thead .rd-live-time{text-align:right}
.rd-live-table td.rd-live-time{width:88px;min-width:88px;text-align:right;white-space:nowrap;font-family:"IBM Plex Mono",monospace;font-variant-numeric:tabular-nums;font-weight:700;color:#fd6900}
.rd-live-table .rd-live-gap{width:112px;padding-left:6px;padding-right:8px;text-align:left;white-space:nowrap}
.rd-live-table td.rd-live-gap{font-weight:400;font-size:.7rem;font-variant-numeric:tabular-nums;color:var(--muted)}
.rd-live-table tbody .rd-live-name{min-width:0;font-weight:600;font-size:inherit;color:var(--text)}
.rd-live-table .rd-live-clubcell{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rd-live-table .rd-live-none{color:var(--muted)}
.rd-live-club-inline{display:none}
.rd-live-cup{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;vertical-align:middle}
.rd-live-cup svg{display:block;filter:drop-shadow(0 1px 1px rgba(0,0,0,.22))}
.rd-live-cup--1{color:#d9a514}.rd-live-cup--2{color:#9daabd}.rd-live-cup--3{color:#b8753d}
.rd-live-cat-badge{display:inline-grid;place-items:center;min-width:18px;height:18px;border-radius:50%;background:var(--category-bg,#5b3b9e);color:var(--category-fg,#fff);font:700 11px/1 Arial,sans-serif;vertical-align:middle}
.rd-live-cat-badge.is-range{min-width:3rem;height:18px;min-height:0;padding:0 .4rem;border-radius:.4rem;font:700 .75rem/18px "IBM Plex Sans",sans-serif;white-space:nowrap}
.rd-live-team{display:inline-block;max-width:175px;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;padding:2px 6px 3px;border:0;border-radius:3px;background:var(--team-background,#acd8df);color:var(--team-color,#1c34be);font-family:"ZwiftSprint-Medium",Helvetica,sans-serif;font-size:10.2px;font-weight:700;line-height:10.2px;vertical-align:middle;white-space:nowrap}
.rd-live-spacer{display:none}
/* Wide tables use the GC table's own column positions (measured on the GC page at 1360 px: Pos 0-6%, flag 6-12%, Cat 12-22%,
   source 22-26%, Rider 26-42%, Club 42-50%, Time 79-90%, gap 90-100%), so source, name, club, time and gap line up with it. */
@media (min-width:861px){
  .rd-live-merged{table-layout:fixed;width:100%}
  .rd-live-merged .rd-live-spacer{display:table-cell}
  .rd-live-merged th.rd-live-rank{width:6%}.rd-live-merged th.rd-live-flag{width:6%}.rd-live-merged th.rd-live-cat{width:10%}
  .rd-live-merged th.rd-live-src{width:4%}.rd-live-merged th.rd-live-name{width:16%}.rd-live-merged th.rd-live-clubcell{width:16%}
  .rd-live-merged th.rd-live-spacer{width:21.1%}.rd-live-merged th.rd-live-time{width:11.2%}.rd-live-merged th.rd-live-gap{width:9.8%}
  .rd-live-merged td.rd-live-time,.rd-live-merged td.rd-live-gap{min-width:0}
  .rd-live-merged td.rd-live-clubcell{overflow:hidden}.rd-live-merged .rd-live-team{max-width:100%}
}
/* narrow places (a screen under 860px, or one pen of a handicap beside the others) show the club chip under the name and drop the source bolt */
.rd-live-compact .rd-live-clubcell,.rd-live-compact .rd-live-src{display:none}
.rd-live-compact .rd-live-club-inline{display:block;margin-top:3px}.rd-live-compact .rd-live-club-inline .rd-live-team{max-width:10em}
.rd-live-compact th,.rd-live-compact td{padding-inline:4px}
.rd-live-compact .rd-live-rank{width:34px}.rd-live-compact .rd-live-flag{width:34px}
.rd-live-compact td.rd-live-time{width:60px;min-width:0;font-size:.74rem}.rd-live-compact .rd-live-gap{width:66px;padding-left:3px;padding-right:4px}
.rd-live-compact tbody .rd-live-name{min-width:0}
.rd-live-compact th.rd-live-name{width:100%;max-width:0}
@media (max-width:860px){
  .rd-live-table th.rd-live-name{width:100%;max-width:0}
  .rd-live-table .rd-live-clubcell{display:none}
  .rd-live-club-inline{display:block;margin-top:3px}.rd-live-club-inline .rd-live-team{max-width:14em}
}
@media (max-width:520px){
  .rd-live-table th{padding:8px 3px;font-size:.72rem}
  .rd-live-table td,.rd-live-table tbody th{padding:2px 3px}
  .rd-live-table .rd-live-src{display:none}
  .rd-live-club-inline .rd-live-team{max-width:7em}
  .rd-live-table .rd-live-rank{width:24px}.rd-live-table .rd-live-flag{width:24px}.rd-live-table .rd-live-cat{width:40px}
  .rd-live-table .country-flag{width:20px;height:15px}
  .rd-live-cup{width:22px;height:22px}.rd-live-cup svg{width:20px;height:20px}
  .rd-live-cat-badge.is-range{min-width:0;padding:.1rem .15rem;font-size:.56rem}
  .rd-live-table tbody .rd-live-name{min-width:0}
  .rd-live-table td.rd-live-time{width:48px;min-width:0;font-size:.64rem}
  .rd-live-table .rd-live-gap{width:52px;padding-left:2px;padding-right:2px}.rd-live-table td.rd-live-gap{font-size:.56rem}
}
.rd-live-pens>.rd-live-handicap{grid-column:1/-1;margin:0}

/* Power-ups, Scoring segments and Route map: heading-only until opened. A closed panel keeps just its heading row,
   even when a neighbour in the same row is open and tall. */
.rd-panel.rd-collapsible{padding:0 12px}
.rd-dashboard .rd-collapsible>h3{margin:0}
.rd-panel-toggle{appearance:none;display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:0;border:0;background:none;color:var(--text);font:inherit;text-align:left;cursor:pointer}
.rd-panel-chevron{flex:0 0 18px;width:18px;height:18px;fill:none;stroke:#ff6a00;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}
.rd-panel-toggle[aria-expanded=true] .rd-panel-chevron{transform:rotate(90deg)}
.rd-dashboard .rd-panel-toggle:focus-visible{outline-offset:-3px;border-radius:6px}
html[data-theme=dark] .rd-dashboard .rd-panel-toggle:focus-visible{outline-color:#88baff}
.rd-panel-body{padding:0 0 12px}
.rd-panel-body[hidden]{display:none}
.rd-panel.is-collapsed{align-self:start}
@media(prefers-reduced-motion:reduce){.rd-panel-chevron{transition:none}}
