:root{
  --bg:#09090a;--surface:#141416;--surface-2:#1b1b1e;--line:#26262a;--line-2:#37373d;
  --text:#f5f5f6;--muted:#a1a1a9;--dim:#6f6f78;
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
*{margin:0}
body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;background:var(--bg);color:var(--text);line-height:1.5;-webkit-font-smoothing:antialiased}
:focus-visible{outline:2px solid var(--text);outline-offset:2px;border-radius:6px}
button{font:inherit;color:inherit;cursor:pointer}
.btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px 18px;border-radius:12px;border:1px solid var(--line-2);background:transparent;font-weight:600;font-size:14.5px;transition:background .2s,transform .15s,opacity .2s}
.btn:active{transform:scale(.98)}
.btn.primary{background:var(--text);color:var(--bg);border-color:var(--text)}
.btn.primary:hover{background:#fff}
.btn.primary:disabled{opacity:.6;cursor:progress}
.btn.ghost:hover{background:rgba(255,255,255,.05)}
.card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:14px 16px}
.card h2{font-size:12.5px;font-weight:600;color:var(--muted);margin-bottom:12px}
.bar{height:6px;border-radius:99px;background:var(--line);overflow:hidden}
.bar i{display:block;height:100%;width:0;background:var(--text);border-radius:99px;transition:width .6s cubic-bezier(.4,0,.2,1)}
.switch{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:14px}
.switch input{position:absolute;opacity:0;pointer-events:none}
.switch span{position:relative;flex:none;width:38px;height:22px;border-radius:99px;background:var(--line-2);transition:background .2s}
.switch span::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:var(--bg);transition:transform .2s,background .2s}
.switch input:checked + span{background:var(--text)}
.switch input:checked + span::after{transform:translateX(16px)}
.switch input:focus-visible + span{outline:2px solid var(--text);outline-offset:2px}
.link{background:none;border:0;padding:4px 0;color:var(--muted);font-size:13px;text-decoration:underline;text-underline-offset:3px}
.link:hover{color:var(--text)}
.link:disabled{opacity:.4;cursor:default;text-decoration:none}
