/**
 * Native platform overrides — applied only when running in Capacitor
 * The body gets .platform-native and .platform-ios/.platform-android classes
 * via capacitor-bridge.js
 */

/* iOS: extra top padding for status bar / Dynamic Island */
.platform-ios #app {
  padding-top: env(safe-area-inset-top, 20px);
}

/* Disable pull-to-refresh in native (causes issues with Capacitor WebView) */
.platform-native body {
  overscroll-behavior-y: contain;
}

/* Disable text selection on interactive elements (feels more native) */
.platform-native .nav-tab,
.platform-native .btn,
.platform-native button {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Disable tap highlight color (iOS/Android blue flash) */
.platform-native * {
  -webkit-tap-highlight-color: transparent;
}

/* Smoother scrolling on native */
.platform-native #app {
  -webkit-overflow-scrolling: touch;
}

/* Hide elements that don't make sense in native app context */
.platform-native .pwa-install-prompt,
.platform-native .browser-banner {
  display: none !important;
}
