/* NO BLUE BOX ON A PHONE (Eden, 2026-10-11: "whenever I type anything on the
   mobile version, there's always a blue box").

   Two causes, both the browser's own defaults rather than anything we drew:
   1. Chrome on Android flashes a translucent blue rectangle (rgba(51,181,229,.4))
      over whatever you tap, inputs and buttons included, unless the page turns
      it off. Every page was leaving it on.
   2. Chrome paints autofilled fields pale blue (or yellow). A transition with an
      absurd duration is the long-standing way to keep the field's own colours,
      and unlike a fixed background it still works in dark mode.
   Focus is NOT removed: each field keeps its own border/ring change when focused,
   which is what tells a keyboard or screen-reader user where they are. */
html, body, * { -webkit-tap-highlight-color: transparent; }
::selection { background: rgba(255, 138, 45, .32); color: inherit; }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active,
textarea:-webkit-autofill, select:-webkit-autofill {
  transition: background-color 600000s 0s, color 600000s 0s;
  caret-color: currentColor;
}
input, textarea, [contenteditable] { -webkit-touch-callout: default; }

/* A THUMB NEEDS 44px (Fluent 2 touch targets, 2026-10-27). The small round buttons keep the size they are
   drawn at; an invisible 44px square sits under each one, the way the browse heart and the password eye
   already did. Only where the pointer is a finger. Neighbours are spaced so their squares do not overlap. */
@media (pointer: coarse) {
  :is(.listing .save, .listing .img .share, .hf-card .img .share, .listing .img .contact, .hf-card .img .contact, .hf-save, .hc-details,
      .tj-acts .tj-ib, .tjm-act, .tjm-tabs a, .pi-btn, .mode, .aud-seg, .nav-signin, .logo,
      .syn-theme-btn, .bell, .noti-h .clr, .thd .x, .tp-composer button, .cmp-top .x, .pl-bar button)::before {
    content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: max(100%, 44px); height: max(100%, 44px);
  }
  :root :is(.tjm-act, .tjm-tabs a, .pi-btn, .mode, .aud-seg, .nav-signin, .logo,
            .syn-theme-btn, .noti-h .clr, .thd .x, .tp-composer button, .cmp-top .x, .pl-bar button) { position: relative; }
  :root .listing .img .share, :root .hf-card .img .share { right: 54px; }
  :root .tj-acts { gap: 10px; }
}
