/* DoberInvest Tools: токены темы. Единственное место, где заданы цвета, шрифты и радиусы.
   Эталон: макет владельца (owner-ideas/photo_2026-10-10_00-39-36.jpg): тёмно-синий фон, неоновая бирюза, жёлтые CTA. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/inter-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/inter-lat.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: "Oswald"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url(../fonts/oswald-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url(../fonts/oswald-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/jbm-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/jbm-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2212; }

:root {
  /* фон и поверхности (тёмно-синяя ночь макета) */
  --bg: #04101c;
  --bg-2: #061829;
  --card: #0a1d30;
  --card-2: #0d2438;
  --line: rgba(43, 192, 209, .22);
  --line-strong: rgba(43, 192, 209, .55);
  --glow: 0 0 0 1px rgba(43, 192, 209, .18), 0 0 18px rgba(30, 162, 177, .12);
  /* текст */
  --text: #e8f3f8;
  --muted: #8ea6b8;
  --dim: #5c7487;
  /* акценты бренда */
  --teal: #2bc0d1;
  --teal-2: #1ea2b1;
  --teal-ink: #021219;
  --yellow: #ffe500;
  --yellow-ink: #141100;
  /* цвета рынка: строго по смыслу */
  --up: #00c87a;
  --down: #ff3b3b;
  --warn: #ffb020;
  /* шрифты по ролям */
  --f-head: "Oswald", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --f-text: "Inter", -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  --f-num: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  /* геометрия */
  --r: 12px;
  --r-s: 8px;
  --pad: 14px;
  --nav-h: 58px;
  /* safe area: заполняются из Telegram (contentSafeAreaInset) или env() */
  --sat: max(env(safe-area-inset-top, 0px), var(--tg-content-safe-top, 0px));
  --sab: max(env(safe-area-inset-bottom, 0px), var(--tg-safe-bottom, 0px));
}
