/* Lane Six race timer: shared tokens and type. Fonts are local so nothing needs the internet. */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/fraunces-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/fraunces-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/fonts/intertight-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/fonts/intertight-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #15191d;
  --deep: #0f1215;
  --panel: #1f2429;
  --card: #2b3137;
  --line: rgba(242, 241, 234, 0.13);
  --line-strong: rgba(242, 241, 234, 0.3);
  --bone: #f2f1ea;
  --muted: #a3a9ae;
  --dim: #6f767c;
  --orange: #e0521c;
  --orange-soft: rgba(224, 82, 28, 0.16);
  --on-accent: #ffffff; /* text on the accent colour */
  --accent-glow: rgba(224, 82, 28, 0.25);
  --done: var(--bone); /* bars for finished stations */
  --ok: #5fbf86;
  --warn: #e8b04a;
  --bad: #ef5a4c;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter Tight', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

/* adidas event look: black ground, the coral red of adidas Malaysia's Adizero Adios Pro 5
   campaign as the one live signal, neutral greys, white type. */
html[data-theme='adidas'] {
  --bg: #050506;
  --deep: #000000;
  --panel: #141416;
  --card: #222226;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.32);
  --bone: #ffffff;
  --muted: #a6a6ab;
  --dim: #6c6c72;
  --orange: #e8344e;
  --orange-soft: rgba(232, 52, 78, 0.2);
  --on-accent: #ffffff;
  --accent-glow: rgba(232, 52, 78, 0.35);
  --done: #9a9aa0;
  --serif: 'Inter Tight', 'Segoe UI', system-ui, -apple-system, sans-serif;
}
html[data-theme='adidas'] .serif {
  font-weight: 700;
  letter-spacing: -0.01em;
}

[hidden] {
  display: none !important;
}

/* An uploaded event logo is drawn in white on dark screens. */
.brand-logo {
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--bone);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

.serif {
  font-family: var(--serif);
}

.eyebrow {
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Six thin lane bars with the team's own lane lit: the lane marker used on every screen. */
.lanebars {
  display: inline-flex;
  gap: 0.18em;
  align-items: stretch;
  height: 1em;
  vertical-align: -0.12em;
}
.lanebars i {
  width: 0.14em;
  background: var(--line-strong);
  border-radius: 1px;
}
.lanebars i.on {
  background: var(--orange);
}

.hidden {
  display: none !important;
}
