/* Self-hosted Instrument Sans (UI) and Instrument Serif (brand mark only). */
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./fonts/instrument-sans-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./fonts/instrument-sans-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: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/instrument-serif-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: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/instrument-serif-italic.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;
}

/* Dynasty Ticker density tokens: dark theme. Drop in before styles.css overrides. */
:root {
  /* fonts */
  --font-ui: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-brand: "Instrument Serif", Georgia, serif; /* brand mark only */
  --num: tabular-nums;
  /* type scale (mobile) */
  --fs-xs: 11px;
  --fs-sm: 12px;
  --fs-sm2: 12px;
  --fs-body: 13px;
  --fs-body-lg: 14px;
  --fs-h3: 14px;
  --fs-h2: 15px;
  --fs-h1: 17px;
  --fs-num: 14px; /* row values */
  --fs-num-lg: 18px; /* screen display number */
  --fs-num-xl: 22px; /* max: player value */
  --fw-reg: 400;
  --fw-med: 500;
  --fw-semi: 600;
  --fw-bold: 700;
  --fw-num: 700;
  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-body: 1.45;
  --ls-label: 0.06em; /* uppercase 11px section labels */
  /* spacing: 4px base */
  --sp-0: 0;
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --page-x: 12px;
  --page-x-desk: 24px;
  --stack: 6px;
  --section-gap: 12px;
  --card-pad: 10px;
  --card-pad-compact: 6px 10px;
  /* radius */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-pill: 999px; /* pill only for chips */
  /* controls */
  --btn-h: 32px;
  --btn-h-sm: 28px;
  --btn-h-lg: 36px;
  --btn-px: 12px;
  --btn-fs: 13px;
  --input-h: 32px;
  --chip-h: 26px;
  --tap-min: 44px; /* hit area via ::before / padding, not visual size */
  /* rows */
  --row-h: 40px;
  --row-h-compact: 36px;
  --row-h-dense: 28px;
  --avatar: 24px;
  /* layout */
  --header-h: 44px;
  --content-max: 1120px;
  /* colors (existing develop values) */
  --bg: #0c0c0e;
  --panel: #141416;
  --panel-soft: #1c1c1f;
  --panel-tint: rgba(244, 241, 236, 0.06);
  --line: rgba(244, 241, 236, 0.12);
  --line-strong: rgba(244, 241, 236, 0.32);
  --text: #f4f1ec;
  --muted: #a89e96;
  --muted-strong: #e4dcd4;
  --on-accent: #141210;
  --green: #3dcc8a;
  --green-soft: rgba(61, 204, 138, 0.16);
  --red: #ff7a72;
  --red-soft: rgba(255, 122, 114, 0.16);
  --amber: #f0c36a;
  --violet: #8eb6ff;
  --teal: #e7b4bc;
  --focus: 0 0 0 2px var(--bg), 0 0 0 4px var(--text);
}

@media (min-width: 900px) {
  :root {
    --fs-h1: 18px;
    --fs-num-lg: 20px;
    /* Player value stays the 22px max at every width. */
    --fs-num-xl: 22px;
    --page-x: var(--page-x-desk);
  }
}
