:root {
  color-scheme: dark;
  --edge: clamp(18px, 3vw, 46px);
  --gold: #f2cb78;
  font-family: "Instrument Sans", "Segoe UI", Arial, sans-serif;
  color: #fffaf0;
}
* { box-sizing: border-box; }
html, body, #pano { width: 100%; height: 100%; margin: 0; }
body { overflow: hidden; background: #263226; }
[hidden] { display: none !important; }
.property {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 60px var(--edge) max(calc(var(--edge) * .88), env(safe-area-inset-bottom));
  width: min(540px, 100%);
  pointer-events: none;
  isolation: isolate;
  text-shadow: 0 1px 9px #0a100bc4;
}
.property::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -18% -15% 0 0;
  background: radial-gradient(ellipse at 0% 100%, #0a150de8 0%, #0d170fa1 39%, transparent 73%);
}
.property h1 {
  margin: 0 0 5px;
  font: 400 clamp(27px, 2.65vw, 43px)/1.06 "Baskervville", Georgia, serif;
  letter-spacing: -.035em;
}
.property p { margin: 0; font-size: clamp(12px, 1vw, 15px); font-weight: 500; letter-spacing: .025em; }
.property p span { color: var(--gold); margin: 0 3px; }
.property small { display: block; margin-top: 5px; font-size: 11px; color: #e6e6d9; }
button { color: inherit; font: inherit; font-weight: 550; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:focus-visible { outline: 3px solid white; outline-offset: 4px; }
button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lot-marker {
  position: absolute; left: 0; top: 0; translate: -50% calc(-100% - 9px);
  display: flex; align-items: center; gap: 7px; justify-content: center;
  padding: 6px 10px 7px 13px; min-height: 34px;
  color: #ffefc9; background: #1b241bec; border: 1px solid #f2cb78de;
  box-shadow: 0 2px 6px #0006; border-radius: 22px;
  font-size: 13px; line-height: 1; white-space: nowrap;
}
.lot-marker::before {
  content: ""; position: absolute; inset: -5px -2px -10px;
}
.lot-marker::after {
  content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 1px #352a17,0 1px 3px #000a;
  left: calc(50% - 3px); top: calc(100% + 6px);
}
.lot-marker:hover { background: #192417; color: white; }
.lot-marker svg { width: 14px; height: 14px; color: var(--gold); }
.tools, .back { position: absolute; top: max(var(--edge), env(safe-area-inset-top)); }
.tools { right: max(var(--edge), env(safe-area-inset-right)); display: flex; gap: 7px; }
.tools button, .back {
  display: inline-flex; align-items: center; justify-content: center;
  background: #18231bcb; border: 1px solid #ffffff69; border-radius: 24px;
  box-shadow: 0 1px 4px #1113;
}
.tools button { width: 42px; height: 42px; padding: 0; }
.tools button:hover, .back:hover { background: #17251cf2; }
.back { left: max(var(--edge), env(safe-area-inset-left)); min-height: 42px; padding: 0 15px 0 13px; gap: 8px; font-size: 13px; }
.sr-only { position: absolute; height: 1px; width: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 650px) {
  .property { padding-bottom: max(22px, env(safe-area-inset-bottom)); }
  .tools button, .back { min-width: 44px; min-height: 44px; }
  .lot-marker { min-height: 39px; }
}
