/* LobbyG sign-in: centered social entry, original registered logo. */
.header-signin{background:var(--brand-violet);color:#fff;min-height:42px;padding:8px 22px;border-radius:6px;font-size:14px;font-weight:600;white-space:nowrap}
.header-signin[hidden]{display:none}
#modal.auth-modal{width:calc(100% - 32px);max-width:500px;max-height:calc(100dvh - 40px);margin:auto;padding:0;background:#080808;border:1px solid #303030;border-radius:12px;box-shadow:0 28px 100px #0009;overflow:auto}
#modal.auth-modal::backdrop{background:#000b;backdrop-filter:blur(5px)}
.auth-modal .dialog-head{height:58px;padding:16px;display:flex;justify-content:flex-end;background:transparent;position:relative;border:0}
.auth-modal .dialog-head h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.auth-modal .dialog-head .icon-button{width:34px;height:34px;background:#222}
.auth-modal #modal-body{padding:0}
.signin-content{padding:0 40px 26px;text-align:center}
.signin-logo{display:block;width:132px;height:132px;object-fit:contain;margin:-16px auto 2px;filter:none;transform:none}
.signin-content h3{font-size:28px;font-weight:700;line-height:1.5;margin:0 0 10px;color:#fff}
.signin-subtitle{font-size:16px;line-height:1.9;color:#a9a9a9;margin:0 auto;max-width:340px}
.signin-methods{margin-top:32px}
.signin-provider{display:grid;grid-template-columns:28px 1fr 20px;align-items:center;gap:10px;min-height:58px;padding:12px 16px;background:#fff;color:#111;border:1px solid #fff;border-radius:5px;font-size:16px;font-weight:600;text-align:center;transition:background .15s,border-color .15s}
.signin-provider:hover{background:#eee;border-color:var(--brand-pink)}
.signin-provider-icon svg{width:22px;height:22px}.signin-provider b{font-family:Inter,Arial,sans-serif;font-size:15px;font-weight:600}
.signin-chevron{font:26px Arial,sans-serif;color:#555}
.signin-access{font-size:13px;color:#a5a5a5;line-height:1.8;margin:12px 0 0}
.signin-divider{display:flex;align-items:center;gap:16px;margin:24px 0 20px;font-size:14px;color:#a5a5a5}
.signin-divider:before,.signin-divider:after{content:'';height:1px;background:#303030;flex:1}
.signin-browse{min-height:48px;width:100%;border:1px solid #404040;border-radius:5px;font-size:16px;font-weight:500;color:#fff}
.signin-browse:hover{background:#202020;border-color:#777}
.signin-help{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:26px;font-size:14px;color:#a5a5a5}
.signin-help button{padding:4px 0;font-size:14px}.signin-help button:hover{color:#fff;text-decoration:underline}
.signin-session{margin:18px 0 0;font-size:13px;color:#bdbdbd;line-height:1.8}
.signin-footer{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:9px;min-height:76px;padding:18px 24px;border-top:1px solid #2b2b2b;background:#101010;font-size:16px}
.signin-footer button{padding:3px 0;color:var(--brand-pink);font-weight:600;font-size:16px}
.signin-footer button:hover{text-decoration:underline}
@media(max-width:650px){.top-actions{gap:8px}.header-signin{padding:7px 12px;min-height:38px}.top-actions:has(.header-signin:not([hidden]))>.avatar{display:none}#modal.auth-modal{width:100%;max-width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0}.auth-modal[open]{display:flex;flex-direction:column}.auth-modal #modal-body{display:flex;flex:1;flex-direction:column}.signin-content{padding:12px 26px 30px;flex:1}.signin-content h3{font-size:26px}.signin-logo{width:140px;height:140px;margin:0 auto 4px}.signin-methods{margin-top:36px}.signin-footer{padding-bottom:calc(18px + env(safe-area-inset-bottom))}.signin-subtitle{max-width:320px}}
@media(max-width:360px){.signin-content{padding-left:18px;padding-right:18px}.signin-content h3{font-size:23px}.signin-provider{font-size:14px;gap:6px;padding:12px}.signin-provider b{font-size:14px}}

.otp-content{padding-bottom:32px}.otp-form{text-align:start;margin-top:24px}.otp-form input{font:16px Inter,Arial,sans-serif;width:100%;min-height:52px;background:#1b1b1b;border:1px solid #444;border-radius:6px;color:#fff;padding:12px}.otp-form button{min-height:50px}.otp-error{color:#ff9abc;min-height:24px;font-size:14px;line-height:1.6}.otp-tabs{display:flex;border-bottom:1px solid #333;margin-top:24px}.otp-tabs button{flex:1;padding:14px;font-size:16px;border-bottom:2px solid transparent}.otp-tabs button[aria-pressed="true"]{border-bottom-color:var(--brand-pink);color:#fff}.otp-recipient{overflow-wrap:anywhere;font-family:Inter,Arial,sans-serif;text-align:center}.otp-switch{padding:16px;font-size:16px}.otp-content button:disabled{opacity:.45;cursor:not-allowed}.otp-form input[name="code"]{letter-spacing:.3em;text-align:center;font-size:22px}.otp-form .field{font-size:16px}

.google-signin{width:100%;min-height:48px;padding:12px 18px;border:1px solid #747775;border-radius:6px;background:#fff;color:#1f1f1f;font-size:1rem;font-weight:500;cursor:pointer;margin:12px 0}.google-signin:hover{background:#f2f2f2}.google-signin:focus-visible{outline:3px solid #ffbf00;outline-offset:3px}
