:root{font-family:-apple-system,BlinkMacSystemFont,"Microsoft YaHei",sans-serif;color:#5d3e23;background:#eee3c5;font-synthesis:none;letter-spacing:0}
*{box-sizing:border-box}
body{margin:0;min-height:100svh;background:repeating-linear-gradient(135deg,transparent 0 12px,#ddca9e12 12px 24px),radial-gradient(ellipse at 20% 5%,#fff9e9,transparent 75%)}
[hidden]{display:none!important}
.registration{min-height:100svh;padding:60px 14px;display:flex;align-items:center;justify-content:center}
.register-panel{width:100%;max-width:510px;overflow:hidden;border:2px solid #775438;border-radius:18px;background:#fff7e5;box-shadow:0 5px 0 #ad8a4c}
.register-hero{position:relative;aspect-ratio:1.8;background:url(register-hero.jpg) center 54%/cover no-repeat;border-bottom:3px solid #b38b46}
.register-hero:after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(transparent,#533119a8);pointer-events:none}
.game-logo{position:absolute;left:8%;top:10%;width:37%;height:auto;z-index:1}
.register-hero p{position:absolute;bottom:9%;left:6%;margin:0;color:#fff4d7;font-size:18px;font-weight:700;z-index:1}
.register-content{padding:28px 24px 26px}
.invite-heading{margin:0 0 13px;color:#a56c2d;font-size:12px;font-weight:700}
h1{margin:0;font-size:26px;line-height:1.3;font-weight:750;overflow-wrap:anywhere}
.register-welcome{margin:15px 0 25px;color:#85715d;font-size:14px;line-height:1.6}
label{display:block;margin-bottom:11px;font-size:14px;font-weight:650;color:#7b6855}
input:not([type=hidden]){display:block;width:100%;height:50px;border:1px solid #c7a87b;border-radius:9px;background:#fffcf4;box-shadow:inset 0 2px 4px #b4a0841a;padding:0 15px;color:#5d3e23;font:inherit;font-size:17px;margin:0 0 21px}
input::placeholder{color:#a58b70}
input:focus-visible,button:focus-visible{outline:3px solid #8baf75;outline-offset:3px}
#register-submit{width:100%;min-height:49px;margin-top:0;border:2px solid #a2672b;border-radius:9px;box-shadow:inset 0 2px #ffe59c,0 3px 0 #92602c;background:linear-gradient(#ffd675,#f4a52c);color:#503311;font:inherit;font-size:16px;font-weight:750;cursor:pointer}
#register-submit:hover{filter:brightness(1.04)}
#register-submit:disabled{opacity:.65;cursor:wait}
#register-error{color:#a12e25;font-size:14px;line-height:1.5;margin:0 0 14px;overflow-wrap:anywhere}
.register-success{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;width:100%;max-width:510px;aspect-ratio:1.48;background:url(register-success.png) center/100% 100% no-repeat;filter:drop-shadow(0 6px 8px #63492716);outline:none;padding:32px}
.register-success h1{font-size:28px}
.success-check{position:relative;display:block;width:62px;height:62px;border:3px solid #809956;border-radius:50%;background:#e7efc1;box-shadow:0 0 0 6px #c7c78066}
.success-check:after{content:"";position:absolute;left:20px;top:13px;width:13px;height:24px;border-right:3px solid #42663d;border-bottom:3px solid #42663d;transform:rotate(35deg)}
@media(min-width:700px){.registration{padding:48px 24px}.register-content{padding:32px}.register-hero p{font-size:22px}h1{font-size:30px}}
@media(max-width:350px){.registration{padding:28px 12px}.register-content{padding:22px 18px}.register-welcome{font-size:13px}}
