/* Shared by /replay and /leaderboard: the colour schemes (the same as the landing's and /sim's), type and small parts. */
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
:root, [data-theme="mist"] { --bg: #e3e7ee; --fg: 26 33 48; --soft: #5b68c2; --panel: #f4f6f9; }
[data-theme="slate"] { --bg: #263145; --fg: 244 246 250; --soft: #bdc1ed; --panel: #2e3a50; }
[data-theme="peri"] { --bg: #d9dcf3; --fg: 26 33 48; --soft: #4b57b5; --panel: #f5f6fb; }
:root {
  --blue: #4f89b7;      /* Pinch Blue */
  --peri: #bdc1ed;      /* Pinch Periwinkle */
  --muted: rgb(var(--fg) / .55);
  --faint: rgb(var(--fg) / .14);
  --sans: "Instrument Sans", Figtree, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: rgb(var(--fg)); }
body { font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.mark { display: flex; align-items: center; gap: 7px; text-decoration: none; color: inherit; }
.mark svg { height: 24px; width: auto; }
.mark span { font: 700 24px/1 var(--sans); letter-spacing: -0.035em; white-space: nowrap; }
.mark i { font-style: normal; font-weight: 400; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; position: relative; z-index: 5; }
.links { display: flex; gap: 22px; }
.links a { font: 500 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; opacity: .72; }
.links a:hover { opacity: 1; }
.lab { font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tag { display: inline-block; font: 400 11px/1 var(--mono); padding: 4px 7px; border-radius: 999px; border: 1px solid var(--faint); color: var(--muted); white-space: nowrap; }
.empty { color: var(--muted); font: 400 13px/1.5 var(--mono); }
@media (max-width: 640px) { .top { padding: 14px 16px; } .links { gap: 14px; } .mark svg { height: 20px; } .mark span { font-size: 20px; } }
@media (max-width: 479px) { .top { gap: 10px; } .links { gap: 12px; } .links a { font-size: 11px; letter-spacing: .1em; } }
@media (max-width: 359px) { .links a:first-child { display: none; } }
