*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;height:100%;background:#0b0b10;color:#f3f3f7;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;overflow-x:hidden}
button{font:inherit;cursor:pointer;border:0;border-radius:14px;padding:14px 20px;font-weight:700;color:#fff;background:#6c4cff}
button.alt{background:#2a2a38}
.center{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;gap:16px}
h1{margin:0;font-size:clamp(26px,7vw,44px);line-height:1.1}
p{margin:0;max-width:520px;line-height:1.45;color:#c9c9d6}
#fin{position:fixed;inset:0;z-index:9999;background:#0a0a10;display:none;align-items:center;justify-content:center;flex-direction:column;gap:16px;text-align:center;padding:24px}
#fin .big{font-size:74px}
#fin h2{margin:0;font-size:30px}
#fin .row{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
#fin a{display:inline-block;text-decoration:none;color:#fff;background:#25d366;border-radius:14px;padding:14px 20px;font-weight:700}
#fin a.alt{background:#2a2a38}
#start{position:fixed;inset:0;z-index:60;background:#0b0b10}
#fin input{padding:14px;border-radius:12px;border:2px solid #444;background:#14141d;color:#fff;font-size:18px;width:260px;text-align:center}
#fin button{background:#25d366}
#gate{position:fixed;inset:0;z-index:70;background:#0b0b10}
html,body{min-height:100dvh}
