/* Preserve complete wallet amounts in the shared mobile header. */
html[lang="en"] .nav button { white-space: normal; line-height: 1.35; }
html[lang="en"] .budget { overflow-wrap: anywhere; }
html[lang="en"] .auth-switch { line-height: 1.8; }
html[lang="en"] .auth-switch a { display: inline; }
html[lang="en"] .auth-switch-btn { width: 100%; min-height: 42px; margin-bottom: 12px; }
html[lang="en"] .spec-lock { flex-shrink: 0; }
html[lang="en"] .auth-sub,
html[lang="en"] .field-hint,
html[lang="en"] .auth .err { line-height: 1.5; overflow-wrap: anywhere; }
html[lang="en"] .code-row { display: grid; grid-template-columns: minmax(0, 1fr) 116px; }
html[lang="en"] .code-row input { padding-right: 14px; border-radius: var(--radius) 0 0 var(--radius); min-width: 0; }
html[lang="en"] .code-send { position: static; width: 100%; height: 100%; min-height: 44px; padding: 8px; border: 1px solid var(--line); border-left: 0; border-radius: 0 var(--radius) var(--radius) 0; background: var(--field-bg); line-height: 1.4; font-variant-numeric: tabular-nums; }
html[lang="en"] .code-send.is-loading { cursor: wait; }
@media (max-width: 600px) {
  html[lang="en"] .dock button { min-width: 0; padding-inline: 4px; }
  html[lang="en"] .dock button span { font-size: 11px; }
  html[lang="en"] .kind-switch button { gap: 6px; }
}
@media (max-width: 400px) {
  body.in-app .top { gap: 6px; }
  body.in-app .top .spacer { display: none; }
  body.in-app .page-title {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  body.in-app .top-bal { flex: 0 0 auto; overflow: visible; }
}
