/* ==========================================================================
   MARZIPANO – PREMIUM THEME (FINAL – FULL SCRIPT)
   MENU KIRI, FRAME KANAN, RESPONSIF PROFESIONAL
   ========================================================================== */

/* ---------- 1. RESET & BASE ---------- */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -ms-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  -ms-content-zooming: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

html, body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  background: #0a0a0a;
  color: #f0f0f0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a, a:hover, a:active, a:visited {
  text-decoration: none;
  color: inherit;
}

/* ---------- 2. PANO ---------- */
#pano {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0a0a0a;
}

/* ---------- 3. TITLE BAR – HIDE ---------- */
#titleBar,
#titleBar .sceneName,
#titleBar * {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  pointer-events: none !important;
}

/* ---------- 4. FULLSCREEN TOGGLE ---------- */
#fullscreenToggle {
  display: none;
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: maroon;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid teal;
  border-radius: 12px;
  box-shadow: 0 8px 24px teal;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 20;
}
body.fullscreen-enabled #fullscreenToggle { display: block; }
#fullscreenToggle:hover {
  background: rgba(255,255,255,0.18);
  transform: scale(1.05);
  border-color: rgba(255,255,255,0.3);
}
#fullscreenToggle .icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  margin-left: -12px;
  fill: #ffffff;
  transition: opacity 0.2s ease;
}
#fullscreenToggle .icon.on { display: none; }
#fullscreenToggle .icon.off { display: block; }
#fullscreenToggle.enabled .icon.on { display: block; }
#fullscreenToggle.enabled .icon.off { display: none; }

/* ---------- 5. AUTOROTATE TOGGLE ---------- */
#autorotateToggle {
  position: absolute;
  top: 24px;
  right: 30px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: teal;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid red;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 20;
}
#autorotateToggle:hover {
  background: rgba(255,255,255,0.18);
  transform: scale(1.05);
  border-color: rgba(255,255,255,0.3);
}
#autorotateToggle .icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  margin-left: -12px;
  fill: #ffffff;
  transition: opacity 0.2s ease;
}
#autorotateToggle .icon.on { display: none; }
#autorotateToggle .icon.off { display: block; }
#autorotateToggle.enabled .icon.on { display: block; }
#autorotateToggle.enabled .icon.off { display: none; }
body.fullscreen-enabled #autorotateToggle { right: 80px; }

/* ---------- 6. SCENE LIST TOGGLE ---------- */
#sceneListToggle {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 30;
}
#sceneListToggle:hover {
  background: rgba(255,255,255,0.18);
  transform: scale(1.05);
  border-color: rgba(255,255,255,0.3);
}
#sceneListToggle .text { display: none; }
#sceneListToggle .icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  margin-left: -12px;
  fill: #ffffff;
}
#sceneListToggle .icon.off::before { content: "☰"; font-size: 22px; color: #fff; display: block; line-height: 24px; text-align: center; }
#sceneListToggle .icon.on::before { content: "✕"; font-size: 22px; color: #fff; display: block; line-height: 24px; text-align: center; }
#sceneListToggle .icon.on { display: none; }
#sceneListToggle .icon.off { display: block; }
#sceneListToggle.enabled .icon.on { display: block; }
#sceneListToggle.enabled .icon.off { display: none; }

/* ---------- 7. SCENE LIST (Sidebar) ---------- */
#sceneList {
  position: absolute;
  top: 80px;
  left: 24px;
  width: 180px;
  max-height: calc(100% - 120px);
  padding: 12px 0;
  background: rgba(20,20,20,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  overflow-x: hidden;
  overflow-y: auto;
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1), opacity 0.4s ease;
  transform: translateX(-300px);
  opacity: 0;
  z-index: 25;
}
#sceneList.enabled { transform: translateX(0); opacity: 1; }
#sceneList .scenes { width: 100%; background: transparent; }
#sceneList .scene {
  display: block;
  width: 100%;
  height: auto;
  padding: 12px 20px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  transition: all 0.2s ease;
}
#sceneList .scene:last-child { border-bottom: none; }
#sceneList .scene .text { line-height: 1.4; padding: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#sceneList .scene:hover { background: rgba(255,255,255,0.06); color: #ffffff; padding-left: 24px; }
#sceneList .scene.current { background: rgba(255,255,255,0.10); color: #ffffff; border-right: 3px solid #ffffff; }

/* ---------- 8. LINK HOTSPOT ---------- */
.link-hotspot {
  width: 50px;
  height: 50px;
  margin-left: -30px;
  margin-top: -30px;
  opacity: 0.85;
}
.no-touch .link-hotspot:hover {
  opacity: 1;
  transform: scale(1.08);
}
.mobile .link-hotspot {
  width: 30px;
  height: 30px;
}
.link-hotspot-icon {
  width: 100%;
  height: 100%;
  cursor: pointer;
  background-color: teal;
  border-radius: 50px;
}
.link-hotspot-tooltip {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
  margin-left: 12px;
  padding: 8px 18px;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile .link-hotspot-tooltip {
  font-size: 13px;
  padding: 6px 14px;
}
.no-touch .link-hotspot:hover .link-hotspot-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: none;
}

#swipe-indicators {
    position: fixed !important;
    top: 50% !important;
    left: 0 !important;
    width: 100% !important;
    height: 0 !important;
    pointer-events: none !important;
    z-index: 9999 !important;
    display: flex !important;
    justify-content: space-between !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    transform: translateY(-50%) !important;
}

#swipe-indicators .swipe-indicator {
    font-size: 40px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-shadow: 0 0 30px rgba(0,0,0,0.8) !important;
    animation: pulse 1.5s ease-in-out infinite !important;
    user-select: none !important;
    pointer-events: none !important;
    font-family: Arial, sans-serif !important;
    font-weight: bold !important;
    display: block !important;
    background: transparent !important;
}

#swipe-indicators .swipe-indicator.left {
    margin-right: auto !important;
}

#swipe-indicators .swipe-indicator.right {
    margin-left: auto !important;
}

@keyframes pulse {
    0% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0.3; transform: scale(0.8); }
}

#swipe-indicators.hidden {
    display: none !important;
}

/* ==========================================================================
   9. INFO HOTSPOT – MODERN (GLASSMORPHISM, GLOW, LEBAR 720px / RESPONSIF)
   ========================================================================== */
.info-hotspot {
  line-height: 1.2em;
  opacity: 0.9;
  transition: opacity 0.2s 0.2s;
}
.no-touch .info-hotspot:hover {
  opacity: 1;
  transition: opacity 0.2s;
}
.info-hotspot.visible {
  opacity: 1;
}

/* ---- HEADER – Tombol "i" ---- */
.info-hotspot .info-hotspot-header {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: teal;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: 
    0 4px 24px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 40px rgba(100, 200, 255, 0.06);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}
.mobile .info-hotspot .info-hotspot-header {
  width: 40px;
  height: 40px;
}
.no-touch .info-hotspot .info-hotspot-header:hover {
  background: teal;
  box-shadow: 
    0 6px 36px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 60px rgba(100, 200, 255, 0.15);
  transform: scale(1.06);
  border-color: rgba(255, 255, 255, 0.35);
}
.info-hotspot .info-hotspot-icon-wrapper {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mobile .info-hotspot .info-hotspot-icon-wrapper {
  width: 40px;
  height: 40px;
}
.info-hotspot .info-hotspot-icon {
  width: 40%;
  height: 40%;
  fill: #ffffff;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}
.no-touch .info-hotspot .info-hotspot-header:hover .info-hotspot-icon {
  transform: scale(1.1);
}

/* ---- Title (appears on desktop hover/visible) ---- */
.info-hotspot .info-hotspot-title-wrapper {
  position: absolute;
  left: 52px;
  top: 0;
  width: 0;
  height: 52px;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.desktop .info-hotspot.visible .info-hotspot-title-wrapper,
.desktop.no-touch .info-hotspot .info-hotspot-header:hover .info-hotspot-title-wrapper {
  width: 220px;
  padding: 0 8px 0 16px;
  transition: width 0s 0.4s, padding 0s 0.4s;
}
.info-hotspot .info-hotspot-title {
  display: inline-block;
  vertical-align: middle;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ---- Close button (appears on visible) ---- */
.info-hotspot .info-hotspot-close-wrapper {
  position: absolute;
  left: 272px;
  top: 0;
  height: 52px;
  width: 52px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: none;
  border-radius: 0 14px 14px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: none;
  z-index: 100;
}
.desktop .info-hotspot.visible .info-hotspot-close-wrapper,
.no-touch .info-hotspot.visible .info-hotspot-close-wrapper,
.mobile .info-hotspot.visible .info-hotspot-close-wrapper {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease 0.1s, visibility 0s 0s;
  pointer-events: auto !important;
  cursor: pointer !important;
}
.info-hotspot .info-hotspot-close-wrapper:hover {
  background: rgba(255, 255, 255, 0.18);
}
.info-hotspot .info-hotspot-close-icon {
  width: 26px;
  height: 26px;
  fill: #ffffff;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* ---- Konten teks (desktop & mobile) ---- */
.info-hotspot .info-hotspot-text {
  display: none !important; /* Sembunyikan teks asli, hanya modal yang digunakan */
}

/* ====================================================================
   9b. MODAL POP-UP (LAYER TERTINGGI, TIDAK TERPENGARUH PANO)
   ==================================================================== */
.info-hotspot-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 640px;
  max-height: 85vh;
  padding: 28px 32px;
  background: rgba(20, 20, 20, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8);
  overflow-y: auto;
  transform: translate(-50%, -50%) scale(0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
              visibility 0s 0.35s;
  z-index: 999999 !important; /* sangat tinggi agar di atas semua */
  pointer-events: none;
  color: #e8e8e8;
  font-size: 15px;
  line-height: 1.8;
}

.info-hotspot-modal.visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1) 0.05s,
              transform 0.35s cubic-bezier(0.23, 1, 0.32, 1) 0.05s,
              visibility 0s 0s;
  pointer-events: auto;
}

/* Scrollbar di modal */
.info-hotspot-modal::-webkit-scrollbar {
  width: 5px;
}
.info-hotspot-modal::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}
.info-hotspot-modal::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.20);
  border-radius: 10px;
}

/* Header di dalam modal (ikon, title, tombol close) */
.info-hotspot-modal .info-hotspot-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
}

.info-hotspot-modal .info-hotspot-icon-wrapper {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.info-hotspot-modal .info-hotspot-icon {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.info-hotspot-modal .info-hotspot-title-wrapper {
  flex: 1;
}

.info-hotspot-modal .info-hotspot-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.info-hotspot-modal .info-hotspot-close-wrapper {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
  margin-left: auto;
}

.info-hotspot-modal .info-hotspot-close-wrapper:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: scale(1.05);
}

.info-hotspot-modal .info-hotspot-close-icon {
  width: 20px;
  height: 20px;
  fill: #ffffff;
  pointer-events: none;
}

/* Konten teks di dalam modal */
.info-hotspot-modal .info-hotspot-text {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.8;
  color: #e0e0e0;
  max-height: calc(85vh - 140px);
  overflow-y: auto;
  padding-right: 4px;
  -webkit-overflow-scrolling: touch;
}

.info-hotspot-modal .info-hotspot-text::-webkit-scrollbar {
  width: 4px;
}
.info-hotspot-modal .info-hotspot-text::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
.info-hotspot-modal .info-hotspot-text::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
}

/* ---------- MOBILE MAX 768PX ---------- */
@media (max-width: 768px) {
  .info-hotspot-modal {
    width: 92vw;
    max-width: 92vw;
    max-height: 90vh;
    padding: 20px 18px;
    border-radius: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
  }

  .info-hotspot-modal.visible {
    transform: translate(-50%, -50%) scale(1);
  }

  .info-hotspot-modal .info-hotspot-title {
    font-size: 16px;
  }

  .info-hotspot-modal .info-hotspot-text {
    font-size: 14px;
    line-height: 1.7;
    max-height: calc(90vh - 130px);
  }

  .info-hotspot-modal .info-hotspot-close-wrapper {
    width: 44px;
    height: 44px;
  }
  .info-hotspot-modal .info-hotspot-close-icon {
    width: 22px;
    height: 22px;
  }

  /* Sembunyikan elemen asli di dalam pano agar tidak muncul */
  .info-hotspot .info-hotspot-title-wrapper,
  .info-hotspot .info-hotspot-close-wrapper {
    display: none !important;
  }
}

/* ==========================================================================
   10. CONTAINER – MENU KIRI, FRAME KANAN (FLEXBOX) – DESKTOP
   ========================================================================== */
#embedded-container {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  background: #1a1a1a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.7);
  width: min(1200px, 92vw);
  max-width: 92vw;
  height: min(720px, 60vh);
  max-height: 80vh;
  aspect-ratio: 16 / 9;
  min-height: 520px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 50;
}

/* ---- FRAME VIDEO – DI KANAN (DESKTOP) ---- */
#iframespot {
  flex: 1 1 auto !important;
  background: #000;
  position: relative !important;
  overflow: hidden;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  min-width: 0;
  order: 2;
  min-height: 200px;
}
#iframespot .message {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: clamp(22px, 5vw, 28px);
  color: #888;
  pointer-events: none;
  text-align: center;
  padding: 0 10px;
  margin: 0;
  font-weight: 500;
  letter-spacing: 1px;
}
#iframespot iframe {
  width: 100% !important;
  height: 100% !important;
  border: none;
  display: block;
}
/* Fallback aspect-ratio untuk desktop */
#iframespot::before {
  content: "";
  display: block;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
#iframespot > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#iframespot .message {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- MENU – DI KIRI (DESKTOP) ---- */
#iframeselect {
  flex: 0 0 150px !important;
  width: 150px !important;
  min-width: 150px !important;
  height: 100%;
  background: rgba(120, 20, 20, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: none;
  border-right: 1px solid rgba(255,255,255,0.06);
  border-radius: 0;
  box-shadow: none;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  order: 1;
  transform: none !important;
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
}
#iframeselect li {
  width: 100%;
  padding: 14px 10px;
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 500;
  text-align: center;
  color: #ccc;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#iframeselect li:last-child { border-bottom: none; }
#iframeselect li:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
#iframeselect li:active {
  background: rgba(255,255,255,0.15);
  transform: scale(0.94);
}
#iframeselect li:nth-child(1)::before { content: "▶ "; }
#iframeselect li:nth-child(2)::before { content: "▶ "; }
#iframeselect li:nth-child(3)::before { content: "▶ "; }
#iframeselect li:nth-child(4)::before { content: "▶ "; }

/* ---------- 11. VIEW CONTROL BUTTONS ---------- */
.viewControlButton {
  display: none;
  position: absolute;
  bottom: 32px;
  left: 50%;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}
body.view-control-buttons .viewControlButton { display: block; }
.viewControlButton:hover {
  background: rgba(255,255,255,0.12);
  transform: scale(1.05);
}
.viewControlButton .icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  margin-left: -11px;
  fill: #ffffff;
}
.viewControlButton-1 { margin-left: -185px; }
.viewControlButton-2 { margin-left: -125px; }
.viewControlButton-3 { margin-left: -65px; }
.viewControlButton-4 { margin-left: -5px; }
.viewControlButton-5 { margin-left: 55px; }
.viewControlButton-6 { margin-left: 115px; }

/* ---------- 12. RESPONSIVE (MOBILE) ---------- */
@media (max-width: 768px) {
  #embedded-container {
    flex-direction: column !important;
    width: calc(100vw - 16px) !important;
    min-width: 620px !important;
    height: 60vh !important;
    max-height: none !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 16px;
    overflow: hidden;
    background: #1a1a1a;
    min-height: 540px;
  }

  #iframespot {
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 0 !important;
    min-height: 0 !important;
    background: #000;
    order: 1;
    position: relative !important;
  }
  #iframespot iframe {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
  }

  #iframeselect {
    flex: 0 0 auto !important;
    width: 100% !important;
    height: auto !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    padding: 6px 4px !important;
    background: rgba(120,20,20,0.95);
    order: 2;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  #iframeselect li {
    flex: 1 1 60px !important;
    max-width: 95px !important;
    padding: 8px 4px !important;
    font-size: 13px !important;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.04);
  }
  #iframeselect li:last-child { border-right: none; }
  #iframeselect li::before { content: "" !important; }
  
  
  #swipe-indicators .swipe-indicator {font-size: 24px !important;}
}

/* ---------- 13. SCROLLBAR GLOBAL ---------- */
#sceneList::-webkit-scrollbar,
.info-hotspot .info-hotspot-text::-webkit-scrollbar,
.info-hotspot-modal::-webkit-scrollbar {
  width: 4px;
}
#sceneList::-webkit-scrollbar-track,
.info-hotspot .info-hotspot-text::-webkit-scrollbar-track,
.info-hotspot-modal::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.02);
}
#sceneList::-webkit-scrollbar-thumb,
.info-hotspot .info-hotspot-text::-webkit-scrollbar-thumb,
.info-hotspot-modal::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
}

/* ---------- 14. PERBAIKAN INTERAKSI GYRO & HOTSPOT OVERLAY ---------- */
.marzipano-canvas-container,
.marzipano-hotspot-container,
#embedded-container,
#embedded-container *,
#embedded-container iframe,
.info-hotspot,
.info-hotspot-header,
.info-hotspot-icon-wrapper,
.info-hotspot-title-wrapper,
.info-hotspot-close-wrapper,
.info-hotspot-modal {
  pointer-events: auto !important;
  touch-action: manipulation !important;
}

#embedded-container iframe {
  z-index: 999 !important;
}

.info-hotspot-modal {
  z-index: 99999 !important;
}