/* Monopoly Arena — shared design variables. Every page (the board stage, the game viewers, the
   tournament tables) reads these names. Change a value here, not in a page.
   Direction: tasteskill "page-is-the-object" (seed in .taste-skill/direction/direction.json): each
   section is the title deed of the Madrid street the token lands on. Palette kept from the game;
   type dealt: Barlow Condensed 700 (the deed's printed caps) + Barlow (text). */

@font-face { font-family: "Barlow Condensed"; src: url("fonts/BarlowCondensed-700-latin-ext.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; 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: "Barlow Condensed"; src: url("fonts/BarlowCondensed-700-latin.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; 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: "Barlow"; src: url("fonts/Barlow-400-latin-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; 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: "Barlow"; src: url("fonts/Barlow-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; 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: "Barlow"; src: url("fonts/Barlow-500-latin-ext.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; 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: "Barlow"; src: url("fonts/Barlow-500-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; 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: "Barlow"; src: url("fonts/Barlow-600-latin-ext.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; 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: "Barlow"; src: url("fonts/Barlow-600-latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; 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; }

/* size-adjusted local fallbacks, used while the webfonts load or if they are blocked, so no headline
   reflows or overflows its band (measured against Barlow on «MONOPOLY ARENA» and a text line) */
@font-face { font-family: "Barlow Condensed Fallback Narrow"; font-weight: 700; size-adjust: 81.5%;
  src: local("Arial Narrow Bold"), local("ArialNarrow-Bold"), local("Nimbus Sans Narrow Bold"), local("NimbusSansNarrow-Bold"), local("Liberation Sans Narrow Bold"), local("LiberationSansNarrow-Bold"), local("Roboto Condensed Bold"), local("RobotoCondensed-Bold"), local("Arial Narrow"), local("Nimbus Sans Narrow"), local("NimbusSansNarrow-Regular"); }
@font-face { font-family: "Barlow Condensed Fallback"; font-weight: 700; size-adjust: 66.6%;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Noto Sans Bold"), local("NotoSans-Bold"), local("Arial"), local("Noto Sans"); }
@font-face { font-family: "Barlow Fallback"; size-adjust: 87.9%;
  src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Liberation Sans"), local("LiberationSans-Regular"), local("Noto Sans"), local("NotoSans-Regular"); }

:root {
  /* the table and the board (the game's own colours) */
  --table: #0d2b22;            /* felt: the ground of every page */
  --table-2: #12392d;          /* one tone step up on the felt (bars, peek strip) */
  --board: #cfe6c6;            /* the board's centre field */
  --board-edge: #0e0f10;       /* the board's black frame and the deed's printed frame */
  --square: #f6f1e4;           /* a square's paper on the board */
  --square-line: #1b1d1f;      /* printed lines on the board and inside tables */

  /* the deed: white card, ink, one neutral step */
  --paper: #ffffff;
  --paper-2: #eeeeea;          /* a neutral tone step (table rows, tiles, quiet buttons) */
  --ink: #0e0f10;
  --ink-2: #4a4d52;
  --muted: var(--ink-2);
  --white: #ffffff;

  /* roles */
  --bg: var(--table);
  --surface: var(--paper);
  --accent: #e0282e;           /* Monopoly red: the one action colour */
  --accent-2: #b81e23;         /* its pressed / hover step */
  --accent-ink: #ffffff;
  --red: var(--accent);
  --red-2: var(--accent-2);

  /* the game's colour groups, the two card decks, and the stops */
  --g-marron: #8b4a2b; --g-celeste: #8fd0ee; --g-rosa: #d93a96; --g-naranja: #f28c1e;
  --g-rojo: #e0282e; --g-amarillo: #f2d13d; --g-verde: #1f9e55; --g-azul: #1e4fb0;
  --suerte: var(--g-naranja);  /* Suerte cards: evidence from the bot games */
  --caja: var(--g-amarillo);   /* Caja de Comunidad cards: evidence from the frontier games */
  --c-estrategia: var(--g-rosa); --c-metodo: var(--g-naranja); --c-partida: var(--g-amarillo); --c-partidas: var(--g-azul);
  /* seats in a replayed game (data colours) */
  --seat-red: #e0282e; --seat-blue: #2f6fde; --seat-green: #1f9e55; --seat-yellow: #e2b100;

  /* type: Barlow Condensed for display (uppercase statements, mixed-case titles), Barlow for text */
  --display: "Barlow Condensed", "Barlow Condensed Fallback Narrow", "Barlow Condensed Fallback", Impact, sans-serif;
  --text: "Barlow", "Barlow Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --step-small: 0.9375rem;                              /* 15px: captions, labels, counts */
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);       /* deed titles, section headings */
  --step-display: clamp(3rem, 1.5rem + 6.5vw, 8rem);    /* the one big line per screen */
  --step-figure: clamp(4.5rem, 2rem + 9vw, 11rem);      /* a number that owns a screen */

  /* geometry: one card radius, square buttons, a printed 4px frame */
  --radius-card: 6px;
  --radius-btn: 0;
  --radius: var(--radius-card);
  --frame-w: 4px;
  --margin: clamp(1rem, 2.5vw, 2rem);
  --gutter: 1.25rem;

  /* motion (references/motion.md §4) */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-exit: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-tap: var(--t-press);
  --t-ui: 240ms;
  --t-reveal: 800ms;
  --t-card: 420ms;             /* a deed is handed over */
  --t-flip: 300ms;             /* one page of a deed flips to the next */
  --t-back: 480ms;             /* the board slides aside / comes back */
  --t-hop: 90ms;               /* per square the token hops */
  --t-roll: 900ms;             /* the dice tumble */
  --t-count: 700ms;            /* numbers counting up */
  --stagger-line: 90ms;
  --stagger-item: 70ms;
}
