/* The photograph remains the ground for both the hover note and the opened find. */
.hunt-detail { pointer-events: none; }

.hunt-object-dialog {
  width: min(52rem, calc(100% - 2.5rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  border: 0;
  overflow: auto;
  overscroll-behavior: contain;
  background: transparent;
  color: #fff8de;
}
.hunt-object-dialog::backdrop {
  background: radial-gradient(ellipse at center, #0c1b13fa 12%, #0d1c15ee 55%, #102017cf);
  backdrop-filter: blur(6px);
}
.hunt-find-page {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: 3.5rem .5rem 2rem;
}
.hunt-find-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: #233329;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 1px #ead89864;
}
.hunt-find-photo.studio-photo {border-radius: .5rem;}
.hunt-find-location {
  margin: 0 0 .65rem;
  color: #f0d893;
  font: 600 .83rem/1.45 var(--body);
  letter-spacing: .025em;
}
.hunt-find-title {
  margin: 0;
  color: #fff8df;
  font: italic 800 clamp(2.7rem, 5.5vw, 5rem)/.98 var(--display);
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.hunt-find-title:focus { outline: 0; }
.hunt-find-note {
  margin: 1rem 0 0;
  max-width: 38ch;
  color: #fff8eb;
  font: 400 1rem/1.58 var(--body);
}
.hunt-find-price { margin: 1rem 0 0; color: #ffe7a0; font-weight: 600; }
.hunt-find-listing {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: .45rem;
  color: #ffedb4;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .24em;
}
.hunt-find-close {
  position: absolute;
  top: .15rem;
  right: .3rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #f5e7be85;
  border-radius: 50%;
  background: var(--control-fill);
  color: #fff6da;
  font: 400 1.55rem/1 var(--body);
}
.hunt-find-close:hover { background: var(--control-photo-hover); }
.hunt-object-dialog :is(a, button):focus-visible { outline: 2px dotted #ffe48d; outline-offset: 3px; }

@media (max-width: 620px) {
  .hunt-object-dialog { width: min(24rem, calc(100% - 2rem)); }
  .hunt-find-page { grid-template-columns: 1fr; gap: 1.3rem; padding: .75rem .5rem 1rem; }
  .hunt-find-photo { width: min(62vw, 28dvh, 14rem); justify-self: center; }
  .hunt-find-close { top: .2rem; }
  .hunt-find-location { margin-bottom: .4rem; }
  .hunt-find-title { font-size: clamp(2.45rem, 10vw, 3.5rem); }
  .hunt-find-note { margin-top: .7rem; }
}
