/* Centered mobile authentication; existing brand assets remain unchanged. */
.mobile-login-heading { display: none; }
.mobile-username-label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--text); }
.mobile-username-hint { margin: -4px 0 4px; font-size: 13px; line-height: 1.6; color: var(--text-secondary); }
.mobile-auth .g-recaptcha { align-self: center; }
.mobile-auth .btn-dice i { position: static; transform: none; }
.mobile-logout .logout-heading { text-align: center; margin-bottom: 24px; }
.mobile-logout .logout-heading h1 { font-size: 22px; line-height: 1.35; margin-bottom: 10px; }
.mobile-logout .logout-heading p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
.mobile-auth.mobile-logout .login-wrapper { justify-content: center; }

@media (max-width: 600px) {
    .mobile-auth .login-wrapper { padding: 12px 12px 24px; gap: 20px; justify-content: flex-start; min-height: 100svh; }
    .mobile-auth .lang-row { position: static; align-self: stretch; justify-content: flex-end; align-items: center; min-height: 44px; gap: 6px; }
    .mobile-auth .about-btn { margin-right: auto; width: 44px; height: 44px; }
    .mobile-auth .lang-btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: var(--text-secondary); }
    .mobile-auth .lang-btn.active { color: #06212b; }
    .mobile-auth .login-card { width: 100%; max-width: 390px; padding: 24px 20px; border-radius: 20px; }
    .mobile-auth .brand { justify-content: center; margin-bottom: 28px; min-width: 0; }
    .mobile-auth .brand-logo { width: 58px; height: 58px; flex-shrink: 0; }
    .mobile-auth .brand-name { font-size: 25px; overflow-wrap: anywhere; }
    .mobile-auth .brand-tagline { color: var(--text-secondary); line-height: 1.5; }
    .mobile-login-heading { display: block; text-align: center; margin-bottom: 24px; }
    .mobile-login-heading h1 { font-size: 22px; line-height: 1.35; font-weight: 600; margin-bottom: 8px; }
    .mobile-login-heading p { font-size: 14px; line-height: 1.6; color: var(--text-secondary); }
    .mobile-auth .login-form { gap: 16px; }
    .mobile-auth .input-group input { min-height: 54px; padding-top: 15px; padding-bottom: 15px; font-size: 16px; }
    .mobile-login .input-group input { padding-right: 60px; }
    .mobile-auth .input-group.focused { transform: none; }
    .mobile-auth .btn-dice { width: 44px; height: 44px; right: 5px; }
    .mobile-auth .btn-play { min-height: 52px; font-size: 16px; padding: 15px; color: #06212b; }
    .mobile-auth .online-badge { margin-top: 20px; }
    .mobile-auth .terms { flex-wrap: wrap; gap: 12px; line-height: 1.6; }
    .mobile-auth .terms a, .mobile-auth .footer-links a { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; }
    .mobile-auth .login-footer { max-width: 390px; width: 100%; }
    .mobile-auth .footer-links { flex-wrap: wrap; justify-content: center; }
    .mobile-auth .about-modal-close { width: 44px; height: 44px; }
    .mobile-auth .about-modal-content { max-height: calc(100svh - 40px); overflow-y: auto; }
    .mobile-auth .about-header { padding-right: 36px; }
    .mobile-auth .channel-invite { overflow-wrap: anywhere; }
}

@media (max-width: 360px) {
    .mobile-auth .login-card { padding: 22px 16px; }
    .mobile-auth .brand { gap: 12px; }
    .mobile-login-heading h1 { font-size: 20px; }
}
