/* Tokens: the colours and fonts. AD Amadora's blue and yellow, as an independent identity. */

:root {
  /* The device's own interface face: San Francisco on Apple, Segoe on Windows,
     Roboto on Android. Sharper than Arial at small sizes, and nothing to download. */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* Neutrals: the grey page, white surfaces on it, and the text on them. */
  --bg: #f1f3f8;
  --surface: #ffffff;
  --surface-2: #f6f8fc; /* a table's head, a row under the pointer */
  --surface-3: #eef1f7; /* a quiet fill: the team badge, a chip */
  --line: #e0e5ef;
  --line-strong: #c5cfe3; /* a field's border, a divider that must show */
  --ink: #172440;
  --muted: #52627c;
  /* The two hands drawn inside the waiting mark's ring, so the ring reads as a clock. */
  --clock-hands: linear-gradient(var(--muted), var(--muted)) 3.85px 1.2px / 1.3px 3.5px no-repeat, linear-gradient(var(--muted), var(--muted)) 3.85px 3.85px / 2.9px 1.3px no-repeat;
  --faint: #8290a8; /* placeholders and the least important text */
  /* The club's identity, and the only colours on screen: navy for the one
     strong block on a page, blue for what can be pressed, pale blue to
     group, yellow for the one main action on a page. */
  --navy: #111c3a;
  --navy-deep: #0c1631;
  --navy-2: #1b2948; /* a raised surface on navy */
  --navy-3: #2a3955; /* a line on navy */
  --on-navy: #ffffff;
  --on-navy-muted: #b9c6e8;
  --blue: #3657d4;
  --blue-deep: #223e9e;
  --blue-soft: #eef2ff; /* a blue tint behind blue text */
  --blue-line: #d3dcf7;
  --yellow: #fff13b;
  --yellow-hover: #fff7a1;
  --yellow-soft: #fff8c4;
  /* How something stands. Only a problem has a colour, the red dot (blocks
     play, overdue). Waiting on you is a clock outline, done is a tick or
     plain text (blocks.css). The ok and warn values are kept for screens
     not yet on the library; the guard test retires them screen by screen. */
  --ok: #217d56;
  --ok-bg: #e6f5ed;
  --ok-dot: #2f9e6b;
  --warn: #785612;
  --warn-bg: #fff4ce;
  --warn-dot: #e0a43a;
  --problem: #b42318;
  --problem-bg: #fde8e6;
  --problem-dot: #d1453b;
  /* The referee's cards, as on the pitch. */
  --card-yellow: #f5c400;
  --card-red: #d33c3c;
  /* Age groups: a ramp of the brand's blues, light to dark as the players
     grow, with a shape on the badge as a second cue (blocks.css), so two
     neighbouring groups never rely on shade alone. No other hues: colour is
     the brand's, and red alone means a problem. */
  --age-7-bg: #eef2ff; --age-7: #223e9e;
  --age-9-bg: #d3dcf7; --age-9: #172440;
  --age-11-bg: #a9b9ee; --age-11: #111c3a;
  --age-13-bg: #6f88e0; --age-13: #ffffff;
  --age-15-bg: #3657d4; --age-15: #ffffff;
  --age-17-bg: #223e9e; --age-17: #ffffff;
  --age-19-bg: #111c3a; --age-19: #ffffff;
  /* Charts in the admin area. */
  --orange: #b05c21;
  /* Operational typography: one family and a small, accessible scale. */
  --text-small: .8125rem;
  --text-body: .9375rem;
  --text-label: .875rem;
  --text-control: .875rem;
  --text-input: 1rem;
  --text-subheading: 1rem;
  --text-heading: 1.125rem;
  --text-title: 2rem;
  --text-title-phone: 1.625rem;
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --control-height: 2.75rem;
  --control-height-sm: 2.25rem;
  --control-height-lg: 3.25rem;
  /* Corners: controls, white panels, the one navy block. */
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 18px;
  /* A panel sits on the grey page by a soft shadow, not a border. */
  --shadow: 0 1px 2px rgb(17 28 58 / 6%);
  --line-soft: #e9edf4; /* between the lines of a list */
  --display: Impact, "Arial Narrow", Arial, sans-serif;
}
