:root { --bg:#0f1720; --fg:#e6edf3; --card:#18222d; --accent:#1f6feb; --ok:#2ea043; --muted:#8b98a5; }
@media (prefers-color-scheme: light) { :root { --bg:#f6f8fa; --fg:#1f2328; --card:#fff; --muted:#59636e; } }
* { box-sizing: border-box; }
body { margin:0; font-family: system-ui, "Vazirmatn", sans-serif; background:var(--bg); color:var(--fg); }
main { max-width: 640px; margin: 0 auto; padding: 16px; }
h1 { font-size: 1.4rem; }
button { font:inherit; cursor:pointer; border:0; border-radius:10px; padding:12px 16px; background:var(--accent); color:#fff; }
button.ghost { background:transparent; color:var(--fg); border:1px solid var(--muted); }
button.ok { background:var(--ok); }
.deck { display:flex; justify-content:space-between; align-items:center; width:100%; margin:8px 0; background:var(--card); color:var(--fg); text-align:start; }
.muted { color:var(--muted); font-size:.9rem; }
.flash { background:var(--card); border-radius:16px; min-height:200px; display:flex; align-items:center; justify-content:center; padding:24px; text-align:center; font-size:1.3rem; margin:16px 0; cursor:pointer; user-select:none; }
.row { display:flex; gap:8px; }
.row > * { flex:1; }
.bar { height:6px; background:var(--card); border-radius:3px; overflow:hidden; }
.bar > div { height:100%; background:var(--ok); }
