:root {
  color-scheme: dark light;
  --bg: #0e0f11;
  --panel: #16181b;
  --line: #26292e;
  --text: #ececee;
  --muted: #8d9199;
  --accent: #ffffff;
  --accent-text: #0e0f11;
  --danger: #ff6b6b;
  --radius: 12px;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f6f7;
    --panel: #ffffff;
    --line: #e2e3e6;
    --text: #151618;
    --muted: #666a72;
    --accent: #151618;
    --accent-text: #ffffff;
    --danger: #c2332f;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.5; -webkit-font-smoothing: antialiased; }
main { max-width: 640px; margin: 0 auto; padding: 48px 16px 96px; }
h1 { font-size: 28px; letter-spacing: -0.02em; margin: 0 0 8px; }
h2 { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin: 32px 0 12px; }
p { margin: 0 0 16px; color: var(--muted); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.card p:last-child { margin-bottom: 0; }
.row { display: flex; align-items: center; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; gap: 12px; justify-content: space-between; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; padding-top: 0; }
.list li:last-child { padding-bottom: 0; }
.list .meta { color: var(--muted); font-size: 13px; text-align: right; }
input { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; margin-bottom: 12px; }
input:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button { font: inherit; font-weight: 600; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
button.primary { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
button.danger { color: var(--danger); border-color: var(--danger); }
button:disabled { opacity: 0.5; cursor: default; }
.code { font: 600 32px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.12em; text-align: center; padding: 20px 0; }
.error { color: var(--danger); margin: 12px 0 0; min-height: 1.5em; }
.pill { font-size: 12px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.stack > * + * { margin-top: 12px; }
a { color: var(--text); }
