/* BG-UI-T1.01 | BIGO ordinary frontend pages only.
   Remove OS/browser touch flash and pointer focus rectangles.
   Preserve intentional .active styles, authored shadows and keyboard focus. */
.page,
.page * {
  -webkit-tap-highlight-color: transparent;
}

/* Pointer focus must not leave a black browser outline after tapping. */
.page :is(a, button, [role="button"], [tabindex]):focus:not(:focus-visible) {
  outline: none;
}

/* Compatibility for touch-only Safari where :focus-visible may be absent.
   Keyboard focus below remains explicitly visible when supported. */
@media (hover: none) and (pointer: coarse) {
  .page :is(a, button, [role="button"], [tabindex]):focus {
    outline: none;
  }
}

/* Visible focus remains for keyboard / accessibility navigation. */
.page :is(a, button, [role="button"], [tabindex]):focus-visible {
  outline: 2px solid #397df8;
  outline-offset: 2px;
}

/* Prevent blue image-drag ghosts when a user drags a game card. */
.page :is(a, button) img {
  -webkit-user-drag: none;
}
