html,
body {
  cursor: url('../icons/click-white.svg') 4 2, auto;
  pointer-events: auto;
  margin: 0;
  height: 100%;
  overflow: auto;
  user-select: none;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE 10+ */
  overscroll-behavior-y: contain;
  /* Hoặc none */
  touch-action: pan-x pan-y;

}

body.active {
  cursor: grabbing;
}

#pano,
#pano canvas,
#pano:active,
#pano canvas:active {
  cursor: url('../icons/click-white.svg') 4 2, auto !important;
}

#pano {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  visibility: hidden;
  cursor: url('../icons/click-white.svg') 4 2, auto;
  pointer-events: auto;
}

#home {
  position: relative;
  width: 100vw;
  aspect-ratio: 7500 / 4219;
  /* đúng tỷ lệ ảnh gốc */
  background:
    linear-gradient(165deg, #0a1628 0%, #1a3a5c 38%, #e8eef5 72%, #f4f7fb 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: scroll;
  overflow-x: hidden;
  overflow-y: hidden;
  touch-action: auto;
}



.overlay {
  position: relative;
  z-index: 1;
}

#container {
  width: 100%;
  height: 100%;
  position: relative;
}

#home-img {
  overflow: hidden;
  position: relative;
  min-height: 42vh;
}

#home-img.uc360-map-loading #map {
  filter: blur(3px);
  opacity: 0.45;
  transform: scale(1.01);
}

#map.is-preview {
  filter: blur(2px);
  opacity: 0.72;
}

#map.is-loaded {
  filter: none;
  opacity: 1;
  transform: none;
}

.map-load-shell {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(8, 24, 48, 0.52), rgba(8, 24, 48, 0.28));
  pointer-events: none;
}

.map-load-shell.is-visible {
  display: flex;
}

.uc360-boot-shell {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(6, 14, 28, 0.92), rgba(10, 28, 52, 0.78));
  pointer-events: none;
}

.uc360-boot-shell.is-visible {
  display: flex;
}

html.uc360-booting .menu,
html.uc360-ui-pending .menu {
  opacity: 0.35;
  pointer-events: none;
}

html.uc360-booting #mapLabels,
html.uc360-ui-pending #mapLabels {
  opacity: 0;
  pointer-events: none;
}

.map-load-spinner {
  width: 2.4rem;
  height: 2.4rem;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.map-load-text {
  font-size: 0.85rem;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

#map {
  position: static;
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  pointer-events: auto;

}


.label {
  position: absolute;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
  pointer-events: none;
}

/* Nền overlay mờ */
.guide-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  /* 40% mờ nền sau */
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Khung hướng dẫn */
.guide-box {
  background-color: rgba(10, 8, 114, 0.507);
  /* 80% trắng, như yêu cầu */
  padding: 1.5vw;
  border-radius: 2vw;
  /* bo góc đẹp */
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  border: 2px solid #f5b74b96;
  /* ⭐️ Viền vàng/cam */
}

/* Tiêu đề */
.guide-box h2 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 20px;
}

/* Nhóm icon */
.guide-box .icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}

.guide-box .icons img {
  width: 3vw;
}

.guide-box .icons p {
  color: white;
}

/* Mô tả */
.guide-box p {
  font-size: 14px;
  color: white;
  margin-bottom: 20px;
}

/* Nút “ĐÃ HIỂU” */
.guide-box button {
  padding: 5px 12px;
  background-color: #003c7700;
  /* xanh đậm */
  border: 2px solid #f5b84b;
  /* viền cam nhạt */
  color: white;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  transition: 0.3s;
}

.guide-box button:hover {
  background-color: #0058aa44;
}


#map-container {
  position: relative;
  width: 100%;
  height: 100%;
}

#map-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Logo + dòng chữ trên */
.branding {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 25;
}

@font-face {
  font-family: 'custom';
  src: url('../font/logo-font.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'custom-menu';
  src: url('../font/Montserrat-SemiBold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


.branding .slogan {
  font-family: 'custom';
  font-size: 2.4vw;
  color: white;
  z-index: 11;
  /* 👉 nằm trên logo */
  position: relative;
}

.branding .subtitle {
  font-size: 28px;
  margin: 0;
  margin-bottom: 5px;
  font-weight: 400;
}

.branding img {
  height: 4vw;
  z-index: 10;
  position: relative;
}

/* Label trên ảnh */
.map-label {
  position: absolute;
  padding: 0.25vw 0.7vw;
  font-size: 0.7vw;
  font-weight: bold;
  font-family: 'custom-menu';
  color: #1479d2;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: auto;
  z-index: 1;
  width: 12vw;
  height: 1.7vw;
  background-color: transparent;
  display: flex;
  /* 👈 Dùng flex để căn giữa */
  align-items: center;
  /* căn giữa theo chiều dọc */
  justify-content: center;
  /* căn giữa theo chiều ngang */
  text-align: center;
}

.map-label img {
  width: 2vw;
  height: 2vw;
}

/* Nền mờ bên trong */
.map-label::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(187, 187, 187, 0.842);
  /* trắng mờ 80% */
  z-index: -2;
}

/* Hover: nền đậm hơn */
.map-label:hover::after {
  background: rgba(255, 255, 255, 0.863);
}

.map-label::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 2px;
  background: linear-gradient(to right, white, #1479d2);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

.map-label-1 {
  position: absolute;
  padding: 2px 28px;
  background-color: rgba(21, 110, 183, 0.411);
  color: white;
  border-radius: 20px;
  font-family: 'custom-menu';
  font-size: 13px;
  white-space: nowrap;
  z-index: 5;
  font-weight: bold;
  border: 1px solid white;
  pointer-events: none;
  width: 10.1vw;
  height: 1.5vw;
  display: flex;
  /* 👈 Dùng flex để căn giữa */
  align-items: center;
  /* căn giữa theo chiều dọc */
  justify-content: center;
  /* căn giữa theo chiều ngang */
  text-align: center;
}

.top-shadow {
  position: fixed;
  top: 0;
  left: 0;
  height: 12vw;
  width: 100%;
  background: linear-gradient(to bottom, rgba(14, 12, 163, 0.918), rgba(255, 255, 255, 0));
  z-index: 23;
  pointer-events: none;
}

.icon-top-right {
  position: absolute;
  top: 20px;
  right: 2%;
  display: flex;
  gap: 15px;
  z-index: 25;
  /* cao hơn shadow */
}

.icon-top-right img {
  width: 2.4vw;
  height: 2.4vw;
}

.map-icon {
  position: relative;
  width: 2vw;
  height: 2vw;
  object-fit: contain;
  pointer-events: auto;
  z-index: 10;
}

.map-icon--eye {
  padding: 5px;
}

.map-point {
  position: absolute;
  z-index: 12;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.map-point__label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.45vw);
  transform: translateX(-50%);
  display: none;
  pointer-events: none;
  white-space: nowrap;
  z-index: 25;
}

.map-point.is-hover .map-point__label {
  display: block;
}

.map-point--zone .map-icon-sub,
.map-point--zone .map-icon-sub-1 {
  position: relative;
  top: auto;
  left: auto;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.map-point--zone.is-hover .map-icon-sub,
.map-point--zone.is-hover .map-icon-sub-1 {
  animation: none;
  transform: scale(1.06);
  filter: drop-shadow(0 0 8px rgba(20, 121, 210, 0.85));
}

.map-point--visor .map-icon {
  transition: transform 0.18s ease, filter 0.18s ease;
}

.map-point--visor.is-hover .map-icon {
  animation: none;
  transform: scale(1.12);
  filter: drop-shadow(0 0 6px rgba(20, 121, 210, 0.75));
}

.uc360-highlight-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 8;
  overflow: visible;
}

.map-rtg.is-visible {
  position: absolute;
  display: block !important;
  height: auto;
  pointer-events: none;
  opacity: 1;
  animation: uc360-zone-glow 1.8s ease-in-out infinite;
}

@keyframes uc360-zone-glow {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(20, 121, 210, 0.75));
    opacity: 0.92;
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(20, 121, 210, 0.45));
    opacity: 1;
  }
}

.uc360-scene-loading {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(6, 16, 32, 0.62);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.uc360-scene-loading.is-visible {
  display: flex;
}

.map-icon-360 {

  width: 2vw;
  height: 2vw;
  pointer-events: auto;
  position: absolute;
}

.map-icon-360:hover {
  animation: pulse-blink 0.8s infinite ease-in-out;
}

.blink-hotspot {
  animation: pulse-blink 0.8s infinite ease-in-out;
  /* Đừng đụng vào position ở đây! */
}



@keyframes map-icon-blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.blink-on-hover:hover {
  animation: map-icon-blink 1s infinite;
  transform-origin: center center;
}

.scale-on-hover:hover {
  transform: scale(1.2);
  transition: transform 0.2s ease;
}

.map-label-gradient {
  position: absolute;
  padding: 4px 32px;
  font-size: 0.5vw;
  font-weight: bold;
  font-family: "custom-menu";
  color: white;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: auto;
  z-index: 25;
  background: none;
}

/* Viền gradient bằng ::before */
.map-label-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 2px;
  background: linear-gradient(to right, white, #1479d2);
  z-index: -1;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Dải nền gradient mờ trắng → xanh bên trong */
.map-label-gradient::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(to right, rgba(248, 248, 248, 0.445), rgba(20, 121, 210, 0.7));
  z-index: -2;
}


.map-label-gradient-360 {
  position: absolute;
  padding: 4px 32px;
  font-size: 0.5vw;
  font-weight: bold;
  color: white;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: auto;
  z-index: 30;
  background: none;
}

/* Viền gradient bằng ::before */
.map-label-gradient-360::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 2px;
  background: linear-gradient(to right, white, #1479d2);
  z-index: -1;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Dải nền gradient mờ trắng → xanh bên trong */
.map-label-gradient-360::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(to right, rgba(248, 248, 248, 0.445), rgba(20, 121, 210, 0.7));
  z-index: -2;
}




.label-group {
  position: absolute;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  width: auto;
  min-height: 4vh;
  overflow: visible;
}

.menu,
.uc360-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px;
  height: 14vh;
  z-index: 30;
  box-sizing: border-box;
}

.label-group .map-label {
  position: relative;
  z-index: 2;
}

.panel-images {
  justify-content: center;
  position: absolute;
  background: rgba(27, 95, 141, 0.479);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  padding: 0.4vw;
  z-index: 25;
  width: auto;
  bottom: calc(100% - 2px);
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4vw;
  height: auto;
  pointer-events: auto;
}

/* Cầu vô hình nối label ↔ panel — tránh mất hover khi di chuột lên submenu */
.panel-images::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 12px;
}

.panel-images img {
  width: 10vw;
  /* 👈 tăng kích thước ảnh */
  height: 1.7vw;
  border-radius: 0.4vw;
  object-fit: cover;
}

.map-label-gradient-sub {
  position: relative;
  display: flex;
  align-items: center;
  /* ✅ căn giữa dọc */
  justify-content: center;
  /* ✅ căn giữa ngang */
  color: white;
  font-weight: bold;
  font-size: 0.65vw;
  padding: 0.4vw 0.8vw;
  /* 👈 padding ở đây thôi */
  border-radius: 999px;
  font-family: "custom-menu";
  white-space: nowrap;
  z-index: 1;
  transition: all 0.3s ease;
  line-height: 1;
  /* 👈 đảm bảo không bị đẩy */
  height: 1.7vw;
  width: auto;
  min-width: 12vw;
}

.map-label-gradient-sub::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 2px;
  /* 👈 tạo viền */
  background: linear-gradient(to right, white, #1479d2);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

.map-label-gradient-sub::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.2), rgba(20, 121, 210, 0.2));
  z-index: -2;
  transition: background 0.3s ease;
}

/* ✅ Hover hiệu ứng */
.map-label-gradient-sub:hover::after {
  background: linear-gradient(to right, rgba(250, 250, 250, 0.89), rgb(248, 248, 248));
}

.map-label-gradient-sub:hover {
  color: rgb(24, 155, 241);
  ;
}


.loading-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
  z-index: 9999;
}

.spinner {
  width: 4vw;
  height: 4vw;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 10px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


#div1 {
  display: none;
}

.wrapper {
  position: relative;
  /* ✅ bắt buộc để .absolute nằm đúng */
  display: inline-block;
}


.wrapper:hover #div1 {
  display: block;
}

@keyframes pulse-blink {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.9;
  }
}

@keyframes pulse-blink-lable {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.9;
  }
}

@keyframes pulse-blink-lable-top-right {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
    transform-origin: top right;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.9;
    transform-origin: top right;
  }
}

.map-icon:hover {
  animation: pulse-blink 0.8s infinite ease-in-out;
}





.map-label-gradient-hl {
  position: absolute;
  padding: 4px 32px;
  font-size: 0.5vw;
  font-weight: bold;
  color: rgb(42, 6, 248);
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: auto;
  z-index: 10;
  background: none;
}


/* Viền gradient bằng ::before */
.map-label-gradient-hl::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 2px;
  background: linear-gradient(to right, white, #1479d2);
  z-index: -1;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Dải nền gradient mờ trắng → xanh bên trong */
.map-label-gradient-hl::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.918), rgba(255, 255, 255, 0.7));
  z-index: -2;
}


.map-icon-sub {
  position: relative;
  width: 8vw;
  height: auto;
  pointer-events: auto;
  z-index: 10;
  transform-origin: center center;
}
.map-icon-sub-1 {
  position: relative;
  width: 10vw;
  height: auto;
  pointer-events: auto;
  z-index: 10;
  transform-origin: center center;
}

.map-rtg {
  position: absolute;
  display: none;
  pointer-events: none;
}



@keyframes blink-shadow {

  0%,
  100% {
    filter: drop-shadow(0 0 4px rgba(20, 121, 210, 0.8));
  }

  50% {
    filter: drop-shadow(0 0 8px rgba(20, 121, 210, 0.2));
  }
}

.map-icon-sub:hover,
.map-icon-sub-1:hover {
  animation: none;
}

.highlight-box {
  position: absolute;
  border: 2px solid rgba(20, 121, 210, 0.8);
  background: rgba(20, 121, 210, 0.514);
  /* nền mờ nhẹ */
  border-radius: 6px;
  display: none;
  width: 60px;
  height: 60px;
  pointer-events: none;
  z-index: 5;
  animation: blink-highlight 1s infinite;
}


@keyframes blink-highlight {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.blink-active {
  animation: blink-highlight 1s infinite;
}

.custom-hotspot {
  position: absolute;
  transform: translate(-50%, -100%);
  /* -50% ngang, -100% dọc => gắn chân ảnh vào đúng vị trí */
  left: 0;
  top: 0;
}



.home-sun:active {
    transform: scale(0.95); /* Hơi lún xuống khi ấn */
}

/* === Mobile: fullscreen map + menu chạm được === */
@media (max-width: 768px) {
  html.uc360-mobile,
  html.uc360-mobile body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: fixed;
    overscroll-behavior: none;
  }

  html.uc360-mobile #home,
  html.uc360-mobile .home-content {
    position: fixed !important;
    inset: 0;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    aspect-ratio: unset !important;
    overflow: hidden !important;
    background: #0a1628 !important;
    z-index: 20;
  }

  html.uc360-mobile #home-img {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible;
    touch-action: none;
    transform-origin: top left;
  }

  html.uc360-mobile #map {
    width: 100% !important;
    height: auto !important;
    max-width: none;
    object-fit: unset;
    object-position: unset;
    display: block;
    vertical-align: top;
  }

  html.uc360-mobile #mapLabels {
    touch-action: none;
  }

  html.uc360-mobile .map-icon {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px;
    min-height: 30px;
    padding: 4px !important;
  }

  html.uc360-mobile .map-icon-360 {
    width: 30px !important;
    height: 30px !important;
  }

  html.uc360-mobile .map-icon-sub {
    width: auto !important;
    max-width: 24vw;
    min-width: 44px;
  }

  html.uc360-mobile .map-icon-sub-1 {
    width: auto !important;
    max-width: 32vw;
    min-width: 52px;
  }

  html.uc360-mobile .map-label-gradient {
    font-size: 10px !important;
    padding: 4px 10px !important;
    max-width: 46vw;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
  }

  html.uc360-mobile .top-shadow {
    height: 22vh;
    max-height: 140px;
  }

  html.uc360-mobile .menu,
  html.uc360-mobile .uc360-menu {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: min(46vh, 320px);
    padding: 0.45rem 0.5rem calc(0.55rem + env(safe-area-inset-bottom, 0px)) !important;
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 0.45rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    background: linear-gradient(to top, rgba(5, 16, 32, 0.96) 0%, rgba(5, 16, 32, 0.88) 72%, transparent 100%);
    z-index: 40 !important;
    pointer-events: auto;
    box-sizing: border-box;
  }

  html.uc360-mobile .menu .label-group {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    justify-content: flex-end;
    min-height: 0;
    width: auto;
    max-width: 72vw;
    scroll-snap-align: start;
  }

  html.uc360-mobile .menu .map-label {
    position: relative !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none;
    height: auto !important;
    min-height: 44px;
    padding: 0.55rem 0.85rem !important;
    font-size: 0.68rem !important;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
  }

  html.uc360-mobile .menu .map-label-gradient-sub {
    font-size: 0.65rem !important;
    padding: 0.5rem 0.75rem !important;
    height: auto !important;
    min-height: 42px;
    min-width: 0 !important;
    width: 100% !important;
    max-width: none;
    white-space: normal;
    line-height: 1.25;
    text-align: center;
  }

  html.uc360-mobile .menu .panel-images {
    position: absolute !important;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    width: min(88vw, 300px) !important;
    margin-bottom: 0;
    padding: 0.4rem;
    gap: 0.35rem;
    max-height: 38vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  html.uc360-mobile .guide-box {
    padding: 1.1rem;
    border-radius: 1rem;
    max-width: 92vw;
  }

  html.uc360-mobile .guide-box h2 {
    font-size: 1.05rem;
  }

  html.uc360-mobile .guide-box .icons img {
    width: 48px;
  }

  html.uc360-mobile #pano {
    z-index: 50;
  }
}