:root { font-family:'DM Sans',Arial,sans-serif; color:#435572; background:#fbf8f1; font-synthesis:none; }
* { box-sizing:border-box; }
[hidden] { display:none!important; }
body { margin:0; min-height:100dvh; display:grid; place-items:center; padding:24px;
  background:linear-gradient(rgba(128,145,135,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(128,145,135,.035) 1px,transparent 1px),radial-gradient(ellipse at 0 15%,#f1edf7 0,transparent 48%),radial-gradient(ellipse at 100% 90%,#eaf4ed 0,transparent 48%),#faf8f2;
  background-size:40px 40px,40px 40px,100% 100%,100% 100%,100% 100%; }
button,input { font:inherit; }
button { cursor:pointer; }
.account-card { position:relative; width:min(100%,430px); padding:34px 36px 26px; border:2px solid #b9cfbd; background:#fffefa; box-shadow:6px 6px 0 #dfe9e1; }
.card-decoration { display:flex; justify-content:space-between; line-height:1; margin-bottom:18px; font-size:21px; color:#e5b35f; }
.card-decoration span:last-child { color:#c9b8e6; }
h1 { margin:0 0 30px; text-align:center; font:400 clamp(20px,4vw,26px)/1.6 'Press Start 2P',monospace; }
form { display:grid; gap:9px; }
label { font-size:15px; font-weight:800; }
input { width:100%; height:48px; margin-bottom:11px; padding:10px 12px; border:2px solid #cbd4db; outline:0; background:white; color:#435572; }
input:focus { border-color:#9d82bf; box-shadow:3px 3px 0 #e5d8f5; }
.primary-button,.game-link { display:block; width:100%; min-height:52px; margin-top:12px; padding:13px 15px; border:2px solid #465875; background:#c9b8e6; box-shadow:4px 4px 0 #455772; color:#405470; font-weight:800; text-align:center; text-decoration:none; }
.primary-button:hover,.game-link:hover { transform:translate(2px,2px); box-shadow:2px 2px 0 #455772; }
.primary-button:disabled { opacity:.55; cursor:wait; }
.text-button { display:block; margin:20px auto 0; padding:6px; border:0; background:none; color:#63738b; text-decoration:underline; text-underline-offset:3px; font-weight:700; }
.text-button:hover { color:#435572; }
.welcome { margin:0 0 22px; text-align:center; font-size:18px; font-weight:800; overflow-wrap:anywhere; }
.game-link { background:#d8e9df; }
.game-link { display:flex; align-items:center; justify-content:center; height:58px; min-height:58px; padding:0 15px; }
.game-link + .game-link { background:#e9e3f1; }
.game-link.baixie-link { background:#f8eddb; }
.baixie-link img { display:block; width:40px; height:40px; object-fit:contain; image-rendering:pixelated; }
#message { min-height:18px; margin:16px 0 0; text-align:center; color:#b16878; font-size:13px; line-height:1.45; }
@media(max-width:480px) { body { padding:16px; } .account-card { padding:25px 22px 19px; box-shadow:4px 4px 0 #dfe9e1; } h1 { margin-bottom:24px; } }
