/* Suppress Chrome's pointer/touch flash while retaining keyboard focus cues. */
html {
  -webkit-tap-highlight-color: transparent;
}

a,
button,
input,
select,
textarea,
summary,
[role="button"],
[tabindex] {
  -webkit-tap-highlight-color: transparent;
}

:focus:not(:focus-visible) {
  outline: none !important;
}

[data-pwa-install][hidden],
.pwa-is-installed [data-pwa-install] {
  display: none !important;
}

@media (max-width: 650px) {
  a {
    -webkit-touch-callout: none;
  }

  body.mobile-search-open {
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  body.mobile-search-open .site-header {
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    transform: none !important;
    will-change: auto !important;
  }

  .mobile-search-menu__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 4, 7, 0.54);
    -webkit-backdrop-filter: blur(14px) saturate(135%);
    backdrop-filter: blur(14px) saturate(135%);
  }

  .mobile-search-menu__panel {
    position: fixed;
    inset: 0;
    background: rgba(7, 8, 11, 0.2);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  .mobile-search-menu__form {
    position: fixed !important;
    top: max(14px, env(safe-area-inset-top));
    right: 12px;
    left: 12px;
    width: auto;
    margin: 0;
    background: rgba(24, 24, 27, 0.68) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    backdrop-filter: blur(22px) saturate(150%);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42), inset 0 1px rgba(255, 255, 255, 0.06);
  }
}

/* ShofSex gold palette: readable labels on accent surfaces. */

