:root{
  --bg:#0b0b0d; --fg:#f6f7fb; --muted:#a1a1aa; --red:#ef4444; --card:#131318; --accent:#ffd166; --border:#23232a;
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Helvetica,Arial,sans-serif;background:var(--bg);color:var(--fg)}
.shell{max-width:900px;margin:0 auto;padding:0 20px}
.site-header{position:sticky;top:0;background:rgba(11,11,13,.7);backdrop-filter:blur(8px);border-bottom:1px solid var(--border);z-index:10}
.site-header .shell{display:flex;align-items:center;justify-content:space-between;height:60px}
.brand{font-weight:800;letter-spacing:.5px}
.brand .dot{color:var(--accent)}
nav a{color:var(--fg);text-decoration:none;margin-left:14px;padding:8px 10px;border-radius:10px}
nav a.active, nav a:hover{background:#1a1a21}
.hero{display:flex;flex-direction:column;align-items:center;gap:14px;padding:32px 0 10px}
.repent-btn{background:transparent;border:0;cursor:pointer;transition:transform .08s ease}
.repent-btn img{width:280px;height:280px}
.repent-btn:active{transform:scale(.98)}
.counter{margin-top:4px;color:var(--muted);font-size:14px}
.result{margin-top:20px;width:100%;background:var(--card);border:1px solid var(--border);border-radius:16px;padding:16px}
.hidden{display:none}
.msg{font-size:18px;line-height:1.4}
.actions{margin-top:12px;display:flex;gap:10px;flex-wrap:wrap}
.button{display:inline-block;padding:10px 14px;border-radius:10px;text-decoration:none;font-weight:600}
.button.primary{background:#ef4444;color:#fff}
.button.secondary{background:#1e1e25;border:1px solid var(--border);color:#fff}
.button.ghost{background:transparent;border:1px dashed var(--border);color:#a1a1aa}
.how{margin:30px 0 10px}
.how h2{margin:0 0 8px}
.how ol{margin:6px 0 12px}
.how .small{color:var(--muted);font-size:12px}
.site-footer{border-top:1px solid var(--border);padding:16px 0;margin-top:24px;color:#a1a1aa;font-size:14px}
.site-footer a{color:#a1a1aa}
