#page-live-racing .live-racecard-mode-tabs {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

#page-live-racing .live-racecard-header.has-pro-system-context {
  grid-template-columns: minmax(280px, 1fr) minmax(310px, 390px) minmax(390px, 440px) !important;
  align-items: stretch !important;
}

#page-live-racing .live-pro-system-context {
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid rgba(58, 112, 205, .24);
  border-radius: 17px;
  background:
    radial-gradient(circle at 92% 0%, rgba(34, 211, 238, .12), transparent 38%),
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(238,246,255,.88));
  box-shadow: 0 13px 30px rgba(25, 55, 105, .09), inset 0 1px 0 rgba(255,255,255,.9);
  display: grid;
  align-content: center;
  gap: 7px;
}
#page-live-racing .live-pro-system-context.is-qualified { border-color: rgba(31, 155, 118, .30); background: radial-gradient(circle at 92% 0%, rgba(45,212,191,.14), transparent 38%), linear-gradient(145deg, rgba(255,255,255,.97), rgba(235,250,246,.88)); }
#page-live-racing .live-pro-system-context.is-pending { border-color: rgba(222, 151, 35, .30); background: radial-gradient(circle at 92% 0%, rgba(251,191,36,.13), transparent 38%), linear-gradient(145deg, rgba(255,255,255,.97), rgba(255,249,230,.88)); }
#page-live-racing .live-pro-system-context.is-failed { border-color: rgba(212, 68, 79, .30); background: radial-gradient(circle at 92% 0%, rgba(248,113,113,.12), transparent 38%), linear-gradient(145deg, rgba(255,255,255,.97), rgba(255,239,241,.88)); }
#page-live-racing .live-pro-system-context-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#page-live-racing .live-pro-system-context-topline > span { color: #2e63ad; font-size: 9px; font-weight: 950; letter-spacing: .13em; text-transform: uppercase; }
#page-live-racing .live-pro-system-context-topline button { min-height: 28px; padding: 4px 10px; border: 1px solid rgba(56,104,183,.24); border-radius: 9px; color: #24599f; background: rgba(255,255,255,.82); font-size: 10px; font-weight: 900; cursor: pointer; }
#page-live-racing .live-pro-system-context > strong { color: #0f2d55; font-size: 16px; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#page-live-racing .live-pro-system-outcome { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
#page-live-racing .live-pro-system-outcome b { color: #15745f; font-size: 12px; }
#page-live-racing .live-pro-system-context.is-pending .live-pro-system-outcome b { color: #9b660c; }
#page-live-racing .live-pro-system-context.is-failed .live-pro-system-outcome b { color: #a22e3c; }
#page-live-racing .live-pro-system-outcome span { color: #60738d; font-size: 11px; font-weight: 800; }
#page-live-racing .live-pro-system-failures { display: grid; gap: 4px; }
#page-live-racing .live-pro-system-failures > span { display: grid; gap: 1px; padding: 5px 7px; border-radius: 9px; background: rgba(255,255,255,.65); }
#page-live-racing .live-pro-system-failures b { color: #812b38; font-size: 10px; }
#page-live-racing .live-pro-system-failures em { color: #6f5360; font-size: 9.5px; font-style: normal; line-height: 1.3; }
#page-live-racing .live-pro-system-manual-summary { min-width: 0; display: grid; grid-template-columns: auto auto minmax(0,1fr); align-items: center; gap: 5px; color: #8d620e; }
#page-live-racing .live-pro-system-manual-summary > span { font-size: 9px; }
#page-live-racing .live-pro-system-manual-summary b { font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
#page-live-racing .live-pro-system-manual-summary em { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #7b6b4e; font-size: 9.5px; font-style: normal; }

#page-live-racing .live-runner-row.live-pro-system-qualified { box-shadow: inset 4px 0 0 rgba(24, 151, 111, .76); }
#page-live-racing .live-runner-row.live-pro-system-runner-passed { box-shadow: inset 4px 0 0 rgba(42, 122, 196, .66); }
#page-live-racing .live-runner-status-badge.live-pro-system-pass { background: #dcfce7 !important; color: #166534 !important; border-color: rgba(22,163,74,.24) !important; }
#page-live-racing .live-runner-status-badge.live-pro-runner-pass { background: #e0f2fe !important; color: #075985 !important; border-color: rgba(14,116,144,.24) !important; }
#page-live-racing .live-runner-status-badge.live-pro-system-muted { background: #eef2f7 !important; color: #68778c !important; border: 1px solid rgba(100,116,139,.20) !important; }
#page-live-racing .live-runner-status-badge.system-fail.interactive { cursor: pointer; }
#page-live-racing .live-runner-status-badge.system-fail.interactive:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(153,27,27,.13); }
#page-live-racing .live-pro-system-manual-mark { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; color: #9a6507; background: rgba(251,191,36,.18); border: 1px solid rgba(217,142,14,.24); font-size: 8px; }
#page-live-racing .live-pro-system-included { color: #176b55 !important; border-color: rgba(22,133,107,.25) !important; background: rgba(230,248,241,.84) !important; }
#page-live-racing .live-pro-system-reason-panel { border-top-color: rgba(200,52,65,.24); }
#page-live-racing .live-pro-system-reason-row { display: grid; gap: 3px; padding: 8px 10px; border: 1px solid rgba(190,65,78,.14); border-radius: 10px; background: rgba(255,255,255,.72); }
#page-live-racing .live-pro-system-reason-row + .live-pro-system-reason-row { margin-top: 6px; }
#page-live-racing .live-pro-system-reason-row strong { color: #8c2936; font-size: 11px; }
#page-live-racing .live-pro-system-reason-row span { color: #6c5961; font-size: 10.5px; line-height: 1.4; }

#page-live-racing .live-pro-system-selector { position: fixed; inset: 0; z-index: 2147483644; display: grid; place-items: center; padding: 24px; }
#page-live-racing .live-pro-system-selector-backdrop { position: absolute; inset: 0; border: 0; background: rgba(7,16,38,.64); backdrop-filter: blur(10px) saturate(115%); cursor: default; }
#page-live-racing .live-pro-system-selector-panel { position: relative; width: min(760px, calc(100vw - 34px)); max-height: min(760px, calc(100dvh - 34px)); overflow: hidden; border: 1px solid rgba(90,176,246,.48); border-radius: 24px; color: #fff; background: radial-gradient(circle at 93% 3%, rgba(34,211,238,.20), transparent 36%), radial-gradient(circle at 4% 100%, rgba(147,93,255,.20), transparent 42%), linear-gradient(143deg, rgba(5,18,44,.99), rgba(24,53,132,.975) 54%, rgba(62,49,154,.955)); box-shadow: 0 30px 86px rgba(3,12,35,.46), inset 0 1px 0 rgba(255,255,255,.26); display: flex; flex-direction: column; }
#page-live-racing .live-pro-system-selector-panel > header { position: relative; padding: 25px 58px 18px 26px; border-bottom: 1px solid rgba(180,215,255,.18); }
#page-live-racing .live-pro-system-selector-panel > header > span { color: #7fe8f1; font-size: 9px; font-weight: 950; letter-spacing: .16em; text-transform: uppercase; }
#page-live-racing .live-pro-system-selector-panel h2 { margin: 7px 0 6px; color: #fff; font-size: clamp(24px,2.2vw,32px); letter-spacing: -.03em; }
#page-live-racing .live-pro-system-selector-panel p { margin: 0; color: rgba(231,241,255,.84); font-size: 13px; }
#page-live-racing .live-pro-system-selector-panel > header > button { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border: 1px solid rgba(211,232,255,.28); border-radius: 12px; color: #fff; background: rgba(255,255,255,.10); font-size: 22px; cursor: pointer; }
#page-live-racing .live-pro-system-selector-list { overflow: auto; padding: 17px 20px; display: grid; gap: 10px; }
#page-live-racing .live-pro-system-choice { width: 100%; display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 14px 15px; border: 1px solid rgba(185,215,255,.24); border-radius: 15px; color: #fff; text-align: left; background: rgba(255,255,255,.08); cursor: pointer; }
#page-live-racing .live-pro-system-choice:hover, #page-live-racing .live-pro-system-choice:focus-visible { border-color: rgba(214,235,255,.58); background: rgba(255,255,255,.13); outline: none; }
#page-live-racing .live-pro-system-choice.is-selected { border-color: rgba(95,228,223,.54); background: linear-gradient(135deg, rgba(13,139,132,.30), rgba(45,115,235,.28)); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
#page-live-racing .live-pro-system-choice-mark { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; border: 1px solid rgba(205,227,255,.28); background: rgba(255,255,255,.08); font-weight: 950; }
#page-live-racing .live-pro-system-choice-copy { min-width: 0; display: grid; gap: 3px; }
#page-live-racing .live-pro-system-choice-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; font-size: 14px; }
#page-live-racing .live-pro-system-choice-copy small { color: rgba(226,239,255,.76); font-size: 11px; }
#page-live-racing .live-pro-system-choice-count { min-width: 74px; display: grid; text-align: center; }
#page-live-racing .live-pro-system-choice-count b { font-size: 18px; }
#page-live-racing .live-pro-system-choice-count small { color: rgba(226,239,255,.72); font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
#page-live-racing .live-pro-system-selector-panel > footer { display: flex; justify-content: flex-end; gap: 9px; padding: 15px 20px 19px; border-top: 1px solid rgba(180,215,255,.18); }
#page-live-racing .live-pro-system-selector-panel > footer button { min-height: 42px; padding: 9px 16px; border: 1px solid rgba(197,220,255,.30); border-radius: 12px; color: #fff; background: rgba(255,255,255,.10); font-size: 11px; font-weight: 900; cursor: pointer; }
#page-live-racing .live-pro-system-selector-panel > footer button.is-primary { border-color: rgba(95,228,223,.42); background: linear-gradient(135deg,#0d8b84,#2d73eb); box-shadow: 0 12px 24px rgba(8,78,160,.25), inset 0 1px 0 rgba(255,255,255,.22); }
#page-live-racing .live-pro-system-selector-panel > footer button:disabled { opacity: .5; cursor: not-allowed; }

#page-todays-qualifiers .pro-today-race-head { width: 100%; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; align-items: stretch; padding: 0; cursor: default; }
#page-todays-qualifiers .pro-today-race-open { min-width: 0; display: grid; grid-template-columns: 66px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 13px 6px 13px 14px; border: 0; color: inherit; text-align: left; background: transparent; cursor: pointer; }
#page-todays-qualifiers .pro-today-race-open:hover .pro-today-race-copy strong { color: #245db5; }
#page-todays-qualifiers .pro-today-race-expand-button { width: 48px; border: 0; border-left: 1px solid rgba(58,88,124,.12); background: rgba(47,115,217,.035); display: grid; place-items: center; cursor: pointer; }
#page-todays-qualifiers .pro-today-race-expand-button:hover { background: rgba(47,115,217,.08); }

@media (max-width: 1700px) {
  #page-live-racing .live-racecard-header.has-pro-system-context { grid-template-columns: minmax(260px,1fr) minmax(285px,350px) minmax(390px,430px) !important; column-gap: 15px !important; }
}
@media (max-width: 1450px) {
  #page-live-racing .live-racecard-header.has-pro-system-context { grid-template-columns: minmax(0,1fr) minmax(370px,420px) !important; }
  #page-live-racing .live-racecard-header.has-pro-system-context .live-racecard-title-block { grid-column: 1; grid-row: 1; }
  #page-live-racing .live-racecard-header.has-pro-system-context .live-pro-system-context { grid-column: 1; grid-row: 2; }
  #page-live-racing .live-racecard-header.has-pro-system-context .live-racecard-key-facts { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 1240px) {
  #page-live-racing .live-racecard-header.has-pro-system-context { grid-template-columns: 1fr !important; }
  #page-live-racing .live-racecard-header.has-pro-system-context .live-racecard-title-block,
  #page-live-racing .live-racecard-header.has-pro-system-context .live-pro-system-context,
  #page-live-racing .live-racecard-header.has-pro-system-context .live-racecard-key-facts { grid-column: 1; grid-row: auto; }
}
@media (max-width: 680px) {
  #page-live-racing .live-racecard-mode-tabs { grid-template-columns: repeat(3, minmax(0,1fr)) !important; }
  #page-live-racing .live-pro-system-selector { padding: 12px; }
  #page-live-racing .live-pro-system-choice { grid-template-columns: 30px minmax(0,1fr); }
  #page-live-racing .live-pro-system-choice-count { grid-column: 2; grid-row: 2; justify-self: start; text-align: left; display: flex; gap: 5px; align-items: baseline; }
  #page-todays-qualifiers .pro-today-race-open { grid-template-columns: 54px minmax(0,1fr); }
  #page-todays-qualifiers .pro-today-race-open .pro-today-race-count { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  #page-live-racing .live-pro-system-selector *,
  #page-live-racing .live-pro-system-context *,
  #page-todays-qualifiers .pro-today-race-open,
  #page-todays-qualifiers .pro-today-race-expand-button { transition: none !important; animation: none !important; }
}

/* LIVE_RACING_SYSTEM_VIEW_RANKING_AND_NEGATIVE_DETAIL_001_20260718 */
#page-live-racing .live-racecard-header.has-pro-system-context {
  grid-template-columns: minmax(300px,1fr) minmax(440px,570px) minmax(390px,440px) !important;
  column-gap: 18px !important;
  align-items: stretch !important;
}
#page-live-racing .live-pro-system-context {
  width: 100%;
  min-height: 100%;
  justify-self: center;
  padding: 15px 18px;
  border: 1px solid rgba(83,170,244,.44);
  color: #fff;
  background:
    radial-gradient(circle at 92% 4%, rgba(34,211,238,.22), transparent 39%),
    radial-gradient(circle at 4% 98%, rgba(147,93,255,.20), transparent 42%),
    linear-gradient(143deg, rgba(5,18,44,.985), rgba(24,53,132,.965) 54%, rgba(62,49,154,.945));
  box-shadow:
    0 16px 34px rgba(20,45,118,.23),
    inset 0 1px 0 rgba(255,255,255,.27),
    inset 0 0 0 1px rgba(255,255,255,.055);
  -webkit-backdrop-filter: blur(17px) saturate(150%);
  backdrop-filter: blur(17px) saturate(150%);
  align-content: center;
  gap: 8px;
}
#page-live-racing .live-pro-system-context.is-qualified,
#page-live-racing .live-pro-system-context.is-pending,
#page-live-racing .live-pro-system-context.is-failed {
  border-color: rgba(83,170,244,.44);
  background:
    radial-gradient(circle at 92% 4%, rgba(34,211,238,.22), transparent 39%),
    radial-gradient(circle at 4% 98%, rgba(147,93,255,.20), transparent 42%),
    linear-gradient(143deg, rgba(5,18,44,.985), rgba(24,53,132,.965) 54%, rgba(62,49,154,.945));
}
#page-live-racing .live-pro-system-context-topline > span {
  color: #83edf7;
  font-size: 9.5px;
  letter-spacing: .14em;
  text-shadow: 0 1px 7px rgba(0,0,0,.26);
}
#page-live-racing .live-pro-system-context-topline button {
  min-height: 30px;
  border-color: rgba(211,232,255,.30);
  color: #fff;
  background: rgba(255,255,255,.11);
}
#page-live-racing .live-pro-system-context-topline button:hover {
  background: rgba(255,255,255,.18);
}
#page-live-racing .live-pro-system-context > strong {
  color: #fff;
  font-size: 16.5px;
  line-height: 1.18;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  text-shadow: 0 1px 7px rgba(0,0,0,.26);
}
#page-live-racing .live-pro-system-selection-contract {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 8px;
  align-items: baseline;
  padding: 7px 9px;
  border: 1px solid rgba(193,220,255,.18);
  border-radius: 11px;
  background: rgba(255,255,255,.075);
}
#page-live-racing .live-pro-system-selection-contract span {
  color: rgba(151,231,246,.92);
  font-size: 8.5px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
#page-live-racing .live-pro-system-selection-contract b {
  color: #fff;
  font-size: 11.5px;
  line-height: 1.24;
  text-shadow: 0 1px 7px rgba(0,0,0,.24);
}
#page-live-racing .live-pro-system-outcome b,
#page-live-racing .live-pro-system-context.is-pending .live-pro-system-outcome b,
#page-live-racing .live-pro-system-context.is-failed .live-pro-system-outcome b {
  color: #8ef0d8;
  font-size: 12px;
}
#page-live-racing .live-pro-system-outcome span {
  color: rgba(226,239,255,.88);
  font-size: 11px;
}
#page-live-racing .live-pro-system-manual-summary {
  color: #ffe39a;
  grid-template-columns: auto auto minmax(0,1fr);
  padding: 6px 8px;
  border: 1px solid rgba(251,191,36,.25);
  border-radius: 10px;
  background: rgba(251,191,36,.10);
}
#page-live-racing .live-pro-system-manual-summary b,
#page-live-racing .live-pro-system-manual-summary > span {
  color: #ffe39a;
  font-size: 9.5px;
}
#page-live-racing .live-pro-system-manual-summary em {
  color: rgba(255,239,194,.92);
  font-size: 10px;
}

#page-live-racing .live-pro-system-rank-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 9px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .025em;
  white-space: nowrap;
}
#page-live-racing .live-pro-system-rank-badge.is-ranked {
  color: #134c82;
  border: 1px solid rgba(36,107,181,.23);
  background: linear-gradient(180deg, rgba(232,246,255,.96), rgba(213,235,255,.82));
}
#page-live-racing .live-pro-system-rank-badge.is-manual {
  color: #87550a;
  border: 1px solid rgba(214,139,20,.28);
  background: linear-gradient(180deg, rgba(255,248,218,.98), rgba(255,235,171,.84));
}
#page-live-racing .live-pro-system-rank-badge.is-pending {
  color: #5d6e84;
  border: 1px solid rgba(100,116,139,.20);
  background: rgba(238,242,247,.90);
}
#page-live-racing .live-pro-system-horse-head {
  min-width: 0;
  display: flex !important;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
}
#page-live-racing .live-pro-system-horse-head .live-sort-header {
  white-space: nowrap;
}
#page-live-racing .live-pro-system-horse-head .live-sort-header[data-live-sort="system_rank"] {
  padding: 3px 8px;
  border: 1px solid rgba(141,214,255,.30);
  border-radius: 999px;
  color: #bfeeff !important;
  background: rgba(64,177,226,.12);
}
#page-live-racing .live-pro-system-rank-head-static {
  padding: 3px 8px;
  border: 1px solid rgba(255,215,116,.27);
  border-radius: 999px;
  color: #ffe6a5 !important;
  background: rgba(251,191,36,.10);
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

#page-live-racing .live-pro-system-reason-panel {
  padding: 13px 15px 15px;
}
#page-live-racing .live-pro-system-reason-row.is-breeding {
  gap: 8px;
  padding: 10px 12px;
}
#page-live-racing .live-pro-system-query-hit-list {
  display: grid;
  gap: 7px;
}
#page-live-racing .live-pro-system-query-hit {
  display: grid;
  gap: 5px;
  padding: 9px 10px;
  border: 1px solid rgba(65,111,186,.16);
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(249,252,255,.96), rgba(238,245,255,.84));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.70);
}
#page-live-racing .live-pro-system-query-hit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
#page-live-racing .live-pro-system-query-hit-head strong {
  color: #173f78;
  font-size: 11px;
}
#page-live-racing .live-pro-system-query-hit-head span {
  max-width: 42%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #6d7d94;
  font-size: 8.5px;
}
#page-live-racing .live-pro-system-query-hit-definition {
  color: #344e70;
  font-size: 10.5px;
  line-height: 1.35;
}
#page-live-racing .live-pro-system-query-hit-evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
#page-live-racing .live-pro-system-query-hit-evidence b {
  padding: 4px 7px;
  border: 1px solid rgba(190,65,78,.17);
  border-radius: 999px;
  color: #962f3d;
  background: rgba(255,238,241,.90);
  font-size: 9px;
}
#page-live-racing .live-pro-system-included {
  font-weight: 950 !important;
}

@media (max-width: 1700px) {
  #page-live-racing .live-racecard-header.has-pro-system-context {
    grid-template-columns: minmax(250px,1fr) minmax(400px,500px) minmax(390px,430px) !important;
  }
}
@media (max-width: 1450px) {
  #page-live-racing .live-racecard-header.has-pro-system-context {
    grid-template-columns: minmax(0,1fr) minmax(370px,420px) !important;
  }
  #page-live-racing .live-racecard-header.has-pro-system-context .live-pro-system-context {
    grid-column: 1;
    grid-row: 2;
    max-width: none;
  }
}
@media (max-width: 1240px) {
  #page-live-racing .live-racecard-header.has-pro-system-context {
    grid-template-columns: 1fr !important;
  }
  #page-live-racing .live-pro-system-context {
    min-height: auto;
  }
}

/* PRO_LIVE_RACING_SYSTEM_PERFORMANCE_AND_MULTI_SYSTEM_CONTEXT_001_20260718 */
#page-live-racing .live-racecard-header.has-pro-system-context {
  grid-template-columns: minmax(280px, .95fr) minmax(560px, 720px) minmax(380px, 430px) !important;
}
#page-live-racing .live-pro-system-context {
  gap: 9px;
  padding: 16px 18px 17px;
}
#page-live-racing .live-pro-system-context-topline button {
  min-width: 126px;
  font-size: 10.5px;
}
#page-live-racing .live-pro-system-performance {
  display: grid;
  gap: 8px;
  margin-top: 1px;
  padding-top: 9px;
  border-top: 1px solid rgba(192,221,255,.17);
}
#page-live-racing .live-pro-system-performance-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
#page-live-racing .live-pro-system-performance-head > span {
  color: #91f0f6;
  font-size: 8.5px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}
#page-live-racing .live-pro-system-performance-head > div {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
#page-live-racing .live-pro-system-performance-head button {
  min-width: 34px;
  min-height: 23px;
  padding: 3px 6px;
  border: 1px solid rgba(193,220,255,.20);
  border-radius: 7px;
  color: rgba(226,239,255,.84);
  background: rgba(255,255,255,.07);
  font-size: 8.5px;
  font-weight: 950;
  cursor: pointer;
}
#page-live-racing .live-pro-system-performance-head button:hover,
#page-live-racing .live-pro-system-performance-head button.is-active {
  border-color: rgba(103,231,235,.44);
  color: #fff;
  background: linear-gradient(135deg, rgba(17,143,155,.82), rgba(62,94,226,.86));
  box-shadow: 0 7px 16px rgba(13,77,162,.22), inset 0 1px 0 rgba(255,255,255,.22);
}
#page-live-racing .live-pro-system-performance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 7px;
}
#page-live-racing .live-pro-system-performance-grid section {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  border: 1px solid rgba(193,220,255,.16);
  border-radius: 11px;
  background: rgba(255,255,255,.065);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
#page-live-racing .live-pro-system-performance-grid section.is-live {
  background: linear-gradient(145deg, rgba(26,157,152,.13), rgba(74,95,220,.11));
}
#page-live-racing .live-pro-system-performance-grid section > span {
  color: #9beef3;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
#page-live-racing .live-pro-system-performance-grid section > strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 950;
  text-shadow: 0 1px 7px rgba(0,0,0,.23);
}
#page-live-racing .live-pro-system-performance-grid section > b {
  color: rgba(230,241,255,.94);
  font-size: 9.5px;
  line-height: 1.2;
}
#page-live-racing .live-pro-system-performance-grid section > small {
  color: rgba(210,226,248,.78);
  font-size: 8.5px;
  line-height: 1.25;
}
#page-live-racing .live-pro-system-performance.is-loading,
#page-live-racing .live-pro-system-performance.is-error {
  min-height: 42px;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(193,220,255,.15);
  border-radius: 10px;
  background: rgba(255,255,255,.055);
}
#page-live-racing .live-pro-system-performance.is-loading > span:not(.live-pro-system-performance-ring),
#page-live-racing .live-pro-system-performance.is-error > span {
  color: #92edf3;
  font-size: 8.5px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
#page-live-racing .live-pro-system-performance.is-loading > strong,
#page-live-racing .live-pro-system-performance.is-error > strong {
  color: rgba(232,241,255,.92);
  font-size: 10px;
}
#page-live-racing .live-pro-system-performance-ring {
  width: 17px;
  height: 17px;
  border: 2px solid rgba(203,229,255,.28);
  border-top-color: #69e7ec;
  border-radius: 50%;
  animation: live-pro-performance-spin .8s linear infinite;
}
@keyframes live-pro-performance-spin { to { transform: rotate(360deg); } }

#page-live-racing .live-runner-status-badge.live-pro-system-pass.is-multi-system {
  border-color: rgba(58,120,221,.28) !important;
  color: #174f91 !important;
  background: linear-gradient(180deg, #eaf6ff, #dcecff) !important;
  box-shadow: 0 5px 12px rgba(44,94,176,.10);
}

/* The selector is portalled to the page root so fixed positioning is viewport-bound. */
#page-live-racing > .live-pro-system-selector {
  position: fixed;
  inset: 0;
  z-index: 2147483644;
  display: grid;
  place-items: start center;
  padding: clamp(64px, 8vh, 108px) 24px 24px;
}
#page-live-racing > .live-pro-system-selector .live-pro-system-selector-panel {
  max-height: calc(100dvh - clamp(88px, 12vh, 142px));
}

@media (max-width: 1780px) {
  #page-live-racing .live-racecard-header.has-pro-system-context {
    grid-template-columns: minmax(250px,.9fr) minmax(520px,650px) minmax(370px,420px) !important;
  }
}
@media (max-width: 1500px) {
  #page-live-racing .live-racecard-header.has-pro-system-context {
    grid-template-columns: minmax(0,1fr) minmax(500px,620px) !important;
  }
  #page-live-racing .live-racecard-header.has-pro-system-context .live-pro-system-context {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}
@media (max-width: 1040px) {
  #page-live-racing .live-pro-system-performance-grid {
    grid-template-columns: 1fr;
  }
  #page-live-racing .live-pro-system-performance-head {
    align-items: flex-start;
    flex-direction: column;
  }
  #page-live-racing .live-pro-system-performance-head > div {
    justify-content: flex-start;
  }
  #page-live-racing > .live-pro-system-selector {
    padding: 42px 12px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #page-live-racing .live-pro-system-performance-ring { animation: none; }
}
