/* CrewChase – Token aus dem Designsystem (tokens.css). Nicht von Hand ändern. */
:root, [data-theme="dark"] {
  --bg: #0c0d0f;
  --surface: #16181b;
  --surface-raised: #1f2226;
  --surface-sunken: #2a2e33;
  --line: #2c3035;
  --line-strong: #6b737b;
  --text-1: #f3f5f0;
  --text-2: #aab0b5;
  --text-3: #848b92;
  --text-disabled: #50565c;
  --volt-100: #f4ffd1;
  --volt-300: #e6ff8a;
  --volt-500: #d6ff3d;
  --volt-700: #9cc214;
  --volt-900: #4a6a00;
  --accent: var(--volt-500);
  --accent-pressed: #b9e81f;
  --on-accent: #0c0d0f;
  --accent-text: var(--volt-500);
  --progress: var(--volt-500);
  --on-progress: #0c0d0f;
  --accent-a8: rgba(214, 255, 61, 0.08);
  --accent-a16: rgba(214, 255, 61, 0.16);
  --accent-a24: rgba(214, 255, 61, 0.24);
  --accent-a40: rgba(214, 255, 61, 0.4);
  --focus: var(--volt-500);
  --success: #58e0a6;
  --success-subtle: rgba(88, 224, 166, 0.14);
  --warning: #ffb648;
  --warning-subtle: rgba(255, 182, 72, 0.14);
  --danger: #ff5340;
  --danger-subtle: rgba(255, 83, 64, 0.14);
  --info: #8ab4ff;
  --info-subtle: rgba(138, 180, 255, 0.14);
  --on-danger: #0c0d0f;
  --danger-led: #ff5340;
  --chart-self: var(--progress);
  --chart-1: #1fb0e6;
  --chart-2: #ff4fa8;
  --chart-3: #ff9440;
  --chart-muted: #4a5056;
  --chart-focus: #f3f5f0;
  --chart-goal: #848b92;
  --chart-grid: #22262a;
  --team-a: #38d3ff;
  --team-b: #ff4fa8;
  --on-team-a: #0c0d0f;
  --on-team-b: #0c0d0f;
  --rank-1: var(--accent);
  --rank-podium: #2a2e33;
  --day-hit: var(--progress);
  --day-miss: #2a2e33;
  --day-nodata: #0c0d0f;
  --scrim: rgba(0, 0, 0, 0.65);
  --ad-surface: #24272c;
  --ad-line: #3a3f45;
  --avatar-1: #2b3540;
  --avatar-2: #3a2b38;
  --avatar-3: #2f3a2a;
  --avatar-4: #3d3424;
  --avatar-5: #263a3a;
  --avatar-6: #35304a;
  --auth-apple-bg: #ffffff;
  --auth-apple-fg: #000000;
  --auth-google-bg: #131314;
  --auth-google-fg: #e3e3e3;
  --auth-google-line: #8e918f;
  --sim-wallpaper: #2a3440;
  --sim-tint: #9cc3ff;
  --sim-tint-bg: #1f2a38;
  --sim-dyn-surface: #22281b;
  --sim-dyn-primary: #b4d48c;
  --sim-dyn-on: #e3e8d6;
  --sim-device: #000000;
  --sim-lock-bg: rgba(255, 255, 255, 0.18);
  --sim-lock-track: rgba(255, 255, 255, 0.30);
  --sim-lock-fg: #ffffff;
}
[data-theme="light"] {
  --bg: #eef0ea;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-sunken: #e2e5dd;
  --line: #dcdfd7;
  --line-strong: #858b80;
  --text-1: #0c0d0f;
  --text-2: #4c535a;
  --text-3: #585f66;
  --text-disabled: #a3a89f;
  --accent: var(--volt-500);
  --accent-pressed: #c2ef20;
  --accent-text: var(--volt-900);
  --progress: #0c0d0f;
  --on-progress: #ffffff;
  --accent-a8: rgba(214, 255, 61, 0.22);
  --accent-a16: rgba(214, 255, 61, 0.4);
  --accent-a24: rgba(214, 255, 61, 0.55);
  --accent-a40: rgba(214, 255, 61, 0.75);
  --focus: #0c0d0f;
  --success: #0f7a52;
  --success-subtle: #e2f4ea;
  --warning: #8a5a00;
  --warning-subtle: #f7ecd6;
  --danger: #c8321d;
  --danger-subtle: #fbe6e2;
  --info: #1f5fbf;
  --info-subtle: #e3ecfb;
  --on-danger: #ffffff;
  --chart-self: var(--progress);
  --chart-1: #00739a;
  --chart-2: #b8126a;
  --chart-3: #a94b00;
  --chart-muted: #b9bdb4;
  --chart-focus: #00739a;
  --chart-goal: #585f66;
  --chart-grid: #e6e8e2;
  --team-a: #00739a;
  --team-b: #e0459a;
  --on-team-a: #ffffff;
  --on-team-b: #0c0d0f;
  --rank-1: var(--accent);
  --rank-podium: #e2e5dd;
  --day-hit: var(--progress);
  --day-miss: #e2e5dd;
  --day-nodata: #eef0ea;
  --scrim: rgba(12, 13, 15, 0.45);
  --ad-surface: #e3e6de;
  --ad-line: #c7cbc2;
  --avatar-1: #dde8f0;
  --avatar-2: #f0dde9;
  --avatar-3: #e2ecd8;
  --avatar-4: #efe4d0;
  --avatar-5: #d6eceb;
  --avatar-6: #e4e0f2;
  --auth-apple-bg: #000000;
  --auth-apple-fg: #ffffff;
  --auth-google-bg: #ffffff;
  --auth-google-fg: #1f1f1f;
  --auth-google-line: #747775;
  --sim-wallpaper: #9aa6b2;
  --sim-dyn-surface: #e9eedc;
  --sim-dyn-primary: #4b6a2b;
  --sim-dyn-on: #1a1d14;
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --radius-xs: 3px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --radius-device: 44px;
  --radius-widget: 22px;
  --line-hairline: 1px;
  --line-mark: 1.5px;
  --line-emphasis: 2px;
  --size-touch: 44px;
  --size-icon: 24px;
  --size-bar: 8px;
  --size-bar-lg: 14px;
  --size-page-min: 320px;
  --size-page: 390px;
  --size-widget-s: 158px;
  --size-dot: 8px;
  --size-widget-m: 338px;
  --size-lock: 72px;
  --size-lock-w: 160px;
  --size-screen: 844px;
  --size-status: 54px;
  --size-status-android: 36px;
  --size-home: 34px;
  --size-tabbar: 56px;
  --size-header: 52px;
  --size-avatar-xs: 20px;
  --size-avatar-sm: 28px;
  --size-avatar-md: 40px;
  --size-avatar-lg: 56px;
  --size-avatar-xl: 96px;
  --size-banner: 56px;
  --size-mrec-w: 300px;
  --size-mrec-h: 250px;
  --size-switch-w: 52px;
  --size-switch-h: 32px;
  --size-check: 22px;
  --size-web-container: 1200px;
  --size-web-text: 680px;
  --size-web-header: 72px;
  --size-web-desktop: 1280px;
  --size-appicon: 120px;
  --duration-fast: 120ms;
  --duration-base: 220ms;
  --duration-move: 320ms;
  --duration-winner: 1200ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif-condensed, sans-serif;
}
.num-xl { font-family: var(--font-display); font-size: 96px; line-height: 88px; font-weight: 800; letter-spacing: -1px; }
.num-lg { font-family: var(--font-display); font-size: 54px; line-height: 50px; font-weight: 800; }
.num-md { font-family: var(--font-display); font-size: 24px; line-height: 26px; font-weight: 800; }
.rank { font-family: var(--font-display); font-size: 44px; line-height: 44px; font-weight: 800; font-style: italic; }
.title-1 { font-family: var(--font-display); font-size: 40px; line-height: 40px; font-weight: 800; letter-spacing: 0.5px; font-style: italic; }
.title-2 { font-family: var(--font-display); font-size: 22px; line-height: 24px; font-weight: 800; letter-spacing: 0.5px; font-style: italic; }
.web-display { font-family: var(--font-display); font-size: 88px; line-height: 80px; font-weight: 800; letter-spacing: 0.5px; font-style: italic; }
.web-display-sm { font-family: var(--font-display); font-size: 52px; line-height: 48px; font-weight: 800; letter-spacing: 0.5px; font-style: italic; }
.web-h2 { font-family: var(--font-display); font-size: 48px; line-height: 46px; font-weight: 800; letter-spacing: 0.5px; font-style: italic; }
.web-num { font-family: var(--font-display); font-size: 72px; line-height: 64px; font-weight: 800; font-style: italic; }
.web-lead { font-family: var(--font-sans); font-size: 20px; line-height: 30px; font-weight: 400; }
.web-body { font-family: var(--font-sans); font-size: 17px; line-height: 28px; font-weight: 400; }
.web-h3 { font-family: var(--font-sans); font-size: 22px; line-height: 28px; font-weight: 700; }
.title-3 { font-family: var(--font-sans); font-size: 17px; line-height: 22px; font-weight: 600; }
.body { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 400; }
.body-sm { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 400; }
.label { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.1px; }
.overline { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 1.2px; }
/* Hell nach Systemeinstellung. Bereiche mit data-theme="dark" bleiben dunkel. */
@media (prefers-color-scheme: light) {
:root:not([data-theme="dark"]) {
  --bg: #eef0ea;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-sunken: #e2e5dd;
  --line: #dcdfd7;
  --line-strong: #858b80;
  --text-1: #0c0d0f;
  --text-2: #4c535a;
  --text-3: #585f66;
  --text-disabled: #a3a89f;
  --accent: var(--volt-500);
  --accent-pressed: #c2ef20;
  --accent-text: var(--volt-900);
  --progress: #0c0d0f;
  --on-progress: #ffffff;
  --accent-a8: rgba(214, 255, 61, 0.22);
  --accent-a16: rgba(214, 255, 61, 0.4);
  --accent-a24: rgba(214, 255, 61, 0.55);
  --accent-a40: rgba(214, 255, 61, 0.75);
  --focus: #0c0d0f;
  --success: #0f7a52;
  --success-subtle: #e2f4ea;
  --warning: #8a5a00;
  --warning-subtle: #f7ecd6;
  --danger: #c8321d;
  --danger-subtle: #fbe6e2;
  --info: #1f5fbf;
  --info-subtle: #e3ecfb;
  --on-danger: #ffffff;
  --chart-self: var(--progress);
  --chart-1: #00739a;
  --chart-2: #b8126a;
  --chart-3: #a94b00;
  --chart-muted: #b9bdb4;
  --chart-focus: #00739a;
  --chart-goal: #585f66;
  --chart-grid: #e6e8e2;
  --team-a: #00739a;
  --team-b: #e0459a;
  --on-team-a: #ffffff;
  --on-team-b: #0c0d0f;
  --rank-1: var(--accent);
  --rank-podium: #e2e5dd;
  --day-hit: var(--progress);
  --day-miss: #e2e5dd;
  --day-nodata: #eef0ea;
  --scrim: rgba(12, 13, 15, 0.45);
  --ad-surface: #e3e6de;
  --ad-line: #c7cbc2;
  --avatar-1: #dde8f0;
  --avatar-2: #f0dde9;
  --avatar-3: #e2ecd8;
  --avatar-4: #efe4d0;
  --avatar-5: #d6eceb;
  --avatar-6: #e4e0f2;
  --auth-apple-bg: #000000;
  --auth-apple-fg: #ffffff;
  --auth-google-bg: #ffffff;
  --auth-google-fg: #1f1f1f;
  --auth-google-line: #747775;
  --sim-wallpaper: #9aa6b2;
  --sim-dyn-surface: #e9eedc;
  --sim-dyn-primary: #4b6a2b;
  --sim-dyn-on: #1a1d14;
}
}
