[x-cloak] { display: none !important; }

html, body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
input, button, textarea { font-family: inherit; }

/* Smooth tap response on iOS */
button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* Big touch targets */
button, input[type="email"], input[type="password"], input[type="text"] { min-height: 44px; }

/* iOS Safari safe area */
header { padding-top: max(env(safe-area-inset-top), 0.75rem); }
main { padding-bottom: max(env(safe-area-inset-bottom), 1rem); }

button { transition: transform 0.08s ease, background-color 0.15s ease; }
button:active { transform: scale(0.97); }

article { transition: background-color 0.2s ease; }

/* Pairing code input — large, monospaced, centered */
input[inputmode="numeric"] { letter-spacing: 0.25em; }

/* Disable Safari's text inflation in landscape */
html { -webkit-text-size-adjust: 100%; }

/* Hide scrollbar in install-to-home mode */
@media (display-mode: standalone) {
  body { user-select: none; }
}
