/* Control center dark-theme polish. */
.control-body {
  background:
    linear-gradient(135deg, rgba(4, 7, 9, 0.94), rgba(15, 19, 22, 0.91) 46%, rgba(6, 8, 10, 0.96)),
    url("/assets/liberty-raceworks-splash.png") center / cover fixed;
}

.control-body .panel,
.control-body .control-subpanel,
.control-body .send-output-box,
.control-body .operator-health,
.control-body .vmix-url-box {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.075), transparent 14% 84%, rgba(0, 0, 0, 0.28)),
    linear-gradient(180deg, rgba(34, 38, 41, 0.94), rgba(12, 14, 16, 0.95) 52%, rgba(5, 6, 7, 0.96));
  border-color: rgba(220, 230, 235, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -10px 22px rgba(0, 0, 0, 0.34),
    0 14px 34px rgba(0, 0, 0, 0.38);
}

.control-body .panel {
  position: relative;
}

.control-body .panel::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
}

.control-body .control-hero {
  background:
    linear-gradient(100deg, rgba(231, 51, 47, 0.24), transparent 34%),
    linear-gradient(180deg, #25292c, #090b0d 70%);
  border-color: rgba(231, 51, 47, 0.32);
}

.control-body h1,
.control-body h2,
.control-body .subpanel-heading strong {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.control-body h2 {
  display: flex;
  align-items: center;
  gap: 9px;
}

.control-body h2::before {
  content: "";
  width: 4px;
  height: 20px;
  border-radius: 99px;
  background: var(--neon-bad);
  box-shadow: 0 0 12px color-mix(in srgb, var(--neon-bad) 58%, transparent);
}

.control-body textarea,
.control-body input,
.control-body select {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 42%),
    #05090c;
  border-color: rgba(190, 205, 214, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -4px 9px rgba(0, 0, 0, 0.22);
}

.control-body textarea:focus,
.control-body input:focus,
.control-body select:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--neon-work) 72%, rgba(255, 255, 255, 0.2));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--neon-work) 34%, transparent),
    0 0 16px color-mix(in srgb, var(--neon-work) 24%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.control-body button,
.control-body .links a,
.control-body details summary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #2f3942, #11171d);
  border: 1px solid rgba(210, 224, 232, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -7px 12px rgba(0, 0, 0, 0.28);
}

.control-body button:hover,
.control-body .links a:hover {
  border-color: color-mix(in srgb, var(--neon-work) 54%, rgba(255, 255, 255, 0.14));
  box-shadow:
    0 0 14px color-mix(in srgb, var(--neon-work) 20%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -7px 12px rgba(0, 0, 0, 0.24);
}

.control-body button.secondary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 34%),
    linear-gradient(180deg, #27313a, #11171c);
}

.control-body button.active,
.control-body button.on-program,
.control-body .program-buttons button.active,
.control-body .program-buttons button.on-program,
.control-body .metric-checkbox-grid label:has(input:checked) {
  border-color: color-mix(in srgb, var(--neon-work) 74%, white 8%);
  color: #ffffff;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--neon-work) 38%, transparent),
    0 0 18px color-mix(in srgb, var(--neon-work) 34%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -8px 16px rgba(0, 0, 0, 0.3);
}

.control-body .program-buttons button.on-program,
.control-body .program-buttons button.active.on-program {
  border-color: color-mix(in srgb, var(--neon-warn) 82%, white 8%);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--neon-warn) 42%, transparent),
    0 0 20px color-mix(in srgb, var(--neon-warn) 34%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -8px 16px rgba(0, 0, 0, 0.3);
}

.control-body .send-output-box #takeProgram,
.control-body .send-output-box #takeProgram.is-bad {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), transparent 32%),
    linear-gradient(180deg, color-mix(in srgb, var(--neon-bad) 82%, #000 18%), #771514);
  box-shadow: 0 0 18px color-mix(in srgb, var(--neon-bad) 24%, transparent);
}

.control-body .send-output-box #takeProgram.is-good {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 32%),
    linear-gradient(180deg, #23884a, #0e3d25);
  border-color: color-mix(in srgb, var(--neon-good) 64%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--neon-good) 30%, transparent);
}

.control-body .send-output-box #takeProgram.is-warn {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 32%),
    linear-gradient(180deg, #a7781e, #553508);
  border-color: color-mix(in srgb, var(--neon-warn) 64%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--neon-warn) 28%, transparent);
}

.control-body .health-dot.is-good,
.control-body .race-ready-summary.is-good .health-dot {
  box-shadow:
    0 0 0 4px rgba(140, 241, 61, 0.15),
    0 0 18px rgba(140, 241, 61, 0.58),
    0 0 32px rgba(140, 241, 61, 0.22);
}

.control-body .health-dot.is-warn {
  box-shadow:
    0 0 0 4px rgba(244, 197, 66, 0.15),
    0 0 18px rgba(244, 197, 66, 0.52),
    0 0 32px rgba(244, 197, 66, 0.18);
}

.control-body .health-dot.is-bad {
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--neon-bad) 16%, transparent),
    0 0 18px color-mix(in srgb, var(--neon-bad) 56%, transparent),
    0 0 32px color-mix(in srgb, var(--neon-bad) 20%, transparent);
}

.control-body .race-ready-summary.is-good,
.control-body .race-ready-card.is-good {
  border-color: color-mix(in srgb, var(--neon-good) 54%, rgba(255, 255, 255, 0.12));
  box-shadow: inset 0 0 0 1px rgba(140, 241, 61, 0.08), 0 0 14px rgba(140, 241, 61, 0.16);
}

.control-body .race-ready-summary.is-warn,
.control-body .race-ready-card.is-warn {
  border-color: color-mix(in srgb, var(--neon-warn) 56%, rgba(255, 255, 255, 0.12));
  box-shadow: inset 0 0 0 1px rgba(244, 197, 66, 0.08), 0 0 14px rgba(244, 197, 66, 0.13);
}

.control-body .race-ready-summary.is-bad,
.control-body .race-ready-card.is-bad {
  border-color: color-mix(in srgb, var(--neon-bad) 58%, rgba(255, 255, 255, 0.12));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--neon-bad) 10%, transparent), 0 0 14px color-mix(in srgb, var(--neon-bad) 16%, transparent);
}

.control-body .race-ready-action.is-good,
.control-body .send-readiness-note.is-good {
  border-color: color-mix(in srgb, var(--neon-good) 38%, rgba(255, 255, 255, 0.12));
  box-shadow: 0 0 12px rgba(140, 241, 61, 0.12);
}

.control-body .race-ready-action.is-warn,
.control-body .send-readiness-note.is-warn {
  border-color: color-mix(in srgb, var(--neon-warn) 42%, rgba(255, 255, 255, 0.12));
  box-shadow: 0 0 12px rgba(244, 197, 66, 0.11);
}

.control-body .race-ready-action.is-bad,
.control-body .send-readiness-note.is-bad {
  border-color: color-mix(in srgb, var(--neon-bad) 44%, rgba(255, 255, 255, 0.12));
  box-shadow: 0 0 12px color-mix(in srgb, var(--neon-bad) 14%, transparent);
}

.control-body .operator-health-grid div,
.control-body .race-ready-card,
.control-body .health-grid div,
.control-body .banner-logo-status div,
.control-body .preview-list .row,
.control-body .correction-chip {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 46%),
    rgba(6, 9, 11, 0.48);
  border-color: rgba(214, 228, 236, 0.105);
}

.control-body .preview-list .row {
  grid-template-columns: 42px 58px minmax(0, 1fr) 96px;
  min-height: 36px;
  padding: 0 8px;
  border: 1px solid rgba(214, 228, 236, 0.105);
  border-left: 3px solid color-mix(in srgb, var(--neon-work) 40%, transparent);
  border-radius: 5px;
  font-size: 18px;
}

.control-body .preview-list .row:first-child {
  border-top: 1px solid rgba(214, 228, 236, 0.105);
}

.control-body .preview-list .pos,
.control-body .preview-list .num {
  color: #f3f5f6;
}

.control-body .preview-list .metric {
  color: var(--neon-work);
  text-align: right;
}

.control-body .top3-driver-control.is-primary {
  box-shadow:
    inset 4px 0 0 color-mix(in srgb, var(--neon-bad) 74%, transparent),
    0 0 18px color-mix(in srgb, var(--neon-bad) 12%, transparent);
}

.control-body .banner-logo-status {
  border-left-color: var(--neon-bad);
  box-shadow: 0 0 16px color-mix(in srgb, var(--neon-bad) 12%, transparent);
}

/* Extra control hierarchy: clearer sections and stronger button depth. */
.control-body .panel {
  border-color: rgba(232, 241, 247, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -14px 26px rgba(0, 0, 0, 0.36),
    0 16px 36px rgba(0, 0, 0, 0.44);
}

.control-body .panel::before {
  content: "";
  position: absolute;
  inset: 8px auto 8px 0;
  width: 3px;
  border-radius: 0 99px 99px 0;
  pointer-events: none;
  background: color-mix(in srgb, var(--neon-work) 66%, #ffffff 8%);
  box-shadow: 0 0 14px color-mix(in srgb, var(--neon-work) 34%, transparent);
}

.control-body .control-hero::before,
.control-body .output-panel::before,
.control-body .banner-panel::before,
.control-body .podium-panel::before {
  background: color-mix(in srgb, var(--neon-bad) 76%, #ffffff 8%);
  box-shadow: 0 0 16px color-mix(in srgb, var(--neon-bad) 38%, transparent);
}

.control-body .timing-panel::before,
.control-body .race-ready-panel::before {
  background: color-mix(in srgb, var(--neon-good) 70%, #ffffff 8%);
  box-shadow: 0 0 16px color-mix(in srgb, var(--neon-good) 30%, transparent);
}

.control-body .style-panel::before,
.control-body .data-panel::before,
.control-body .upper-left-stack .panel::before {
  background: color-mix(in srgb, var(--neon-work) 70%, #ffffff 8%);
}

.control-body .control-subpanel,
.control-body .send-output-box,
.control-body .operator-health,
.control-body .vmix-url-box,
.control-body .banner-logo-status,
.control-body .race-ready-card,
.control-body .top3-driver-control {
  border-color: rgba(232, 241, 247, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -8px 16px rgba(0, 0, 0, 0.26),
    0 8px 18px rgba(0, 0, 0, 0.24);
}

.control-body .subpanel-heading,
.control-body .race-ready-topline,
.control-body .panel-heading {
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.control-body button,
.control-body .links a,
.control-body details summary {
  min-height: 40px;
  border-color: rgba(232, 241, 247, 0.2);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -9px 14px rgba(0, 0, 0, 0.34),
    0 7px 14px rgba(0, 0, 0, 0.24);
}

.control-body button:hover,
.control-body .links a:hover {
  transform: translateY(-1px);
}

.control-body button:active,
.control-body .links a:active {
  transform: translateY(0);
}

.control-body .program-buttons button {
  min-height: 58px;
  border-left: 3px solid rgba(255, 255, 255, 0.12);
}

.control-body .program-buttons button.active {
  border-left-color: var(--neon-work);
}

.control-body .program-buttons button.on-program {
  border-left-color: var(--neon-warn);
}

.control-body .banner-control-actions button,
.control-body .top3-actions button,
.control-body #applyFooter,
.control-body #applyMissingData,
.control-body #applyStyle,
.control-body #connectTiming {
  border-left: 3px solid color-mix(in srgb, var(--neon-work) 62%, transparent);
}

.control-body #takeProgram,
.control-body #sendTopBanner,
.control-body #applyBanner {
  border-left: 3px solid color-mix(in srgb, var(--neon-bad) 78%, transparent);
}

.control-body .metric-checkbox-grid label {
  border-color: rgba(232, 241, 247, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.control-body .metric-checkbox-grid label:has(input:checked) {
  text-shadow: 0 0 8px color-mix(in srgb, var(--neon-work) 42%, transparent);
}

.control-body .health-summary,
.control-body .operator-health-grid div,
.control-body .health-grid div,
.control-body .preview-list .row,
.control-body .banner-logo-status div {
  border-radius: 7px;
}

/* Smoked-glass buttons for the control surface. */
.control-body button,
.control-body .links a,
.control-body details summary {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08) 34%, rgba(255, 255, 255, 0.025) 62%, rgba(0, 0, 0, 0.2)),
    linear-gradient(180deg, rgba(65, 77, 88, 0.74), rgba(24, 31, 38, 0.78) 52%, rgba(9, 13, 17, 0.88));
  border: 1px solid rgba(237, 247, 255, 0.24);
  backdrop-filter: blur(8px) saturate(1.15);
  -webkit-backdrop-filter: blur(8px) saturate(1.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -10px 18px rgba(0, 0, 0, 0.38),
    inset 0 0 18px rgba(255, 255, 255, 0.035),
    0 8px 17px rgba(0, 0, 0, 0.28);
}

.control-body button::before,
.control-body .links a::before,
.control-body details summary::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto;
  height: 42%;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.04));
  opacity: 0.85;
}

.control-body button:hover,
.control-body .links a:hover,
.control-body details summary:hover {
  border-color: color-mix(in srgb, var(--neon-work) 52%, rgba(255, 255, 255, 0.28));
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.27), rgba(255, 255, 255, 0.1) 34%, rgba(255, 255, 255, 0.035) 62%, rgba(0, 0, 0, 0.18)),
    linear-gradient(180deg, rgba(72, 87, 99, 0.82), rgba(28, 37, 45, 0.82) 52%, rgba(10, 15, 20, 0.9));
  box-shadow:
    0 0 18px color-mix(in srgb, var(--neon-work) 22%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -10px 18px rgba(0, 0, 0, 0.34),
    0 9px 18px rgba(0, 0, 0, 0.3);
}

.control-body button.secondary {
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.075) 34%, rgba(255, 255, 255, 0.02) 62%, rgba(0, 0, 0, 0.22)),
    linear-gradient(180deg, rgba(48, 61, 72, 0.74), rgba(21, 29, 36, 0.82) 56%, rgba(8, 12, 16, 0.9));
}

.control-body button.active,
.control-body button.on-program,
.control-body .program-buttons button.active,
.control-body .metric-checkbox-grid label:has(input:checked) {
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.12) 33%, rgba(84, 199, 236, 0.13) 62%, rgba(0, 0, 0, 0.18)),
    linear-gradient(180deg, color-mix(in srgb, var(--neon-work) 36%, #30404b), rgba(19, 35, 43, 0.88) 54%, rgba(7, 14, 18, 0.94));
}

.control-body .program-buttons button.on-program,
.control-body .program-buttons button.active.on-program {
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.31), rgba(255, 255, 255, 0.13) 33%, rgba(244, 197, 66, 0.17) 62%, rgba(0, 0, 0, 0.16)),
    linear-gradient(180deg, color-mix(in srgb, var(--neon-warn) 38%, #3c3420), rgba(54, 39, 12, 0.88) 54%, rgba(18, 12, 3, 0.94));
}

.control-body .send-output-box #takeProgram,
.control-body #sendTopBanner,
.control-body #applyBanner {
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.12) 33%, color-mix(in srgb, var(--neon-bad) 18%, transparent) 62%, rgba(0, 0, 0, 0.18)),
    linear-gradient(180deg, color-mix(in srgb, var(--neon-bad) 58%, #2d1212), rgba(91, 18, 18, 0.9) 55%, rgba(35, 5, 5, 0.95));
}

.control-body .send-output-box #takeProgram.is-good {
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.12) 33%, rgba(140, 241, 61, 0.16) 62%, rgba(0, 0, 0, 0.18)),
    linear-gradient(180deg, color-mix(in srgb, var(--neon-good) 38%, #1e3a26), rgba(19, 69, 39, 0.9) 55%, rgba(6, 28, 16, 0.95));
}

.control-body .send-output-box #takeProgram.is-warn {
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.12) 33%, rgba(244, 197, 66, 0.16) 62%, rgba(0, 0, 0, 0.18)),
    linear-gradient(180deg, color-mix(in srgb, var(--neon-warn) 38%, #3c3420), rgba(77, 51, 10, 0.9) 55%, rgba(27, 17, 2, 0.95));
}

/* Glass title plates for clearer section hierarchy. */
.control-body .panel h2 {
  width: fit-content;
  max-width: 100%;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 5px 14px 4px 10px;
  border: 1px solid rgba(237, 247, 255, 0.22);
  border-left: 3px solid var(--neon-work);
  border-radius: 7px;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07) 42%, rgba(255, 255, 255, 0.02) 70%),
    linear-gradient(180deg, rgba(47, 58, 66, 0.78), rgba(12, 17, 21, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -7px 13px rgba(0, 0, 0, 0.3),
    0 0 14px color-mix(in srgb, var(--neon-work) 12%, transparent),
    0 8px 18px rgba(0, 0, 0, 0.22);
  text-transform: uppercase;
  letter-spacing: 0;
}

.control-body .panel h2::before {
  width: 4px;
  height: 22px;
  background: var(--neon-work);
  box-shadow:
    0 0 10px color-mix(in srgb, var(--neon-work) 68%, transparent),
    0 0 20px color-mix(in srgb, var(--neon-work) 24%, transparent);
}

.control-body .output-panel h2,
.control-body .banner-panel h2,
.control-body .podium-panel h2 {
  border-left-color: var(--neon-bad);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -7px 13px rgba(0, 0, 0, 0.3),
    0 0 15px color-mix(in srgb, var(--neon-bad) 15%, transparent),
    0 8px 18px rgba(0, 0, 0, 0.22);
}

.control-body .output-panel h2::before,
.control-body .banner-panel h2::before,
.control-body .podium-panel h2::before {
  background: var(--neon-bad);
  box-shadow:
    0 0 10px color-mix(in srgb, var(--neon-bad) 70%, transparent),
    0 0 20px color-mix(in srgb, var(--neon-bad) 26%, transparent);
}

.control-body .timing-panel h2,
.control-body .race-ready-panel h2 {
  border-left-color: var(--neon-good);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -7px 13px rgba(0, 0, 0, 0.3),
    0 0 15px color-mix(in srgb, var(--neon-good) 13%, transparent),
    0 8px 18px rgba(0, 0, 0, 0.22);
}

.control-body .timing-panel h2::before,
.control-body .race-ready-panel h2::before {
  background: var(--neon-good);
  box-shadow:
    0 0 10px color-mix(in srgb, var(--neon-good) 62%, transparent),
    0 0 20px color-mix(in srgb, var(--neon-good) 22%, transparent);
}

.control-body .subpanel-heading strong {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 10px;
  border: 1px solid rgba(237, 247, 255, 0.16);
  border-left: 3px solid color-mix(in srgb, var(--neon-work) 62%, transparent);
  border-radius: 5px;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.045) 58%),
    rgba(7, 11, 14, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 10px color-mix(in srgb, var(--neon-work) 8%, transparent);
  text-transform: uppercase;
}

/* Control typography system: keep repeated text roles consistent. */
.control-body {
  --control-text-xs: 13px;
  --control-text-sm: 15px;
  --control-text-md: 16px;
  --control-text-lg: 18px;
  --control-value: 20px;
  font-size: var(--control-text-md);
}

.control-body .panel h2 {
  font-size: 23px;
  line-height: 1.02;
}

.control-body .panel > p,
.control-body .panel-heading p,
.control-body .race-ready-topline p,
.control-body .subpanel-heading span,
.control-body details p,
.control-body .correction-list {
  font-size: var(--control-text-md);
  line-height: 1.12;
}

.control-body .subpanel-heading strong,
.control-body .output-vmix-panel .subpanel-heading strong {
  font-size: var(--control-text-lg);
  line-height: 1.02;
}

.control-body .style-field,
.control-body .toggle-field,
.control-body .checkbox-grid label,
.control-body .vmix-url-box strong {
  font-size: var(--control-text-sm);
  font-weight: 900;
  line-height: 1.04;
}

.control-body input,
.control-body select,
.control-body textarea {
  font-size: var(--control-text-lg);
  line-height: 1.05;
}

.control-body .vmix-url-box input {
  font-size: var(--control-text-md);
}

.control-body button,
.control-body .links a,
.control-body details summary {
  font-size: var(--control-text-lg);
  line-height: 1;
}

.control-body .program-buttons button {
  font-size: 19px;
}

.control-body .program-buttons button::after {
  top: 4px;
  font-size: 11px;
}

.control-body .operator-health-grid div,
.control-body .race-ready-card,
.control-body .banner-logo-status div,
.control-body .health-grid div {
  padding: 9px 11px;
}

.control-body .operator-health-grid span,
.control-body .race-ready-card span,
.control-body .race-ready-card em,
.control-body .banner-logo-status span,
.control-body .health-grid span,
.control-body .correction-list strong {
  font-size: var(--control-text-xs);
  line-height: 1.02;
}

.control-body .operator-health-grid strong,
.control-body .race-ready-card strong,
.control-body .banner-logo-status strong,
.control-body .health-grid strong {
  margin-top: 5px;
  font-size: var(--control-value);
  line-height: 0.98;
}

.control-body .health-summary strong,
.control-body .race-ready-summary strong {
  font-size: var(--control-value);
  line-height: 0.98;
}

.control-body .race-ready-action strong,
.control-body .race-ready-action span,
.control-body .send-readiness-note,
.control-body .race-ready-details summary,
.control-body .race-ready-issues span,
.control-body .correction-chip,
.control-body .output-vmix-panel .subpanel-heading span {
  font-size: var(--control-text-sm);
  line-height: 1.06;
}

.control-body .stepper-buttons button {
  font-size: 12px;
}

/* vMix-style status colors: live is green, queued/ready is yellow, offline is red. */
.control-body {
  --neon-live: #8cf13d;
  --neon-ready: #f4c542;
  --neon-good: var(--neon-ready);
  --neon-warn: var(--neon-ready);
  --neon-bad: #e7332f;
}

.control-body .health-dot.is-idle,
.control-body .health-dot.is-bad {
  background: var(--neon-bad);
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--neon-bad) 16%, transparent),
    0 0 18px color-mix(in srgb, var(--neon-bad) 56%, transparent),
    0 0 32px color-mix(in srgb, var(--neon-bad) 20%, transparent);
}

.control-body .health-dot.is-good,
.control-body .health-dot.is-warn {
  background: var(--neon-ready);
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--neon-ready) 17%, transparent),
    0 0 18px color-mix(in srgb, var(--neon-ready) 55%, transparent),
    0 0 32px color-mix(in srgb, var(--neon-ready) 19%, transparent);
}

.control-body #liveHealthSummary .health-dot.is-good {
  background: var(--neon-live);
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--neon-live) 16%, transparent),
    0 0 18px color-mix(in srgb, var(--neon-live) 58%, transparent),
    0 0 32px color-mix(in srgb, var(--neon-live) 22%, transparent);
}

.control-body #liveHealthSummary:has(.health-dot.is-good) {
  border-color: color-mix(in srgb, var(--neon-live) 45%, rgba(255, 255, 255, 0.12));
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--neon-live) 8%, transparent),
    0 0 14px color-mix(in srgb, var(--neon-live) 14%, transparent);
}

.control-body #liveHealthSummary:has(.health-dot.is-idle),
.control-body #liveHealthSummary:has(.health-dot.is-bad) {
  border-color: color-mix(in srgb, var(--neon-bad) 48%, rgba(255, 255, 255, 0.12));
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--neon-bad) 10%, transparent),
    0 0 14px color-mix(in srgb, var(--neon-bad) 16%, transparent);
}

.control-body .race-ready-summary.is-good,
.control-body .race-ready-card.is-good,
.control-body .race-ready-action.is-good,
.control-body .send-readiness-note.is-good {
  border-color: color-mix(in srgb, var(--neon-ready) 50%, rgba(255, 255, 255, 0.12));
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--neon-ready) 9%, transparent),
    0 0 14px color-mix(in srgb, var(--neon-ready) 14%, transparent);
}

.control-body .race-ready-card.is-good,
.control-body .race-ready-action.is-good {
  border-left-color: var(--neon-ready);
}

.control-body .send-readiness-note.is-good,
.control-body .race-ready-issues span.is-warn {
  color: #ffe9a5;
}

.control-body button.active,
.control-body .program-buttons button.active,
.control-body .metric-checkbox-grid label:has(input:checked),
.control-body .send-output-box #takeProgram.is-good,
.control-body .send-output-box #takeProgram.is-warn {
  border-color: color-mix(in srgb, var(--neon-ready) 72%, rgba(255, 255, 255, 0.16));
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.31), rgba(255, 255, 255, 0.13) 33%, color-mix(in srgb, var(--neon-ready) 18%, transparent) 62%, rgba(0, 0, 0, 0.16)),
    linear-gradient(180deg, color-mix(in srgb, var(--neon-ready) 40%, #3c3420), rgba(65, 47, 12, 0.9) 55%, rgba(22, 15, 3, 0.95));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--neon-ready) 38%, transparent),
    0 0 18px color-mix(in srgb, var(--neon-ready) 28%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -9px 15px rgba(0, 0, 0, 0.32);
}

.control-body .program-buttons button.active {
  border-left-color: var(--neon-ready);
}

.control-body .program-buttons button.active:not(.on-program)::after {
  background: color-mix(in srgb, var(--neon-ready) 90%, #181000 10%);
  color: #101010;
}

.control-body .program-buttons button.on-program,
.control-body .program-buttons button.active.on-program {
  border-color: color-mix(in srgb, var(--neon-live) 74%, rgba(255, 255, 255, 0.18));
  border-left-color: var(--neon-live);
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.31), rgba(255, 255, 255, 0.13) 33%, color-mix(in srgb, var(--neon-live) 17%, transparent) 62%, rgba(0, 0, 0, 0.16)),
    linear-gradient(180deg, color-mix(in srgb, var(--neon-live) 35%, #213822), rgba(19, 69, 39, 0.9) 55%, rgba(6, 28, 16, 0.95));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--neon-live) 42%, transparent),
    0 0 20px color-mix(in srgb, var(--neon-live) 34%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -9px 15px rgba(0, 0, 0, 0.32);
}

.control-body .program-buttons button.on-program:not(.active)::after,
.control-body .program-buttons button.active.on-program::after {
  background: color-mix(in srgb, var(--neon-live) 86%, #071408 14%);
  color: #071008;
}

.control-body .race-ready-summary.is-live,
.control-body .race-ready-card.is-live,
.control-body .race-ready-action.is-live,
.control-body .send-readiness-note.is-live {
  border-color: color-mix(in srgb, var(--neon-live) 54%, rgba(255, 255, 255, 0.12));
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--neon-live) 10%, transparent),
    0 0 16px color-mix(in srgb, var(--neon-live) 18%, transparent);
}

.control-body .race-ready-card.is-live,
.control-body .race-ready-action.is-live {
  border-left-color: var(--neon-live);
}

.control-body .race-ready-card.is-live strong,
.control-body .send-readiness-note.is-live {
  color: #d9ffc9;
}

.control-body #sendTopBanner.is-live {
  border-color: color-mix(in srgb, var(--neon-live) 74%, rgba(255, 255, 255, 0.18));
  border-left-color: var(--neon-live);
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.31), rgba(255, 255, 255, 0.13) 33%, color-mix(in srgb, var(--neon-live) 17%, transparent) 62%, rgba(0, 0, 0, 0.16)),
    linear-gradient(180deg, color-mix(in srgb, var(--neon-live) 35%, #213822), rgba(19, 69, 39, 0.9) 55%, rgba(6, 28, 16, 0.95));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--neon-live) 42%, transparent),
    0 0 20px color-mix(in srgb, var(--neon-live) 34%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -9px 15px rgba(0, 0, 0, 0.32);
}

.advanced-panel {
  background: rgba(12, 20, 26, 0.72);
}

details summary {
  cursor: pointer;
  font-size: 22px;
  font-weight: 700;
  list-style-position: inside;
}

details[open] summary {
  margin-bottom: 12px;
}

.overlay {
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  position: relative;
}

.lineup-board,
.leaders-third,
.top-five-board,
.podium-board,
.race-top-banner,
.race-strip,
.race-side-tower,
.race-story-spotlight {
  animation: graphic-reveal 920ms cubic-bezier(0.18, 0.9, 0.2, 1) both;
  transform-origin: center;
  backface-visibility: hidden;
  will-change: clip-path, transform, opacity;
}

body.program-exit .lineup-board,
body.program-exit .leaders-third,
body.program-exit .top-five-board,
body.program-exit .podium-board,
body.program-exit .race-top-banner,
body.program-exit .race-strip,
body.program-exit .race-side-tower,
body.program-exit .race-story-spotlight {
  animation: graphic-collapse 780ms cubic-bezier(0.65, 0, 0.35, 1) both;
}

body.graphic-prep .lineup-board {
  animation: none !important;
  clip-path: inset(48% 50% 48% 50%);
  opacity: 0;
  transform: scaleX(calc(var(--board-scale) * 0.16)) scaleY(calc(var(--board-scale) * 0.98));
}

.weather-card {
  position: absolute;
  left: 40px;
  right: auto;
  bottom: 40px;
  width: 480px;
  min-height: 286px;
  color: #fff;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 16%, transparent 72%, rgba(255, 255, 255, 0.07)),
    linear-gradient(180deg, rgba(33, 39, 39, 0.62), rgba(3, 5, 6, 0.5));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
  transform-origin: left bottom;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  contain: layout paint;
  animation: weather-card-reveal 220ms ease-out both;
}

body.program-exit .weather-card {
  animation: weather-card-collapse 180ms ease-in both;
}

.weather-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.18) 32%, transparent 43%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.34));
  opacity: 0.58;
}

.weather-card > * {
  position: relative;
  z-index: 1;
}

.weather-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 18px;
  border-bottom: 3px solid var(--accent);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.14));
  text-transform: uppercase;
  overflow: hidden;
}

.weather-header span {
  color: color-mix(in srgb, var(--accent) 78%, #ffffff);
  font-size: 23px;
  font-weight: 900;
  white-space: nowrap;
}

.weather-header strong {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: #fff;
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
  text-align: right;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weather-main {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 20px 22px 18px;
}

.weather-condition-mark {
  position: relative;
  width: 132px;
  height: 132px;
  justify-self: center;
  transform: scale(0.82);
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.48));
}

.weather-icon-core,
.weather-icon-cloud,
.weather-icon-drop,
.weather-icon-bolt,
.weather-icon-fog {
  position: absolute;
  display: block;
}

.weather-icon-core {
  left: 24px;
  top: 22px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 32%, #fff6a8 0 18%, #ffd64a 42%, #f29a18 100%);
  box-shadow:
    0 0 0 10px rgba(255, 211, 70, 0.12),
    0 0 28px rgba(255, 200, 35, 0.72);
}

.weather-icon-core::before {
  content: "";
  position: absolute;
  inset: -19px;
  border-radius: 50%;
  background: conic-gradient(from 4deg, transparent 0 9deg, rgba(255, 221, 92, 0.95) 9deg 15deg, transparent 15deg 45deg);
  filter: blur(0.2px);
}

.weather-icon-cloud {
  left: 28px;
  top: 58px;
  width: 82px;
  height: 36px;
  border-radius: 22px;
  background: linear-gradient(180deg, #f7faf9, #aeb8b8);
  box-shadow: inset 0 3px rgba(255, 255, 255, 0.82), 0 8px 12px rgba(0, 0, 0, 0.35);
}

.weather-icon-cloud::before,
.weather-icon-cloud::after {
  content: "";
  position: absolute;
  bottom: 14px;
  border-radius: 50%;
  background: inherit;
}

.weather-icon-cloud::before {
  left: 12px;
  width: 34px;
  height: 34px;
}

.weather-icon-cloud::after {
  left: 38px;
  width: 42px;
  height: 42px;
}

.cloud-b {
  left: 42px;
  top: 70px;
  transform: scale(0.72);
  opacity: 0.9;
}

.weather-icon-drop {
  width: 9px;
  height: 26px;
  border-radius: 8px 8px 10px 10px;
  background: linear-gradient(180deg, #7de1ff, #0f8ccd);
  transform: rotate(14deg);
  box-shadow: 0 0 10px rgba(95, 207, 255, 0.56);
}

.drop-a { left: 42px; top: 98px; }
.drop-b { left: 64px; top: 102px; }
.drop-c { left: 88px; top: 98px; }

.weather-icon-bolt {
  left: 68px;
  top: 84px;
  width: 28px;
  height: 48px;
  background: linear-gradient(180deg, #ffe86b, #ff9f1b);
  clip-path: polygon(35% 0, 100% 0, 60% 42%, 92% 42%, 20% 100%, 42% 55%, 8% 55%);
  filter: drop-shadow(0 0 8px rgba(255, 197, 38, 0.82));
}

.weather-icon-fog {
  left: 26px;
  width: 86px;
  height: 10px;
  border-radius: 10px;
  background: rgba(220, 230, 230, 0.86);
  box-shadow: 0 16px rgba(220, 230, 230, 0.68);
}

.fog-a { top: 76px; }
.fog-b { top: 105px; left: 40px; width: 66px; }

.condition-sun .weather-icon-cloud,
.condition-sun .weather-icon-drop,
.condition-sun .weather-icon-bolt,
.condition-sun .weather-icon-fog,
.condition-partly .cloud-b,
.condition-partly .weather-icon-drop,
.condition-partly .weather-icon-bolt,
.condition-partly .weather-icon-fog,
.condition-cloud .weather-icon-core,
.condition-cloud .weather-icon-drop,
.condition-cloud .weather-icon-bolt,
.condition-cloud .weather-icon-fog,
.condition-rain .weather-icon-core,
.condition-rain .weather-icon-bolt,
.condition-rain .weather-icon-fog,
.condition-storm .weather-icon-core,
.condition-storm .weather-icon-fog,
.condition-snow .weather-icon-core,
.condition-snow .weather-icon-bolt,
.condition-snow .weather-icon-fog,
.condition-fog .weather-icon-core,
.condition-fog .weather-icon-cloud,
.condition-fog .weather-icon-drop,
.condition-fog .weather-icon-bolt,
.condition-unknown .weather-icon-core,
.condition-unknown .weather-icon-cloud,
.condition-unknown .weather-icon-drop,
.condition-unknown .weather-icon-bolt,
.condition-unknown .weather-icon-fog {
  display: none;
}

.condition-cloud .cloud-b,
.condition-rain .cloud-b,
.condition-storm .cloud-b,
.condition-snow .cloud-b {
  display: block;
}

.condition-snow .weather-icon-drop {
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #f7fdff;
  transform: none;
}

.condition-unknown::after {
  content: "WX";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #dfe6e6;
  font-size: 54px;
  font-weight: 900;
  font-style: italic;
  text-shadow: 0 6px 10px rgba(0, 0, 0, 0.7);
}

.weather-temperature strong {
  display: block;
  font-size: 74px;
  font-weight: 900;
  line-height: 0.9;
  color: #fff;
  text-shadow: 0 8px 14px rgba(0, 0, 0, 0.72);
}

.weather-temperature span {
  display: block;
  margin-top: 8px;
  color: #dce4e4;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.weather-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.14);
}

.weather-stats div {
  min-width: 0;
  padding: 10px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.weather-stats div:last-child {
  border-right: 0;
}

.weather-stats span {
  display: block;
  color: #aeb8ba;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.weather-stats strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: #fff;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weather-stats div:nth-child(4) {
  display: none;
}

.weather-card.is-weather-error {
  border-color: rgba(244, 197, 66, 0.46);
}

body.graphics-theme-classic .weather-card {
  border-color: rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 18%, transparent 72%, rgba(255, 255, 255, 0.05)),
    linear-gradient(180deg, color-mix(in srgb, var(--banner-dark-cell-color) 56%, transparent) 0%, color-mix(in srgb, var(--banner-dark-cell-color) 62%, transparent) 46%, rgba(0, 0, 0, 0.48) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 18px 44px rgba(0, 0, 0, 0.38);
}

body.graphics-theme-classic .weather-card::before {
  background:
    linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.14) 32%, transparent 43%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.28));
  opacity: 0.52;
}

body.graphics-theme-classic .weather-header {
  border-bottom-color: var(--banner-accent-line-color);
  background:
    linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--banner-logo-panel-color) 78%, #ffffff 22%) 55%, color-mix(in srgb, var(--banner-logo-panel-color) 76%, #000 24%) 100%);
}

body.graphics-theme-classic .weather-header span {
  color: var(--banner-accent-line-color);
  text-shadow: none;
}

body.graphics-theme-classic .weather-header strong {
  color: #050505;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

body.graphics-theme-classic .weather-stats {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, color-mix(in srgb, var(--banner-light-cell-color) 66%, transparent) 48%, rgba(0, 0, 0, 0.18) 100%);
  border-top-color: rgba(0, 0, 0, 0.42);
  border-bottom-color: rgba(0, 0, 0, 0.34);
}

body.graphics-theme-classic .weather-stats div {
  border-right-color: rgba(0, 0, 0, 0.16);
}

body.graphics-theme-classic .weather-stats span {
  color: #202424;
}

body.graphics-theme-classic .weather-stats strong {
  color: #050505;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

body.graphics-theme-classic .lower-ticker {
  background:
    linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--banner-logo-panel-color) 78%, #ffffff 22%) 18%, transparent 20%),
    linear-gradient(110deg, rgba(255, 255, 255, 0.1), transparent 20%, transparent 76%, rgba(255, 255, 255, 0.06)),
    linear-gradient(180deg, color-mix(in srgb, var(--banner-dark-cell-color) 76%, #ffffff 24%) 0%, var(--banner-dark-cell-color) 48%, color-mix(in srgb, var(--banner-dark-cell-color) 34%, #000 66%) 100%);
  border-top-color: rgba(255, 255, 255, 0.28);
  border-bottom-color: var(--banner-accent-line-color);
}

body.graphics-theme-classic .ticker-track span {
  color: #ffffff;
  text-shadow: 0 3px 5px rgba(0, 0, 0, 0.62);
}

body.graphics-theme-dark .weather-card {
  border-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(180deg, rgb(255 255 255 / calc(0.06 * var(--banner-panel-alpha))) 0%, transparent 24%),
    linear-gradient(112deg, rgb(255 255 255 / calc(0.06 * var(--banner-panel-alpha))) 0 8%, transparent 26% 78%, rgb(0 0 0 / calc(0.22 * var(--banner-panel-alpha))) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--banner-dark-cell-color) 62%, transparent) 0%, color-mix(in srgb, var(--banner-dark-cell-color) 58%, transparent) 48%, rgba(3, 4, 4, calc(0.56 * var(--banner-panel-alpha))) 100%);
}

body.graphics-theme-dark .weather-header {
  border-bottom-color: var(--banner-accent-line-color);
  background:
    linear-gradient(180deg, rgb(255 255 255 / calc(0.1 * var(--banner-panel-alpha))), transparent 42%),
    linear-gradient(180deg, rgba(39, 42, 44, 0.7), rgba(0, 0, 0, 0.24));
}

body.graphics-theme-dark .weather-header span {
  color: color-mix(in srgb, var(--banner-accent-line-color) 78%, #ffffff);
}

body.graphics-theme-dark .weather-stats {
  background: rgba(0, 0, 0, 0.16);
  border-top-color: rgba(255, 255, 255, 0.14);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.graphics-theme-dark .lower-ticker {
  background:
    linear-gradient(180deg, rgb(255 255 255 / calc(0.08 * var(--banner-panel-alpha))) 0%, transparent 28%),
    linear-gradient(112deg, rgb(255 255 255 / calc(0.06 * var(--banner-panel-alpha))) 0 8%, transparent 26% 78%, rgb(0 0 0 / calc(0.22 * var(--banner-panel-alpha))) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--banner-dark-cell-color) 82%, #ffffff 18%) 0%, color-mix(in srgb, var(--banner-dark-cell-color) 64%, #000000 36%) 52%, rgba(3, 4, 4, calc(0.96 * var(--banner-panel-alpha))) 100%);
  border-top-color: rgba(255, 255, 255, 0.18);
  border-bottom-color: var(--banner-accent-line-color);
}

body.graphics-theme-light .weather-card {
  color: #0b0d0e;
  border-color: rgba(0, 0, 0, 0.18);
  background:
    linear-gradient(180deg, rgb(255 255 255 / calc(0.56 * var(--banner-panel-alpha))) 0%, transparent 30%),
    linear-gradient(112deg, rgb(255 255 255 / calc(0.38 * var(--banner-panel-alpha))) 0 12%, transparent 34% 76%, rgb(0 0 0 / calc(0.03 * var(--banner-panel-alpha))) 100%),
    linear-gradient(180deg, rgb(255 255 255 / calc(0.68 * var(--banner-panel-alpha))) 0%, rgb(239 244 244 / calc(0.58 * var(--banner-panel-alpha))) 54%, rgb(213 222 222 / calc(0.48 * var(--banner-panel-alpha))) 100%);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

body.graphics-theme-light .weather-card::before {
  background:
    linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.42) 32%, transparent 43%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.08));
  opacity: 0.48;
}

body.graphics-theme-light .weather-header {
  border-bottom-color: var(--banner-accent-line-color);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(0, 0, 0, 0.04));
}

body.graphics-theme-light .weather-header span {
  color: color-mix(in srgb, var(--banner-accent-line-color) 80%, #101214);
}

body.graphics-theme-light .weather-header strong,
body.graphics-theme-light .weather-temperature strong {
  color: #070809;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.78), 0 4px 8px rgba(0, 0, 0, 0.16);
}

body.graphics-theme-light .weather-temperature span,
body.graphics-theme-light .weather-stats strong,
body.graphics-theme-light .condition-unknown::after {
  color: #101214;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.82);
}

body.graphics-theme-light .weather-stats {
  background: rgba(255, 255, 255, 0.28);
  border-top-color: rgba(0, 0, 0, 0.12);
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

body.graphics-theme-light .weather-stats div {
  border-right-color: rgba(0, 0, 0, 0.1);
}

body.graphics-theme-light .weather-stats span {
  color: #485152;
}

body.graphics-theme-light .lower-ticker {
  color: #101214;
  background:
    linear-gradient(180deg, rgb(255 255 255 / calc(0.78 * var(--banner-panel-alpha))) 0%, transparent 34%),
    linear-gradient(112deg, rgb(255 255 255 / calc(0.52 * var(--banner-panel-alpha))) 0 12%, transparent 32% 78%, rgb(0 0 0 / calc(0.035 * var(--banner-panel-alpha))) 100%),
    linear-gradient(180deg, rgb(255 255 255 / calc(0.96 * var(--banner-panel-alpha))) 0%, rgb(241 246 246 / calc(0.94 * var(--banner-panel-alpha))) 52%, rgb(219 228 228 / calc(0.92 * var(--banner-panel-alpha))) 100%);
  border-top-color: rgba(0, 0, 0, 0.16);
  border-bottom-color: var(--banner-accent-line-color);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.24);
}

body.graphics-theme-light .ticker-track span {
  color: #070809;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.78), 0 3px 5px rgba(0, 0, 0, 0.16);
}

.lower-ticker {
  --ticker-duration: 28s;
  --ticker-side-safe: 0px;
  position: absolute;
  left: var(--ticker-side-safe);
  right: var(--ticker-side-safe);
  bottom: 0;
  width: calc(1920px - (var(--ticker-side-safe) * 2));
  height: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.025)),
    linear-gradient(180deg, rgba(24, 25, 25, 0.98) 0%, rgba(16, 16, 17, 0.98) 62%, rgba(8, 8, 9, 0.98) 100%);
  border-top: 5px solid var(--banner-accent-line-color);
  border-bottom: 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.38);
  transform-origin: center bottom;
  transform: translate3d(0, 0, 0) scaleX(1);
  backface-visibility: hidden;
  contain: layout paint;
  animation: ticker-edge-reveal 260ms ease-out both;
}

body.program-exit .lower-ticker {
  animation: ticker-edge-collapse 180ms ease-in both;
}

.ticker-window {
  min-width: 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: center;
  animation: ticker-scroll var(--ticker-duration) linear infinite;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
}

.ticker-group {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-around;
  min-width: calc(1920px - (var(--ticker-side-safe) * 2));
  height: 100%;
  padding: 0 34px;
}

.ticker-track .ticker-item,
.ticker-track .ticker-separator {
  flex: 0 0 auto;
  color: #e7e7e7;
  font-size: 39px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 3px 7px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
}

.ticker-track .ticker-item {
  padding: 0 34px;
}

.ticker-track .ticker-separator {
  color: #d0d0d0;
  font-size: 32px;
  opacity: 0.78;
}

body.graphics-theme-classic .lower-ticker,
body.graphics-theme-dark .lower-ticker,
body.graphics-theme-light .lower-ticker {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.025)),
    linear-gradient(180deg, rgba(24, 25, 25, var(--banner-panel-alpha)) 0%, rgba(16, 16, 17, var(--banner-panel-alpha)) 62%, rgba(8, 8, 9, var(--banner-panel-alpha)) 100%);
  border-top-color: var(--banner-accent-line-color);
  border-bottom-color: transparent;
}

body.graphics-theme-classic .ticker-track .ticker-item,
body.graphics-theme-classic .ticker-track .ticker-separator,
body.graphics-theme-dark .ticker-track .ticker-item,
body.graphics-theme-dark .ticker-track .ticker-separator,
body.graphics-theme-light .ticker-track .ticker-item,
body.graphics-theme-light .ticker-track .ticker-separator {
  color: #e7e7e7;
  text-shadow: 0 3px 7px rgba(0, 0, 0, 0.7);
}

.lower-ticker.is-empty .ticker-track {
  animation: none;
  transform: none;
}

body.control-preview-mode {
  width: 100vw;
  height: 100vh;
  margin: 0;
  overflow: hidden;
  background: transparent !important;
}

body.control-preview-mode .overlay {
  width: 100vw;
  height: 100vh;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: transparent !important;
}

body.control-preview-mode .weather-overlay,
body.control-preview-mode .ticker-overlay {
  width: 100vw !important;
  height: 100vh !important;
  min-width: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

body.control-preview-mode .weather-card {
  display: block;
  left: 22px;
  right: auto;
  top: 22px;
  bottom: auto;
  width: calc(100vw - 44px);
  max-width: 560px;
  min-height: 260px;
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
  transform: none !important;
}

body.control-preview-mode .lower-ticker {
  --ticker-side-safe: 24px;
  display: grid;
  left: 24px;
  right: 24px;
  bottom: 30px;
  width: calc(100vw - 48px);
  height: 76px;
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
  transform: none !important;
}

body.control-preview-mode .ticker-track {
  width: 100%;
  min-width: 100%;
  animation: none !important;
  transform: none !important;
}

body.control-preview-mode .ticker-group {
  min-width: 100%;
  width: 100%;
  padding-inline: 18px;
  justify-content: space-around;
}

body.control-preview-mode .ticker-track .ticker-item {
  padding-inline: 18px;
  font-size: clamp(18px, 2.6vw, 30px);
}

body.control-preview-mode .ticker-track .ticker-separator {
  font-size: clamp(16px, 2vw, 24px);
}

@keyframes ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes ticker-edge-reveal {
  from { opacity: 0.7; transform: translate3d(0, 0, 0) scaleX(0.08); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scaleX(1); }
}

@keyframes ticker-edge-collapse {
  from { opacity: 1; transform: translate3d(0, 0, 0) scaleX(1); }
  to { opacity: 0; transform: translate3d(0, 0, 0) scaleX(0.08); }
}

@keyframes weather-card-reveal {
  from { opacity: 0; transform: translate3d(-18px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes weather-card-collapse {
  from { opacity: 1; transform: translate3d(0, 0, 0); }
  to { opacity: 0; transform: translate3d(-18px, 0, 0); }
}

.story-spotlight-overlay {
  background: transparent;
}

.race-story-spotlight {
  position: absolute;
  right: 78px;
  bottom: 154px;
  width: 760px;
  min-height: 158px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  color: #ffffff;
  overflow: hidden;
  border: 2px solid rgba(210, 218, 220, 0.82);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 25%),
    linear-gradient(105deg, rgba(255, 255, 255, 0.1) 0 13%, transparent 34% 78%, rgba(0, 0, 0, 0.35) 100%),
    linear-gradient(180deg, rgba(35, 42, 42, 0.96), rgba(4, 6, 7, 0.96));
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.5),
    0 0 22px rgba(231, 51, 47, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform-origin: center;
}

body.race-story-position-bottom-center .race-story-spotlight {
  left: calc(50% - 380px);
  right: auto;
  bottom: 118px;
}

body.race-story-position-bottom-left .race-story-spotlight {
  left: 78px;
  right: auto;
  bottom: 154px;
}

.race-story-spotlight::before,
.race-story-spotlight::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.race-story-spotlight::before {
  inset: 0 0 auto;
  height: 5px;
  background: var(--banner-accent-line-color, var(--accent));
  box-shadow: 0 0 18px color-mix(in srgb, var(--banner-accent-line-color, var(--accent)) 52%, transparent);
}

.race-story-spotlight::after {
  inset: 0;
  background:
    linear-gradient(105deg, transparent 15%, rgba(255, 255, 255, 0.16) 29%, transparent 41%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 42%, rgba(0, 0, 0, 0.34));
  opacity: 0.62;
}

.race-story-spotlight.is-empty {
  opacity: 0 !important;
  animation: none !important;
  pointer-events: none;
}

.story-spotlight-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: minmax(0, auto) minmax(0, auto) 34px;
  align-content: stretch;
  align-items: center;
  min-width: 0;
  gap: 8px;
  padding: 25px 30px 12px;
  text-align: center;
}

.story-spotlight-title {
  min-width: 0;
  justify-self: center;
  max-width: 100%;
  color: #ffffff;
  font-family: "Barlow Condensed Title", "Built Titling Local", "Barlow Condensed Local", sans-serif;
  font-size: 48px;
  font-style: italic;
  font-weight: 1000;
  line-height: 0.9;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.68);
}

.story-spotlight-detail {
  min-width: 0;
  justify-self: center;
  max-width: 100%;
  color: #dfe6e6;
  font-size: 32px;
  font-weight: 1000;
  line-height: 0.92;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 3px 5px rgba(0, 0, 0, 0.7);
}

.story-spotlight-meta {
  display: flex;
  min-width: 0;
  gap: 14px;
  align-items: center;
  justify-content: center;
  align-self: end;
  margin: 4px -28px -12px;
  padding: 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(0, 0, 0, 0.32);
  color: #aeb8c1;
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.story-spotlight-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.story-spotlight-meta span + span {
  flex: 0 0 auto;
  color: color-mix(in srgb, var(--banner-accent-line-color, var(--accent)) 72%, #ffffff);
}

.race-story-spotlight[data-tone="good"]::before,
.race-story-spotlight[data-tone="live"]::before,
.race-story-spotlight[data-tone="warn"]::before,
.race-story-spotlight[data-tone="bad"]::before {
  background: var(--banner-accent-line-color, var(--accent));
  box-shadow: 0 0 18px color-mix(in srgb, var(--banner-accent-line-color, var(--accent)) 46%, transparent);
}

body.graphics-theme-classic .race-story-spotlight,
body.graphics-theme-light .race-story-spotlight {
  color: #080a0a;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.42) 30%, transparent 32%),
    linear-gradient(112deg, rgba(255, 255, 255, 0.72) 0 16%, transparent 38% 78%, rgba(0, 0, 0, 0.05) 100%),
    linear-gradient(180deg, rgba(245, 249, 249, 0.94), rgba(217, 225, 225, 0.9));
  border-color: rgba(5, 8, 8, 0.28);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

body.graphics-theme-classic .story-spotlight-title,
body.graphics-theme-light .story-spotlight-title,
body.graphics-theme-classic .story-spotlight-detail,
body.graphics-theme-light .story-spotlight-detail {
  color: #060707;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.82), 0 4px 8px rgba(0, 0, 0, 0.22);
}

body.graphics-theme-classic .story-spotlight-meta,
body.graphics-theme-light .story-spotlight-meta {
  color: #333d40;
  border-top-color: rgba(0, 0, 0, 0.14);
}

body.graphics-theme-classic .race-story-spotlight {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.42) 28%, transparent 31%),
    linear-gradient(112deg, rgba(255, 255, 255, 0.62) 0 16%, transparent 38% 80%, rgba(0, 0, 0, 0.14) 100%),
    linear-gradient(180deg, rgba(232, 237, 237, 0.96), rgba(166, 175, 175, 0.94));
  border-color: rgba(10, 12, 12, 0.48);
}

body.graphics-theme-light .race-story-spotlight {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.66) 30%, transparent 33%),
    linear-gradient(112deg, rgba(255, 255, 255, 0.86) 0 16%, transparent 42% 80%, rgba(0, 0, 0, 0.04) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(230, 236, 236, 0.94));
  border-color: rgba(30, 45, 50, 0.28);
}

body.program-exit .race-story-spotlight {
  animation-duration: 360ms;
}

.bug {
  position: absolute;
  left: 46px;
  top: 42px;
  min-width: 520px;
  background: var(--bg);
  border-left: 7px solid var(--accent);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.42);
}

.topbar {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 82px;
  background: var(--bg);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 0 34px;
  border-bottom: 4px solid var(--accent);
}

.race-strip {
  position: absolute;
  left: 0;
  right: auto;
  top: 0;
  width: 1920px;
  height: 140px;
  margin: 0;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 220px;
  align-items: start;
  gap: 0;
  color: white;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.56));
  animation: strip-reveal 640ms cubic-bezier(0.18, 0.9, 0.2, 1) both;
}

body.program-exit .race-strip {
  animation: strip-collapse 520ms cubic-bezier(0.65, 0, 0.35, 1) both;
}

.race-strip::before {
  content: none;
}

.race-strip::after {
  content: none;
}

.strip-logo,
.strip-main,
.strip-info,
.strip-session {
  position: relative;
  z-index: 2;
}

.strip-logo {
  position: relative;
  height: 92px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--banner-logo-panel-color) 68%, #000 32%) 0%, var(--banner-logo-panel-color) 24%, #ffffff 50%, var(--banner-logo-panel-color) 76%, color-mix(in srgb, var(--banner-logo-panel-color) 68%, #000 32%) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), color-mix(in srgb, var(--banner-logo-panel-color) 62%, #000 38%));
  box-shadow: none;
}

.strip-logo::before,
.laps-box::before,
.last-lap-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), transparent 18%, transparent 78%, rgba(0, 0, 0, 0.28)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 12%, transparent 88%, rgba(0, 0, 0, 0.32));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    inset 1px 0 0 rgba(255, 255, 255, 0.18),
    inset -1px 0 0 rgba(0, 0, 0, 0.34),
    inset 0 -2px 0 rgba(0, 0, 0, 0.42);
}

.race-strip.has-bevels .strip-logo::before,
.race-strip.has-bevels .laps-box::before,
.race-strip.has-bevels .last-lap-panel::before {
  opacity: 1;
}

.strip-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: translateX(-125%);
  background: linear-gradient(105deg, transparent 0 42%, rgba(255, 255, 255, 0.42) 50%, transparent 58%);
  animation: logo-reflection 8.5s ease-in-out infinite;
}

.race-strip:not(.has-reflection) .strip-logo::after {
  display: none;
}

.strip-logo-sponsor::after {
  animation-delay: 1.1s;
}

.strip-logo-header {
  padding: 0 10px;
}

.strip-logo-sponsor {
  padding: 0 10px;
}

.strip-logo img {
  width: 200px;
  max-height: 84px;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.64));
}

.strip-main {
  min-width: 0;
  display: grid;
  grid-template-rows: 46px 46px 44px;
  gap: 0;
  height: 136px;
  align-content: center;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.strip-primary,
.strip-rotation {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.strip-primary {
  grid-row: 1 / 3;
  grid-auto-rows: 46px;
}

.strip-rotation {
  grid-row: 3;
}

.strip-rotation:empty {
  display: none;
}

.strip-cell {
  position: relative;
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-columns: 46px 58px minmax(0, 1fr);
  align-items: center;
  transform: none;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--banner-dark-cell-color) 74%, #ffffff 26%) 0%, var(--banner-dark-cell-color) 42%, color-mix(in srgb, var(--banner-dark-cell-color) 40%, #000 60%) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.25));
  border-right: 2px solid #050505;
  border-bottom: 2px solid #050505;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -8px 14px rgba(0, 0, 0, 0.38),
    0 3px 8px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.strip-cell.is-empty-slot {
  opacity: 0.38;
}

.lap-row.is-empty-slot {
  opacity: 0.26;
}

.strip-cell.is-missing-data span,
.lap-row.is-missing-data span {
  opacity: 0.72;
}

.lap-row.is-missing-data em {
  color: transparent;
  text-shadow: none;
}

.strip-cell.is-empty-slot b,
.strip-cell.is-empty-slot em,
.strip-cell.is-empty-slot span,
.lap-row.is-empty-slot b,
.lap-row.is-empty-slot i,
.lap-row.is-empty-slot span,
.lap-row.is-empty-slot em {
  color: transparent;
  text-shadow: none;
  background: transparent;
}

body.banner-data-hidden .race-strip .strip-cell b,
body.banner-data-hidden .race-strip .strip-cell em,
body.banner-data-hidden .race-strip .strip-cell span,
body.banner-data-hidden .race-strip .lap-row b,
body.banner-data-hidden .race-strip .lap-row i,
body.banner-data-hidden .race-strip .lap-row span,
body.banner-data-hidden .race-strip .lap-row em,
.race-strip.is-data-hidden .strip-cell b,
.race-strip.is-data-hidden .strip-cell em,
.race-strip.is-data-hidden .strip-cell span,
.race-strip.is-data-hidden .lap-row b,
.race-strip.is-data-hidden .lap-row i,
.race-strip.is-data-hidden .lap-row span,
.race-strip.is-data-hidden .lap-row em {
  color: transparent;
  text-shadow: none;
  background: transparent;
}

body.banner-data-hidden .race-strip .last-lap-panel,
.race-strip.is-data-hidden .last-lap-panel {
  max-height: 0;
  opacity: 0;
  transform: translate3d(0, -18px, 0);
  pointer-events: none;
}

.strip-primary .strip-cell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--banner-accent-line-color) 16%, transparent) 16%, color-mix(in srgb, var(--banner-accent-line-color) 62%, transparent) 50%, color-mix(in srgb, var(--banner-accent-line-color) 16%, transparent) 84%, transparent 100%);
  box-shadow: 0 0 4px color-mix(in srgb, var(--banner-accent-line-color) 38%, transparent);
}

.race-strip:not(.has-accent-lines) .strip-primary .strip-cell::after {
  display: none;
}

.strip-rotation .strip-cell {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--banner-light-cell-color) 96%, #ffffff 4%) 0%, var(--banner-light-cell-color) 42%, color-mix(in srgb, var(--banner-light-cell-color) 72%, #000 28%) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.34), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.18));
  color: #050505;
}

.race-strip.has-texture .strip-rotation .strip-cell {
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, color-mix(in srgb, var(--banner-light-cell-color) 96%, #ffffff 4%) 0%, var(--banner-light-cell-color) 42%, color-mix(in srgb, var(--banner-light-cell-color) 72%, #000 28%) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.34), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.18));
}

.strip-rotation .strip-cell b {
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 22%),
    linear-gradient(180deg, #0c0f10 0%, #050606 58%, #000 100%);
}

.strip-cell b,
.strip-cell em,
.strip-cell span {
  min-width: 0;
  transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.strip-cell b {
  height: 30px;
  width: 38px;
  display: grid;
  place-items: center;
  align-self: center;
  justify-self: center;
  color: white;
  font-family: "Teko Local", Impact, "Arial Black", sans-serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 700;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 22%),
    linear-gradient(180deg, #121212 0%, #050505 54%, #000000 100%);
  border-radius: 3px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -2px 0 rgba(0, 0, 0, 0.86),
    0 1px 2px rgba(0, 0, 0, 0.45);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.12), 0 2px 3px rgba(0, 0, 0, 0.72);
}

.strip-cell b:empty {
  background: transparent;
}

.strip-cell em {
  color: #f4f5f2;
  font-family: "Teko Local", Impact, "Arial Black", sans-serif;
  font-size: 19px;
  font-style: normal;
  font-weight: 700;
  text-align: center;
}

.strip-cell span {
  color: var(--name-color);
  font-size: calc(var(--banner-name-size) + 1px);
  font-weight: 900;
  padding-right: 10px;
  text-shadow: 0 2px 4px black;
  text-transform: uppercase;
}

.strip-message {
  grid-column: 1 / -1;
  grid-template-columns: 1fr;
  height: 136px;
}

.strip-message span {
  grid-column: 1 / -1;
  display: block;
  min-width: 0;
  padding-left: 18px;
  padding-right: 18px;
  font-size: calc(var(--banner-name-size) + 7px);
  text-align: center;
}

.race-strip.is-no-data .strip-primary {
  grid-row: 1 / 3;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: 46px;
}

.race-strip.is-no-data .strip-rotation {
  display: none;
}

.strip-rotation .strip-cell em,
.strip-rotation .strip-cell span {
  color: #111;
  text-shadow: none;
}

.strip-info {
  position: absolute;
  left: 0;
  top: 92px;
  width: 220px;
  z-index: 3;
}

.laps-box {
  position: relative;
  min-height: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  align-items: center;
  gap: 0;
  padding: 0;
  transform: none;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--banner-dark-cell-color) 74%, #ffffff 26%) 0%, var(--banner-dark-cell-color) 42%, color-mix(in srgb, var(--banner-dark-cell-color) 40%, #000 60%) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.25));
  border-bottom: 2px solid #050505;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -8px 14px rgba(0, 0, 0, 0.38),
    0 3px 8px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.laps-box::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  z-index: 5;
  pointer-events: none;
  background: #7c8790;
  box-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.22),
    0 -6px 14px rgba(124, 135, 144, 0.36),
    0 0 14px rgba(124, 135, 144, 0.74);
}

.laps-box.is-plain {
  display: grid;
}

.laps-box.is-time-value {
  grid-template-columns: minmax(0, 1fr) 72px;
}

.laps-box.is-hidden {
  display: none;
}

.laps-box.flag-green::after {
  background: linear-gradient(90deg, #69c820, #a6ff52, #69c820);
  box-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.24),
    0 -7px 16px rgba(140, 241, 61, 0.42),
    0 0 18px rgba(140, 241, 61, 0.78);
}

.laps-box.flag-yellow::after {
  background: linear-gradient(90deg, #d7a600, #ffe66d, #d7a600);
  box-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.26),
    0 -7px 16px rgba(244, 197, 66, 0.42),
    0 0 18px rgba(244, 197, 66, 0.78);
}

.laps-box.flag-red::after {
  background: linear-gradient(90deg, #a90f0d, #ff5a55, #a90f0d);
  box-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.22),
    0 -7px 16px rgba(255, 90, 85, 0.42),
    0 0 18px rgba(255, 90, 85, 0.78);
}

.laps-box.flag-final::after {
  background:
    linear-gradient(45deg, #d8dee2 25%, #485157 25%, #485157 50%, #d8dee2 50%, #d8dee2 75%, #485157 75%);
  background-size: 24px 24px;
  box-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.26),
    0 -7px 16px rgba(210, 222, 228, 0.28),
    0 0 18px rgba(210, 222, 228, 0.54);
}

.laps-box span,
.laps-box strong {
  transform: none;
  white-space: nowrap;
}

.laps-box.is-plain span,
.laps-box.is-plain strong {
  color: transparent;
  text-shadow: none;
}

.laps-box span {
  color: #ffffff;
  font-size: min(calc(var(--banner-duration-size) * 0.95), 28px);
  font-weight: 900;
  text-transform: uppercase;
  padding: 0 8px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

.laps-box strong {
  width: 50px;
  height: 30px;
  min-width: 0;
  display: grid;
  place-items: center;
  color: white;
  font-family: "Teko Local", Impact, "Arial Black", sans-serif;
  font-size: min(calc(var(--banner-duration-size) + 7px), 32px);
  font-weight: 700;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 22%),
    linear-gradient(180deg, #121212 0%, #050505 58%, #000 100%);
  text-shadow: 0 3px 5px black;
  justify-self: center;
  overflow: hidden;
  padding: 0 4px;
  text-align: center;
  text-overflow: ellipsis;
  border-radius: 3px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -2px 0 rgba(0, 0, 0, 0.86),
    0 1px 2px rgba(0, 0, 0, 0.45);
}

.laps-box.is-time-value strong {
  font-family: "Barlow Condensed Local", "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: min(calc(var(--banner-duration-size) * 0.68), 16px);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  padding: 0 3px;
  width: 66px;
}

.last-lap-panel {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0;
  margin-top: 0;
  padding: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translate3d(0, -18px, 0);
  transform-origin: top center;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--banner-flyout-color) 74%, #ffffff 26%) 0%, var(--banner-flyout-color) 48%, color-mix(in srgb, var(--banner-flyout-color) 44%, #000 56%) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14), transparent 20%, transparent 80%, rgba(0, 0, 0, 0.22));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -10px 18px rgba(0, 0, 0, 0.3),
    0 8px 16px rgba(0, 0, 0, 0.34);
  pointer-events: none;
  transition:
    max-height 420ms cubic-bezier(0.2, 0.85, 0.2, 1),
    opacity 260ms ease,
    transform 420ms cubic-bezier(0.2, 0.85, 0.2, 1);
}

.last-lap-panel.is-open {
  max-height: 386px;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.lap-row {
  min-width: 0;
  height: 30px;
  display: grid;
  grid-template-columns: 38px 34px minmax(0, 1fr) 76px;
  align-items: center;
  gap: 0;
  transform: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.lap-row b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 20px;
  justify-self: center;
  color: white;
  font-family: "Teko Local", Impact, "Arial Black", sans-serif;
  font-size: 18px;
  background: #050505;
  border-radius: 2px;
}

.lap-row i {
  min-width: 0;
  color: #f4f5f2;
  font-family: "Teko Local", Impact, "Arial Black", sans-serif;
  font-size: calc(var(--banner-metric-size) - 1px);
  font-style: normal;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lap-row span,
.lap-row em {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lap-row span {
  color: var(--name-color);
  font-size: calc(var(--banner-metric-size) - 1px);
  font-weight: 800;
  text-transform: uppercase;
}

.lap-row em {
  color: #ffffff;
  font-size: calc(var(--banner-metric-size) - 1px);
  font-style: normal;
  font-weight: 900;
  text-align: right;
  padding-right: 7px;
}

.last-lap-panel footer {
  transform: none;
  color: #111;
  background:
    linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--banner-logo-panel-color) 76%, #ffffff 24%) 55%, color-mix(in srgb, var(--banner-logo-panel-color) 74%, #000 26%) 100%);
  font-size: calc(var(--banner-metric-size) * 1.12);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  line-height: 1;
  padding: 8px 0 7px;
}

.strip-session {
  position: absolute;
  right: 0;
  top: 92px;
  width: 220px;
  max-width: 220px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: calc(var(--banner-info-size) - 5px);
  font-weight: 900;
  line-height: 0.92;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 4px 10px black;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 12px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--banner-dark-cell-color) 74%, #ffffff 26%) 0%, var(--banner-dark-cell-color) 42%, color-mix(in srgb, var(--banner-dark-cell-color) 40%, #000 60%) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.25));
  border-bottom: 2px solid #050505;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -8px 14px rgba(0, 0, 0, 0.38),
    0 3px 8px rgba(0, 0, 0, 0.28);
}

.strip-session.is-empty {
  color: transparent;
  text-shadow: none;
}

.strip-session.is-marquee {
  justify-content: flex-start;
  text-overflow: clip;
}

.info-marquee-track {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  animation: banner-info-marquee 13s linear infinite;
  will-change: transform;
}

.info-marquee-track span {
  flex: 0 0 auto;
  padding-right: 54px;
}

.race-strip.template-reference-premium {
  top: 0;
  height: 138px;
  grid-template-columns: 224px minmax(0, 1fr) 224px;
  filter:
    drop-shadow(0 16px 18px rgba(0, 0, 0, 0.58))
    drop-shadow(0 2px 0 rgba(255, 255, 255, 0.08));
}

.race-strip.template-reference-premium .strip-logo {
  height: 92px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / calc(0.09 * var(--banner-panel-alpha))), transparent 34%),
    linear-gradient(90deg, rgb(11 12 13 / var(--banner-panel-alpha)) 0%, rgb(27 29 31 / var(--banner-panel-alpha)) 48%, rgb(9 10 11 / var(--banner-panel-alpha)) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -18px 28px rgba(0, 0, 0, 0.5);
}

.race-strip.template-reference-premium .strip-logo-header {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.race-strip.template-reference-premium .strip-logo-sponsor {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.race-strip.template-reference-premium .strip-logo img {
  width: 188px;
  max-height: 84px;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.72));
}

.race-strip.template-reference-premium .strip-main {
  position: relative;
  height: 138px;
  grid-template-rows: repeat(3, 46px);
  align-content: start;
  padding-top: 0;
  background:
    linear-gradient(180deg, rgb(255 255 255 / calc(0.1 * var(--banner-panel-alpha))), transparent 28%),
    linear-gradient(90deg, rgb(255 255 255 / calc(0.04 * var(--banner-panel-alpha))), transparent 14%, transparent 86%, rgb(255 255 255 / calc(0.04 * var(--banner-panel-alpha)))),
    linear-gradient(180deg, rgb(24 26 28 / var(--banner-panel-alpha)) 0%, rgb(14 16 18 / var(--banner-panel-alpha)) 54%, rgb(5 5 5 / var(--banner-panel-alpha)) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -22px 34px rgba(0, 0, 0, 0.58);
}

.race-strip.template-reference-premium .strip-primary {
  grid-row: 1 / 3;
  grid-template-rows: repeat(2, 46px);
  grid-auto-rows: 46px;
  position: relative;
  z-index: 2;
}

.race-strip.template-reference-premium .strip-rotation {
  grid-row: 3;
  position: relative;
  z-index: 2;
}

.race-strip.template-reference-premium .strip-cell {
  grid-template-columns: 46px 46px minmax(0, 1fr);
  background:
    linear-gradient(110deg, rgb(255 255 255 / calc(0.1 * var(--banner-panel-alpha))) 0 8%, transparent 22% 76%, rgb(0 0 0 / calc(0.24 * var(--banner-panel-alpha))) 100%),
    linear-gradient(180deg, rgb(37 40 42 / var(--banner-panel-alpha)) 0%, rgb(18 20 22 / var(--banner-panel-alpha)) 52%, rgb(5 5 5 / var(--banner-panel-alpha)) 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -16px 20px rgba(0, 0, 0, 0.48);
}

.race-strip.template-reference-premium .strip-primary .strip-cell:nth-child(-n+5) {
  background:
    linear-gradient(110deg, rgb(255 255 255 / calc(0.1 * var(--banner-panel-alpha))) 0 8%, transparent 22% 76%, rgb(0 0 0 / calc(0.24 * var(--banner-panel-alpha))) 100%),
    linear-gradient(180deg, rgb(37 40 42 / var(--banner-panel-alpha)) 0%, rgb(18 20 22 / var(--banner-panel-alpha)) 52%, rgb(5 5 5 / var(--banner-panel-alpha)) 100%);
}

.race-strip.template-reference-premium .strip-primary .strip-cell:nth-child(n+6) {
  grid-template-columns: 46px 46px minmax(0, 1fr);
  background:
    linear-gradient(110deg, rgb(255 255 255 / calc(0.08 * var(--banner-panel-alpha))) 0 8%, transparent 22% 78%, rgb(0 0 0 / calc(0.2 * var(--banner-panel-alpha))) 100%),
    linear-gradient(180deg, rgb(32 34 36 / var(--banner-panel-alpha)) 0%, rgb(14 16 17 / var(--banner-panel-alpha)) 54%, rgb(5 5 5 / var(--banner-panel-alpha)) 100%);
}

.race-strip.template-reference-premium .strip-rotation .strip-cell {
  grid-template-columns: 46px 46px minmax(0, 1fr);
  background:
    linear-gradient(110deg, rgb(255 255 255 / calc(0.045 * var(--banner-panel-alpha))) 0 8%, transparent 22% 78%, rgb(0 0 0 / calc(0.12 * var(--banner-panel-alpha))) 100%),
    linear-gradient(180deg, rgb(32 34 36 / calc(0.34 * var(--banner-panel-alpha))) 0%, rgb(14 16 17 / calc(0.28 * var(--banner-panel-alpha))) 54%, rgb(5 5 5 / calc(0.22 * var(--banner-panel-alpha))) 100%);
  border-bottom-color: rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -10px 16px rgba(0, 0, 0, 0.28);
}

.race-strip.template-reference-premium .strip-primary .strip-cell::after {
  display: none;
}

.race-strip.template-reference-premium .strip-primary .strip-cell:nth-child(-n+5)::after {
  display: block;
  left: 12px;
  right: 12px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--banner-accent-line-color) 34%, transparent) 18%, var(--banner-accent-line-color) 50%, color-mix(in srgb, var(--banner-accent-line-color) 34%, transparent) 82%, transparent 100%);
  box-shadow: 0 0 6px color-mix(in srgb, var(--banner-accent-line-color) 46%, transparent);
}

.race-strip.template-reference-premium .strip-primary .strip-cell:nth-child(n+6)::after,
.race-strip.template-reference-premium .strip-rotation .strip-cell::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  display: block;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--banner-accent-line-color) 26%, transparent) 18%, color-mix(in srgb, var(--banner-accent-line-color) 82%, transparent) 50%, color-mix(in srgb, var(--banner-accent-line-color) 26%, transparent) 82%, transparent 100%);
  box-shadow: 0 0 4px color-mix(in srgb, var(--banner-accent-line-color) 32%, transparent);
}

.race-strip.template-reference-premium .strip-cell b {
  width: 32px;
  height: 24px;
  font-size: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(180deg, #16191b 0%, #050505 64%, #000 100%);
}

.race-strip.template-reference-premium .strip-primary .strip-cell:nth-child(-n+5) b {
  width: 36px;
  height: 28px;
  font-size: 24px;
}

.race-strip.template-reference-premium .strip-primary .strip-cell:nth-child(n+6) b,
.race-strip.template-reference-premium .strip-rotation .strip-cell b {
  width: 36px;
  height: 28px;
  font-size: 24px;
}

.race-strip.template-reference-premium .strip-cell em {
  font-size: 21px;
  color: #f0f0f0;
  opacity: 0.94;
  justify-self: center;
  text-align: center;
}

.race-strip.template-reference-premium .strip-primary .strip-cell:nth-child(-n+5) em {
  font-size: 22px;
}

.race-strip.template-reference-premium .strip-primary .strip-cell:nth-child(n+6) em,
.race-strip.template-reference-premium .strip-rotation .strip-cell em {
  font-size: 22px;
}

.race-strip.template-reference-premium .strip-rotation .strip-cell em {
  color: #ffffff;
  opacity: 1;
  text-shadow: 0 3px 7px rgba(0, 0, 0, 0.86);
}

.race-strip.template-reference-premium .strip-cell span {
  font-size: 20px;
  letter-spacing: 0;
  line-height: 0.9;
  color: #ffffff;
  text-shadow: 0 3px 7px rgba(0, 0, 0, 0.86);
  padding-right: 6px;
}

.race-strip.template-reference-premium .strip-primary .strip-cell:nth-child(-n+5) span {
  font-size: 24px;
}

.race-strip.template-reference-premium .strip-primary .strip-cell:nth-child(n+6) span {
  font-size: 24px;
  color: #dfe2e2;
  opacity: 0.9;
}

.race-strip.template-reference-premium .strip-rotation .strip-cell span {
  font-size: 24px;
  color: #ffffff;
  opacity: 1;
  text-shadow: 0 3px 7px rgba(0, 0, 0, 0.9);
}

.race-strip.template-reference-premium .strip-info {
  top: 92px;
  width: 224px;
}

.race-strip.template-reference-premium .laps-box {
  min-height: 46px;
  grid-template-columns: minmax(0, 1fr) 62px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / calc(0.16 * var(--banner-panel-alpha))), transparent 28%),
    linear-gradient(90deg, rgb(35 57 22 / var(--banner-panel-alpha)) 0%, rgb(71 125 32 / var(--banner-panel-alpha)) 48%, rgb(17 24 18 / var(--banner-panel-alpha)) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 2px solid #60d82e;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -12px 18px rgba(0, 0, 0, 0.38),
    0 6px 12px rgba(0, 0, 0, 0.36);
}

.race-strip.template-reference-premium .laps-box::after {
  height: 2px;
}

.race-strip.template-reference-premium .laps-box span {
  font-size: min(calc(var(--banner-duration-size) * 0.98), 28px);
  text-align: right;
}

.race-strip.template-reference-premium .laps-box strong {
  width: 56px;
  height: 34px;
  font-size: min(calc(var(--banner-duration-size) + 10px), 36px);
}

.race-strip.template-reference-premium .last-lap-panel {
  margin-top: 10px;
  width: 224px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0 0 4px 0;
  background:
    linear-gradient(180deg, rgb(255 255 255 / calc(0.055 * var(--banner-flyout-alpha))) 0%, rgb(255 255 255 / calc(0.014 * var(--banner-flyout-alpha))) 12%, transparent 22%),
    linear-gradient(180deg, rgb(35 38 40 / calc(0.96 * var(--banner-flyout-alpha))) 0%, rgb(15 17 18 / calc(0.96 * var(--banner-flyout-alpha))) 48%, rgb(3 4 4 / calc(0.96 * var(--banner-flyout-alpha))) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -16px 20px rgba(0, 0, 0, 0.42),
    0 12px 20px rgba(0, 0, 0, 0.36);
}

.race-strip.template-reference-premium .last-lap-panel::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.28)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055), transparent 9%, transparent 88%, rgba(0, 0, 0, 0.3));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 1px 0 0 rgba(255, 255, 255, 0.045),
    inset -1px 0 0 rgba(0, 0, 0, 0.28),
    inset 0 -2px 0 rgba(0, 0, 0, 0.38);
}

.race-strip.template-reference-premium .last-lap-panel.is-open {
  max-height: 386px;
}

.race-strip.template-reference-premium .lap-row {
  position: relative;
  height: 30px;
  grid-template-columns: 30px 38px minmax(0, 1fr) 52px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / calc(0.022 * var(--banner-flyout-alpha))) 0%, transparent 15%),
    linear-gradient(180deg, rgb(32 35 37 / calc(0.86 * var(--banner-flyout-alpha))) 0%, rgb(8 9 10 / calc(0.86 * var(--banner-flyout-alpha))) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.race-strip.template-reference-premium .lap-row::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--banner-accent-line-color) 18%, transparent) 18%, color-mix(in srgb, var(--banner-accent-line-color) 48%, transparent) 50%, color-mix(in srgb, var(--banner-accent-line-color) 18%, transparent) 82%, transparent 100%);
}

.race-strip.template-reference-premium .lap-row.is-rotating-row {
  background:
    linear-gradient(180deg, rgb(255 255 255 / calc(0.016 * var(--banner-flyout-alpha))) 0%, transparent 15%),
    linear-gradient(180deg, rgb(24 27 29 / calc(0.78 * var(--banner-flyout-alpha))) 0%, rgb(6 7 8 / calc(0.84 * var(--banner-flyout-alpha))) 100%);
}

.race-strip #metricRows {
  overflow: hidden;
}

.race-strip #metricRows.is-page-sliding .lap-row.is-rotating-row {
  animation: flyout-page-slide-left 900ms cubic-bezier(0.16, 0.78, 0.18, 1) both;
}

.race-strip #metricRows.is-page-sliding .lap-row.is-rotating-row:nth-child(7) {
  animation-delay: 60ms;
}

.race-strip #metricRows.is-page-sliding .lap-row.is-rotating-row:nth-child(8) {
  animation-delay: 120ms;
}

.race-strip #metricRows.is-page-sliding .lap-row.is-rotating-row:nth-child(9) {
  animation-delay: 180ms;
}

.race-strip #metricRows.is-page-sliding .lap-row.is-rotating-row:nth-child(10) {
  animation-delay: 240ms;
}

@keyframes flyout-page-slide-left {
  0% {
    opacity: 0;
    transform: translate3d(46px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.race-strip.template-reference-premium .lap-row:nth-child(6) {
  border-top: 1px solid color-mix(in srgb, var(--banner-accent-line-color) 72%, transparent);
  box-shadow: inset 0 1px 8px color-mix(in srgb, var(--banner-accent-line-color) 18%, transparent);
}

.race-strip.template-reference-premium .lap-row b {
  width: 25px;
  height: 22px;
  font-size: 19px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(180deg, #16191b 0%, #050505 64%, #000 100%);
}

.race-strip.template-reference-premium .lap-row i,
.race-strip.template-reference-premium .lap-row span,
.race-strip.template-reference-premium .lap-row em {
  font-size: 17px;
}

.race-strip.template-reference-premium .lap-row i {
  color: #d8dbdb;
}

.race-strip.template-reference-premium .lap-row em {
  padding-right: 6px;
  color: #ffffff;
}

.race-strip.template-reference-premium .last-lap-panel footer {
  color: #f4f4f4;
  background:
    linear-gradient(180deg, rgb(39 42 44 / calc(0.96 * var(--banner-flyout-alpha))) 0%, rgb(6 7 7 / calc(0.98 * var(--banner-flyout-alpha))) 100%);
  border-top: 1px solid var(--banner-accent-line-color);
  font-size: 22px;
  padding: 7px 0 6px;
  text-shadow: 0 2px 4px black;
}

.race-strip.template-reference-premium .strip-session {
  top: 92px;
  width: 224px;
  max-width: 224px;
  min-height: 46px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / calc(0.08 * var(--banner-panel-alpha))), transparent 32%),
    linear-gradient(180deg, rgb(32 35 38 / var(--banner-panel-alpha)) 0%, rgb(8 9 9 / var(--banner-panel-alpha)) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: calc(var(--banner-info-size) - 4px);
}

.race-strip.template-light-theme {
  color: #101214;
}

.race-strip.template-light-theme .strip-logo {
  background:
    linear-gradient(180deg, rgb(255 255 255 / calc(0.98 * var(--banner-panel-alpha))), transparent 48%),
    linear-gradient(110deg, color-mix(in srgb, var(--banner-logo-panel-color) 24%, #ffffff 76%) 0%, color-mix(in srgb, var(--banner-logo-panel-color) 56%, #ffffff 44%) 52%, color-mix(in srgb, var(--banner-logo-panel-color) 72%, #ffffff 28%) 100%);
  border-top-color: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(0, 0, 0, 0.14);
}

.race-strip.template-light-theme .strip-main {
  background:
    linear-gradient(180deg, rgb(255 255 255 / calc(0.88 * var(--banner-panel-alpha))), transparent 38%),
    linear-gradient(90deg, rgb(255 255 255 / calc(0.32 * var(--banner-panel-alpha))), transparent 22%, transparent 78%, rgb(0 0 0 / calc(0.035 * var(--banner-panel-alpha)))),
    linear-gradient(180deg, color-mix(in srgb, var(--banner-light-cell-color) 22%, #ffffff 78%) 0%, color-mix(in srgb, var(--banner-light-cell-color) 48%, #ffffff 52%) 48%, color-mix(in srgb, var(--banner-light-cell-color) 74%, #ffffff 26%) 100%);
  border-top-color: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(0, 0, 0, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -14px 22px rgba(0, 0, 0, 0.07),
    0 8px 18px rgba(0, 0, 0, 0.2);
}

.race-strip.template-light-theme .strip-cell,
.race-strip.template-light-theme .strip-primary .strip-cell:nth-child(-n+5),
.race-strip.template-light-theme .strip-primary .strip-cell:nth-child(n+6),
.race-strip.template-light-theme .strip-rotation .strip-cell {
  background:
    linear-gradient(110deg, rgb(255 255 255 / calc(0.86 * var(--banner-panel-alpha))) 0 14%, transparent 28% 72%, rgb(0 0 0 / calc(0.035 * var(--banner-panel-alpha))) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--banner-light-cell-color) 24%, #ffffff 76%) 0%, color-mix(in srgb, var(--banner-light-cell-color) 50%, #ffffff 50%) 48%, color-mix(in srgb, var(--banner-light-cell-color) 76%, #ffffff 24%) 100%);
  border-right-color: rgba(0, 0, 0, 0.15);
  border-bottom-color: rgba(0, 0, 0, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -10px 14px rgba(0, 0, 0, 0.06);
}

.race-strip.template-light-theme .strip-rotation .strip-cell {
  background:
    linear-gradient(110deg, rgb(255 255 255 / calc(0.38 * var(--banner-panel-alpha))) 0 14%, transparent 28% 72%, rgb(0 0 0 / calc(0.025 * var(--banner-panel-alpha))) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--banner-light-cell-color) 18%, #ffffff 82%) 0%, color-mix(in srgb, var(--banner-light-cell-color) 40%, #ffffff 60%) 48%, color-mix(in srgb, var(--banner-light-cell-color) 66%, #ffffff 34%) 100%);
  border-bottom-color: rgba(0, 0, 0, 0.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -10px 14px rgba(0, 0, 0, 0.035);
}

.race-strip.template-light-theme .strip-cell span,
.race-strip.template-light-theme .strip-primary .strip-cell:nth-child(n+6) span,
.race-strip.template-light-theme .strip-rotation .strip-cell span {
  color: #070809;
  opacity: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.62);
}

.race-strip.template-light-theme .strip-cell em,
.race-strip.template-light-theme .strip-primary .strip-cell:nth-child(n+6) em,
.race-strip.template-light-theme .strip-rotation .strip-cell em {
  color: #16191a;
  opacity: 1;
}

.race-strip.template-light-theme .laps-box {
  background:
    linear-gradient(180deg, rgb(255 255 255 / calc(0.84 * var(--banner-panel-alpha))), transparent 32%),
    linear-gradient(90deg, color-mix(in srgb, var(--banner-dark-cell-color) 20%, #ffffff 80%) 0%, color-mix(in srgb, var(--banner-dark-cell-color) 46%, #ffffff 54%) 48%, color-mix(in srgb, var(--banner-dark-cell-color) 16%, #ffffff 84%) 100%);
  border-top-color: rgba(255, 255, 255, 0.94);
  border-right-color: rgba(0, 0, 0, 0.13);
}

.race-strip.template-light-theme .laps-box span {
  color: #101214;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.race-strip .laps-box.flag-yellow {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.1) 30%, transparent 48%),
    linear-gradient(90deg, rgb(102 78 0 / var(--banner-panel-alpha)) 0%, rgb(232 184 18 / var(--banner-panel-alpha)) 48%, rgb(118 79 0 / var(--banner-panel-alpha)) 100%);
  border-bottom-color: #ffe56a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -12px 18px rgba(68, 44, 0, 0.34),
    0 0 18px rgba(244, 197, 66, 0.42),
    0 6px 12px rgba(0, 0, 0, 0.36);
}

.race-strip .laps-box.flag-yellow span {
  color: #11130b;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.58);
}

.race-strip .laps-box.flag-yellow strong {
  color: #11130b;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), transparent 28%),
    linear-gradient(180deg, #fff1a6 0%, #ffd735 56%, #b98200 100%);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    inset 0 -2px 0 rgba(93, 60, 0, 0.5),
    0 1px 2px rgba(0, 0, 0, 0.42);
}

.race-strip .laps-box.flag-red {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.07) 30%, transparent 48%),
    linear-gradient(90deg, rgb(74 3 3 / var(--banner-panel-alpha)) 0%, rgb(190 21 18 / var(--banner-panel-alpha)) 50%, rgb(82 5 5 / var(--banner-panel-alpha)) 100%);
  border-bottom-color: #ff6b66;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -12px 18px rgba(45, 0, 0, 0.42),
    0 0 18px rgba(255, 86, 80, 0.42),
    0 6px 12px rgba(0, 0, 0, 0.38);
}

.race-strip .laps-box.flag-red span,
.race-strip .laps-box.flag-red strong {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.72);
}

.race-strip .laps-box.flag-red strong {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), transparent 28%),
    linear-gradient(180deg, #d32621 0%, #7f0807 56%, #2b0101 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -2px 0 rgba(0, 0, 0, 0.54),
    0 1px 2px rgba(0, 0, 0, 0.44);
}

.race-strip .laps-box.flag-final {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05) 32%, transparent 52%),
    linear-gradient(45deg, rgb(202 211 216 / var(--banner-panel-alpha)) 25%, transparent 25%, transparent 75%, rgb(202 211 216 / var(--banner-panel-alpha)) 75%),
    linear-gradient(45deg, rgb(202 211 216 / var(--banner-panel-alpha)) 25%, rgb(54 63 69 / var(--banner-panel-alpha)) 25%, rgb(54 63 69 / var(--banner-panel-alpha)) 75%, rgb(202 211 216 / var(--banner-panel-alpha)) 75%);
  background-position: 0 0, 0 0, 14px 14px;
  background-size: auto, 28px 28px, 28px 28px;
  border-bottom-color: #eef3f6;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -12px 18px rgba(0, 0, 0, 0.26),
    0 0 18px rgba(210, 222, 228, 0.28),
    0 6px 12px rgba(0, 0, 0, 0.36);
}

.race-strip .laps-box.flag-final span,
.race-strip .laps-box.flag-final strong {
  color: #ffffff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.86);
}

.race-strip .laps-box.flag-final strong {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 30%),
    linear-gradient(45deg, #747f86 25%, #151a1e 25%, #151a1e 50%, #747f86 50%, #747f86 75%, #151a1e 75%);
  background-size: auto, 18px 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -2px 0 rgba(0, 0, 0, 0.64),
    0 1px 2px rgba(0, 0, 0, 0.44);
}

.race-strip.template-light-theme .last-lap-panel {
  background:
    linear-gradient(180deg, rgb(255 255 255 / calc(0.48 * var(--banner-flyout-alpha))) 0%, rgb(255 255 255 / calc(0.16 * var(--banner-flyout-alpha))) 14%, transparent 25%),
    linear-gradient(180deg, color-mix(in srgb, var(--banner-flyout-color) 18%, #ffffff 82%) 0%, color-mix(in srgb, var(--banner-flyout-color) 42%, #ffffff 58%) 48%, color-mix(in srgb, var(--banner-flyout-color) 68%, #ffffff 32%) 100%);
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -10px 14px rgba(0, 0, 0, 0.06),
    0 12px 20px rgba(0, 0, 0, 0.18);
}

.race-strip.template-light-theme .lap-row,
.race-strip.template-light-theme .lap-row.is-rotating-row {
  background:
    linear-gradient(180deg, rgb(255 255 255 / calc(0.24 * var(--banner-flyout-alpha))) 0%, transparent 18%),
    linear-gradient(180deg, color-mix(in srgb, var(--banner-flyout-color) 18%, #ffffff 82%) 0%, color-mix(in srgb, var(--banner-flyout-color) 52%, #ffffff 48%) 100%);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.race-strip.template-light-theme .lap-row i,
.race-strip.template-light-theme .lap-row span,
.race-strip.template-light-theme .lap-row em {
  color: #101214;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.68);
}

.race-strip.template-light-theme .strip-rotation .strip-cell em {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.68);
}

.race-strip.template-light-theme .last-lap-panel footer {
  color: #101214;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--banner-flyout-color) 18%, #ffffff 82%) 0%, color-mix(in srgb, var(--banner-flyout-color) 60%, #ffffff 40%) 100%);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

.race-strip.template-light-theme .strip-session {
  color: #101214;
  background:
    linear-gradient(180deg, rgb(255 255 255 / calc(0.9 * var(--banner-panel-alpha))), transparent 38%),
    linear-gradient(180deg, color-mix(in srgb, var(--banner-flyout-color) 18%, #ffffff 82%) 0%, color-mix(in srgb, var(--banner-flyout-color) 58%, #ffffff 42%) 100%);
  border-top-color: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(0, 0, 0, 0.12);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

.race-top-banner {
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  width: min(1840px, 96vw);
  height: 112px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 210px;
  align-items: center;
  gap: 12px;
  color: white;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.62));
}

.race-top-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: skewX(-8deg);
  background:
    linear-gradient(105deg, transparent 0 42%, rgba(255, 255, 255, 0.16) 49%, transparent 57%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 10px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(8, 23, 45, 0.98), rgba(4, 4, 5, 0.96) 28%, rgba(8, 8, 9, 0.96) 70%, rgba(50, 4, 4, 0.98));
  border: 3px solid var(--accent);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.32),
    inset 0 -4px 0 rgba(160, 0, 0, 0.42),
    inset 0 -28px 38px rgba(0, 0, 0, 0.6),
    0 0 28px rgba(231, 51, 47, 0.28),
    0 12px 28px rgba(0, 0, 0, 0.42);
}

.race-top-banner::after {
  content: "";
  position: absolute;
  inset: 3px 28px;
  z-index: 1;
  pointer-events: none;
  transform: skewX(-8deg) translateX(-140%);
  background: linear-gradient(105deg, transparent 0 44%, rgba(255, 255, 255, 0.32) 50%, transparent 57%);
  animation: metal-sweep 9s ease-in-out infinite;
}

.banner-brand,
.banner-main,
.banner-clock {
  position: relative;
  z-index: 2;
}

.banner-brand {
  height: 100%;
  display: grid;
  place-items: center;
  padding-left: 22px;
  overflow: hidden;
}

.banner-brand img {
  width: 190px;
  max-height: 94px;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px black);
}

.banner-main {
  min-width: 0;
  display: grid;
  grid-template-rows: 42px 1fr;
  gap: 8px;
}

.banner-meta {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-right: 18px;
}

.banner-meta strong {
  min-width: 0;
  color: white;
  font-family: "Teko Local", Impact, "Arial Black", sans-serif;
  font-size: 34px;
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 0 #6b6b6b, 0 6px 8px black;
}

.banner-meta span {
  min-width: 0;
  color: var(--metric-color);
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.banner-leaders {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.banner-driver {
  min-width: 0;
  height: 42px;
  display: grid;
  grid-template-columns: 34px 52px minmax(0, 1fr);
  align-items: center;
  transform: skewX(-8deg);
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.1), transparent 24%, rgba(255, 255, 255, 0.05)),
    linear-gradient(180deg, rgba(24, 24, 24, var(--panel-alpha)), rgba(4, 4, 4, var(--panel-alpha)));
  border: 1px solid rgba(231, 51, 47, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 7px 12px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.banner-driver b,
.banner-driver em,
.banner-driver span {
  min-width: 0;
  transform: skewX(8deg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.banner-driver b {
  height: 42px;
  display: grid;
  place-items: center;
  align-self: stretch;
  color: white;
  font-family: "Teko Local", Impact, "Arial Black", sans-serif;
  font-size: 26px;
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(145deg, #ff1f19, #650000);
  text-shadow: 0 2px 0 #7f7f7f, 0 5px 8px black;
}

.banner-driver em {
  color: var(--gold);
  font-family: "Teko Local", Impact, "Arial Black", sans-serif;
  font-size: 23px;
  font-style: normal;
  font-weight: 700;
  text-align: center;
}

.banner-driver span {
  color: var(--name-color);
  font-size: 20px;
  font-weight: 800;
  padding-right: 10px;
  text-shadow: 0 3px 6px black;
}

.banner-clock {
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  padding-right: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.banner-clock span {
  color: var(--metric-color);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.banner-clock strong {
  color: white;
  font-family: "Teko Local", Impact, "Arial Black", sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 0.9;
  text-shadow: 0 2px 0 #6e6e6e, 0 6px 8px black;
}

.title {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 30px;
}

.sub {
  color: var(--muted);
  font-size: 18px;
  margin-top: 3px;
}

.clock {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
}

.stack {
  padding: 14px;
}

.graphic-no-data {
  width: 100%;
  min-height: 126px;
  display: grid;
  place-items: center;
  padding: 18px 24px;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Teko Local", Impact, "Arial Black", sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.14), transparent 23%, transparent 76%, rgba(255, 255, 255, 0.06)),
    linear-gradient(180deg, color-mix(in srgb, var(--banner-dark-cell-color) 82%, #ffffff 18%) 0%, var(--banner-dark-cell-color) 48%, color-mix(in srgb, var(--banner-dark-cell-color) 40%, #000 60%) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -14px 22px rgba(0, 0, 0, 0.38),
    0 5px 12px rgba(0, 0, 0, 0.34);
  text-shadow: 0 3px 6px black;
}

.leaders-rows .graphic-no-data,
.top-five-rows .graphic-no-data {
  grid-column: 1 / -1;
}

.lineup-group .graphic-no-data {
  min-height: 330px;
}

.stack .graphic-no-data {
  min-height: 92px;
}

body.graphics-theme-light .graphic-no-data {
  color: #111;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.82), transparent 32%, rgba(0, 0, 0, 0.035) 74%, rgba(255, 255, 255, 0.62)),
    linear-gradient(180deg, #ffffff 0%, #f7fafa 56%, #dfe7e7 100%);
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -12px 18px rgba(0, 0, 0, 0.1),
    0 5px 12px rgba(0, 0, 0, 0.22);
  text-shadow: 0 1px 0 white, 0 2px 5px rgba(0, 0, 0, 0.18);
}

.row {
  display: grid;
  grid-template-columns: 52px 76px 1fr 150px;
  align-items: center;
  min-height: 43px;
  border-top: 1px solid var(--line);
  font-size: 24px;
}

.row:first-child {
  border-top: 0;
}

.pos,
.num {
  font-weight: 900;
}

.num {
  color: var(--gold);
}

.name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 12px;
}

.metric {
  text-align: right;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.lower-third {
  position: absolute;
  left: 72px;
  bottom: 86px;
  min-width: 640px;
  background: var(--bg);
  border-left: 8px solid var(--accent);
  padding: 18px 22px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.42);
}

.lower-third .driver {
  font-size: 42px;
  font-weight: 900;
}

.lower-third .detail {
  margin-top: 6px;
  color: var(--muted);
  font-size: 22px;
}

.leaders-third {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 64px;
  width: 1240px;
  margin: 0 auto;
  transform: none;
  color: white;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.64));
}

.leaders-third::after {
  content: "";
  position: absolute;
  inset: -14px -22px;
  z-index: 6;
  pointer-events: none;
  transform: translateX(-135%);
  background: linear-gradient(105deg, transparent 0 43%, rgba(255, 255, 255, 0.32) 49%, rgba(255, 255, 255, 0.16) 52%, transparent 59%);
  filter: blur(0.2px);
  animation: result-sweep 7.2s ease-in-out infinite;
}

.leaders-third header {
  position: relative;
  width: 100%;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 0;
  padding: 0 34px;
  transform: none;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--banner-logo-panel-color) 66%, #000 34%) 0%, var(--banner-logo-panel-color) 25%, #ffffff 50%, var(--banner-logo-panel-color) 75%, color-mix(in srgb, var(--banner-logo-panel-color) 66%, #000 34%) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(160, 166, 164, 0.54));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    inset 0 -2px 0 rgba(0, 0, 0, 0.34),
    0 5px 12px rgba(0, 0, 0, 0.4);
  border-radius: 4px 4px 0 0;
  overflow: hidden;
}

.leaders-third header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background:
    linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--banner-accent-line-color) 22%, transparent) 12%, var(--banner-accent-line-color) 50%, color-mix(in srgb, var(--banner-accent-line-color) 22%, transparent) 88%, transparent 100%);
  box-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.32),
    0 0 9px color-mix(in srgb, var(--banner-accent-line-color) 52%, transparent),
    0 3px 6px rgba(0, 0, 0, 0.28);
}

.leaders-third header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0 44%, rgba(255, 255, 255, 0.48) 50%, transparent 56%);
  transform: translateX(-145%);
  animation: metal-sweep 8s ease-in-out infinite;
}

.leaders-third header span,
.leaders-third header strong {
  position: relative;
  z-index: 1;
  transform: none;
  font-family: "Teko Local", Impact, "Arial Black", sans-serif;
  text-transform: uppercase;
  font-size: 44px;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.38),
    0 3px 5px rgba(0, 0, 0, 0.56);
}

.leaders-third header strong {
  color: #111;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.24);
}

.leaders-third header span {
  color: #252525;
}

.leaders-rows {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  padding: 6px;
  margin-top: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(130, 136, 132, 0.2) 44%, rgba(0, 0, 0, 0.28)),
    linear-gradient(90deg, color-mix(in srgb, var(--banner-logo-panel-color) 58%, #000 42%), var(--banner-logo-panel-color) 50%, color-mix(in srgb, var(--banner-logo-panel-color) 58%, #000 42%));
  border-bottom: 3px solid color-mix(in srgb, var(--banner-accent-line-color) 76%, #000 24%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -2px 0 rgba(0, 0, 0, 0.42),
    0 7px 14px rgba(0, 0, 0, 0.44);
}

.leaders-row {
  position: relative;
  height: 74px;
  display: grid;
  grid-template-columns: 74px 92px minmax(0, 1fr);
  align-items: center;
  transform: none;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--banner-dark-cell-color) 78%, #ffffff 22%) 0%, var(--banner-dark-cell-color) 42%, color-mix(in srgb, var(--banner-dark-cell-color) 38%, #000 62%) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 20%, transparent 84%, rgba(0, 0, 0, 0.26));
  border: 1px solid #050505;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -10px 16px rgba(0, 0, 0, 0.42),
    0 4px 10px rgba(0, 0, 0, 0.34);
  border-radius: 4px;
  overflow: hidden;
}

.leaders-row::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--banner-accent-line-color) 16%, transparent) 16%, color-mix(in srgb, var(--banner-accent-line-color) 62%, transparent) 50%, color-mix(in srgb, var(--banner-accent-line-color) 16%, transparent) 84%, transparent 100%);
  box-shadow: 0 0 5px color-mix(in srgb, var(--banner-accent-line-color) 34%, transparent);
  pointer-events: none;
}

.leaders-row::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.24)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 12%, transparent 88%, rgba(0, 0, 0, 0.28));
}

.leaders-pos,
.leaders-num,
.leaders-name {
  position: relative;
  z-index: 3;
  transform: none;
  font-family: "Teko Local", Impact, "Arial Black", sans-serif;
  font-size: calc(var(--leader-name-size) + 2px);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 3px 6px black;
}

.leaders-pos {
  width: 46px;
  height: 38px;
  display: grid;
  place-items: center;
  align-self: center;
  justify-self: center;
  color: white;
  font-style: italic;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 22%),
    linear-gradient(180deg, #121212 0%, #050505 58%, #000 100%);
  border-radius: 3px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -2px 0 rgba(0, 0, 0, 0.86),
    0 1px 2px rgba(0, 0, 0, 0.45);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.12), 0 3px 5px black;
}

.leaders-num {
  color: #f4f5f2;
  text-align: center;
}

.leaders-name {
  min-width: 0;
  padding-right: 20px;
  color: var(--name-color);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lineup-overlay {
  display: grid;
  place-items: center;
  padding-top: var(--board-offset-y);
}

.lineup-board {
  width: 1020px;
  height: min(860px, 90vh);
  position: relative;
  color: white;
  transform: scale(var(--board-scale));
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.7));
}

.lineup-board::before {
  content: none;
  position: absolute;
  inset: -40px -72px;
  z-index: -1;
  pointer-events: none;
  background: none;
}

.lineup-header {
  position: relative;
  width: 940px;
  max-width: none;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0 34px;
  transform: none;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--banner-logo-panel-color) 66%, #000 34%) 0%, var(--banner-logo-panel-color) 25%, #ffffff 50%, var(--banner-logo-panel-color) 75%, color-mix(in srgb, var(--banner-logo-panel-color) 66%, #000 34%) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(160, 166, 164, 0.54));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    inset 0 -2px 0 rgba(0, 0, 0, 0.34),
    0 5px 12px rgba(0, 0, 0, 0.4);
  border-radius: 4px 4px 0 0;
  overflow: hidden;
}

.lineup-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--banner-accent-line-color) 34%, transparent) 18%, var(--banner-accent-line-color) 50%, color-mix(in srgb, var(--banner-accent-line-color) 34%, transparent) 82%, transparent 100%);
  box-shadow: 0 0 7px color-mix(in srgb, var(--banner-accent-line-color) 42%, transparent);
}

.lineup-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0 44%, rgba(255, 255, 255, 0.36) 50%, transparent 58%);
  transform: translateX(-145%);
  animation: metal-sweep 8s ease-in-out infinite;
}

.lineup-title {
  position: relative;
  z-index: 2;
  transform: none;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0;
}

.lineup-title span,
.lineup-title strong {
  font-family: "Teko Local", Impact, "Arial Black", sans-serif;
  font-size: calc(var(--board-title-size) * 0.78);
  line-height: 1;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0;
  color: #252525;
  background: none;
  -webkit-text-fill-color: currentColor;
  -webkit-text-stroke: 0;
  paint-order: normal;
  filter: none;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5),
    0 3px 5px rgba(0, 0, 0, 0.34);
}

.lineup-title strong {
  margin-left: 18px;
  color: #111;
  background: none;
  -webkit-text-fill-color: currentColor;
  -webkit-text-stroke: 0;
  paint-order: normal;
  filter: none;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.24);
}

.lineup-slot-area {
  width: 940px;
  max-width: none;
  margin: 0 auto;
  padding: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(130, 136, 132, 0.2) 44%, rgba(0, 0, 0, 0.28)),
    linear-gradient(90deg, color-mix(in srgb, var(--banner-logo-panel-color) 58%, #000 42%), var(--banner-logo-panel-color) 50%, color-mix(in srgb, var(--banner-logo-panel-color) 58%, #000 42%));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -2px 0 rgba(0, 0, 0, 0.42);
}

.lineup-window {
  height: 604px;
  overflow: hidden;
  padding: 0;
}

.lineup-scroll {
  --lineup-duration: 18s;
  --lineup-scroll-distance: 50%;
}

.lineup-scroll.is-scrolling {
  animation: lineup-roll var(--lineup-duration) linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.lineup-group {
  display: grid;
  gap: 0;
  padding-bottom: 0;
}

.lineup-group + .lineup-group {
  margin-top: 0;
}

.lineup-reset-gap {
  height: 0;
  background:
    linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--banner-accent-line-color) 72%, transparent) 50%, transparent 100%),
    linear-gradient(180deg, transparent 0 35%, var(--banner-accent-line-color) 35% 65%, transparent 65% 100%);
  opacity: 0.95;
}

.lineup-row {
  position: relative;
  height: 62px;
  display: grid;
  grid-template-columns: 82px 104px minmax(0, 1fr) 168px;
  align-items: center;
  transform: none;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--banner-dark-cell-color) 78%, #ffffff 22%) 0%, var(--banner-dark-cell-color) 42%, color-mix(in srgb, var(--banner-dark-cell-color) 38%, #000 62%) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 20%, transparent 84%, rgba(0, 0, 0, 0.26));
  border: 1px solid #050505;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -9px 15px rgba(0, 0, 0, 0.42),
    0 3px 8px rgba(0, 0, 0, 0.32);
  border-radius: 4px;
  overflow: hidden;
}

.lineup-row::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--banner-accent-line-color) 16%, transparent) 16%, color-mix(in srgb, var(--banner-accent-line-color) 62%, transparent) 50%, color-mix(in srgb, var(--banner-accent-line-color) 16%, transparent) 84%, transparent 100%);
  box-shadow: 0 0 5px color-mix(in srgb, var(--banner-accent-line-color) 34%, transparent);
  pointer-events: none;
}

.lineup-row::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.24)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 12%, transparent 88%, rgba(0, 0, 0, 0.28));
}

.lineup-row .pos,
.lineup-row .num,
.lineup-row .name,
.lineup-row .metric {
  position: relative;
  z-index: 3;
  transform: none;
}

.lineup-row .pos {
  position: relative;
  z-index: 3;
  width: 46px;
  height: 38px;
  display: grid;
  place-items: center;
  align-self: center;
  justify-self: center;
  color: white;
  font-family: "Teko Local", Impact, "Arial Black", sans-serif;
  font-size: 31px;
  font-weight: 700;
  font-style: italic;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 22%),
    linear-gradient(180deg, #121212 0%, #050505 58%, #000 100%);
  border-radius: 3px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -2px 0 rgba(0, 0, 0, 0.86),
    0 1px 2px rgba(0, 0, 0, 0.45);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.12), 0 3px 5px black;
}

.lineup-row .num {
  color: #f4f5f2;
  font-family: "Teko Local", Impact, "Arial Black", sans-serif;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 3px 5px black, 0 0 10px rgba(244, 197, 66, 0.2);
}

.lineup-row .name {
  min-width: 0;
  padding-left: 12px;
  color: var(--name-color);
  font-family: "Barlow Condensed Local", "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: calc(var(--board-row-name-size) + 3px);
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 4px 6px black, 0 0 12px rgba(255, 255, 255, 0.08);
}

.lineup-row .metric {
  min-width: 0;
  color: var(--metric-color);
  font-size: 19px;
  font-weight: 800;
  text-align: right;
  padding-right: 22px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lineup-footer {
  width: 940px;
  height: 50px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transform: none;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--banner-logo-panel-color) 68%, #000 32%) 0%, var(--banner-logo-panel-color) 24%, #ffffff 50%, var(--banner-logo-panel-color) 76%, color-mix(in srgb, var(--banner-logo-panel-color) 68%, #000 32%) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(178, 183, 180, 0.5));
  color: #111;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  border-radius: 4px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    inset 0 -2px 0 rgba(0, 0, 0, 0.28),
    0 5px 12px rgba(0, 0, 0, 0.34);
}

.lineup-footer span {
  min-width: 0;
  transform: none;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lineup-footer.is-empty {
  color: transparent;
}

.lineup-footer span + span::before {
  content: "/";
  margin-right: 18px;
  color: var(--banner-accent-line-color);
}


@keyframes metal-sweep {
  0%,
  60% {
    transform: translateX(-150%);
    opacity: 0;
  }

  68% {
    opacity: 0.65;
  }

  78% {
    transform: translateX(150%);
    opacity: 0;
  }

  100% {
    transform: translateX(150%);
    opacity: 0;
  }
}

@keyframes result-sweep {
  0%,
  48% {
    transform: translateX(-135%);
    opacity: 0;
  }

  56% {
    opacity: 0.48;
  }

  70% {
    transform: translateX(135%);
    opacity: 0;
  }

  100% {
    transform: translateX(135%);
    opacity: 0;
  }
}

@keyframes podium-sweep {
  0%,
  55% {
    transform: translateX(-140%);
    opacity: 0;
  }

  64% {
    opacity: 0.42;
  }

  78% {
    transform: translateX(140%);
    opacity: 0;
  }

  100% {
    transform: translateX(140%);
    opacity: 0;
  }
}

@keyframes strip-reveal {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes strip-collapse {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-18px);
  }
}

@keyframes logo-reflection {
  0%,
  58% {
    transform: translateX(-125%);
    opacity: 0;
  }

  66% {
    opacity: 0.38;
  }

  78% {
    transform: translateX(125%);
    opacity: 0;
  }

  100% {
    transform: translateX(125%);
    opacity: 0;
  }
}

@keyframes graphic-reveal {
  0% {
    clip-path: inset(48% 50% 48% 50%);
    opacity: 0;
    transform: scaleX(calc(var(--board-scale) * 0.16)) scaleY(calc(var(--board-scale) * 0.98));
  }

  35% {
    opacity: 1;
  }

  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: scale(var(--board-scale));
  }
}

@keyframes graphic-collapse {
  0% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: scale(var(--board-scale));
  }

  100% {
    clip-path: inset(48% 50% 48% 50%);
    opacity: 0;
    transform: scaleX(calc(var(--board-scale) * 0.16)) scaleY(calc(var(--board-scale) * 0.98));
  }
}

.compact-lineup-overlay {
  display: grid;
  place-items: center;
}

.compact-lineup {
  width: 780px;
  max-width: 82vw;
  position: relative;
  color: white;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.88));
}

.compact-lineup::before {
  content: "";
  position: absolute;
  width: 940px;
  height: 590px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 50% 82%, rgba(255, 72, 26, 0.24), transparent 9%),
    radial-gradient(circle at 50% 18%, rgba(255, 72, 26, 0.2), transparent 8%),
    radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.32) 42%, transparent 70%);
  pointer-events: none;
}

.compact-lineup-header {
  width: 690px;
  height: 74px;
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  position: relative;
  transform: skewX(-5deg);
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.16), transparent 13%, transparent 87%, rgba(255, 255, 255, 0.12)),
    linear-gradient(rgba(24, 24, 24, var(--panel-alpha)), rgba(3, 3, 3, var(--panel-alpha)));
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 3px;
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.12),
    inset 0 -10px 20px rgba(0, 0, 0, 0.65),
    0 0 26px rgba(255, 62, 20, 0.24),
    0 18px 36px rgba(0, 0, 0, 0.58);
}

.compact-lineup-header::after,
.compact-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 360px;
  height: 5px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 70, 24, 0.95), transparent 72%);
}

.compact-title {
  transform: skewX(5deg);
  text-align: center;
  font-size: 48px;
  font-weight: 950;
  font-style: italic;
  text-transform: uppercase;
  text-shadow: 0 3px 0 #777, 0 10px 18px black;
}

.compact-flag {
  display: grid;
  grid-template-columns: repeat(2, 22px);
  grid-auto-rows: 19px;
  justify-content: center;
  transform: skewX(5deg);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.72);
}

.compact-flag span:nth-child(odd) {
  background: white;
}

.compact-flag span:nth-child(even) {
  background: #050505;
}

.compact-rows-window {
  height: 366px;
  overflow: hidden;
  position: relative;
}

.compact-rows.is-scrolling {
  animation: lineup-roll var(--lineup-duration) linear infinite;
}

.compact-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
  row-gap: 13px;
  padding: 0 18px 13px;
}

.compact-row {
  height: 60px;
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  position: relative;
  transform: skewX(-7deg);
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.13), transparent 18%, transparent 90%, rgba(255, 255, 255, 0.08)),
    radial-gradient(circle at 24% 100%, rgba(255, 71, 25, 0.18), transparent 24%),
    linear-gradient(rgba(14, 14, 14, var(--panel-alpha)), rgba(0, 0, 0, var(--panel-alpha)));
  border: 2px solid rgba(255, 255, 255, 0.74);
  border-radius: 3px;
  box-shadow:
    inset 0 0 14px rgba(255, 255, 255, 0.1),
    inset 0 -12px 18px rgba(0, 0, 0, 0.64),
    0 0 12px rgba(255, 54, 18, 0.24),
    0 10px 20px rgba(0, 0, 0, 0.42);
}

.compact-row::after {
  content: "";
  position: absolute;
  left: 88px;
  top: 4px;
  width: 5px;
  height: 52px;
  background: radial-gradient(ellipse at center, rgba(255, 58, 18, 1), rgba(255, 58, 18, 0.34) 42%, transparent 76%);
  box-shadow: 0 0 14px rgba(255, 58, 18, 0.8);
}

.compact-pos,
.compact-name {
  transform: skewX(7deg);
}

.compact-pos {
  display: grid;
  place-items: center;
  color: white;
  font-size: 45px;
  font-weight: 950;
  font-style: italic;
  color: #fff2e9;
  text-shadow: 0 3px 0 #8c5a48, 0 8px 12px black;
}

.compact-name {
  min-width: 0;
  padding-right: 14px;
  color: var(--name-color);
  font-size: 25px;
  font-weight: 950;
  font-style: italic;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 5px 12px black;
}

.compact-footer {
  width: 520px;
  height: 38px;
  margin: 28px auto 0;
  display: grid;
  place-items: center;
  position: relative;
  color: white;
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 5px;
  text-transform: uppercase;
  text-shadow: 0 6px 12px black;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 70, 24, 0.4), transparent 16%),
    linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.62), transparent);
}

.lineup-two-column-style .lineup-board {
  width: min(1080px, 86vw);
  height: auto;
}

.lineup-two-column-style .lineup-header {
  width: 760px;
  height: 82px;
  margin: 0 auto;
  grid-template-columns: 92px 1fr 92px;
  gap: 12px;
  padding: 0 18px;
}

.lineup-two-column-style .lineup-title span,
.lineup-two-column-style .lineup-title strong {
  font-size: 46px;
}

.lineup-two-column-style .lineup-title strong {
  color: white;
  margin-left: 12px;
}

.lineup-two-column-style .lineup-flag {
  grid-template-columns: repeat(3, 20px);
  grid-auto-rows: 17px;
}

.lineup-two-column-style .lineup-session {
  height: 20px;
  margin-top: 6px;
  font-size: 14px;
}

.lineup-two-column-style .lineup-slot-area {
  width: 820px;
  max-width: 82vw;
  margin-top: 12px;
}

.lineup-two-column-style .lineup-window {
  height: 368px;
  overflow: hidden;
}

.lineup-two-column-style .lineup-scroll.is-scrolling {
  animation: lineup-roll var(--lineup-duration) linear infinite;
}

.lineup-two-column-style .lineup-group {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
  row-gap: 12px;
  padding-bottom: 0;
}

.lineup-two-column-style #lineupB {
  display: grid;
}

.lineup-two-column-style .lineup-row {
  height: 64px;
  grid-template-columns: 92px 1fr;
  border-left: 2px solid var(--accent);
  border-radius: 4px;
}

.lineup-two-column-style .lineup-row .pos {
  height: 64px;
  font-size: 42px;
}

.lineup-two-column-style .lineup-row .num {
  display: none;
}

.lineup-two-column-style .lineup-row .name {
  padding: 0 18px;
  color: var(--name-color);
  font-size: 27px;
  font-style: italic;
  text-transform: uppercase;
}

.lineup-two-column-style .lineup-row .metric {
  display: none;
}

.lineup-two-column-style .lineup-footer {
  width: 540px;
  height: 38px;
  margin-top: 28px;
  border: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 82, 32, 0.46), transparent 18%),
    linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.76), transparent);
  font-size: 21px;
  letter-spacing: 4px;
  box-shadow: none;
}

@keyframes lineup-roll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, calc(-1 * var(--lineup-scroll-distance, 50%)), 0);
  }
}

.results-overlay {
  display: grid;
  place-items: center;
}

.top-five-board {
  width: 1080px;
  height: auto;
  position: relative;
  padding: 0;
  color: white;
  background: transparent;
  border-radius: 4px;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.62));
  overflow: visible;
}

.top-five-board::before {
  content: none;
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 12px),
    radial-gradient(circle at 50% 53%, rgba(255, 255, 255, 0.16), transparent 2.4%);
  pointer-events: none;
  opacity: 0.72;
}

.top-five-board::after {
  content: "";
  position: absolute;
  inset: -16px -22px;
  z-index: 6;
  pointer-events: none;
  transform: translateX(-135%);
  background: linear-gradient(105deg, transparent 0 43%, rgba(255, 255, 255, 0.34) 49%, rgba(255, 255, 255, 0.18) 52%, transparent 59%);
  filter: blur(0.2px);
  animation: result-sweep 7.2s ease-in-out infinite;
}

.top-five-header {
  width: 100%;
  max-width: none;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0 26px;
  position: relative;
  z-index: 1;
  transform: none;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--banner-logo-panel-color) 66%, #000 34%) 0%, var(--banner-logo-panel-color) 25%, #ffffff 50%, var(--banner-logo-panel-color) 75%, color-mix(in srgb, var(--banner-logo-panel-color) 66%, #000 34%) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(160, 166, 164, 0.54));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    inset 0 -2px 0 rgba(0, 0, 0, 0.34),
    0 5px 12px rgba(0, 0, 0, 0.4);
  border-radius: 4px 4px 0 0;
  overflow: hidden;
}

.top-five-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--banner-accent-line-color) 24%, transparent) 14%, var(--banner-accent-line-color) 50%, color-mix(in srgb, var(--banner-accent-line-color) 24%, transparent) 86%, transparent 100%);
  box-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.32),
    0 0 9px color-mix(in srgb, var(--banner-accent-line-color) 52%, transparent),
    0 3px 6px rgba(0, 0, 0, 0.28);
}

.top-five-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0 44%, rgba(255, 255, 255, 0.58) 50%, transparent 56%);
  transform: translateX(-145%);
  animation: metal-sweep 8s ease-in-out infinite;
}

.top-five-title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transform: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.top-five-title span,
.top-five-title strong {
  font-family: "Teko Local", Impact, "Arial Black", sans-serif;
  font-size: calc(var(--board-title-size) * 0.86);
  line-height: 1;
  font-weight: 700;
  font-style: normal;
  color: #252525;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5),
    0 3px 5px rgba(0, 0, 0, 0.34);
}

.top-five-title strong {
  color: #111;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.24);
}

.top-five-rows {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 5px;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(130, 136, 132, 0.2) 44%, rgba(0, 0, 0, 0.28)),
    linear-gradient(90deg, color-mix(in srgb, var(--banner-logo-panel-color) 58%, #000 42%), var(--banner-logo-panel-color) 50%, color-mix(in srgb, var(--banner-logo-panel-color) 58%, #000 42%));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -2px 0 rgba(0, 0, 0, 0.42);
}

.top-five-row {
  position: relative;
  height: 76px;
  display: grid;
  grid-template-columns: 88px 132px minmax(0, 1fr) 162px;
  align-items: center;
  transform: none;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--banner-dark-cell-color) 78%, #ffffff 22%) 0%, var(--banner-dark-cell-color) 42%, color-mix(in srgb, var(--banner-dark-cell-color) 38%, #000 62%) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 20%, transparent 84%, rgba(0, 0, 0, 0.26));
  border: 1px solid #050505;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -10px 16px rgba(0, 0, 0, 0.42),
    0 4px 10px rgba(0, 0, 0, 0.34);
  border-radius: 4px;
  overflow: hidden;
}

.top-five-row::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--banner-accent-line-color) 16%, transparent) 16%, color-mix(in srgb, var(--banner-accent-line-color) 62%, transparent) 50%, color-mix(in srgb, var(--banner-accent-line-color) 16%, transparent) 84%, transparent 100%);
  box-shadow: 0 0 5px color-mix(in srgb, var(--banner-accent-line-color) 34%, transparent);
  pointer-events: none;
}

.top-five-row::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.24)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 12%, transparent 88%, rgba(0, 0, 0, 0.28));
}

.rank {
  position: relative;
  z-index: 3;
  width: 52px;
  height: 44px;
  display: grid;
  place-items: center;
  align-self: center;
  justify-self: center;
  color: white;
  font-family: "Teko Local", Impact, "Arial Black", sans-serif;
  font-size: 36px;
  font-weight: 700;
  font-style: italic;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 22%),
    linear-gradient(180deg, #121212 0%, #050505 58%, #000 100%);
  border-radius: 3px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -2px 0 rgba(0, 0, 0, 0.86),
    0 1px 2px rgba(0, 0, 0, 0.45);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.12), 0 3px 5px black;
}

.result-name,
.result-number,
.result-metric {
  position: relative;
  z-index: 3;
  transform: none;
}

.result-name {
  min-width: 0;
  padding-left: 14px;
  color: var(--name-color);
  font-family: "Barlow Condensed Local", "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: calc(var(--board-row-name-size) + 11px);
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 3px 6px black;
}

.result-number {
  color: #f4f5f2;
  font-family: "Teko Local", Impact, "Arial Black", sans-serif;
  font-size: 37px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 3px 5px black;
}

.result-metric {
  color: var(--metric-color);
  font-size: 22px;
  font-weight: 800;
  text-align: right;
  padding-right: 22px;
  font-variant-numeric: tabular-nums;
}

.top-five-footer {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  width: 100%;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-five-footer strong {
  width: 100%;
  height: 54px;
  display: grid;
  place-items: center;
  transform: none;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--banner-logo-panel-color) 68%, #000 32%) 0%, var(--banner-logo-panel-color) 24%, #ffffff 50%, var(--banner-logo-panel-color) 76%, color-mix(in srgb, var(--banner-logo-panel-color) 68%, #000 32%) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(178, 183, 180, 0.5));
  color: #111;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    inset 0 -2px 0 rgba(0, 0, 0, 0.28),
    0 5px 12px rgba(0, 0, 0, 0.34);
}

.podium-overlay {
  display: grid;
  place-items: center;
  padding: 0;
}

.podium-overlay::before {
  content: none;
}

.podium-board {
  --podium-side-width: 438px;
  --podium-first-width: 536px;
  --podium-gap: 24px;
  width: 1460px;
  position: relative;
  z-index: 1;
  color: white;
  filter: none;
}

.podium-board::before {
  content: none;
}

.podium-board::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 96px;
  z-index: 1;
  width: 520px;
  height: 82px;
  transform: translateX(-50%);
  pointer-events: none;
  clip-path: polygon(10% 100%, 24% 0, 76% 0, 90% 100%);
  background:
    linear-gradient(100deg, transparent 0 42%, rgba(255, 255, 255, 0.26) 49%, transparent 56%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5), transparent 20%, transparent 80%, rgba(0, 0, 0, 0.26)),
    linear-gradient(180deg, color-mix(in srgb, var(--banner-light-cell-color) 98%, #ffffff 2%) 0%, color-mix(in srgb, var(--banner-light-cell-color) 74%, #000 26%) 28%, color-mix(in srgb, var(--banner-light-cell-color) 92%, #ffffff 8%) 58%, color-mix(in srgb, var(--banner-light-cell-color) 58%, #000 42%) 100%);
  border: 2px solid rgba(255, 255, 255, 0.68);
  border-bottom: 0;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.84),
    inset 0 -12px 18px rgba(0, 0, 0, 0.18);
}

.podium-header {
  position: relative;
  width: var(--podium-first-width);
  height: 128px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  padding: 14px 28px 10px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--banner-logo-panel-color) 66%, #000 34%) 0%, var(--banner-logo-panel-color) 25%, #ffffff 50%, var(--banner-logo-panel-color) 75%, color-mix(in srgb, var(--banner-logo-panel-color) 66%, #000 34%) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(160, 166, 164, 0.54));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    inset 0 -2px 0 rgba(0, 0, 0, 0.34),
    0 5px 12px rgba(0, 0, 0, 0.4);
  border-radius: 34px 34px 0 0;
  overflow: hidden;
}

.podium-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background:
    linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--banner-accent-line-color) 22%, transparent) 12%, var(--banner-accent-line-color) 50%, color-mix(in srgb, var(--banner-accent-line-color) 22%, transparent) 88%, transparent 100%);
  box-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.32),
    0 0 9px color-mix(in srgb, var(--banner-accent-line-color) 52%, transparent),
    0 3px 6px rgba(0, 0, 0, 0.28);
}

.podium-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0 44%, rgba(255, 255, 255, 0.58) 50%, transparent 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 34%, rgba(0, 0, 0, 0.18));
  transform: translateX(-145%);
  animation: metal-sweep 8s ease-in-out infinite;
}

.podium-header strong,
.podium-header span {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 100%;
  font-family: "Teko Local", Impact, "Arial Black", sans-serif;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.podium-header strong {
  color: var(--graphic-light-text-color);
  font-size: calc(var(--board-title-size) * 0.78);
  font-weight: 700;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.24);
}

.podium-header span {
  order: 2;
  color: var(--graphic-light-subtext-color);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.92;
}

.podium-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--podium-side-width) var(--podium-first-width) var(--podium-side-width);
  gap: var(--podium-gap);
  align-items: end;
  width: 100%;
  margin: 34px auto 0;
}

.podium-cards::before {
  content: none;
}

.podium-cards::after {
  content: none;
}

.podium-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 120px;
  min-width: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--graphic-panel-color) 78%, #ffffff 22%) 0%, var(--graphic-panel-color) 42%, color-mix(in srgb, var(--graphic-panel-color) 38%, #000 62%) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 20%, transparent 84%, rgba(0, 0, 0, 0.26));
  border-right: 2px solid var(--graphic-border-color);
  border-bottom: 2px solid var(--graphic-border-color);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -12px 22px rgba(0, 0, 0, 0.42),
    inset 4px 0 0 color-mix(in srgb, var(--banner-accent-line-color) 52%, transparent),
    0 8px 18px rgba(0, 0, 0, 0.38),
    0 0 24px rgba(0, 0, 0, 0.36);
  border-radius: 4px;
  overflow: hidden;
}

.podium-card.first {
  height: 648px;
  transform: translateY(-24px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -16px 28px rgba(0, 0, 0, 0.48),
    inset 4px 0 0 color-mix(in srgb, var(--banner-accent-line-color) 72%, transparent),
    0 0 0 2px color-mix(in srgb, var(--banner-accent-line-color) 54%, transparent),
    0 0 42px color-mix(in srgb, var(--banner-accent-line-color) 30%, transparent),
    0 14px 28px rgba(0, 0, 0, 0.48);
}

.podium-card.second,
.podium-card.third {
  height: 536px;
  transform: translateY(28px);
}

.podium-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  z-index: 3;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--banner-accent-line-color) 18%, transparent) 16%, color-mix(in srgb, var(--banner-accent-line-color) 68%, transparent) 50%, color-mix(in srgb, var(--banner-accent-line-color) 18%, transparent) 84%, transparent 100%);
  box-shadow: 0 0 8px color-mix(in srgb, var(--banner-accent-line-color) 38%, transparent);
  pointer-events: none;
}

.podium-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 18%, transparent 78%, rgba(0, 0, 0, 0.26)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 12%, transparent 88%, rgba(0, 0, 0, 0.3));
}

.podium-photo-frame {
  position: relative;
  min-width: 0;
  min-height: 0;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.12) 50%, transparent 58%),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.14), transparent 24%),
    linear-gradient(180deg, color-mix(in srgb, var(--banner-dark-cell-color) 82%, #ffffff 18%), color-mix(in srgb, var(--banner-dark-cell-color) 55%, #000 45%));
  overflow: hidden;
}

.podium-photo-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 28%, rgba(0, 0, 0, 0.82) 100%),
    radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--banner-accent-line-color) 18%, transparent), transparent 62%);
}

.podium-photo-frame img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.podium-card.no-photo .podium-photo-frame::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  left: 50%;
  top: 46%;
  z-index: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.2), transparent 23%),
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.1), transparent 48%);
  opacity: 0.2;
}

.podium-info {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 82px 124px minmax(0, 1fr);
  align-items: center;
  gap: 0;
  padding: 19px 22px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--banner-accent-line-color) 18%, transparent), transparent 18%),
    linear-gradient(180deg, color-mix(in srgb, var(--banner-light-cell-color) 96%, #ffffff 4%) 0%, var(--banner-light-cell-color) 42%, color-mix(in srgb, var(--banner-light-cell-color) 72%, #000 28%) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.34), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.18));
  color: color-mix(in srgb, var(--graphic-light-text-color) 90%, #000 10%);
  min-width: 0;
}

.podium-rank {
  width: 58px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--graphic-badge-text-color);
  font-family: "Teko Local", Impact, "Arial Black", sans-serif;
  font-size: 43px;
  font-weight: 700;
  font-style: italic;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 22%),
    linear-gradient(180deg, color-mix(in srgb, var(--graphic-badge-color) 72%, #ffffff 28%) 0%, var(--graphic-badge-color) 58%, color-mix(in srgb, var(--graphic-badge-color) 58%, #000 42%) 100%);
  border-radius: 3px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -2px 0 rgba(0, 0, 0, 0.86),
    0 1px 2px rgba(0, 0, 0, 0.45);
  text-shadow: 0 3px 5px black;
}

.podium-number {
  min-width: 0;
  color: #111;
  font-family: "Teko Local", Impact, "Arial Black", sans-serif;
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.podium-name {
  min-width: 0;
  color: #111;
  padding-left: 16px;
  font-family: "Barlow Condensed Local", "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: 44px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}
