:root {
  color-scheme: dark;
  --bg: #0f1419;
  --bg-soft: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.15);
  --fg: rgba(255, 255, 255, 0.92);
  --fg-dim: rgba(255, 255, 255, 0.6);
  --accent: #4caf50;
  --warn: #ff9800;
  --danger: #ef4444;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body, #app {
  margin: 0; padding: 0; min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; cursor: pointer; }
button:disabled { opacity: 0.5; cursor: not-allowed; }
