.telegram-mode body { min-height: 100vh; min-height: 100dvh; }
.telegram-mode .topbar { padding-top: calc(16px + var(--tg-content-safe-area-inset-top, 0px)); }
.telegram-mode #app { padding-bottom: var(--tg-content-safe-area-inset-bottom, 0px); }
.telegram-mode .tagline, .telegram-mode .footer-nav { display: none; }
.telegram-mode .topbar { flex-wrap: wrap; gap: 12px; }
.telegram-mode .brand-text small { font-size: 10px; }
.tg-entry { padding-top: 28px; padding-bottom: 32px; }
.tg-entry h1 { font-size: clamp(26px, 7vw, 38px); margin: 12px 0; }
.tg-entry > p { color: var(--ink-soft); line-height: 1.6; }
.tg-entry .auth-form { margin-top: 24px; }
.tg-entry .auth-field input { width: 100%; min-width: 0; box-sizing: border-box; }
.tg-entry .auth-consent-label { align-items: flex-start; }
.tg-entry .auth-consent-label input { margin-top: 4px; flex-shrink: 0; }
.tg-entry .tg-note { font-size: 13px; margin-top: 24px; }
.telegram-mode .footer { margin-top: 24px; }
.telegram-mode .wrap { overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .telegram-mode .topbar-actions { width: 100%; }
  .telegram-mode .brand-text strong { font-size: 17px; }
  .telegram-mode .auth-modal { max-height: 85dvh; overflow-y: auto; }
}
