.social-auth-options{width:100%;max-width:560px;margin:0 auto 18px;padding:20px;border:1px solid #45464d;border-radius:16px;background:#202126;color:#f4f4f6;box-sizing:border-box}.social-auth-options>p{margin:0 0 12px;font-weight:600}.social-auth-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:10px}.social-auth-grid form{margin:0;min-width:0}.social-provider{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;padding:10px 14px;border:1px solid #555861;border-radius:10px;background:#292b31;color:#fff;font:600 15px/1.4 system-ui;cursor:pointer}.social-provider:hover{border-color:#e6bc55;background:#343138}.social-provider:focus-visible{outline:3px solid #f3cb6a;outline-offset:3px}.social-provider-icon{display:inline-grid;place-items:center;width:24px;height:24px;flex-shrink:0;border-radius:6px;background:#41444f;color:#fff}.social-auth-options .social-auth-hint{margin:14px 0 0;font-size:13px;line-height:1.6;font-weight:400;color:#b8bdc9}.social-auth-options a,.social-completion a{color:#f1cc77}.social-manage-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:18px}.social-completion{display:grid;gap:16px;margin-block:20px}.social-completion label{display:grid;gap:8px;line-height:1.6}.social-completion input:not([type=checkbox]){width:100%;min-height:46px;padding:10px;border:1px solid #575b66;border-radius:8px;background:#16181d;color:#fff;box-sizing:border-box;font:inherit}.social-completion button{min-height:48px;padding:12px 18px;background:#e7c269;border:1px solid #e7c269;border-radius:10px;color:#1a1b1f;font:600 15px/1.4 system-ui;cursor:pointer}.social-completion .social-check{display:block}.social-completion .social-check input{width:18px;height:18px;vertical-align:middle}.social-manage-grid summary{cursor:pointer;min-height:44px;align-content:center}.social-completion button:focus-visible,.social-completion input:focus-visible{outline:3px solid #f2d795;outline-offset:2px}@media(max-width:500px){.social-auth-options{padding:16px}.social-auth-grid{grid-template-columns:1fr}.social-completion input:not([type=checkbox]){font-size:16px}}

.social-auth-grid{grid-template-columns:1fr}.social-auth-grid form{display:flex}.social-provider{min-height:48px;background:#131314;color:#e3e3e3;border-color:#8e918f;font:500 14px/20px Arial,sans-serif;padding:10px 12px}.social-provider-icon{width:24px;height:24px}.social-provider[data-provider=google] .social-provider-icon{background:#fff;border-radius:4px}.social-provider-icon img{width:20px;height:20px;object-fit:contain}.social-provider:hover{background:#252527;border-color:#bfc3c1}.social-auth-options{max-width:560px}

@font-face{font-family:GoogleSansAuth;src:url('/webfonts/google-sans-auth.ttf?v=20261025') format('truetype');font-weight:500;font-display:swap}.social-provider{font-family:GoogleSansAuth,Arial,sans-serif}

.public-auth-body .social-auth-options .social-provider{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;margin:0;width:100%;padding:10px 12px;border:1px solid #8e918f;border-radius:10px;background:#131314;color:#e3e3e3;font:500 14px/20px GoogleSansAuth,Arial,sans-serif;text-shadow:none;box-shadow:none;white-space:normal}.public-auth-body .social-auth-options .social-provider:hover{background:#252527;border-color:#bfc3c1}.public-auth-body .social-auth-options .social-provider:focus-visible{outline:3px solid #f3cb6a;outline-offset:3px}

/* Keep the original login grid and integrate alternative methods into its first card. */
.page-login .public-auth-page>.login-card{min-width:0;width:100%;box-sizing:border-box;margin:0;padding:clamp(20px,3.4vw,34px);border:1px solid rgba(255,255,255,.08);border-radius:var(--border-radius-lg);background:linear-gradient(180deg,rgba(255,255,255,.035),transparent),var(--bg-main);box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
.page-login .login-card>form.auth-form{width:100%;max-width:none;box-sizing:border-box;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.page-login .login-card>.social-auth-options{width:100%;max-width:none;margin:24px 0 0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.page-login .login-card>.social-auth-options>p:first-child{display:flex;align-items:center;gap:12px;margin:0 0 16px;font-size:13px;line-height:1.5;font-weight:500;color:var(--text-secondary)}
.page-login .login-card>.social-auth-options>p:first-child::before,.page-login .login-card>.social-auth-options>p:first-child::after{content:'';flex:1;border-top:1px solid var(--border-color)}
.page-login .social-auth-options .social-auth-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.page-login .social-auth-options .social-auth-hint{text-align:center;margin:14px 0 0;font-size:12px;line-height:1.5}
html.light-theme .page-login .public-auth-page>.login-card{background:#f8fafc;border-color:var(--border-color)}
@media(max-width:520px){.page-login .public-auth-page>.login-card{padding:20px}.page-login .login-card>.social-auth-options{margin-top:22px}}
