/* Broadcast composition for the existing committee home and its real data. */
@media (min-width: 821px) {
  .app-shell.is-committee-home { display: block; }
  .is-committee-home .sidebar { display: none; }
  .is-committee-home .app-main { grid-column: auto; }
  .is-committee-home .topbar { height: 72px; gap: 26px; padding-inline: clamp(24px, 3vw, 54px); background: rgba(8, 14, 21, .97); border-bottom: 1px solid rgba(187, 211, 225, .18); }
  .is-committee-home .topbar-context { display: none; }
  .is-committee-home .home-topbar-brand { display: flex; align-items: center; gap: 12px; min-width: 225px; font-size: 19px; font-weight: 900; white-space: nowrap; }
  .is-committee-home .home-topbar-brand img { width: 48px; height: 42px; object-fit: contain; }
  .is-committee-home .home-topbar-nav { display: flex; align-items: stretch; gap: clamp(16px, 2vw, 36px); height: 100%; margin-right: auto; }
  .is-committee-home .home-topbar-link { position: relative; display: flex; align-items: center; color: #c4d0d8; font-size: 14px; font-weight: 700; white-space: nowrap; }
  .is-committee-home .home-topbar-link:hover, .is-committee-home .home-topbar-link.active { color: #fff; }
  .is-committee-home .home-topbar-link.active::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--orange); }
  .is-committee-home .home-topbar-link[hidden] { display: none; }
  .is-committee-home .topbar-actions .btn:first-child { border-color: rgba(221, 234, 245, .5); }
  .is-committee-home .page-container { width: 100%; max-width: none; padding: 0 0 76px; }
}
.home-topbar-brand, .home-topbar-nav { display: none; }
@media (min-width: 821px) { .is-committee-home .home-topbar-brand, .is-committee-home .home-topbar-nav { display: flex; } }

.race-home { max-width: 1880px; margin: 0 auto; color: #f6f8fa; }
.race-home .btn { min-height: 50px; border-radius: 5px; font-size: 14px; }
.race-home .btn-primary { color: #111820; background: #ff742e; border-color: #ff742e; box-shadow: 0 9px 30px rgba(255, 92, 23, .19); }
.race-home .btn-hero-secondary { color: #eef5fa; border: 1px solid rgba(230, 242, 248, .64); background: rgba(7, 15, 22, .61); }
.race-home-hero { position: relative; isolation: isolate; min-height: clamp(370px, 29vw, 475px); display: flex; align-items: center; overflow: hidden; padding: 42px clamp(34px, 4.1vw, 76px); background: #071019 url('/assets/racing-hero-night.png') 50% 53% / cover no-repeat; }
.race-home-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 10, 16, .98), rgba(4, 10, 16, .83) 29%, rgba(4, 10, 16, .14) 68%, rgba(4, 10, 16, .06)), linear-gradient(0deg, rgba(4, 10, 16, .38), transparent 40%); }
.race-home-hero::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--orange), rgba(255, 116, 46, .05)); }
.race-home-hero-content { max-width: min(820px, 63%); }
.race-home-season { margin: 0 0 16px; color: #b7c3cd; font-size: 17px; font-weight: 600; letter-spacing: .07em; }
.race-home-season span { color: #8294a1; font-size: 13px; }
.race-home-hero h1 { margin: 0; font-size: clamp(46px, 4.1vw, 74px); font-weight: 950; line-height: 1.07; letter-spacing: -.055em; text-wrap: balance; text-shadow: 0 4px 24px rgba(0,0,0,.48); }
.race-home-status { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; color: #39dbe9; font-size: clamp(19px, 1.6vw, 26px); font-weight: 850; }
.race-live-dot { flex: none; width: 11px; height: 11px; border-radius: 50%; background: #32dfe9; box-shadow: 0 0 0 5px rgba(50, 223, 233, .15), 0 0 20px rgba(50, 223, 233, .8); }
.race-home-notice { max-width: 630px; margin-top: 13px; color: #d3dde4; font-size: 15px; line-height: 1.65; }
.race-home-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.race-home-hero-actions .btn { min-width: 196px; padding-inline: 22px; }
.race-home-hero-actions .btn span { margin-left: 14px; font-size: 21px; font-weight: 500; line-height: .5; }
.race-home-hero-mark { position: absolute; right: 25px; bottom: 20px; color: rgba(207, 224, 237, .55); font-size: 11px; font-style: italic; font-weight: 850; letter-spacing: .3em; }
.race-home-empty { padding: 44px; }

.race-home-phases { display: grid; grid-template-columns: 125px minmax(0, 1fr); min-height: 123px; padding: 14px clamp(24px, 3vw, 48px); border-block: 1px solid rgba(203, 221, 233, .15); background: linear-gradient(180deg, #0e1922, #09131b); }
.race-home-phases-title { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; border-right: 1px solid rgba(191, 211, 226, .2); }
.race-home-phases-title strong { font-size: 15px; }
.race-home-phases-title span { color: #91a6b6; font-size: 11px; }
.race-home-phase-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; padding-left: 24px; }
.race-home-phase { position: relative; display: flex; align-items: center; gap: 13px; min-width: 0; padding: 4px clamp(8px, 1.3vw, 24px); color: #9aaab7; }
.race-home-phase:not(:last-child)::after { content: ''; position: absolute; top: 41px; right: -2px; width: clamp(18px, 3vw, 50px); height: 1px; background: #536573; }
.race-home-phase-marker { width: 35px; height: 35px; flex: none; display: grid; place-items: center; border: 1px solid #587080; border-radius: 50%; color: #9aadb9; font-size: 13px; font-weight: 900; }
.race-home-phase.complete .race-home-phase-marker { background: #627786; border-color: #627786; color: #081119; }
.race-home-phase.current .race-home-phase-marker { background: #35dbe9; border-color: #35dbe9; color: #061219; box-shadow: 0 0 20px rgba(53, 219, 233, .5); }
.race-home-phase h2 { margin: 0 0 3px; color: #bac8d1; font-size: 14px; }
.race-home-phase.current h2, .race-home-phase.current span { color: #3ee3ed; }
.race-home-phase p { overflow: hidden; margin: 0; color: #9aa9b5; font-size: 11px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.race-home-phase span { color: #778c9d; font-size: 10px; }

.race-home-briefing { display: grid; grid-template-columns: minmax(0, 1fr); }
.race-home-briefing.has-race-groups { grid-template-columns: auto minmax(0, 1fr); }
.race-home-briefing .race-home-phases { min-width: 0; }
.race-home-briefing.has-race-groups .race-home-phases { padding-left: 22px; }
.race-home-groups { display: flex; align-items: center; gap: 18px; min-width: 0; padding: 14px 22px 14px clamp(24px, 3vw, 48px); border-block: 1px solid rgba(203, 221, 233, .15); border-right: 1px solid rgba(191, 211, 226, .2); background: linear-gradient(180deg, rgba(18, 30, 39, .88), rgba(9, 20, 28, .86)); }
.race-home-groups-title { display: flex; flex-direction: column; gap: 5px; }
.race-home-groups-title h2 { margin: 0; color: #d9e7ed; font-size: 15px; white-space: nowrap; }
.race-home-groups-title span { color: #7894a5; font-size: 8px; letter-spacing: .08em; white-space: nowrap; }
.race-group-slots { display: flex; gap: 10px; }
.race-group-slot { position: relative; flex: 0 0 84px; width: 84px; height: 84px; }
.race-group-image, .race-group-add { width: 84px; height: 84px; display: flex; align-items: center; justify-content: center; padding: 0; overflow: hidden; border: 1px solid rgba(155, 190, 210, .4); border-radius: 4px; background: #101e28; color: #8db1c4; cursor: pointer; }
.race-group-image img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.race-group-add { flex-direction: column; gap: 2px; border-style: dashed; }
.race-group-add span { font-size: 25px; font-weight: 400; line-height: 1; }
.race-group-add small { font-size: 10px; }
.race-group-image:hover, .race-group-add:hover { border-color: #3bdce6; }
.race-group-edit { position: absolute; right: 2px; bottom: 2px; padding: 2px 7px; border: 1px solid rgba(115, 170, 191, .65); border-radius: 3px; color: #f1fbff; background: rgba(8, 23, 32, .9); font-size: 10px; line-height: 1.5; cursor: pointer; }
.race-group-viewer { margin: 0; display: grid; justify-items: center; }
.race-group-viewer img { display: block; max-width: 100%; max-height: 75vh; width: auto; height: auto; object-fit: contain; background: #fff; }
.race-group-crop-editor #avatar-crop-zoom[type="range"] { display: block; grid-column: 1 / -1; grid-row: 2; width: 100%; min-width: 0; min-height: 32px; accent-color: #2ed8eb; }
.race-group-crop-editor .account-crop-controls { display: grid; grid-template-columns: minmax(0,1fr) auto; }
.race-group-crop-editor .account-crop-editor { max-width: 360px; margin-inline: auto; }
.race-group-crop-editor .account-crop-guides { border-radius: 0; box-shadow: none; }
.race-group-crop-editor .account-crop-stage { border-radius: 4px; }
@media (min-width: 901px) and (max-width: 1200px) {
  .race-home-groups { gap: 12px; padding-inline: 18px; }
  .race-home-briefing.has-race-groups .race-home-phases { grid-template-columns: 100px minmax(0, 1fr); padding-inline: 14px; }
  .race-home-briefing.has-race-groups .race-home-phase-track { padding-left: 10px; }
  .race-home-briefing.has-race-groups .race-home-phase { gap: 8px; padding-inline: 6px; }
  .race-home-briefing.has-race-groups .race-home-phase-marker { width: 28px; height: 28px; font-size: 11px; }
}
@media (max-width: 900px) {
  .race-home-briefing.has-race-groups { grid-template-columns: minmax(0, 1fr); }
  .race-home-groups { gap: 20px; padding: 14px 18px; border-right: 0; border-bottom: 0; }
}
@media (max-width: 600px) {
  .race-home-groups { gap: 16px; padding: 12px 13px; }
  .race-group-slot { flex-basis: 72px; width: 72px; height: 72px; }
  .race-group-image, .race-group-add { width: 72px; height: 72px; }
  .race-home-briefing.has-race-groups .race-home-phases { padding-inline: 13px; }
}

.race-home-editorial, .race-home-lower { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(315px, 1fr); gap: 18px; margin: 18px clamp(18px, 2vw, 36px) 0; }
.race-home-focus, .race-home-data, .race-home-live, .race-home-news, .race-home-join { min-width: 0; border: 1px solid rgba(171, 199, 218, .17); border-radius: 6px; background-color: #111e29; }
.race-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.race-panel-heading h2 { margin: 0; font-size: 21px; font-weight: 850; }
.race-panel-heading h2::before { content: ''; display: inline-block; width: 4px; height: 23px; margin-right: 10px; background: var(--orange); vertical-align: -4px; }
.race-panel-heading h2 span { margin-left: 6px; color: #6e8290; font-size: 12px; font-weight: 650; letter-spacing: .14em; }
.race-panel-heading a, .race-panel-heading p { margin: 0; color: #a4b7c5; font-size: 12px; white-space: nowrap; }
.race-panel-heading a:hover { color: #f4f8fa; }
.race-home-focus { min-height: 270px; display: flex; flex-direction: column; padding: 22px 25px; background: linear-gradient(90deg, rgba(11, 23, 33, .96), rgba(11, 23, 33, .73)), url('/assets/racing-hero-night.png') 43% 69% / cover; }
.race-home-focus-context { margin: auto 0 9px; color: #a6b8c5; font-size: 13px; }
.race-home-focus > strong { max-width: 820px; overflow-wrap: anywhere; font-size: clamp(21px, 2vw, 29px); line-height: 1.35; }
.race-home-focus-bottom { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-top: 18px; }
.race-home-focus-bottom .btn { min-height: 38px; font-size: 12px; }
.race-home-side { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; }
.race-home-data { padding: 18px 20px 10px; }
.race-home-data .race-panel-heading h2 { font-size: 18px; }
.race-home-data .race-panel-heading h2::before { background: #39d8e6; }
.race-home-poster-slot { display: flex; min-width: 0; }
.race-home-poster-slot:empty { display: none; }
.race-home-poster-panel { position: relative; width: 100%; min-height: 365px; }
.race-home-poster-body { position: absolute; inset: 57px 20px 36px; display: grid; place-items: center; min-height: 0; overflow: hidden; }
.race-home-poster-body .race-focus-empty { text-align: center; }
.race-home .race-home-poster-thumbnail { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 4px; background: rgba(0,0,0,.15); cursor: zoom-in; }
.race-home-poster-thumbnail img { display: block; width: 100%; height: 100%; object-fit: contain; }
.race-home-poster-thumbnail:focus-visible { outline: 2px solid #39d8e6; outline-offset: -2px; }
.race-home-poster-caption { position: absolute; inset: auto 20px 10px; margin: 0; overflow: hidden; color: #a7b8c4; font-size: 11px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 820px) {
  .issue-poster-mobile-slot > .race-home-poster-panel { margin-top: 12px; min-height: 320px; }
  .race-home-poster-body { right: 15px; left: 15px; }
  .race-home-poster-caption { right: 15px; left: 15px; }
}
.race-home-data-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; min-height: 45px; border-top: 1px solid rgba(197, 220, 234, .13); }
.race-home-data-row:first-of-type { margin-top: 14px; }
.race-home-data-row span { color: #e5a861; font-size: 17px; font-weight: 900; font-style: italic; }
.race-home-data-row strong { font-size: 19px; }
.race-home-data-row small { color: #a6b8c6; font-size: 12px; }
.race-home-live { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; padding: 12px 20px; }
.race-home-live .race-panel-heading h2 { font-size: 16px; white-space: nowrap; }
.race-home-live .race-panel-heading h2::before { width: 3px; height: 17px; vertical-align: -2px; }
.race-home-live p { margin: 0; color: #9dadb9; font-size: 12px; }
.race-home-live-link { color: #ff985d; font-size: 13px; font-weight: 800; white-space: nowrap; }

.race-home-news { padding: 20px 22px; }
.race-home-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(5px, 1vw, 12px); margin-top: 17px; min-width: 0; }
.race-home .race-home-news-card { --rule-color: #6bb1ff; --rule-fill: rgba(62,135,229,.16); display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid rgba(178,203,217,.16); border-top: 2px solid var(--rule-color); border-radius: 7px; background: linear-gradient(155deg,var(--rule-fill),rgba(255,255,255,.015)); }
.race-home .race-rule-guess { --rule-color: #c8a0ff; --rule-fill: rgba(160,111,224,.15); }
.race-home .race-rule-challenge { --rule-color: #ffb067; --rule-fill: rgba(232,140,63,.14); }
.race-notice-reader { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; min-width: 0; padding: clamp(8px,.9vw,12px); text-align: left; color: inherit; font-family: inherit; cursor: pointer; }
.race-home-news-card .race-notice-tag { display: inline-block; padding: 3px 6px; border: 1px solid var(--rule-color); border-radius: 4px; background: var(--rule-fill); color: var(--rule-color); font-size: clamp(10px,1vw,11px); font-weight: 750; line-height: 1.4; }
.race-notice-reader:hover { background: rgba(255,255,255,.035); }
.race-notice-reader:focus-visible,.race-notice-edit:focus-visible { outline: 2px solid var(--rule-color); outline-offset: -3px; }
.race-home-news-card .race-notice-title { font-size: clamp(13px,1.35vw,17px); color:#edf5f8; overflow-wrap: anywhere; }
.race-home-news-card .race-notice-excerpt { display:-webkit-box; padding:0; color:#a7b8c4; font-size:12px; line-height:1.65; background:none; overflow:hidden; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.race-home-news-card.reward .race-notice-excerpt { background:none; }
.race-notice-reader small { margin-top:auto; color:#a8becb; font-size:11px; }
.race-notice-reader small b { margin-left:5px; color:var(--rule-color); }
.race-notice-edit { display: flex; justify-content: space-between; align-items: center; gap: 4px; min-height: 40px; width: 100%; padding: 8px clamp(8px,1.1vw,16px); border: 0; border-top: 1px solid rgba(178,203,217,.12); background: rgba(0,0,0,.12); color: var(--rule-color); font: inherit; font-size: clamp(10px,1vw,12px); text-align: left; cursor: pointer; overflow-wrap: anywhere; }
.race-notice-edit:hover { background: var(--rule-fill); }
.race-notice-context { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:18px; color:#9eb8c5; font-size:13px; }
.race-notice-document .content-card { background:rgba(19,37,48,.45); }
.race-home-news-card h3 { overflow: hidden; margin: 9px 0 4px; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.race-home-news-card p { display: -webkit-box; overflow: hidden; margin: 0; color: #a7b8c4; font-size: 11px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.race-home-news-empty { color: #9cadba; font-size: 13px; }
.race-home-news-links { display: flex; gap: 18px; margin-top: 13px; color: #aebfcb; font-size: 12px; }
.race-home-join { min-height: 235px; display: flex; flex-direction: column; align-items: flex-start; padding: 23px 25px; background: linear-gradient(90deg, rgba(7, 17, 24, .94), rgba(7, 17, 24, .39)), url('/assets/racing-hero-night.png') 73% 48% / cover; }
.race-home-join > span { color: #9aaab8; font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.race-home-join h2 { margin: auto 0 14px; font-size: 24px; line-height: 1.25; }
.race-home-join .btn { min-height: 40px; }
.race-home-extra-copy { margin: auto 0 18px; }
.race-home-extra-copy h2 { margin: 18px 0 10px; }
.race-home-extra-copy p { margin: 0; color: #beced8; font-size: 13px; line-height: 1.6; }
.race-home-extra-copy .race-home-extra-status { margin-top: 8px; color: #8fa7b7; font-size: 12px; }
.race-home-extras-closed .btn:disabled { cursor: not-allowed; opacity: .72; color: #a9bdc8; border-color: rgba(164, 192, 207, .25); background: rgba(100, 135, 151, .17); box-shadow: none; }
.race-home-modules { margin: 28px clamp(18px, 2vw, 36px) 0; }
.race-home-modules .race-panel-heading { margin-bottom: 13px; }
.race-home-module-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
.race-home-module { position: relative; min-height: 105px; display: flex; flex-direction: column; padding: 16px; border: 1px solid rgba(171, 199, 218, .17); border-radius: 4px; background: #13212d; }
.race-home-module:hover { border-color: rgba(63, 214, 233, .65); background: #1a2d3c; }
.race-home-module > span { color: #42d8e9; font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.race-home-module strong { margin-top: 12px; font-size: 15px; }
.race-home-module small { margin-top: 5px; color: #95a9b8; font-size: 10px; line-height: 1.4; }
.race-home-module b { position: absolute; right: 12px; bottom: 11px; color: #7c96a8; }
.race-home .event-poster-section, .race-home .event-poster-empty, .race-home-admin-note { margin: 22px clamp(18px, 2vw, 36px) 0; }
.race-home-admin-note { color: #8296a6; font-size: 12px; }
.race-home-admin-note a { margin-left: 7px; color: #51d8e8; }

@media (max-width: 1200px) {
  .is-committee-home .home-topbar-nav { gap: 14px; }
  .is-committee-home .home-topbar-link { font-size: 12px; }
  .is-committee-home .home-topbar-brand { min-width: 180px; font-size: 15px; }
  .is-committee-home .home-topbar-brand img { width: 38px; }
  .race-home-module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .race-home-editorial, .race-home-lower { grid-template-columns: minmax(0, 1.55fr) minmax(270px, 1fr); }
  .race-home-phases { grid-template-columns: 100px minmax(0, 1fr); }
  .race-home-phase { padding-inline: 8px; }
}
@media (max-width: 820px) {
  .race-home { padding-bottom: 18px; }
  .race-home-hero { min-height: 0; display: block; padding: 190px 13px 15px; background-position: 67% top; background-size: auto 290px; }
  .race-home-hero::before { z-index: 0; background: linear-gradient(0deg, #09141e 0%, rgba(9, 20, 30, .46) 58%, transparent 100%); }
  .race-home-hero-content { position: relative; z-index: 1; max-width: none; padding: 17px; border: 1px solid rgba(166, 201, 220, .19); border-radius: 9px; background: #172632; box-shadow: 0 16px 32px rgba(0,0,0,.22); }
  .race-home-hero-mark { display: none; }
  .race-home-season { margin-bottom: 7px; font-size: 14px; }
  .race-home-season span { display: none; }
  .race-home-hero h1 { font-size: clamp(25px, 6vw, 38px); line-height: 1.2; }
  .race-home-status { margin-top: 8px; font-size: 14px; }
  .race-live-dot { width: 8px; height: 8px; box-shadow: 0 0 0 3px rgba(50,223,233,.13); }
  .race-home-notice { margin-top: 10px; font-size: 12px; }
  .race-home-hero-actions { gap: 8px; margin-top: 16px; }
  .race-home-hero-actions .btn { min-width: 0; min-height: 43px; padding-inline: 13px; font-size: 12px; }
  .race-home-hero-actions .btn-primary { flex: 1; }
  .race-home-hero-actions .btn-hero-secondary { flex: none; }
  .race-home-phases { display: block; min-height: 0; padding: 12px 13px; }
  .race-home-phases-title { display: flex; flex-direction: row; align-items: center; justify-content: space-between; border: 0; }
  .race-home-phase-track { grid-template-columns: repeat(4, minmax(95px, 1fr)); gap: 0; overflow-x: auto; margin-top: 12px; padding: 0; }
  .race-home-phase { flex-direction: column; align-items: flex-start; gap: 8px; padding: 4px 9px; }
  .race-home-phase:not(:last-child)::after { top: 21px; right: -4px; width: 22px; }
  .race-home-phase-marker { width: 30px; height: 30px; font-size: 11px; }
  .race-home-phase h2 { font-size: 11px; }
  .race-home-phase p { max-width: 85px; font-size: 10px; }
  .race-home-phase span { font-size: 9px; }
  .race-home-editorial, .race-home-lower { grid-template-columns: 1fr; gap: 12px; margin: 14px 13px 0; }
  .race-home-focus { min-height: 195px; padding: 17px; }
  .race-home-focus > strong { font-size: 22px; }
  .race-home-data { padding: 15px; }
  .race-home-side { gap: 10px; }
  .race-home-live { padding: 13px 15px; }
  .race-home-news { padding: 15px; }
  .race-home-news-grid { grid-template-columns: minmax(0, 1fr); }
  .race-home-news-card { min-height: 0; }
  .race-home-join { min-height: 170px; padding: 17px; }
  .race-home-join h2 { font-size: 21px; }
  .race-home-modules { margin: 22px 13px 0; }
  .race-home-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .race-home-module { min-height: 91px; padding: 12px; }
  .race-home .event-poster-section, .race-home .event-poster-empty, .race-home-admin-note { margin: 16px 13px 0; }
}
@media (max-width: 460px) {
  .race-panel-heading h2 { font-size: 16px; }
  .race-panel-heading h2 span { display: none; }
  .race-panel-heading a, .race-panel-heading p { font-size: 11px; }
  .race-home-hero { padding-top: 174px; background-size: auto 260px; }
  .race-home-news-card p { -webkit-line-clamp: 1; }
}

/* The podium uses real season scores and keeps the full list one action away. */
.race-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 7px; margin-top: 18px; }
.race-podium-spot { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; text-align: center; }
.race-podium-1 { grid-column: 2; grid-row: 1; --podium-metal: #ffd077; --podium-fill: rgba(175, 118, 38, .27); }
.race-podium-2 { grid-column: 1; grid-row: 1; --podium-metal: #d4e3ed; --podium-fill: rgba(157, 185, 202, .16); }
.race-podium-3 { grid-column: 3; grid-row: 1; --podium-metal: #edb08a; --podium-fill: rgba(184, 114, 77, .2); }
.race-podium-person { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; padding: 17px 2px 11px; }
.race-podium-person .driver-identity-visual { gap: 4px; max-width: 100%; }
.race-podium-person .account-avatar { width: 38px; height: 38px; border-radius: 50%; border-color: var(--podium-metal); }
.race-podium-1 .account-avatar { width: 46px; height: 46px; box-shadow: 0 0 0 3px rgba(255, 201, 96, .1); }
.race-podium-crown { position: absolute; top: -8px; color: #ffd077; font-size: 26px; line-height: 1; }
.race-podium-person > strong { display: block; overflow: hidden; width: 100%; color: #f3f7fa; font-size: 12px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.race-podium-person > span:not(.race-podium-crown) { color: var(--podium-metal); font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; }
.race-podium-person small { color: #9aafbb; font-size: 10px; font-weight: 600; }
.race-podium-step { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-height: 51px; padding: 8px 2px; border-top: 2px solid var(--podium-metal); background: linear-gradient(180deg, var(--podium-fill), rgba(17, 25, 31, .04)); }
.race-podium-1 .race-podium-step { min-height: 76px; }
.race-podium-2 .race-podium-step { min-height: 60px; }
.race-podium-step > span { color: var(--podium-metal); font-size: 27px; font-style: italic; font-weight: 950; line-height: 1; }
.race-podium-step > small { color: #9eaeb8; font-size: 7px; font-weight: 800; letter-spacing: .12em; }
.race-home-data .race-leader-followers { margin-top: 6px; }
.race-leader-followers .race-leader-row { min-height: 44px; }
.race-home-module-grid { grid-template-columns: repeat(var(--module-count, 5), minmax(0, 1fr)); }
@media (max-width: 1200px) { .race-home-module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .race-home-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The focus presents one real match, with a separate public guessing status. */
.race-home-focus-story { padding: 18px 22px; }
.race-home-focus-story .race-home-focus-context { margin: 13px 0 8px; font-size: 11px; }
.race-focus-content { min-width: 0; }
.race-focus-stage-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 14px 0 12px; }
.race-focus-stage-head > div:first-child { min-width: 0; }
.race-focus-stage-head h3 { margin: 0; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.35; overflow-wrap: anywhere; }
.race-focus-stage-time { flex: none; text-align: right; }
.race-focus-stage-time small { display: block; color: #8faaba; font-size: 10px; }
.race-focus-stage-time strong { display: block; margin-top: 5px; color: #58dce8; font-size: 17px; font-variant-numeric: tabular-nums; }
.race-focus-stage-time em { font-size: 10px; font-weight: 500; font-style: normal; }
.race-focus-group-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: thin; }
.race-focus-group-tabs button { flex: none; min-height: 31px; padding: 6px 13px; border: 1px solid rgba(70, 174, 198, .3); border-radius: 3px 10px 3px 3px; background: rgba(40, 111, 133, .12); color: #a8c4d1; font-size: 11px; cursor: pointer; }
.race-focus-group-tabs [aria-pressed="true"] { border-color: #45c8d8; background: rgba(41, 158, 184, .23); color: #d7f8ff; }
.race-home-focus-story .race-focus-group { margin: 0; padding: 9px 11px 0; }
.race-home-focus-story .race-focus-scroll { max-height: 164px; margin-top: 6px; padding-right: 5px; overscroll-behavior: contain; }
.race-home-focus-story .race-focus-group .race-focus-scroll { max-height: none; overflow: visible; padding-right: 0; }
.race-home-focus-story .race-focus-player { min-height: 41px; padding-block: 5px; }
.race-home-focus-story .race-home-focus-bottom { margin-top: 11px; }
.race-home-focus-story .race-home-focus-bottom > span { color: #92aab9; font-size: 10px; }
.race-focus-guess-strip { display: flex; align-items: center; gap: 10px; margin: 13px -22px -18px; padding: 12px 22px; border-top: 1px solid rgba(161, 127, 204, .28); background: rgba(59, 39, 88, .17); }
.race-focus-guess-mark { display: grid; flex: none; place-items: center; width: 29px; height: 31px; border: 1px solid rgba(194, 161, 238, .45); color: #ccb1ed; font-size: 17px; }
.race-focus-guess-strip > div { flex: 1; min-width: 0; }
.race-focus-guess-strip strong { display: flex; align-items: center; gap: 7px; font-size: 12px; }
.race-focus-guess-strip .status-chip { font-size: 9px; padding: 3px 6px; }
.race-focus-guess-strip p { margin: 5px 0 0; color: #a69ab8; font-size: 10px; line-height: 1.55; }
.race-focus-guess-strip > .btn { flex: none; min-height: 33px; font-size: 10px; }
.race-focus-team-duel { display: grid; grid-template-columns: minmax(0, 1fr) 45px minmax(0, 1fr); gap: 8px; }
.race-focus-team-duel > section { min-width: 0; }
.race-focus-team-duel h4 { margin: 7px 0 3px; color: #6cdeea; font-size: 13px; overflow-wrap: anywhere; }
.race-focus-team-duel > section:last-child h4 { color: #f3b98a; }
.race-focus-team-duel > section > small { color: #96aebe; font-size: 10px; }
.race-focus-team-duel .race-focus-player { gap: 6px; }
.race-focus-team-duel .race-focus-index { display: none; }
.race-focus-team-duel .race-focus-player-name strong { font-size: 11px; }
.race-focus-team-duel .account-avatar { width: 25px; height: 25px; }
.race-focus-team-vs { display: grid; place-items: center; color: #e6f9fe; font-size: 28px; font-style: italic; font-weight: 900; text-shadow: 2px 1px #c77947, -1px -1px #2ec8dc; }
.race-focus-team-duel.is-bye { grid-template-columns: minmax(0, 1fr); }
.race-focus-final-results { display: grid; gap: 8px; margin-top: 13px; }
.race-focus-result { display: flex; align-items: center; gap: 10px; min-height: 49px; padding: 6px 12px; background: rgba(40, 64, 77, .4); border-left: 2px solid #dbad67; }
.race-focus-result > b { color: #e7bc7e; font-size: 23px; font-style: italic; }
.race-focus-result strong { min-width: 0; overflow-wrap: anywhere; font-size: 13px; }
.race-focus-result > span:last-child { margin-left: auto; font-size: 12px; color: #e2c39a; white-space: nowrap; }
.race-focus-team-result strong small { display: block; margin-top: 4px; color: #9cb2bf; font-size: 10px; font-weight: 400; }
.race-focus-banner { display: grid; grid-template-columns: minmax(185px, .75fr) minmax(270px, 1.4fr) auto; align-items: center; gap: 16px; }
.race-focus-banner > .race-panel-heading { display: contents; }
.race-focus-banner h2 { grid-column: 1; grid-row: 1; }
.race-focus-banner > .race-panel-heading > a { grid-column: 3; grid-row: 1; align-self: start; text-align: right; }
.race-focus-banner .race-focus-guess-strip { grid-column: 2; grid-row: 1; min-width: 0; margin: 0; padding: 11px 13px; border: 1px solid rgba(161, 127, 204, .28); border-radius: 4px; background: rgba(59, 39, 88, .28); }
.race-focus-banner .race-focus-guess-strip p { font-size: 10px; }
.race-focus-banner .race-focus-guess-strip > .btn { min-height: 33px; }
.race-home-focus-story .race-focus-stage-head { align-items: stretch; }
.race-focus-round-rail { min-width: 0; display: flex; flex: 1; gap: 2px; list-style: none; padding: 0; margin: 0; }
.race-focus-round-step { --step-shape: polygon(0 0, calc(100% - 11px) 0, 100% 50%, calc(100% - 11px) 100%, 0 100%, 11px 50%); --step-edge: rgba(111, 151, 172, .3); --step-fill: linear-gradient(110deg, #142732, #10212b); position: relative; isolation: isolate; min-width: 0; flex: 0 1 calc(100% / var(--focus-round-count)); max-width: calc((100% - 30px) / 6); min-height: 66px; padding: 10px 16px 10px 18px; color: #a2bac8; }
.race-focus-round-step:first-child { --step-shape: polygon(0 0, calc(100% - 11px) 0, 100% 50%, calc(100% - 11px) 100%, 0 100%); padding-left: 10px; }
.race-focus-round-step::before, .race-focus-round-step::after { content: ''; position: absolute; pointer-events: none; clip-path: var(--step-shape); }
.race-focus-round-step::before { inset: 0; z-index: -2; background: var(--step-edge); }
.race-focus-round-step::after { inset: 1px; z-index: -1; background: var(--step-fill); }
.race-focus-step-head { display: flex; align-items: flex-start; gap: 5px; }
.race-focus-step-order { flex: none; min-width: 16px; height: 16px; border: 1px solid rgba(126, 168, 189, .35); border-radius: 2px; color: #90acbc; text-align: center; font-size: 9px; font-weight: 800; line-height: 14px; font-variant-numeric: tabular-nums; }
.race-focus-round-step strong, .race-focus-round-step small { display: block; overflow-wrap: anywhere; }
.race-focus-round-step strong { min-width: 0; font-size: 11px; line-height: 16px; }
.race-focus-round-step small { margin-top: 5px; color: #8faab9; font-size: 9px; line-height: 1.45; }
.race-focus-round-step.is-current { --step-edge: linear-gradient(115deg, #ffa353, #ff7c27 52%, #39d6e6); --step-fill: linear-gradient(115deg, #324b54, #194153); color: #effcff; }
.race-focus-round-step.is-current .race-focus-step-order { border-color: #ff9b47; background: #ff8a34; color: #152731; }
.race-focus-round-step.is-current small { color: #d2edf5; }
.race-focus-round-step.is-complete { --step-edge: rgba(53, 193, 201, .55); --step-fill: linear-gradient(115deg, #193a42, #142f39); color: #b9d8df; }
.race-focus-round-step.is-complete .race-focus-step-order { border-color: rgba(74, 215, 217, .55); color: #66d8d8; }
.race-focus-round-rail.is-dense .race-focus-round-step { --step-shape: polygon(0 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 0 100%, 7px 50%); padding: 9px 6px 9px 8px; }
.race-focus-round-rail.is-dense .race-focus-round-step:first-child { --step-shape: polygon(0 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 0 100%); padding-left: 7px; }
.race-focus-round-rail.is-dense .race-focus-step-head { display: block; }
.race-focus-round-rail.is-dense .race-focus-step-order { display: none; }
@media (min-width: 621px) and (max-width: 900px) {
  .race-focus-round-step { --step-shape: polygon(0 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 0 100%, 7px 50%); padding: 9px 6px 9px 8px; }
  .race-focus-round-step:first-child { --step-shape: polygon(0 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 0 100%); padding-left: 7px; }
  .race-focus-step-head { display: block; }
  .race-focus-step-order { display: none; }
}
@media (max-width: 1180px) {
  .race-focus-banner { grid-template-columns: minmax(160px, .8fr) minmax(230px, 1.2fr); gap: 12px; }
  .race-focus-banner > .race-panel-heading > a { grid-column: 1; grid-row: 2; justify-self: start; font-size: 10px; }
  .race-focus-banner .race-focus-guess-strip { grid-row: 1 / 3; }
  .race-focus-banner .race-focus-guess-strip > .btn { padding-inline: 9px; }
}
@media (max-width: 620px) {
  .race-home-focus-story { padding: 16px 14px; }
  .race-focus-stage-head { flex-direction: column; align-items: flex-start; gap: 9px; }
  .race-focus-stage-time { display: flex; align-items: center; gap: 9px; text-align: left; }
  .race-focus-stage-time strong { margin: 0; font-size: 15px; }
  .race-focus-guess-strip { flex-wrap: wrap; margin: 12px -14px -16px; padding: 11px 14px; gap: 8px; }
  .race-focus-guess-strip > .btn { margin-left: 37px; }
  .race-focus-team-duel { grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); gap: 5px; }
  .race-focus-team-vs { font-size: 22px; }
  .race-focus-team-duel .race-focus-player .driver-identity-visual { flex-wrap: wrap; }
  .race-focus-banner { grid-template-columns: 1fr auto; gap: 10px; }
  .race-focus-banner h2 { grid-column: 1; }
  .race-focus-banner > .race-panel-heading > a { grid-column: 2; grid-row: 1; align-self: center; }
  .race-focus-banner .race-focus-guess-strip { grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0; gap: 8px; }
  .race-focus-banner .race-focus-guess-strip > .btn { margin-left: 0; }
  .race-home-focus-story .race-focus-stage-head { align-items: stretch; }
  .race-focus-round-rail { width: 100%; overflow-x: auto; padding-bottom: 5px; scrollbar-width: thin; }
  .race-focus-round-step { flex: 0 0 105px; max-width: 105px; }
  .race-focus-round-rail.is-dense .race-focus-step-head { display: flex; }
  .race-focus-round-rail.is-dense .race-focus-step-order { display: block; }
}
