*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root, [data-theme="dark"] {
  --bg: #0d1117;
  --bg2: #161b22;
  --card: #1c2128;
  --border: #30363d;
  --text: #e6edf3;
  --text-dim: #8b949e;
  --purple: #7c6ef9;
  --green: #3fb950;
  --red: #f85149;
  --yellow: #d29922;
  --blue: #58a6ff;
}

[data-theme="light"] {
  --bg: #f5f6fa;
  --bg2: #eef0f5;
  --card: #ffffff;
  --border: rgba(0,0,0,0.1);
  --text: #1a1a2e;
  --text-dim: #636e83;
  --purple: #5b4cdb;
  --green: #00b386;
  --red: #d63031;
  --yellow: #e17a00;
  --blue: #0984e3;
}

html, body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-size: 14px;
}

a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }
