/* ios.css — global iOS/native feel. Safe, additive refinements applied on
 * every page (loaded after the page's own styles). No structural changes. */

html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

/* No blue flash on tap (very webby); native apps have none. */
* { -webkit-tap-highlight-color: transparent; }

/* Momentum scrolling + no scroll chaining, like a native view. */
body { -webkit-overflow-scrolling: touch; overscroll-behavior-y: contain; }

/* Selection uses the active accent. */
::selection { background: var(--accent-bg); color: var(--text); }

/* Tactile press feedback on buttons (iOS-style shrink). */
button, .btn, .lnk, .add-btn, a.arow, .seg button {
  transition: transform .08s ease, background .15s, border-color .15s, color .15s, opacity .15s;
}
button:active, .btn:active, .add-btn:active, a.arow:active, .seg button:active {
  transform: scale(0.97);
}
