
/* Android bug hunt (phone screens and the Android app). Finger-sized targets without changing how things look: small icon
   buttons get a larger invisible touch area, small fields and close buttons get a 36 px minimum, small text reads at 12 px. */
@media (pointer: coarse), (max-width: 700px) {
  /* voice channel tools (chat, invite), the channel gear and the drag handle: 19-24 px -> 40 px touch area */
  .vc-tool, .channel-gear-btn, .vc-grab, .pc-badge, #acc-email-reveal, .role-row .icon-btn, .gx-tf-t button, .dmc-tf { position: relative; }
  .vc-tool::after, .channel-gear-btn::after, .pc-badge::after, #acc-email-reveal::after, .role-row .icon-btn::after, .gx-tf-t button::after, .dmc-tf::after { content: ''; position: absolute; inset: -9px; }
  /* close buttons on windows, notices and pop-ups */
  .mc-x, .cc-x, .uxt-x, #toast-container .toast-x { min-width: 36px; min-height: 36px; }
  /* small fields: the friends sort menu, the friends search, the privacy number boxes */
  #gx-fsort-sel, #dm-directory-search-input, #sp-privacy input.input, .feat-chip { min-height: 36px; }
  /* the voice "set a channel status" line and the reply preview above a message */
  .vc-status, .msg-reply { min-height: 32px; }
  /* reactions: 30 -> 34 px high */
  .reaction { min-height: 34px; }
  /* the per-person volume slider in a call: a 16 px track is hard to grab */
  #voice-context-vol-slider { min-height: 32px; }
  /* text under 12 px is hard to read on a phone */
  .ph-tab, .vc-popover label, #sp-dock .sp-sec, .gx-tf-badges span, .gx-tf-ext, .call-rec .cr-time { font-size: 12px !important; }
}
/* notices sit under the phone's top bar, not on it: they covered Back, Chat, Invite and Audio output in a call */
html.ph #toast-container { top: calc(var(--ph-top, 0px) + var(--ph-sat, 0px) + 64px); }
/* phone browsers that cannot capture the screen: no share button that only leads to an error */
html.no-screen-share #call-btn-screen, html.no-screen-share #tile-screen { display: none !important; }
