	* {
	  padding: 0;
	  margin: 0;
	  box-sizing: border-box;
	}
	html, body {
	  height: 100%;
	  overflow: hidden;
	}
    body { height: 100%; overflow:hidden; }
	#container {
	  height: 100%;
	  width: 100%;
	}  
	#tourDIV, #pano {
	  width: 100%;
	  height: 100%;
	  position: relative;
	  overflow: hidden;
	  -webkit-user-select: none;
	  user-select: none;
	}	

	#nav-left { left: 20px; display: none;}
	#nav-right { right: 20px; display: none;}
	
	.pano-nav-bar {
	  position: absolute;
	  top: 20px;
	 /*  left: 50%; */
	  right: -40px;
	  transform: translateX(-50%);
	  z-index: 1001;
	  display: flex;
	  gap: 12px;
	  align-items: center;
	}
	
	.pano-arrow {
	  font-size: 0.9rem;
	  padding: 6px 12px;
	  background: rgba(255, 255, 255, 0.4);
	  border: none;
	  border-radius: 4px;
	  cursor: pointer;
	  color: rgba(0, 0, 0, 0.75);
	  user-select: none;
	  transition: background 0.3s;
	  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	  display: inline-flex;
	  align-items: center;
	  justify-content: center;
	}
	
	.pano-arrow:hover {
	  background: rgba(255, 255, 255, 0.75);
	}
	
	#toggleSpinBtn i {
	  margin-right: 6px;
	}
	
	#toggleSpinBtn {
		display: none;
	}		 
	
	#spinControlWrapper {
	  position: absolute;
	  top: 12px;
	  right: 12px;
	  z-index: 1001;
	}
	
	#toggleSpinBtn {
	  padding: 6px 12px;
	  background: rgba(255, 255, 255, 0.4);
	  border: none;
	  border-radius: 5px;
	  font-size: 0.9rem;
	  color: rgba(0, 0, 0, 0.75);
	  cursor: pointer;
	  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	  backdrop-filter: blur(4px);
	}
	
	#toggleSpinBtn:hover {
	  background: rgba(255, 255, 255, 0.6);
	}
	
	.viewer-header {
	  position: absolute;
	  top: 12px;
	  left: 12px;
	  z-index: 1001;
	  background: rgba(0, 0, 0, 0.5);
	  padding: 10px 14px;
	  border-radius: 8px;
	  color: white;
	  font-family: sans-serif;
	  display: flex;
	  align-items: flex-start;
	  gap: 10px;
	  max-width: 90vw;
	}
	
	.cube-logo {
	  font-size: 1.8rem;
	  color: white;
	  opacity: 0.9;
	  flex-shrink: 0;
	  margin-top: 2px;
	}
	
	.viewer-title {
	  font-size: 1.1rem;
	  font-weight: bold;
	  margin: 0;
	  color: white;
	}
	
	.viewer-user {
	  font-size: 0.85rem;
	  color: #ccc;
	  margin-top: 2px;
	}
	
	#viewerHeader {
	  display: none;
	}	
	
.pswp__button--like-button {
  background: transparent;
  width: 32px;   /* Match your other buttons */
  height: 32px;  /* Match your other buttons */
  padding: 0;
  top: 14px;
  position: relative;
  margin: 0;
  color: #ff2b56;
  cursor: pointer;
  display: flex;                /* 💡 FLEX centers it */
  align-items: center;          /* Vertical center */
  justify-content: center;      /* Horizontal center */
  transition: transform 0.2s ease;
}

.pswp__button--like-button svg {
  display: block;               /* Removes inline gap */
  width: 20px;                  /* Controls icon size inside */
  height: 20px;
}

.pswp__button--like-button:hover {
  transform: scale(1.2);
}

.pswp__button--like-button {
  color: #aaa; /* default grey */
}

.pswp__button--like-button.liked {
  color: #ff2b56; /* liked red */
}

.pswp__button--like-button .like-count {
  font-size: 0.8em;
  color: #fff;
  margin-left: 4px;
  vertical-align: middle;
}
.pswp__button--like-button.liked .like-count {
  color: #ff2b56;
}

/* dialog popup */
div:where(.swal2-container) {
  z-index: 999999 !important;
}
	
		
/* 
@media screen and (min-width: 900px) {
  #container {
    padding: 70px;
  }

  #tourDIV {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
  }

  #pano {
    width: 100%;
    aspect-ratio: 4 / 3;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
  }
}
 */
 
 
@media (max-width: 767px) {
  .pano-arrow {
    bottom: 50px; /* or whatever value you want for phones */
  }
}

/* new code */
.cube-row {
  position: fixed;
  bottom: 60px;      /* distance from top edge */
  left: 20px;     /* distance from left edge */
  display: flex;
  gap: 15px;   /* ↓ reduce spacing here */
  margin: 0;
  z-index: 1000;  /* ensures it stays above other content */
}

.cube-column {
  position: fixed;
  top: 80px;             /* distance from bottom edge */
  left: 20px;               /* distance from left edge */
  display: flex;
  flex-direction: column;   /* stack vertically */
  gap: 15px;                /* space between cubes */
  margin: 0;
  z-index: 999;            /* stay above other content */
}

.modal-cube-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}


/* clickable cube container */
.cube-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  perspective: 400px;
  position: relative;
}

/* ✨ soft shadow under cube only */
.cube-button::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 70%);
  filter: blur(6px);
  opacity: 0.8;
  transition: all 0.25s ease;
}

/* hover lift */
.cube-button:hover::after {
  transform: translateX(-50%) translateY(4px) scale(1.1);
  opacity: 0.6;
}

/* cube itself */
.cube {
  position: relative;
  width: 60px;
  height: 60px;
  transform: rotateX(0deg) rotateY(-15deg);
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.cube-button:hover .cube {
  transform: rotateX(5deg) rotateY(0deg) scale(1.05);
}


/* faces */
.face {
  position: absolute;
  width: 50px;
  height: 50px;
  background-size: cover;
  background-position: center;
  backface-visibility: hidden;
  border: none;
  border-radius: 0px;
}

/* remove white “platform” look */
.front  { transform: translateZ(30px); }
.top    { transform: rotateX(90deg) translateZ(24px); background: #ccc; }  /* slightly gray instead of white */
.right  { transform: rotateY(90deg) translateZ(24px); filter: brightness(0.6); }

/* click feedback */
.cube-button:active .cube {
  transform: rotateX(0deg) rotateY(-15deg) scale(0.96);
}

/* --- Modal base styles --- */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
}
.modal.active {
  display: flex;
}
.modal-content {
  position: relative;
  background: rgba(20, 20, 20, 0.75); /* translucent dark background */
  border-radius: 20px;
  padding: 30px;
  max-width: 600px;
  width: 90%;
  color: white;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6); /* soft, diffused shadow */
  backdrop-filter: blur(8px); /* adds subtle glassy blur behind it */
}
.modal h2 {
  margin-bottom: 20px;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: white;
}
.close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 26px;
  color: white;
  cursor: pointer;
}

.cubes-logo {
    font-size: 1.8rem;
    color: white;
    /* opacity: 0.9; */
    flex-shrink: 0;
    margin-top: 2px;
}

.cube-button[disabled],
.cube-button.active-room {
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
  transform: none;
}