/* Scoped authentication typography; preserve Gemini layout and 3D. */
.login-eyebrow > span#auth-eyebrow {width:auto;height:auto;background:none;box-shadow:none;border-radius:0;flex:1;line-height:1.7;min-width:0;overflow-wrap:anywhere}
.auth-input-wrap .auth-input {padding-right:48px}
#telegram-auth-open {text-decoration:none;text-align:center;padding:12px 16px;line-height:1.5;white-space:normal}
.identity-panel,.auth-field,.auth-input-wrap {min-width:0}
.wzr-captcha-q {overflow-wrap:anywhere;line-height:1.6}
.btn-toggle-eye {min-width:36px;min-height:40px;right:6px}
#login-lang-select {max-width:150px;background:#0a111c;color:#dce7ef;border:1px solid #d4b87850;border-radius:8px;min-height:36px}
@media(max-width:480px){.login-header{flex-wrap:wrap;gap:12px}.login-header>div{max-width:100%;flex-wrap:wrap}.identity-panel h1{overflow-wrap:anywhere}.auth-nav-row{flex-wrap:wrap;gap:8px}.auth-label{line-height:1.5}}

/* Targeted login layout fix: keep 3D scene and auth behavior unchanged. */
.login-world .scene-index{order:1;flex-shrink:0;line-height:1.6;margin:15px 12px 0;text-align:center;flex-wrap:wrap;row-gap:6px}
.login-world .artifact-caption{order:3;flex-shrink:0;margin:18px 12px 0;line-height:1.6;text-align:center}
.login-world .caption-line{flex-shrink:0}
.login-header>div{min-width:0;flex-wrap:wrap;justify-content:flex-end}
.login-footer{flex-wrap:wrap;line-height:1.6}
@media (min-width:801px) and (max-width:1100px){
  .login-scene{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .identity-panel{width:100%;padding-inline:24px}
  .scene-index{gap:10px}
}

@media(min-width:801px) and (max-width:1100px){.identity-panel:before{inset:-50px 0}}

.login-world .identity-panel:before{inset-block:-50px;inset-inline:0}
html:has(body.login-world){overflow-x:clip}
