:root {
  --bg: #0a0a0a;
  --bg2: #141413;
  --ink: #f2f2ee;
  --mid: #8b8b87;
  --line: #262624;
  --hot: #ff5b2e;
  --gold: #ffcf4a;
  --side: clamp(16px, 4vw, 48px);
  --sans: system-ui, -apple-system, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
::selection { background: var(--hot); color: #000; }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }
.mono { font: 600 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mid); }
.hot { color: var(--hot); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--ink); background: var(--ink); color: var(--bg); border-radius: 999px; padding: 10px 20px; font-weight: 700; cursor: pointer; text-decoration: none; transition: transform .15s; }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.hotb { background: var(--hot); border-color: var(--hot); color: #000; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-weight: 700; opacity: 0; transition: .25s; pointer-events: none; z-index: 99; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
