/* Visit Space Preview affordance and touch surface. */
body[data-route-page="visit"] #space-render-gallery .gallery-trigger[data-gallery="space-renders"] {
  position: relative;
  isolation: isolate;
}

body[data-route-page="visit"] #space-render-gallery .gallery-trigger[data-gallery="space-renders"] > .gallery-count-badge {
  position: absolute;
  z-index: 2;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  min-height: 32px;
  padding-inline: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.38);
  background: rgba(0,0,0,.82);
  color: #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,.24);
  font: 700 12px/1 var(--font-sans,"Pretendard Variable",Pretendard,-apple-system,"Noto Sans KR",sans-serif);
  letter-spacing: .035em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

body[data-route-page="visit"] #lightbox #lb-img {
  touch-action: pan-y pinch-zoom;
  -webkit-user-drag: none;
  user-select: none;
}

@media (max-width:560px) {
  body[data-route-page="visit"] #space-render-gallery .gallery-trigger[data-gallery="space-renders"] > .gallery-count-badge {
    inset-block-start: 10px;
    inset-inline-end: 10px;
    min-height: 30px;
    padding-inline: 10px;
  }
}

@media (forced-colors:active) {
  body[data-route-page="visit"] #space-render-gallery .gallery-trigger[data-gallery="space-renders"] > .gallery-count-badge {
    border-color: CanvasText;
    background: Canvas;
    color: CanvasText;
    box-shadow: none;
  }
}
