/* Picture links respond as visual controls, not underlined text links. */
html body.drb-sandbox a:has(img),
html body.drb-sandbox a:has(img):is(:hover,:focus,:active),
html body.drb-sandbox :is(a.drb-service-photo,a.pd-avatar-link,a.ph-avatar,a.drb-photo-edit,a.drb-brand) {
  text-decoration:none!important;
  -webkit-tap-highlight-color:rgba(29,94,135,.13);
}

html body.drb-sandbox :is(a,button,label):has(img) img {
  transition:transform .2s ease,filter .2s ease,box-shadow .2s ease;
}
html body.drb-sandbox .drb-photo-edit .drb-photo-image {
  transition:transform .2s ease,filter .2s ease;
}

@media (hover:hover) and (pointer:fine) {
  html body.drb-sandbox :is(a,button,label):has(img):not(.drb-photo-edit):not([aria-disabled="true"]):not([data-coming-soon]):hover img:not(.drb-wordmark),
  html body.drb-sandbox :is(a.drb-service-photo,a.pd-avatar-link,a.ph-avatar):hover img {
    transform:translateY(-2px) scale(1.02);
    filter:saturate(1.07) contrast(1.02);
    box-shadow:0 9px 20px rgba(19,58,82,.17);
  }
  html body.drb-sandbox .drb-photo-edit:hover .drb-photo-image {
    transform:translateY(-2px) scale(1.02);
    filter:saturate(1.07);
  }
}

html body.drb-sandbox :is(a,button,label):has(img):not(.drb-photo-edit):not([aria-disabled="true"]):not([data-coming-soon]):active img:not(.drb-wordmark),
html body.drb-sandbox :is(a.drb-service-photo,a.pd-avatar-link,a.ph-avatar):active img {
  transform:translateY(1px) scale(.975);
  filter:brightness(.94) saturate(1.04);
  box-shadow:0 3px 9px rgba(19,58,82,.15);
}
html body.drb-sandbox .drb-photo-edit:active .drb-photo-image {
  transform:translateY(1px) scale(.975);
  filter:brightness(.94);
}

html body.drb-sandbox :is(a,button,label):has(img):focus-visible {
  outline:3px solid #2673a3;
  outline-offset:4px;
  border-radius:12px;
}

@media (prefers-reduced-motion:reduce) {
  html body.drb-sandbox :is(a,button,label):has(img) img,
  html body.drb-sandbox .drb-photo-edit .drb-photo-image {
    transition:none;
    transform:none!important;
  }
}
