/* Selected bundled English wordmark only; license in fonts/russo-one/OFL.txt. */
@font-face{font-family:'Russo One';src:url('/static/fonts/russo-one/RussoOne-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
.brand .league-wordmark{font-family:'Russo One','Arial Black',Impact,sans-serif;font-weight:400;font-style:normal;font-synthesis:none}
/* Shared white/blue presentation. Domain data, team palettes and charts stay intact. */
:root {
  --site-blue: #1768b2;
  --site-blue-dark: #0c579b;
  --site-ink: #223447;
  --site-muted: #596b7d;
  --site-rule: #dbe4ed;
  --site-soft: #f2f7fd;
  background: #fff;
  color: var(--site-ink);
}
body { background: #fff; }
a { color: var(--site-blue-dark); }
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center;
  height: 84px; padding: 18px 28px;
  background: linear-gradient(90deg, #fff 0%, #eef5ff 48%, #cfe2fb 100%);
  border: 0; border-bottom: 1px solid var(--site-rule);
}
.site-header .brand {
  padding: 0; margin: 0; color: var(--site-ink);
  font-size: 16px; font-weight: 600; letter-spacing: 0;
}
.site-header .league-wordmark { font-size: 25px; margin-right: 10px; }
.sidebar {
  inset: 84px auto 0 0; width: 222px; padding: 20px 14px;
  background: #fff; border-right: 1px solid var(--site-rule);
}
.menu, .menu>nav { margin-top: 0; }
.nav-group h2 { color: var(--site-muted); }
.nav-group a { color: #43576b; border-radius: 3px; }
.nav-group a:hover { background: var(--site-soft); color: var(--site-blue-dark); }
.nav-group a[aria-current=page] {
  background: #edf4fd; color: var(--site-blue-dark);
  box-shadow: inset 3px 0 var(--site-blue); font-weight: 700;
}
.workspace, .scores-workspace { margin-left: 222px; padding: 24px 28px 0; }
.workspace main, .scores-workspace main {
  max-width: 1220px; margin: 0 auto; padding: 0 0 18px;
  border: 0; border-radius: 0; box-shadow: none; background: #fff;
  --review-accent: var(--site-blue);
  --review-ink: var(--site-ink);
  --review-muted: var(--site-muted);
  --review-rule: var(--site-rule);
}
.workspace main>h1, .scores-workspace main>h1 {
  position: relative; padding: 0 0 15px; margin: 0 0 24px;
  border-bottom: 1px solid var(--site-rule);
  font-size: 25px; font-weight: 650; line-height: 1.45; letter-spacing: 0;
}
.workspace main>h1::after {
  content: ''; position: absolute; left: 0; bottom: -1px;
  width: 48px; height: 3px; background: var(--site-blue);
}
.workspace main h2:not(.winner-name):not(.match-context-title):not(.quiz-title) {
  border: 0; background: none; padding: 0; margin: 28px 0 12px;
  color: var(--site-ink); font-size: 20px; line-height: 1.5;
}
.workspace main h3 { color: var(--site-ink); }
input, select, button, .button { border-radius: 4px; border-color: #bccbd9; }
button, .button { background: #fff; color: var(--site-blue-dark); }
.workspace button[type=submit], .workspace .wait-primary {
  background: var(--site-blue); border-color: var(--site-blue); color: #fff;
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
#analysis-result:focus { outline-color: var(--site-blue); }
.workspace th { background: var(--site-soft); }
.workspace .notice { background: #f3f7fc; border: 1px solid var(--site-rule); border-radius: 4px; }
.workspace .notice.error { background: #fff0ed; color: #8e3021; border-color: #edc9c0; }
.workspace .notice.warning { background: #fff8ed; color: #7b4e22; border-color: #e6cfaa; }
.workspace details { border-color: var(--site-rule); border-radius: 4px; }
.workspace .match-page-title { background: #f6f9fd; border-radius: 0; }
.workspace .team-option { background: #fff; border-color: var(--site-rule); border-radius: 3px; }
.workspace .team-option:hover { border-color: #7da9d6; }
.workspace .team-option input { accent-color: var(--site-blue); }
/* The team-dot --team-color, result cards and data-series colours are not overridden. */
.workspace .search-wait, .workspace .search-wait[data-state=ready] {
  border-color: #ccdcec; border-radius: 4px; box-shadow: none; background: #f5f9fe;
}
.workspace .wait-mark { display: none; }
.workspace .wait-heading { color: var(--site-ink); }
.workspace .wait-meta, .workspace .wait-intro, .workspace .wait-quiet { color: var(--site-muted); }
.workspace .wait-elapsed { background: #eaf2fc; color: #405d7a; }
.workspace .search-wait[data-state=failed], .workspace .search-wait[data-state=uncertain] {
  background: #fff8ed; border-color: #e6cfaa;
}
.workspace .search-wait[data-state=failed] .wait-heading,
.workspace .search-wait[data-state=uncertain] .wait-heading { color: #7b4e22; }
.workspace footer, footer { color: var(--site-muted); }
@media (min-width: 901px) and (max-width: 1170px) {
  .sidebar { width: 200px; padding-left: 10px; padding-right: 10px; }
  .workspace, .scores-workspace { margin-left: 200px; padding: 22px 20px 0; }
}
@media (max-width: 900px) {
  .site-header { height: 76px; padding: 16px 20px; }
  .site-header .league-wordmark { font-size: 24px; }
  .sidebar { position: static; inset: auto; width: auto; padding: 10px 20px; border: 0; border-bottom: 1px solid var(--site-rule); }
  .menu { margin: 0; }
  .menu>summary { background: #fff; border-color: var(--site-rule); color: var(--site-ink); border-radius: 4px; }
  .workspace, .scores-workspace { margin: 0; padding: 20px 18px 0; }
  .workspace main, .scores-workspace main { padding: 0 0 16px; }
  .workspace main>h1, .scores-workspace main>h1 { font-size: 23px; margin-bottom: 20px; }
}
@media (max-width: 600px) {
  .site-header { padding: 14px 16px; }
  .sidebar { padding: 10px 14px; }
  .workspace, .scores-workspace { padding: 20px 14px 0; }
  .workspace main>h1, .scores-workspace main>h1 { font-size: 22px; }
  .workspace main h2:not(.winner-name):not(.match-context-title):not(.quiz-title) { font-size: 19px; }
  .controls { gap: 10px; }
}
