html.auth-locked #app,html.auth-locked #battle,html.auth-locked #td,html.auth-locked #modal{visibility:hidden}
.auth-gate{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 50% 0,#4e3520 0,#17120e 56%,#090807 100%);color:#f7e9c5;font:16px system-ui,sans-serif}
.auth-card{width:min(420px,100%);padding:30px 26px;border:1px solid #bd8a4b;border-radius:22px;background:#17120eee;box-shadow:0 20px 70px #000b;text-align:center}.auth-crown{font-size:50px;color:#f2c46c;line-height:1}.auth-card h1{margin:4px 0 2px;font:700 36px Georgia,serif;color:#f2c46c}.auth-lead{margin:0 0 20px;color:#c8bda7}.auth-tabs{display:flex;gap:8px;margin-bottom:18px}.auth-tabs button{flex:1;padding:10px;border:1px solid #795a35;border-radius:10px;background:#211a13;color:#cdbb9e;cursor:pointer}.auth-tabs button.on{background:#b87d34;color:#fff4d7;border-color:#e1b15e}.auth-gate form{display:grid;gap:12px;text-align:left}.auth-gate label{display:grid;gap:5px;color:#cdbb9e;font-size:14px}.auth-gate input{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #765833;border-radius:10px;background:#0d0b09;color:#fff3d7;font-size:16px}.auth-submit{margin-top:4px;padding:12px;border:0;border-radius:11px;background:#c28a40;color:#fff6df;font-weight:700;font-size:16px;cursor:pointer}.auth-error{margin:14px 0 0;color:#ffad93}.auth-gate [hidden]{display:none}
