:root { --bg:#16140f; --fg:#e9e2d3; --mute:#9b9384; --acc:#b4522f; --line:#3a352b; }
@media (prefers-color-scheme: light) { :root { --bg:#f6f2e8; --fg:#1d1a14; --mute:#6b6454; --acc:#a2441f; --line:#d8d0bd; } }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.45 system-ui, -apple-system, sans-serif; }
main { max-width: 32rem; margin: 0 auto; padding: max(16px, env(safe-area-inset-top)) 16px 48px; }
h1 { font-size: 1.9rem; margin: 1.2rem 0 .2rem; letter-spacing: .02em; }
h2 { font-size: 1.1rem; margin: 1.6rem 0 .4rem; }
.banner { color: var(--mute); margin-top: 0; }
label { display: block; margin: 1rem 0 .3rem; color: var(--mute); font-size: .9rem; }
input { width: 100%; padding: .8rem; font-size: 1.3rem; background: transparent; color: var(--fg); border: 1px solid var(--line); border-radius: 8px; }
#code { letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
button { margin-top: 1.2rem; min-height: 52px; padding: 0 1.2rem; font-size: 1.05rem; color: #fff; background: var(--acc); border: 0; border-radius: 10px; }
button.danger { background: transparent; color: var(--acc); border: 1px solid var(--acc); }
button.small { min-height: 40px; margin: 0; font-size: .9rem; }
.code { font-size: 2.2rem; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }
ul { list-style: none; padding: 0; margin: 0; }
li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: .7rem 0; border-bottom: 1px solid var(--line); }
li small { color: var(--mute); display: block; }
#msg { min-height: 1.5rem; color: var(--mute); margin-top: 1rem; }
