/* MatchedBet.app tokens, copied from the tools app (Oddsmatcher public/theme.css)
   so the site and the app are one brand. Change them in both. Keep semantic
   back/lay and warning colours separate from the brand accent. */
:root {
  color-scheme: light;
  --bg: #F3F8F6;
  --panel: #FFFFFF;
  --panel-2: #EDF3F1;
  --line: #D7E4DF;
  --control-line: #7E9189;
  --text: #142D4E;
  --muted: #536775;
  --accent: #087F5B;
  --accent-dim: #087F5B;
  --on-accent: #FFFFFF;
  --accent-soft: #EFF8F3;
  --hover: #F4F8F7;
  --warn: #895600;
  --bad: #B33446;
  --tf: #28669C;
  --back: #28669C;
  --lay: #945080;
  --back-rgb: 40, 102, 156;
  --lay-rgb: 148, 80, 128;
  --shadow: 0 8px 28px rgb(20 45 78 / 5%);
  --font: "Inter Variable", Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0C151F;
  --panel: #142330;
  --panel-2: #1B2D3B;
  --line: #2B3C49;
  --control-line: #61798D;
  --text: #DCE8F7;
  --muted: #9EB0BF;
  --accent: #46D7AB;
  --accent-dim: #46D7AB;
  --on-accent: #0C151F;
  --accent-soft: #193C37;
  --hover: #1A2C3C;
  --warn: #E7BC64;
  --bad: #FF929E;
  --tf: #8CBDF0;
  --back: #8CBDF0;
  --lay: #E3A8CE;
  --back-rgb: 140, 189, 240;
  --lay-rgb: 227, 168, 206;
  --shadow: 0 8px 28px rgb(0 0 0 / 12%);
}
.brand-link { display: inline-flex; align-items: center; flex: none; }
/* The full 3:1 transparent canvas is retained; neither logo is altered. */
.brand-logo { display: block; width: 204px; height: 68px; object-fit: contain; }
.brand-logo-dark { display: none; }
[data-theme="dark"] .brand-logo-light { display: none; }
[data-theme="dark"] .brand-logo-dark { display: block; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 36px; padding: 7px 11px; margin: 0;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--panel); color: var(--text);
  font: 500 12px var(--font); cursor: pointer; white-space: nowrap;
}
.theme-toggle:hover { background: var(--panel-2); }
.theme-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
:where(button, a, input, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--tf); outline-offset: 3px;
}
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--text); color: var(--bg); border-radius: 8px; }
.skip-link:focus { top: 12px; }
