/* ── Virtual Estate – tour brand frame ───────────────────────────────────── */

.ve-tour-frame {
  border: 6px solid #C1925A;
  border-radius: 8px;
  background: #0a0a0a;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 40px rgba(0,0,0,.55);
}

/* watermark overlay – covers the stage only */
.ve-tour-wm {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
}

/* tiled rotated tile (child of .ve-tour-wm) */
.ve-tour-wm-tile {
  position: absolute;
  inset: -40%;          /* oversized so rotation doesn't leave gaps */
  background-repeat: repeat;
  background-size: 400px auto;
  background-position: center;
  opacity: 0.25;
  transform: rotate(-18deg) scale(1.3);
  pointer-events: none;
  filter: drop-shadow(0 0 1.5px rgba(0,0,0,.75));
}

/* corner logo (child of .ve-tour-wm) */
.ve-tour-wm-corner {
  position: absolute;
  bottom: 12px;
  right: 14px;
  width: 110px;
  height: auto;
  opacity: 0.8;
  pointer-events: none;
  display: block;
  filter: drop-shadow(0 0 2px rgba(0,0,0,.8));
}

/* fullscreen button (absolute inside stage) */
.ve-tour-fs-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  background: rgba(10,10,10,.7);
  border: 1px solid rgba(193,146,89,.5);
  color: #C1925A;
  border-radius: 4px;
  padding: 5px 9px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background .2s;
}
.ve-tour-fs-btn:hover {
  background: rgba(193,146,89,.2);
}

/* brand bar below the stage */
.ve-tour-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 16px;
  background: #0a0a0a;
  border-top: 1px solid rgba(193,146,89,.18);
}
.ve-tour-bar img {
  height: 20px;
  width: auto;
  display: block;
}
.ve-tour-bar-copy {
  font-size: 10px;
  color: rgba(193,146,89,.65);
  font-family: 'Montserrat', sans-serif;
  letter-spacing: .03em;
  white-space: nowrap;
}

/* iOS / no-API fullscreen mode on the frame div */
.ve-tour-ios-full {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  border-radius: 0 !important;
  border: none !important;
  display: flex !important;
  flex-direction: column !important;
}
/* stage inside fullscreen frame must fill remaining height */
.ve-tour-ios-full > [data-ve-stage] {
  flex: 1 1 auto;
  width: 100%;
  padding-bottom: 0 !important;
  height: 0 !important;   /* flex will expand it */
  min-height: 0;
}

/* ── native fullscreen (each vendor selector must be its own rule) ───────── */
.ve-tour-frame:fullscreen {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 0;
}
.ve-tour-frame:fullscreen > [data-ve-stage] {
  flex: 1 1 auto;
  height: 0;
  min-height: 0;
  padding-bottom: 0 !important;
}
.ve-tour-frame:-webkit-full-screen {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 0;
}
.ve-tour-frame:-webkit-full-screen > [data-ve-stage] {
  flex: 1 1 auto;
  height: 0;
  min-height: 0;
  padding-bottom: 0 !important;
}

/* iOS close button */
.ve-tour-ios-close {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 100000;
  background: rgba(0,0,0,.75);
  border: 1px solid rgba(193,146,89,.6);
  color: #C1925A;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  padding: 0;
}

/* mobile: thinner border, hide copyright, centre logo */
@media (max-width: 600px) {
  .ve-tour-frame { border-width: 4px; }
  .ve-tour-bar-copy { display: none; }
  .ve-tour-bar { justify-content: center; }
  .ve-tour-wm-tile { background-size: 280px auto; }
  .ve-tour-wm-corner { width: 80px; }
}
