/* theme.css —— 全局设计变量(唯一色值来源;组件内只引用 --fx-* 变量) */ :root { --fx-violet: #6C5CE7; --fx-violet-light: #A78BFA; --fx-blue: #3B82F6; --fx-cyan: #00D2FF; --fx-bg: #F8F9FC; --fx-bg-deep: #060913; --fx-surface: #FFFFFF; --fx-surface-2: #F1F3F8; --fx-surface-glass: rgba(255, 255, 255, 0.72); --fx-text: #111528; --fx-text-2: #5B6178; --fx-text-3: #8A90A6; --fx-line: #E4E7F0; --fx-line-strong: #CDD2E0; --fx-ok: #10B981; --fx-warn: #F59E0B; --fx-bad: #EF4444; --fx-grad: linear-gradient(135deg, var(--fx-violet) 0%, var(--fx-blue) 60%, var(--fx-cyan) 100%); --fx-grad-soft: linear-gradient(135deg, rgba(108, 92, 231, 0.12), rgba(0, 210, 255, 0.10)); --fx-radius: 16px; --fx-radius-sm: 10px; --fx-radius-pill: 999px; --fx-shadow: 0 6px 24px rgba(17, 21, 40, 0.08); --fx-shadow-lg: 0 18px 48px rgba(17, 21, 40, 0.14); --fx-glass: saturate(160%) blur(18px); --fx-font: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif; --fx-mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace; --fx-safe-t: env(safe-area-inset-top, 0px); --fx-safe-b: env(safe-area-inset-bottom, 0px); --fx-safe-l: env(safe-area-inset-left, 0px); --fx-safe-r: env(safe-area-inset-right, 0px); --fx-topbar-h: 56px; color-scheme: light; } @media (prefers-color-scheme: dark) { body { background: #000; } :root { --fx-bg: #060913; --fx-surface: #0E1326; --fx-surface-2: #151B33; --fx-surface-glass: rgba(14, 19, 38, 0.72); --fx-text: #EEF1FA; --fx-text-2: #A7AEC6; --fx-text-3: #6E7691; --fx-line: #232B47; --fx-line-strong: #354066; --fx-shadow: 0 6px 24px rgba(0, 0, 0, 0.4); color-scheme: dark; } } * { box-sizing: border-box; } html, body { margin: 0; padding: 0; } html { -webkit-text-size-adjust: 100%; } body { font-family: var(--fx-font); background: #fff; color: var(--fx-text); font-size: 15px; line-height: 1.5; overscroll-behavior-y: none; -webkit-tap-highlight-color: transparent; } a { color: var(--fx-violet); } button, input, select { font-family: inherit; } .boot { padding: 48px 20px; text-align: center; color: var(--fx-text-3); }