/* Midnight & Ice: colours only; telemetry, controls and geometry stay unchanged. */
:root {
  --bg: #0c1423;
  --panel: #122239;
  --line: #2c4561;
  --text: #edf5fc;
  --muted: #a7b8cc;
  --red: #9fcafa;
}
html, body { color: #edf5fc; background-color: #0c1423; }
body { background-image: linear-gradient(125deg,#182b43 0,#0c1423 40%,#0c1423 100%); }
button { color: #dcebf9; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline-color: #b8d9fa; }
.brand-name { border-left-color: #2c4561; }
.site-header nav { color: #c5d5e6; }
.offair-card { border-color: #2c4561; border-top-color: #9fcafa; background: linear-gradient(140deg,#182c45,#122239 75%); }
.offair-track-image { border-color: #365371; }
.offair-division, .offair-card p[id$="empty"] { color: #c5d5e6; }
.offair-time { color: #dcebf9; }
.offair-link { border-top-color: #2c4561; }
.offair-position { color: #a7b8cc; }
.offair-podium li:first-child .offair-position { color: #b8d9fa; }
.offair-card p[id$="empty"] a { color: #edf5fc; }
h1 span { color: #c5d5e6; }
.radio-intro { color: #a7b8cc; }
.session-label { color: #dcebf9; }
.connection { color: #b7cee4; border-color: #365371; background: #122239; }
.status-dot { background: #a7b8cc; }
.connection.live { color: #d4eee3; background: #193d39; border-color: #5b9e88; }
.connection.live .status-dot { background: #a7d8c3; box-shadow: 0 0 0 3px rgba(147,199,180,.12); }
.connection.stale { color: #e4be82; border-color: #7c694a; }
.connection.stale .status-dot { background: #e4be82; }
.chip { color: #dcebf9; border-color: #2c4561; background: #182c45; }
.chip.muted { color: #a7b8cc; }
.tower { background: #101d31; box-shadow: 0 16px 38px rgba(6,16,29,.25); }
.tower-heading { background: #182c45; border-bottom-color: #365371; }
.tower-brand strong { color: #edf5fc; }
.tower-brand>span { border-left-color: #436384; color: #c5d5e6; }
.update-label, th { color: #a7b8cc; }
td { background: #162a43; }
tbody tr:nth-child(even) td { background: #122239; }
tbody tr.leader td { background: #213c57; }
td.position-cell { border-left-color: #365371; }
.leader td.position-cell { border-left-color: #9fcafa; }
.position { color: #edf5fc; }
.leader .position { background: #9fcafa; color: #14243a; }
.driver-code { color: #edf5fc; }
.driver-name { color: #c5d5e6; }
.row-badge { color: #e4be82; background: #39352d; }
.row-badge.finished { color: #b9dfcd; background: #244139; }
.row-badge.pit { color: #172136; background: #e4be82; }
.row-badge.pit-count { color: #dcebf9; background: #2c4561; }
.row-badge.time-penalty { color: #efd2a1; background: #493d2e; }
.gap { color: #edf5fc; }
.gap.leader-gap { color: #b8d9fa; }
.lap-cell, .tyre { color: #c5d5e6; }
.time, .unknown { color: #a7b8cc; }
.tower-note { color: #a7b8cc; background: #122239; border-top-color: #2c4561; }
.empty-number { color: #365371; }
.empty-state p { color: #a7b8cc; }
.music-card { border-color: #2c4561; border-top-color: #6d9fce; background: #122239; }
.music-card p:not(.eyebrow) { color: #c5d5e6; }
.music-controls button { color: #edf5fc; border-color: #5279dd; background: #365fd1; }
.music-controls button:hover { background: #426dda; }
.music-controls button[aria-pressed="true"] { border-color: #6d9fce; background: #294e74; }
.music-volume, .ers-radio-source { color: #a7b8cc; }
.ers-radio-source select { color: #edf5fc; border-color: #436384; background: #182c45; }
.ers-radio-note a { color: #b8d9fa; }
.timing-footer { color: #a7b8cc; }
.timing-footer strong { color: #dcebf9; }
/* Race-control colours remain distinct and retain their existing meaning. */
.ers-race-control-yellow { color: #172136; background: #e4be82; }
.ers-race-control-cyan { color: #14243a; background: #9fcafa; }
.ers-fastest-lap-badge { color: #e8dcfa; border-color: #b59bd9; background: #43345e; }
