.strow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.lightchip {
  display: none;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px 0 10px;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.lightchip svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex: none;
}
.lightchip:active {
  background: rgba(255, 255, 255, 0.06);
}
.lightchip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (max-width: 599px) and (orientation: portrait) {
  .lightchip {
    display: inline-flex;
  }
}
@media (max-width: 599px) and (orientation: portrait) {
  .toolbar,
  .findbtn,
  .filterchip {
    transition: transform .16s cubic-bezier(0.2, 0.7, 0.3, 1), opacity .14s;
  }
}
.vtop {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 10px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px 8px;
  pointer-events: none;
}
.vtop .vbadge {
  position: static;
  flex: 0 1 auto;
  max-width: 100%;
}
.vtime {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-left: auto;
  pointer-events: auto;
}
.vclock {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 4px;
  background: rgba(5, 9, 14, 0.55);
  color: #fff;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.vtbtn {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(5, 9, 14, 0.55);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.vtbtn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.vtbtn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (pointer: coarse) {
  .vtbtn {
    min-height: 44px;
  }
}
@media (max-width: 599px) {
  .vtop {
    display: contents;
  }
  .vtop .vbadge {
    position: absolute;
    max-width: calc(100% - 20px);
  }
  .vtime {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 40px;
    margin: 0;
    transform: translateX(-50%);
  }
  .vclock {
    display: none;
  }
}
@media (max-height: 499px) {
  .vtop {
    top: 6px;
    left: 6px;
    right: 6px;
  }
  .vclock {
    display: none;
  }
}
@media (min-width: 1500px) {
  .vclock,
  .vtbtn {
    font-size: 14px;
  }
}
.vinfo-btn,
.iinfo-btn {
  margin-left: auto;
  font:
    italic 700 17px/1 Georgia,
    "Times New Roman",
    serif;
  color: var(--accent);
}
.vinfo-btn[aria-expanded=true],
.iinfo-btn[aria-expanded=true] {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.12);
}
#viewer .ov-head > div:first-child {
  min-width: 0;
  flex: 1 1 auto;
}
#viewer .ov-head h2 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#viewer .vinfo {
  display: none;
}
#viewer.vinfo-on .vinfo {
  display: block;
  margin: 0 0 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
#viewer .vinfo .label {
  margin: 8px 0 2px;
}
#viewer .vinfo .src {
  margin-top: 4px;
}
#viewer .vinfo .vmodes {
  margin-top: 6px;
}
#viewer .ov-foot .vcap {
  margin: 0;
}
.vattr {
  margin: 6px 0 0;
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vlook {
  transition: opacity .6s;
}
.vlook.fade {
  opacity: 0;
}
@media (max-width: 599px) and (orientation: portrait) {
  #viewer {
    display: block;
    padding: 0;
    overflow: hidden;
  }
  #viewer .vstage {
    position: absolute;
    inset: 0;
    min-height: 0;
    border-radius: 0;
    box-shadow: none;
  }
  #viewer .vstage.photo .vframe {
    padding: calc(126px + var(--safe-t)) 8px calc(140px + var(--safe-b));
  }
  #viewer .ov-head {
    position: absolute;
    z-index: 3;
    left: 8px;
    right: 8px;
    top: calc(8px + var(--safe-t));
    min-height: 52px;
    padding: 4px 4px 4px 14px;
    gap: 6px;
    border-radius: 16px;
  }
  #viewer .ov-head .eyebrow {
    display: none;
  }
  #viewer .ov-head h2 {
    font-size: 15px;
  }
  #viewer .ov-dirs {
    position: absolute;
    z-index: 3;
    left: 8px;
    right: 8px;
    top: calc(66px + var(--safe-t));
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 3px;
    margin: 0;
  }
  #viewer .ov-dirs {
    left: 4px;
    right: 4px;
    gap: 0;
  }
  #viewer .dirbtn {
    background: rgba(9, 14, 20, 0.62);
    background-clip: padding-box;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: 12px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px var(--line-strong);
  }
  #viewer .dirbtn.on {
    border-color: transparent;
    box-shadow: inset 0 0 0 1px var(--accent);
  }
  #viewer .dirbtn.off {
    background: rgba(9, 14, 20, 0.35);
    border-style: solid;
    border-color: transparent;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  }
  #viewer .ov-foot {
    position: absolute;
    z-index: 3;
    left: 8px;
    right: 8px;
    bottom: calc(8px + var(--safe-b));
    max-height: 62vh;
    overflow: auto;
    padding: 10px 12px;
    border-radius: 16px;
  }
  #viewer .ov-foot .honest:not(.cover):not(.moved) {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }
  #viewer .vmodes {
    gap: 6px;
    margin-top: 8px;
  }
  #viewer .vmodes .pill,
  #viewer .vmodes .vtbtn {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 4px;
    font-size: 13px;
  }
  #viewer .vmodes .vtbtn {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--line-strong);
  }
  #viewer .vlook {
    bottom: calc(150px + var(--safe-b));
  }
  #viewer .vstage.photo figcaption {
    margin-top: 10px;
  }
}
.vframe .vbalcony {
  position: absolute;
  pointer-events: none;
  border-radius: 6px;
}
.vstage.narrow .vframe .vbalcony {
  border-radius: 3px;
}
.vbal-toggle[aria-pressed=false] {
  color: var(--mute);
}
.vstage.pano {
  cursor: grab;
  touch-action: none;
}
.vstage.pano.dragging {
  cursor: grabbing;
}
.pano-ui {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.pano-compass {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.pano-compass svg {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(5, 9, 14, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.pc-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.25);
  stroke-width: 1;
}
.pc-out {
  fill: none;
  stroke: rgba(232, 194, 122, 0.75);
  stroke-width: 5;
  stroke-linecap: round;
}
.pc-n {
  fill: #e2574c;
}
.pc-s {
  fill: rgba(255, 255, 255, 0.55);
}
.pc-t {
  fill: #fff;
  font:
    700 9px/1 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
.pc-tick {
  stroke: #e8c27a;
  stroke-width: 2;
}
.pc-hd {
  padding: 1px 7px;
  border-radius: 8px;
  background: rgba(5, 9, 14, 0.55);
  color: #fff;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pano-status {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(5, 9, 14, 0.6);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  white-space: nowrap;
}
.pano-mk {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  font: 600 11px system-ui, sans-serif;
  color: #fff;
  text-shadow: 0 0 3px #000, 0 0 2px #000;
  white-space: nowrap;
}
.pano-mk::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto 2px;
  border-radius: 50%;
  border: 2px solid currentColor;
  box-shadow: 0 0 0 1px #000;
}
.pano-mk.sun {
  color: #ffd84a;
}
.pano-mk.lm {
  color: #59e38a;
}
.pano-mk.lm::before {
  width: 2px;
  height: 26px;
  border-radius: 0;
  border: 0;
  background: currentColor;
}
#viewer .ov-dirs.pdirs {
  display: block;
}
.pstrip {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 2px;
}
.pstrip::-webkit-scrollbar {
  display: none;
}
.pchip {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--glass-strong);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.pchip b {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.pchip.on {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(9, 14, 20, 0.85);
}
.pchip .pname {
  font-size: 12.5px;
  color: var(--ink);
  max-width: 46vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pchip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.plvl {
  flex: none;
  padding: 0 2px 0 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
}
.vpano {
  border-color: var(--gold);
}
#viewer .vmodes .pill:not(.enquire) {
  color: var(--ink);
  font-weight: 600;
}
@media (pointer: coarse) {
  .pchip {
    min-height: 44px;
  }
}
@media (max-width: 599px) and (orientation: portrait) {
  #viewer .ov-dirs.pdirs {
    left: 8px;
    right: 8px;
  }
  #viewer .pchip {
    background: rgba(9, 14, 20, 0.62);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  #viewer .pano-compass {
    top: calc(122px + var(--safe-t));
    right: 10px;
    width: 56px;
  }
  #viewer .pano-compass svg {
    width: 56px;
    height: 56px;
  }
  #viewer .pano-status {
    top: 45%;
  }
}
@media (min-width: 1500px) {
  .pchip,
  .pc-hd {
    font-size: 14px;
  }
}
#viewer .vstage.live .v3c {
  top: auto;
  bottom: 10px;
}
#viewer .vreset {
  flex: none;
  display: none;
  align-items: center;
  gap: 5px;
  min-height: 36px;
  padding: 0 10px 0 8px;
  margin-left: auto;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
#viewer.live .vreset {
  display: inline-flex;
}
#viewer .vreset svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
#viewer .vreset:hover {
  border-color: var(--accent);
}
#viewer .vreset:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (pointer: coarse) {
  #viewer .vreset {
    min-height: 44px;
  }
}
@media (max-width: 599px) {
  #viewer .vreset .vr-x {
    display: none;
  }
}
#viewer .vstage.photo {
  touch-action: pan-y;
}
@media (max-width: 599px) and (orientation: portrait) {
  #viewer .vstage.live .v3c {
    top: calc(122px + var(--safe-t));
    bottom: auto;
  }
}
