:root { font-family: Inter, system-ui, sans-serif; color: #262535; background: #9699a6; }
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
.auth-screen { position: relative; max-width: 454px; min-height: 100dvh; margin: auto; background: #f7f5fa; }
.auth-hero { padding: 0 24px 32px; color: #fff; background: linear-gradient(105deg,#e83d55,#f88d8e); }
.auth-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 58px; }
.auth-top a { font-size: 32px; justify-self: start; line-height: 1; padding: 0 8px 4px 0; }
.auth-top img { width: 130px; }
.auth-top span { justify-self: end; font-size: 14px; }
.auth-hero h1 { margin: 7px 0 11px; font-size: 20px; }
.auth-hero p { margin: 0; font-size: 13px; line-height: 1.35; }
.auth-content { padding: 0 24px 30px; }
.auth-tabs { display: flex; margin-bottom: 31px; }
.auth-tabs button { flex: 1; display: grid; gap: 8px; justify-items: center; padding: 10px 4px; color: #646775; font-weight: 700; background: none; border: 0; border-bottom: 1px solid #ece7ef; }
.auth-tabs button[aria-pressed="true"] { color: #c4304c; border-bottom: 2px solid #d9475e; }
.auth-tabs span, #playerAuth > label span { color: #d9475e; font-size: 21px; }
#playerAuth > label { display: flex; align-items: center; gap: 9px; margin: 0 0 13px; }
#playerAuth > label:not(:first-child) { margin-top: 27px; }
.account-field, .password-field { display: flex; gap: 8px; position: relative; }
#dialCode { background: #fff; border-radius: 9px; padding: 15px 17px; color: #6a6672; }
#playerAuth input:not([type="checkbox"]) { background: #fff; color: #262535; border: 1px solid #f0ebf2; border-radius: 9px; padding: 14px; min-width: 0; width: 100%; }
.password-field input { padding-right: 48px !important; }
.password-field button { position: absolute; right: 4px; inset-block: 2px; border: 0; background: none; color: #636371; width: 42px; }
.auth-options { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 19px; font-size: 13px; color: #666474; }
.auth-options input { accent-color: #d7475c; }
.auth-options button { border: 0; background: none; color: #bc3049; padding: 4px 0; }
#authMessage { color: #a51d38; font-size: 14px; }
.auth-actions { display: grid; gap: 16px; margin: 29px auto 0; max-width: 354px; }
.auth-actions > * { display: block; text-align: center; padding: 11px; border-radius: 40px; font-size: 20px; font-weight: 750; letter-spacing: .08em; }
.auth-actions button { border: 0; color: white; background: linear-gradient(90deg,#d83852,#eb6873); }
.auth-actions button:disabled { opacity: .6; cursor: wait; }
.auth-actions a { color: #bc3049; border: 1px solid #da8290; }
.auth-actions .auth-register { margin: 0; padding: 0; font-size: 14px; font-weight: 500; letter-spacing: normal; }
.auth-actions .auth-register a { border: 0; font-weight: 750; }
.auth-support { position: absolute; bottom: 10px; right: 10px; background: transparent; border: 0; padding: 0; }
.auth-support img { width: 49px; height: 49px; display: block; }
.auth-content { padding-bottom: 65px; }
#authRecovery { max-width: min(90vw, 360px); border: 0; border-radius: 14px; padding: 20px; }
#authRecovery::backdrop { background: #20172888; }
