/* Falcon Dron 360 tour — styles */

:root {
  --accent: #E9A23B;          /* main color: change to your logo color */
  --accent-ink: #2A1A02;      /* icon color on the accent */
  --glass: rgba(14, 16, 20, 0.55);
  --glass-strong: rgba(14, 16, 20, 0.82);
  --line: rgba(255, 255, 255, 0.16);
  --white: #ffffff;
  --font: "Noto Sans Georgian", "Noto Sans", "Segoe UI", system-ui, -apple-system, "DejaVu Sans", sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-user-select: none;
  user-select: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: var(--font);
  font-size: 15px;
  background: #000;
  color: var(--white);
}

a, a:hover, a:active, a:visited { text-decoration: none; color: inherit; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }

#pano { position: absolute; inset: 0; overflow: hidden; }

.svg-icon { display: block; width: 100%; height: 100%; }

/* ---------- Top bar ---------- */

.ui-btn {
  position: absolute;
  top: 14px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 20;
  transition: background .2s, border-color .2s;
}
.no-touch .ui-btn:hover { background: var(--glass-strong); border-color: rgba(255,255,255,.35); }
.ui-btn .icon { display: block; width: 100%; height: 100%; }
.ui-btn .icon.on { display: none; }
.ui-btn.enabled .icon.on { display: block; }
.ui-btn.enabled .icon.off { display: none; }

#sceneListToggle { left: 14px; }
#fullscreenToggle { right: 14px; display: none; }
body.fullscreen-enabled #fullscreenToggle { display: block; }
#autorotateToggle { right: 14px; }
body.fullscreen-enabled #autorotateToggle { right: 64px; }

/* language switch: ქარ | EN | RU */
#langSwitch {
  position: absolute;
  top: 14px;
  right: 64px;
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 20;
}
body.fullscreen-enabled #langSwitch { right: 114px; }
.lang-seg {
  height: 34px;
  min-width: 42px;
  padding: 0 10px;
  border-radius: 9px;
  font: 600 13px/34px var(--font);
  letter-spacing: .3px;
  color: rgba(255,255,255,.78);
  transition: background .15s, color .15s;
}
.no-touch .lang-seg:hover { background: rgba(255,255,255,.1); color: #fff; }
.lang-seg.current, .no-touch .lang-seg.current:hover { background: var(--accent); color: var(--accent-ink); }

#titleBar {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 420px);
  z-index: 15;
  pointer-events: none;
}
body.fullscreen-enabled #titleBar { max-width: calc(100% - 520px); }

#titleBar .sceneName {
  margin: 0;
  height: 42px;
  line-height: 40px;
  padding: 0 20px;
  border-radius: 21px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* ---------- Scene list ---------- */

#sceneList {
  position: absolute;
  top: 66px;
  left: 14px;
  width: 270px;
  max-height: calc(100% - 92px);
  overflow-y: auto;
  padding: 8px;
  border-radius: 16px;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  z-index: 18;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-16px);
  transition: opacity .25s, transform .25s, visibility 0s .25s;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.25) transparent;
}
#sceneList.enabled {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition: opacity .25s, transform .25s, visibility 0s;
}
#sceneList .scenes { list-style: none; margin: 0; padding: 0; }
#sceneList .scene { display: block; }
#sceneList .group-title {
  padding: 12px 12px 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--accent);
}
#sceneList .group-title:first-child { padding-top: 6px; }
#sceneList .scene .text {
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255,255,255,.82);
  transition: background .15s, color .15s;
}
.no-touch #sceneList .scene:hover .text { background: rgba(255,255,255,.08); color: #fff; }
#sceneList .scene.current .text {
  background: rgba(233, 162, 59, .18);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--accent);
}

/* ---------- View control buttons ---------- */

#viewControls {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 6px;
  padding: 6px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 15;
}
body.view-control-buttons #viewControls { display: flex; }
@media (max-width: 600px) { body.view-control-buttons #viewControls { display: none; } }
.viewControlButton {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 9px;
  transition: background .15s;
}
.no-touch .viewControlButton:hover { background: rgba(255,255,255,.12); }
.viewControlButton .icon { display: block; width: 100%; height: 100%; }

/* ---------- Same room, other photo (curtains) ---------- */

.variant-btn {
  position: absolute;
  left: 50%;
  bottom: 70px;
  transform: translate(-50%, 10px);
  display: flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 20px 0 14px;
  border-radius: 23px;
  font: 500 15px/1 var(--font);
  color: var(--accent-ink);
  background: var(--accent);
  z-index: 16;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, transform .25s, visibility 0s .25s, filter .15s;
}
.variant-btn.visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s, transform .25s, visibility 0s, filter .15s; }
.variant-btn .svg-icon { width: 24px; height: 24px; }
.no-touch .variant-btn:hover { filter: brightness(1.08); }
.mobile .variant-btn { bottom: 64px; }

/* ---------- Credit ---------- */

#credit {
  position: absolute;
  right: 14px;
  bottom: 16px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: .3px;
  color: rgba(255,255,255,.75);
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 15;
}
.no-touch #credit:hover { color: #fff; }

/* ---------- Hotspot base: round button + label ---------- */

@keyframes hs-pulse {
  0%   { transform: scale(1);   opacity: .65; }
  100% { transform: scale(1.75); opacity: 0; }
}

.link-hotspot, .info-hotspot {
  width: 48px;
  height: 48px;
  margin-left: -24px;
  margin-top: -24px;
  cursor: pointer;
}

.hs-btn {
  position: relative;
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 50%;
  color: #fff;
  background: var(--glass);
  border: 1.5px solid rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.hs-pulse {
  position: absolute;
  inset: -1.5px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.85);
  animation: hs-pulse 2.2s ease-out infinite;
  pointer-events: none;
}
.no-touch .link-hotspot:hover .hs-btn,
.no-touch .info-hotspot:hover .hs-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: scale(1.08);
}
.no-touch .link-hotspot:hover .hs-pulse,
.no-touch .info-hotspot:hover .hs-pulse { border-color: var(--accent); }

.hs-label {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, -4px);
  padding: 5px 11px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.no-touch .link-hotspot:hover .hs-label,
.no-touch .info-hotspot:hover .hs-label { opacity: 1; transform: translate(-50%, 0); }

/* on phones and tablets there is no hover: show names all the time */
.touch .hs-label { opacity: 1; transform: translate(-50%, 0); font-size: 12px; padding: 4px 9px; }
@media (hover: none) { .hs-label { opacity: 1; transform: translate(-50%, 0); font-size: 12px; padding: 4px 9px; } }

/* door handle */
.hs-door .hs-btn { padding: 8px; }
.hs-door .door-icon { stroke-width: 1.7; }

/* plain arrow */
.hs-arrow .hs-btn { padding: 10px; }
.arrow-rot { display: block; width: 100%; height: 100%; }
.arrow-icon { stroke-width: 2.4; }

/* ---------- Aerial pins (drone view) ---------- */

.hs-pin { width: 0; height: 0; cursor: pointer; }
.pin-inner {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, calc(-100% + 5px));
}
.pin-label {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px 6px 8px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  background: var(--glass-strong);
  border: 1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background .2s, color .2s, border-color .2s;
}
.pin-label .svg-icon { width: 20px; height: 20px; color: var(--accent); transition: color .2s; }
.pin-stem { width: 2px; height: 22px; transition: height .15s; background: linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,.5)); }
.pin-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(233,162,59,.55);
}
.no-touch .hs-pin:hover .pin-label { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.no-touch .hs-pin:hover .pin-label .svg-icon { color: var(--accent-ink); }

/* ---------- Restaurant table markers ---------- */

.table-hotspot { width: 0; height: 0; }
.table-inner {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px 4px 4px;
  border-radius: 16px;
  white-space: nowrap;
  font-size: 13px;
  background: var(--glass-strong);
  border: 1px solid rgba(255,255,255,.25);
}
.table-num {
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 12px;
  text-align: center;
  line-height: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent);
}

/* ---------- Info icon ---------- */
.info-hotspot .hs-btn { padding: 8px; }
.info-icon { stroke-width: 2.2; }

/* ---------- YouTube screen on the wall ---------- */

.video-spot {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.video-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #0b0c0e;
  border: 8px solid #0b0c0e;
  outline: 2px solid rgba(255,255,255,.22);
  cursor: pointer;
}
.video-screen iframe, .video-screen video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.video-shade { position: absolute; inset: 0; background: rgba(0,0,0,.28); transition: background .2s; }
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 116px;
  height: 116px;
  margin: -58px 0 0 -58px;
  padding: 30px 26px 30px 34px;
  border-radius: 50%;
  color: var(--accent-ink);
  background: var(--accent);
  transition: transform .2s;
}
.video-play .svg-icon { stroke-width: 2; fill: currentColor; }
.video-caption {
  position: absolute;
  left: 18px;
  bottom: 14px;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 22px;
  background: var(--glass-strong);
}
.no-touch .video-screen:hover .video-shade { background: rgba(0,0,0,.12); }
.no-touch .video-screen:hover .video-play { transform: scale(1.08); }

.video-tools {
  position: absolute;
  right: 0;
  top: -100px;
  display: none;
  gap: 16px;
}
.video-spot.playing .video-tools { display: flex; }
.video-spot.playing .video-screen { cursor: default; }
.video-tool {
  width: 84px;
  height: 84px;
  padding: 20px;
  border-radius: 50%;
  background: var(--glass-strong);
  border: 3px solid rgba(255,255,255,.7);
}
.no-touch .video-tool:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---------- Modal ---------- */

#modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility 0s .25s;
}
#modal.visible { opacity: 1; visibility: visible; transition: opacity .25s, visibility 0s; }
.modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 100%;
  overflow: auto;
  padding: 24px 24px 22px;
  border-radius: 18px;
  background: #15171b;
  border: 1px solid var(--line);
  transform: translateY(10px);
  transition: transform .25s;
}
#modal.visible .modal-card { transform: translateY(0); }
#modal.is-video .modal-card { max-width: 1100px; padding: 0; background: #000; overflow: visible; }
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  z-index: 2;
}
#modal.is-video .modal-close { top: -46px; right: 0; background: var(--glass-strong); }
.no-touch .modal-close:hover { background: var(--accent); color: var(--accent-ink); }
.modal-close span { display: block; width: 100%; height: 100%; }
.modal-title { margin: 0 40px 10px 0; font-size: 19px; font-weight: 600; }
.modal-text { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.85); -webkit-user-select: text; user-select: text; }
.modal-video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; }
.modal-video iframe, .modal-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }

/* ---------- Phones ---------- */

.mobile .ui-btn { top: 10px; width: 44px; height: 44px; }
.mobile #sceneListToggle { left: 10px; }
.mobile #fullscreenToggle { right: 10px; }
.mobile #autorotateToggle { right: 10px; }
body.fullscreen-enabled.mobile #autorotateToggle { right: 60px; }
.mobile #autorotateToggle { display: none; }
.mobile #langSwitch, body.fullscreen-enabled.mobile #langSwitch { top: auto; bottom: 12px; left: 10px; right: auto; }
.mobile .lang-seg { height: 36px; line-height: 36px; min-width: 44px; }
.mobile #titleBar { top: 10px; max-width: calc(100% - 128px); }
body.fullscreen-enabled.mobile #titleBar { left: 62px; transform: none; max-width: calc(100% - 124px); }
.mobile #titleBar { left: 62px; transform: none; max-width: calc(100% - 74px); }
.mobile #titleBar .sceneName { height: 44px; line-height: 42px; font-size: 14px; padding: 0 14px; }
.mobile #sceneList { top: 62px; left: 10px; right: 10px; width: auto; max-height: calc(100% - 120px); }
.mobile #sceneList .scene .text { padding: 11px 12px; font-size: 15px; }
.mobile #credit { right: 10px; bottom: 12px; }

/* ---------- Phones: notch / home bar, video bar, landscape ---------- */

:root {
  --sat: env(safe-area-inset-top, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
}

/* the arrow buttons are for mouse users; on phones you drag the photo */
.mobile #viewControls, body.touch #viewControls { display: none !important; }
@media (hover: none) and (pointer: coarse) { #viewControls { display: none !important; } }

.mobile .ui-btn { top: calc(10px + var(--sat)); }
.mobile #sceneListToggle { left: calc(10px + var(--sal)); }
.mobile #fullscreenToggle { right: calc(10px + var(--sar)); }
.mobile #titleBar { top: calc(10px + var(--sat)); left: calc(62px + var(--sal)); max-width: calc(100% - 74px - var(--sal) - var(--sar)); }
body.fullscreen-enabled.mobile #titleBar { left: calc(62px + var(--sal)); max-width: calc(100% - 124px - var(--sal) - var(--sar)); }
.mobile #langSwitch, body.fullscreen-enabled.mobile #langSwitch { bottom: calc(12px + var(--sab)); left: calc(10px + var(--sal)); }
.mobile #credit { bottom: calc(12px + var(--sab)); right: calc(10px + var(--sar)); padding: 7px 12px; }
.mobile #sceneList {
  top: calc(62px + var(--sat));
  left: calc(10px + var(--sal));
  right: calc(10px + var(--sar));
  max-height: calc(100% - 128px - var(--sat) - var(--sab));
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* curtains button: one line, never wider than the screen */
.variant-btn { white-space: nowrap; max-width: calc(100% - 20px); }
.variant-btn span { overflow: hidden; text-overflow: ellipsis; }
.mobile .variant-btn { bottom: calc(64px + var(--sab)); height: 44px; padding: 0 16px 0 12px; gap: 8px; font-size: 14px; }
.mobile .variant-btn .svg-icon { width: 22px; height: 22px; flex: none; }

/* drone pins: a bit smaller on phones so more of them fit */
.mobile .pin-label { font-size: 12px; padding: 5px 11px 5px 7px; gap: 6px; }
.mobile .pin-label .svg-icon { width: 18px; height: 18px; }
.mobile .hs-pin .pin-label { position: relative; }
.mobile .hs-pin .pin-label::after { content: ""; position: absolute; inset: -6px -4px; }   /* bigger tap area */

/* video on the wall: phone control bar */
#videoBar {
  position: absolute;
  left: 50%;
  bottom: calc(64px + var(--sab));
  transform: translate(-50%, 10px);
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 30px;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 17;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility 0s .2s;
}
#videoBar.visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s, transform .2s, visibility 0s; }
.vb-btn { width: 48px; height: 48px; padding: 12px; border-radius: 50%; }
.vb-btn .icon { display: block; width: 100%; height: 100%; }
.vb-toggle .icon.off { display: none; }
#videoBar.paused .vb-toggle .icon.on { display: none; }
#videoBar.paused .vb-toggle .icon.off { display: block; }
#videoBar.no-toggle .vb-toggle { display: none; }
.vb-expand { color: var(--accent-ink); background: var(--accent); }
.mobile .video-spot .video-tools { display: none !important; }

/* big video: always fits the screen, close button stays visible */
#modal.is-video .modal-card { width: min(100%, calc((100vh - 120px) * 16 / 9)); }
@supports (height: 100dvh) {
  #modal.is-video .modal-card { width: min(100%, calc((100dvh - 120px) * 16 / 9)); }
}
.mobile #modal {
  padding: calc(12px + var(--sat)) calc(12px + var(--sar)) calc(12px + var(--sab)) calc(12px + var(--sal));
}
.mobile #modal.is-video .modal-close { width: 44px; height: 44px; padding: 11px; top: -52px; }

/* phone turned sideways: little height, so buttons go into the bottom row */
@media (orientation: landscape) {
  .mobile .variant-btn, .mobile #videoBar { bottom: calc(10px + var(--sab)); }
  .mobile #videoBar .vb-btn { width: 42px; height: 42px; padding: 10px; }
  .mobile #sceneList { max-height: calc(100% - 72px - var(--sat) - var(--sab)); bottom: auto; }
  .mobile #sceneList .scene .text { padding: 9px 12px; }
}

/* drone pins: labels may hang below the dot, and always sit above the video screen */
.hs-pin { z-index: 5; }
.hs-pin.below .pin-inner { flex-direction: column-reverse; transform: translate(-50%, -5px); }
.hs-pin.below .pin-stem { background: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.9)); }
@media (orientation: landscape) {
  .mobile #sceneList { right: auto; width: min(420px, calc(100% - 20px - var(--sal) - var(--sar))); }
}
@media (orientation: landscape) {
  .mobile .pin-label { font-size: 11.5px; padding: 4px 10px 4px 6px; }
  .mobile .pin-label .svg-icon { width: 16px; height: 16px; }
}

/* ---------- Menu: five places, their photos folded underneath ---------- */
#sceneList .menu-group { margin: 2px 0; border-radius: 12px; }
#sceneList .menu-row { display: flex; align-items: center; gap: 2px; }
#sceneList .menu-row .menu-main { flex: 1; min-width: 0; }
#sceneList .menu-main .text { font-size: 15px; font-weight: 500; color: #fff; padding: 10px 12px; }
#sceneList .menu-group.active > .menu-row .menu-main .text {
  background: rgba(233, 162, 59, .18);
  box-shadow: inset 3px 0 0 var(--accent);
}
#sceneList .menu-expand {
  flex: none;
  width: 40px; height: 40px;
  padding: 10px;
  border-radius: 10px;
  color: rgba(255,255,255,.7);
  transition: background .15s, color .15s;
}
.no-touch #sceneList .menu-expand:hover { background: rgba(255,255,255,.08); color: #fff; }
#sceneList .menu-expand .svg-icon { width: 20px; height: 20px; transition: transform .25s; }
#sceneList .menu-group.open .menu-expand .svg-icon { transform: rotate(180deg); }
#sceneList .menu-sub { display: none; padding: 2px 0 6px 12px; margin-left: 12px; border-left: 1px solid rgba(255,255,255,.12); }
#sceneList .menu-group.open .menu-sub { display: block; }
#sceneList .menu-sub .scene .text { font-size: 13.5px; padding: 8px 12px; }
.mobile #sceneList .menu-main .text { font-size: 16px; padding: 13px 12px; }
.mobile #sceneList .menu-expand { width: 46px; height: 46px; padding: 12px; }
.mobile #sceneList .menu-sub .scene .text { font-size: 15px; padding: 10px 12px; }
#sceneList .scene .text { display: block; }

/* ---------- Drone pins: steady labels, smaller on phones ---------- */
.pin-label { transition: background .2s, color .2s, border-color .2s, transform .3s ease; }
.pin-stem { transition: height .3s ease; }
.mobile .pin-label {
  font-size: 10.5px;
  padding: 3px 8px 3px 5px;
  gap: 4px;
  border-radius: 12px;
  background: rgba(22, 22, 24, .8);
  -webkit-backdrop-filter: none;      /* blur behind many labels makes moving the photo stutter on phones */
  backdrop-filter: none;
}
.mobile .pin-label .svg-icon { width: 13px; height: 13px; }
.mobile .pin-dot { width: 8px; height: 8px; box-shadow: 0 0 0 2px rgba(233,162,59,.6); }
.mobile .pin-stem { width: 1.5px; }
.mobile .pin-inner { transform: translate(-50%, calc(-100% + 4px)); }
.mobile .hs-pin.below .pin-inner { transform: translate(-50%, -4px); }
@media (orientation: landscape) {
  .mobile .pin-label { font-size: 10px; padding: 3px 7px 3px 5px; }
  .mobile .pin-label .svg-icon { width: 12px; height: 12px; }
}

/* drone signs: even smaller on phones, and no gliding (they never re-arrange during zoom) */
.pin-label { transition: background .2s, color .2s, border-color .2s; }
.pin-stem { transition: none; }
.mobile .pin-label { font-size: 9.5px; padding: 2px 6px 2px 4px; gap: 3px; border-radius: 10px; }
.mobile .pin-label .svg-icon { width: 11px; height: 11px; }
.mobile .pin-dot { width: 7px; height: 7px; }
.mobile .pin-inner { transform: translate(-50%, calc(-100% + 3.5px)); }
.mobile .hs-pin.below .pin-inner { transform: translate(-50%, -3.5px); }
@media (orientation: landscape) {
  .mobile .pin-label { font-size: 9px; padding: 2px 6px 2px 4px; }
  .mobile .pin-label .svg-icon { width: 10px; height: 10px; }
}

/* ---------- Music on/off: round button above the falcondron.com credit ---------- */
#musicToggle { top: auto; right: 14px; bottom: 54px; border-radius: 50%; }
#musicToggle.enabled { color: var(--accent); }
.mobile #musicToggle { top: auto; right: calc(10px + var(--sar)); bottom: calc(52px + var(--sab)); width: 38px; height: 38px; padding: 9px; }

/* ---------- Pinch zooms the photo only, never the page ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
#pano { touch-action: none; }
button, a, .ui-btn, .lang-seg, .vb-btn { touch-action: manipulation; }

/* ---------- Phones: small icons in every photo ---------- */
.mobile .link-hotspot, .mobile .info-hotspot { width: 36px; height: 36px; margin-left: -18px; margin-top: -18px; }
.mobile .hs-btn { width: 36px; height: 36px; padding: 8px; border-width: 1.2px; }
.mobile .hs-pulse { inset: -1.2px; border-width: 1.2px; }
.mobile .hs-door .hs-btn { padding: 6px; }
.mobile .hs-arrow .hs-btn { padding: 7px; }
.mobile .info-hotspot .hs-btn { padding: 6px; }
.mobile .hs-label, .touch.mobile .hs-label { top: calc(100% + 5px); font-size: 10px; padding: 2px 7px; border-radius: 10px; }
.mobile .table-inner { gap: 4px; padding: 2px 8px 2px 2px; font-size: 10.5px; border-radius: 12px; }
.mobile .table-num { min-width: 18px; height: 18px; line-height: 18px; padding: 0 4px; font-size: 10.5px; border-radius: 9px; }

/* ---------- Drone signs: short thin lines ---------- */
.pin-stem { width: 1.5px; }
.mobile .pin-stem { width: 1px; }

/* drone signs on computers: a little smaller, so neighbouring buildings' signs fit side by side */
.pin-label { font-size: 12px; padding: 4px 10px 4px 6px; gap: 5px; border-radius: 14px; }
.pin-label .svg-icon { width: 15px; height: 15px; }
.pin-dot { width: 8px; height: 8px; box-shadow: 0 0 0 2.5px rgba(233,162,59,.55); }
.pin-inner { transform: translate(-50%, calc(-100% + 4px)); }
.hs-pin.below .pin-inner { transform: translate(-50%, -4px); }

/* drone signs beside their building (when there is no room above) */
.hs-pin.side-r .pin-inner { flex-direction: row-reverse; transform: translate(-4px, -50%); }
.hs-pin.side-l .pin-inner { flex-direction: row; transform: translate(calc(-100% + 4px), -50%); }
.hs-pin.side-r .pin-stem, .hs-pin.side-l .pin-stem { height: 1.5px; }
.mobile .hs-pin.side-r .pin-inner { transform: translate(-3.5px, -50%); }
.mobile .hs-pin.side-l .pin-inner { transform: translate(calc(-100% + 3.5px), -50%); }
.mobile .hs-pin.side-r .pin-stem, .mobile .hs-pin.side-l .pin-stem { height: 1px; }

/* narrow phones (360px wide): signs without the small icon, so they fit with short lines */
@media (max-width: 379px) and (orientation: portrait) {
  .mobile .pin-label .svg-icon { display: none; }
  .mobile .pin-label { padding: 2px 6px; }
}

/* crowded phone screens / small frames: slightly smaller signs (only used when it gives shorter lines) */
body.mobile.pins-tight .pin-label { font-size: 8.5px; padding: 1.5px 5px; gap: 2px; }
body.mobile.pins-tight .pin-label .svg-icon { display: none; }
