/* VolleyFriends — stylesheet del sito (token dal design system, font self-hosted).
   Fonte: VolleyFriendsDesignSystem/tokens/*.css — mantenere allineato. */

/* ---- Archivo (variable: weight 100-900 + width 62-125%), self-hosted ---- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  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: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Archivo";
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-italic-latin.woff2") format("woff2");
  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: "Archivo";
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-italic-latin-ext.woff2") format("woff2");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-italic-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* ---- Color tokens (brand #007CC3, dark default, light via [data-theme="light"]) ---- */
:root {
  /* Brand blue scale — derived from #007CC3 */
  --blue-50:  #E8F4FB;
  --blue-100: #C5E4F6;
  --blue-200: #93CCEE;
  --blue-300: #5FB3E4;
  --blue-400: #2E97D4;
  --blue-500: #007CC3;
  --blue-600: #006BA8;
  --blue-700: #00588A;
  --blue-800: #084767;
  --blue-900: #063B5C;

  /* Deep-blue dark surfaces. Also the console scale. */
  --court-950: #041520;
  --court-900: #06202F;
  --court-800: #0A2A3F;
  --court-700: #0E3A56;
  --court-line: #1B4A68;
  --court-text: #F2F8FC;
  --court-muted: #86A9BE;

  /* Set point / match point accent */
  --yellow-300: #FFE380;
  --yellow-400: #FFD23D;
  --yellow-500: #FFC400;
  --yellow-600: #E3AC00;
  --on-yellow:  #1A1400;

  /* Light neutrals — blue-tinted ink */
  --ink-900: #0C2B3E;
  --ink-700: #2D4C60;
  --ink-500: #4A6B80;
  --ink-400: #7E99AB;
  --ink-200: #D8E6EE;
  --ink-100: #EAF2F7;
  --ink-50:  #F6FAFC;
  --white:   #FFFFFF;

  /* Status base colors */
  --live-500:  #FF453A;
  --green-500: #2FBF71;
  --green-100: #D8F5E5;
  --red-500:   #FF5D5D;
  --red-100:   #FDE3E3;
  --amber-500: #FFB020;
  --amber-100: #FCEFD3;

  /* Typography */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-score: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --tracking-overline: 0.08em;
  --stretch-display: 115%;

  /* 4px grid */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px;

  --hit-min: 48px;
  --hit-console: 96px;

  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-pill: 999px;

  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-raised: 0 4px 8px rgba(15, 23, 42, 0.10), 0 12px 28px rgba(15, 23, 42, 0.12);
  --shadow-console: 0 8px 24px rgba(0, 0, 0, 0.45);

  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 120ms;
  --dur-med: 200ms;
}

.score, .tnum { font-variant-numeric: tabular-nums; }
