/* Design tokens — inspiração esportiva: laranja forte, superfícies limpas, números em destaque */
:root {
  --brand: #fc4c02;
  --brand-strong: #e34402;
  --brand-soft: #fff1ea;
  --on-brand: #ffffff;

  --bg: #f7f7fa;
  --surface: #ffffff;
  --surface-2: #f0f0f5;
  --border: #dfdfe8;
  --text: #242428;
  --text-2: #6d6d78;
  --text-3: #9a9aa6;

  --ok: #1a9e5a;
  --ok-soft: #e6f6ee;
  --err: #d93025;
  --err-soft: #fdecea;
  --warn: #b26a00;

  --radius-s: 6px;
  --radius: 10px;
  --radius-l: 16px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 1px 1px rgba(0, 0, 0, .04);
  --shadow-l: 0 8px 24px rgba(0, 0, 0, .10);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 12px; --fs-s: 14px; --fs-m: 16px; --fs-l: 20px; --fs-xl: 28px; --fs-xxl: 40px;

  --gutter: 16px;
  --max: 960px;
  --topbar-h: 56px;
  --tabbar-h: 64px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #ff5a14;
    --brand-strong: #ff7238;
    --brand-soft: #3a2118;
    --bg: #121214;
    --surface: #1c1c20;
    --surface-2: #26262b;
    --border: #34343b;
    --text: #f2f2f5;
    --text-2: #a9a9b4;
    --text-3: #7c7c88;
    --ok: #3ccf82; --ok-soft: #173326;
    --err: #ff6b5f; --err-soft: #3a1c1a;
    --warn: #f0a640;
    --shadow: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow-l: 0 8px 24px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand: #ff5a14;
  --brand-strong: #ff7238;
  --brand-soft: #3a2118;
  --bg: #121214;
  --surface: #1c1c20;
  --surface-2: #26262b;
  --border: #34343b;
  --text: #f2f2f5;
  --text-2: #a9a9b4;
  --text-3: #7c7c88;
  --ok: #3ccf82; --ok-soft: #173326;
  --err: #ff6b5f; --err-soft: #3a1c1a;
  --warn: #f0a640;
  --shadow: 0 1px 2px rgba(0, 0, 0, .5);
  --shadow-l: 0 8px 24px rgba(0, 0, 0, .5);
  color-scheme: dark;
}
