/* Shared icon-only dismiss control. Keep the hit target; no selection surface. */
html body button.buyit-close.buyit-close,
html body button.buyit-close.buyit-close:is(:hover,:active,:focus,:focus-visible) {
  appearance:none!important;
  -webkit-appearance:none!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 44px!important;
  box-sizing:border-box!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  max-width:44px!important;
  max-height:44px!important;
  padding:10px!important;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  outline:none!important;
  box-shadow:none!important;
  filter:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  color:#193e5b!important;
  opacity:1!important;
  font-size:0!important;
  line-height:1!important;
  text-shadow:none!important;
  transform:none!important;
  transition:none!important;
  cursor:pointer;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
  -webkit-user-select:none;
  user-select:none;
}
html body button.buyit-close.buyit-close::before,
html body button.buyit-close.buyit-close::after { content:none!important; }
html body button.buyit-close.buyit-close::-moz-focus-inner { border:0; padding:0; }
html body button.buyit-close.buyit-close > svg.buyit-close-icon {
  display:block!important;
  width:24px!important;
  height:24px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
  filter:none!important;
  pointer-events:none;
}
/* Preserve contrast on full-screen photography without a disc or frame. */
html body :is(.property-reels,#discover-entry) button.buyit-close.buyit-close,
html body .photo-lightbox-close.buyit-close.buyit-close {
  color:#fff!important;
}
/* Full-screen dismiss actions use the same left edge as modal headers. */
html body .property-reels .reels-header { padding-left:56px; padding-right:8px; }
html body :is([data-reels-close],[data-entry-close]).buyit-close.buyit-close {
  left:8px!important;
  right:auto!important;
}
html body :is(.property-dialog .dialog-close,.photo-lightbox-close).buyit-close.buyit-close {
  left:14px!important;
  right:auto!important;
}
