:root {
  --wp-admin-bar-height: 0px;
}
body.admin-bar {
  --wp-admin-bar-height: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar {
    --wp-admin-bar-height: 46px;
  }
}

/* Reset html and body for fullwidth / standalone tour pages */
html:has(.park-360-tour),
html[class*="page-template-360-fullwidth"],
body:has(.park-360-tour),
body[class*="page-template-360-fullwidth"] {
  margin-top: 0 !important;
  padding-top: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
}

/* Body overrides when landing page, 360 tour, or fullwidth template is present */
body:has(.park-360-landing-page),
body:has(.park-360-tour),
body[class*="page-template-360-fullwidth"] {
  background: #0a0b10 !important;
  color: #f7f7fb !important;
  font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide default theme header / footer / site title */
body:has(.park-360-landing-page) header.wp-block-template-part,
body:has(.park-360-landing-page) footer.wp-block-template-part,
body:has(.park-360-landing-page) .wp-block-template-part,
body:has(.park-360-landing-page) .entry-header,
body:has(.park-360-landing-page) .entry-title,
body:has(.park-360-landing-page) .post-title,
body:has(.park-360-landing-page) .site-header,
body:has(.park-360-landing-page) .site-footer,
body[class*="page-template-360-fullwidth"] header.wp-block-template-part,
body[class*="page-template-360-fullwidth"] footer.wp-block-template-part,
body[class*="page-template-360-fullwidth"] .wp-block-template-part,
body[class*="page-template-360-fullwidth"] .entry-header,
body[class*="page-template-360-fullwidth"] .entry-title,
body[class*="page-template-360-fullwidth"] .post-title,
body[class*="page-template-360-fullwidth"] .site-header,
body[class*="page-template-360-fullwidth"] .site-footer {
  display: none !important;
}

/* Remove WP block editor default padding & separator lines */
body:has(.park-360-landing-page) .wp-site-blocks,
body:has(.park-360-landing-page) .entry-content,
body:has(.park-360-landing-page) .wp-block-post-content,
body:has(.park-360-tour) .wp-site-blocks,
body:has(.park-360-tour) main,
body:has(.park-360-tour) .entry-content,
body:has(.park-360-tour) .wp-block-post-content,
body[class*="page-template-360-fullwidth"] .wp-site-blocks,
body[class*="page-template-360-fullwidth"] main,
body[class*="page-template-360-fullwidth"] .entry-content,
body[class*="page-template-360-fullwidth"] .wp-block-post-content {
  margin: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  border: none !important;
}

body:not(:has(.park-360-landing-page)) .wp-block-separator,
body[class*="page-template-360-fullwidth"] .wp-block-separator {
  display: none !important;
}

/* ----------------------------------------------------------------
   Fullscreen Tour Wrapper & Dynamic Mount (#park-360-tour-wrapper)
   ---------------------------------------------------------------- */
#park-360-tour-wrapper {
  position: relative;
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background-color: #0a0b10;
}

#park-360-tour-mount,
#park-360-tour-mount .ipanorama,
#park-360-tour-mount .ipnrm {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

body:has(#park-360-tour-wrapper),
body.page-template-360-fullwidth-2,
body[class*="page-template-360-fullwidth"] {
  height: 100vh !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:has(#park-360-tour-wrapper) .wp-site-blocks,
body:has(#park-360-tour-wrapper) main,
body:has(#park-360-tour-wrapper) .entry-content,
body:has(#park-360-tour-wrapper) .wp-block-post-content,
body.page-template-360-fullwidth-2 .wp-site-blocks,
body.page-template-360-fullwidth-2 main,
body.page-template-360-fullwidth-2 .entry-content,
body.page-template-360-fullwidth-2 .wp-block-post-content {
  height: 100% !important;
  min-height: 100vh !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ----------------------------------------------------------------
   Root wrapper
   ---------------------------------------------------------------- */
.park-360-landing-page {
  position: relative;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 79, 154, 0.22), transparent 32rem),
    radial-gradient(circle at 85% 12%, rgba(65, 177, 255, 0.20), transparent 30rem),
    linear-gradient(180deg, #0a0b10 0%, #121520 48%, #08090d 100%);
  min-height: 100vh;
  overflow-x: hidden;  /* horizontal only - never clip vertical scroll */
  padding-bottom: 2rem;
}

/* Ambient glow orbs */
.park-360-landing-page::before {
  content: '';
  position: fixed;
  top: 8%;
  left: 4%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.park-360-landing-page::after {
  content: '';
  position: fixed;
  top: 45%;
  right: 4%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.09) 0%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

/* ----------------------------------------------------------------
   Container
   ---------------------------------------------------------------- */
.park-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* ----------------------------------------------------------------
   Hero
   ---------------------------------------------------------------- */
.park-hero {
  display: grid;
  min-height: 80vh;
  align-items: center;
  padding: 80px 2rem 48px;
  animation: fadeInUp 0.9s ease-out both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.park-kicker {
  margin: 0 0 16px;
  color: #9ee8d9;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid rgba(158, 232, 217, 0.25);
  border-radius: 999px;
  background: rgba(158, 232, 217, 0.06);
}

.park-hero h1 {
  max-width: 860px;
  margin: 0;
  background: linear-gradient(100deg, #ffffff 20%, #ff78b4 58%, #78c7ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(3rem, 7.5vw, 7rem);
  font-weight: 800;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.park-hero > div > p {
  max-width: 680px;
  margin: 28px 0 0;
  color: #c2c8d8;
  font-size: 1.12rem;
  line-height: 1.8;
}

.park-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.park-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0 28px;
  background: linear-gradient(135deg, #ff4f9a, #6078ff);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 50px rgba(255, 79, 154, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.park-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(255, 79, 154, 0.42);
  color: #fff;
  text-decoration: none;
}

.park-button.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #dce2f0;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.1);
}

.park-button.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  color: #fff;
}

/* ----------------------------------------------------------------
   Overview strip
   ---------------------------------------------------------------- */
.park-overview {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  padding: 16px 2rem 72px;
}

.park-panel,
.tour-shell,
.highlight-card,
.guide-card {
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.park-panel {
  border-radius: 12px;
  padding: 32px;
}

.park-panel h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  line-height: 1.1;
}

.park-panel > p {
  color: #c0c8da;
  line-height: 1.75;
  margin: 0;
}

.park-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-content: center;
}

.park-stat {
  text-align: center;
  padding: 24px 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.park-stat:first-child { border-left: none; }

.park-stat strong {
  display: block;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ff78b4, #78c7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.park-stat span {
  color: #8f98b0;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ----------------------------------------------------------------
   Tour section
   ---------------------------------------------------------------- */
.tour-section {
  padding: 8px 2rem 80px;
}

.tour-shell {
  border-radius: 16px;
  padding: 24px;
}

.tour-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.tour-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.tour-head p {
  max-width: 460px;
  margin: 0;
  color: #9aa3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: right;
}

/* Standalone full-screen 360 viewer (or template 360-fullwidth / pages without landing page wrapper) */
body:not(:has(.park-360-landing-page)) .park-360-tour,
body[class*="page-template-360-fullwidth"] .park-360-tour {
  position: absolute !important;
  top: var(--wp-admin-bar-height, 0px) !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: calc(100vh - var(--wp-admin-bar-height, 0px)) !important;
  min-height: calc(100vh - var(--wp-admin-bar-height, 0px)) !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  z-index: 1 !important;
  overflow: hidden !important;
}

/* 360 viewer container inside landing page */
.park-360-landing-page .park-360-tour {
  position: relative !important;
  width: 100%;
  height: 640px;
  min-height: 640px;
  border-radius: 10px;
  overflow: hidden;
  background: #05060a;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.park-360-tour iframe,
.park-360-tour canvas,
.park-360-tour div {
  max-width: 100%;
}

/* Scene quick-jump */
.scene-jump {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.scene-btn {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 6px 14px 6px 6px;
  background: rgba(255, 255, 255, 0.035);
  color: #e0e4f0;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}

.scene-btn img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.scene-btn:hover {
  border-color: rgba(255, 120, 180, 0.6);
  background: rgba(255, 120, 180, 0.10);
  transform: translateY(-2px);
  color: #fff;
}

.scene-btn.active {
  border-color: rgba(255, 120, 180, 0.85);
  background: rgba(255, 120, 180, 0.15);
  color: #fff;
  box-shadow: 0 0 14px rgba(255, 79, 154, 0.22);
}

/* ----------------------------------------------------------------
   Highlights grid
   ---------------------------------------------------------------- */
.highlights,
.guide {
  padding: 0 2rem 80px;
}

.highlights h2,
.guide h2 {
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 800;
  background: linear-gradient(90deg, #fff 40%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.highlight-card {
  border-radius: 12px;
  padding: 0 0 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  position: relative;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff4f9a, #6078ff);
  opacity: 0;
  transition: opacity 0.22s;
}

.highlight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(120, 199, 255, 0.4);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.highlight-card:hover::before { opacity: 1; }

.highlight-card img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
}

.highlight-card h3 {
  margin: 18px 18px 8px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
}

.highlight-card p {
  margin: 0 18px;
  color: #aab2c5;
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ----------------------------------------------------------------
   Usage guide
   ---------------------------------------------------------------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.guide-card {
  border-radius: 12px;
  padding: 26px 24px;
  transition: border-color 0.2s;
}

.guide-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
}

.guide-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

.guide-card p {
  margin: 0;
  color: #9aa3b8;
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */
.park-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 36px 2rem 48px;
  color: #6b7485;
  font-size: 0.9rem;
  text-align: center;
}

.park-footer p {
  margin: 0;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .park-overview {
    grid-template-columns: 1fr;
  }

  .scene-jump {
    grid-template-columns: repeat(2, 1fr);
  }

  .park-360-tour {
    height: 520px;
    min-height: 520px;
  }

  .highlight-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .park-container,
  .park-overview,
  .tour-section,
  .highlights,
  .guide {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .tour-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .tour-head p {
    text-align: left;
  }

  .park-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .park-hero {
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 40px;
  }

  .park-stats {
    grid-template-columns: 1fr;
  }

  .park-stat {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .scene-jump {
    grid-template-columns: 1fr;
  }

  .park-360-tour {
    height: 380px;
    min-height: 380px;
  }

  .highlight-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }
}


/* ================================================================
   iPanorama Custom Marker & Left Main Scenes Menu Styles
   ================================================================ */

/* Custom main marker (Cảnh Tổng quan) */
.main-marker .ipnrm-pos,
.main-marker .ipnrm-zoom,
.main-marker .ipnrm-offset,
.main-marker .ipnrm-body {
  overflow: visible !important;
}

.main-marker .ipnrm-body {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.main-marker .ipnrm-body img {
  width: 100px !important;
  height: 80px !important;
  border-radius: 50%;
  object-fit: cover;
  overflow: hidden;
  transition: transform 0.5s ease;
  transform-origin: 50% 50%;
  pointer-events: auto;
}

.main-marker .ipnrm-body:hover img {
  transform: scale(1.5);
}

/* Custom statue marker (Marker Tượng / Linh vật) */
.marker-statue .ipnrm-pos,
.marker-statue .ipnrm-zoom,
.marker-statue .ipnrm-offset,
.marker-statue .ipnrm-body {
  overflow: visible !important;
}

.marker-statue .ipnrm-body {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.marker-statue .ipnrm-body img {
  width: 60px !important;
  height: 80px !important;
  object-fit: cover;
  overflow: hidden;
  transition: transform 0.5s ease;
  transform-origin: 50% 50%;
  pointer-events: auto;
}

.marker-statue .ipnrm-body:hover img {
  transform: scale(1.5);
}

/* Custom info marker (Marker Thông tin: Ảnh & Link Embed) - hỗ trợ .marker-info, .marker_info và ảnh info.png */
.marker-info .ipnrm-pos,
.marker-info .ipnrm-zoom,
.marker-info .ipnrm-offset,
.marker-info .ipnrm-body,
.marker_info .ipnrm-pos,
.marker_info .ipnrm-zoom,
.marker_info .ipnrm-offset,
.marker_info .ipnrm-body {
  overflow: visible !important;
}

.marker-info .ipnrm-body,
.marker_info .ipnrm-body {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}

.marker-info .ipnrm-body img,
.marker_info .ipnrm-body img,
.ipnrm-body img[src*="info.png"],
.ipnrm-body img[src*="info-1.png"],
.ipnrm-marker[data-id*="info"] .ipnrm-body img {
  width: var(--ipnrm-info-icon-size, 40px) !important;
  height: var(--ipnrm-info-icon-size, 40px) !important;
  max-width: var(--ipnrm-info-icon-size, 40px) !important;
  max-height: var(--ipnrm-info-icon-size, 40px) !important;
  object-fit: contain !important;
  overflow: visible !important;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease !important;
  transform-origin: 50% 50%;
  pointer-events: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 8px var(--ipnrm-info-glow, rgba(56, 189, 248, 0.4))) !important;
}

.marker-info .ipnrm-body:hover img,
.marker_info .ipnrm-body:hover img,
.ipnrm-body:hover img[src*="info.png"],
.ipnrm-body:hover img[src*="info-1.png"],
.ipnrm-marker[data-id*="info"] .ipnrm-body:hover img {
  transform: scale(1.25) !important;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 20px var(--ipnrm-info-glow, rgba(56, 189, 248, 0.95))) !important;
}

.marker-info .ipnrm-body .marker-title,
.marker_info .ipnrm-body .marker-title {
  background: var(--ipnrm-info-title-bg, rgba(15, 23, 42, 0.88)) !important;
  color: var(--ipnrm-info-title-color, #ffffff) !important;
  font-size: var(--ipnrm-info-title-size, 14px) !important;
  box-shadow: 0 0 12px var(--ipnrm-info-glow, rgba(14, 165, 233, 0.65)) !important;
  border: 1px solid var(--ipnrm-info-glow, rgba(56, 189, 248, 0.4)) !important;
}

.ipnrm-offset:has(.marker-info .ipnrm-body:hover) .ipnrm-body .marker-title,
.marker-info .ipnrm-body:hover .marker-title,
.ipnrm-offset:has(.marker_info .ipnrm-body:hover) .ipnrm-body .marker-title,
.marker_info .ipnrm-body:hover .marker-title {
  transform: translateY(28px) !important;
  background: var(--ipnrm-info-title-bg, rgba(15, 23, 42, 0.94)) !important;
  border-color: var(--ipnrm-info-glow, rgba(56, 189, 248, 0.85)) !important;
  box-shadow: 0 0 25px 6px var(--ipnrm-info-glow, rgba(56, 189, 248, 0.8)) !important;
}

/* Chế độ chỉ hiển thị nhãn title khi rê chuột / chạm (Hover Only Mode) */
body.ipnrm-hover-marker-info-title .marker-info .ipnrm-body .marker-title,
body.ipnrm-hover-marker-info-title .marker_info .ipnrm-body .marker-title,
body.ipnrm-hover-marker-info-title .marker-info .marker-title,
body.ipnrm-hover-marker-info-title .marker_info .marker-title,
body.ipnrm-hover-marker-info-title .ipnrm-marker.marker-info .marker-title,
body.ipnrm-hover-marker-info-title .ipnrm-marker.marker_info .marker-title,
body.ipnrm-hover-marker-info-title .ipnrm-marker[data-id*="info"]:not(.marker-statue):not(.main-marker) .marker-title,
body.ipnrm-hover-marker-info-title .ipnrm-marker:not(.marker-statue):not(.main-marker) .ipnrm-body:has(img[src*="info"]) .marker-title {
  opacity: 0 !important;
  transform: translateY(10px) !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, transform 0.3s ease !important;
}

body.ipnrm-hover-marker-info-title .marker-info .ipnrm-body:hover .marker-title,
body.ipnrm-hover-marker-info-title .marker_info .ipnrm-body:hover .marker-title,
body.ipnrm-hover-marker-info-title .ipnrm-offset:has(.marker-info .ipnrm-body:hover) .ipnrm-body .marker-title,
body.ipnrm-hover-marker-info-title .ipnrm-offset:has(.marker_info .ipnrm-body:hover) .ipnrm-body .marker-title,
body.ipnrm-hover-marker-info-title .ipnrm-marker[data-id*="info"]:hover .marker-title,
body.ipnrm-hover-marker-info-title .ipnrm-marker:not(.marker-statue):not(.main-marker) .ipnrm-body:hover:has(img[src*="info"]) .marker-title {
  opacity: 1 !important;
  transform: translateY(28px) !important;
  pointer-events: auto !important;
}

/* Hiệu ứng nhịp đập phát sáng cho icon marker thông tin / ảnh */
@keyframes ipnrmInfoPulse {
  0% { transform: scale(1); filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 6px var(--ipnrm-info-glow, #38bdf8)); }
  50% { transform: scale(1.15); filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 20px var(--ipnrm-info-glow, #38bdf8)); }
  100% { transform: scale(1); filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 6px var(--ipnrm-info-glow, #38bdf8)); }
}
body.ipnrm-pulse-marker-info .marker-info .ipnrm-body img,
body.ipnrm-pulse-marker-info .marker_info .ipnrm-body img,
body.ipnrm-pulse-marker-info .ipnrm-body img[src*="info.png"],
body.ipnrm-pulse-marker-info .ipnrm-body img[src*="info-1.png"] {
  animation: ipnrmInfoPulse 2.4s infinite ease-in-out !important;
}
body.ipnrm-pulse-marker-info .marker-info .ipnrm-body:hover img,
body.ipnrm-pulse-marker-info .marker_info .ipnrm-body:hover img {
  animation: none !important;
}

/* Ẩn nhãn tiêu đề (title/label) cho Marker Info khi tắt tính năng trong Cấu hình */
body.ipnrm-hide-marker-info-title .marker-info .ipnrm-body .marker-title,
body.ipnrm-hide-marker-info-title .marker_info .ipnrm-body .marker-title,
body.ipnrm-hide-marker-info-title .marker-info .marker-title,
body.ipnrm-hide-marker-info-title .marker_info .marker-title,
body.ipnrm-hide-marker-info-title .ipnrm-marker.marker-info .marker-title,
body.ipnrm-hide-marker-info-title .ipnrm-marker.marker_info .marker-title,
body.ipnrm-hide-marker-info-title .ipnrm-marker[data-id*="info"]:not(.marker-statue):not(.main-marker) .marker-title,
body.ipnrm-hide-marker-info-title .ipnrm-marker[data-id*="Info"]:not(.marker-statue):not(.main-marker) .marker-title,
body.ipnrm-hide-marker-info-title .ipnrm-marker[data-marker-id*="info"]:not(.marker-statue):not(.main-marker) .marker-title,
body.ipnrm-hide-marker-info-title .ipnrm-marker[data-marker-id*="Info"]:not(.marker-statue):not(.main-marker) .marker-title,
body.ipnrm-hide-marker-info-title .ipnrm-marker:not(.marker-statue):not(.main-marker) .ipnrm-body:has(img[src*="info.png"]) .marker-title {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.ipnrm-hide-marker-info-title .ipnrm-offset:has(.marker-info .ipnrm-body:hover) .ipnrm-body .marker-title,
body.ipnrm-hide-marker-info-title .marker-info .ipnrm-body:hover .marker-title,
body.ipnrm-hide-marker-info-title .ipnrm-offset:has(.marker_info .ipnrm-body:hover) .ipnrm-body .marker-title,
body.ipnrm-hide-marker-info-title .marker_info .ipnrm-body:hover .marker-title,
body.ipnrm-hide-marker-info-title .ipnrm-marker:not(.marker-statue):not(.main-marker) .ipnrm-offset:has(.ipnrm-body:hover img[src*="info.png"]) .ipnrm-body .marker-title {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.ipnrm-body .marker-title {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  transition: all 0.5s ease;
  margin-top: 0px;
  text-align: center;
  width: auto;
  margin-bottom: 0px;
  line-height: 1.4;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  padding: 5px 14px;
  background: rgba(30, 30, 30, 0.7);
  color: #ffffff;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  min-width: 100px;
  box-shadow: 0 0 10px rgba(255, 68, 68, 0.7);
}

.ipnrm-offset:has(.ipnrm-body:hover) .ipnrm-body .marker-title {
  transform: translateY(36px);
  background: rgba(30, 30, 30, 0.9);
  box-shadow: 0 0 30px 10px #ff4444;
}

/* Custom detail marker (Vòng Tròn 3D Nằm Rạp Mặt Đất) */
@keyframes sceneHotspotPulse {
  0%, 100% {
    transform: rotateX(-0.2turn) scale(0.95);
  }
  50% {
    transform: rotateX(-0.2turn) scale(1.15);
  }
}

@keyframes sceneRingStretch {
  0% {
    transform: scale(0.85);
    opacity: 0.65;
  }
  100% {
    transform: scale(1.25);
    opacity: 1;
  }
}

.custom-ring-marker .ipnrm-pos,
.custom-ring-marker .ipnrm-zoom,
.custom-ring-marker .ipnrm-offset,
.custom-ring-marker .ipnrm-body {
  width: 60px !important;
  height: 60px !important;
  overflow: visible !important;
}

.custom-ring-marker .ipnrm-body {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transform-origin: 50% 50% !important;
  transform: rotateX(-0.2turn) !important;
  animation: sceneHotspotPulse 3s ease-in-out infinite !important;
  pointer-events: auto !important;
}

.custom-ring-marker .ipnrm-body img {
  width: 80px !important;
  height: 80px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  animation: sceneRingStretch 1.2s ease-out alternate infinite !important;
  filter: brightness(0) invert(1) 
          drop-shadow(0 0 6px rgba(255, 255, 255, 0.9)) 
          drop-shadow(0 0 14px rgba(255, 255, 255, 0.6)) 
          drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7)) !important;
  transition: filter 300ms ease, transform 300ms ease !important;
}

.custom-ring-marker .ipnrm-body:hover {
  animation-play-state: paused !important;
}

.custom-ring-marker .ipnrm-body:hover img {
  transform: scale(1.35) !important;
  filter: brightness(0) invert(1) 
          drop-shadow(0 0 10px rgba(255, 255, 255, 1)) 
          drop-shadow(0 0 22px rgba(255, 255, 255, 0.8)) 
          drop-shadow(0 4px 8px rgba(0, 0, 0, 0.85)) !important;
}

/* Note: .ipnrm-custom-btn-list-scenes is defined under Project UI Features section below */

.ipnrm-scenes-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(8, 12, 22, 0.82) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 350ms cubic-bezier(0.16, 1, 0.3, 1), visibility 350ms ease !important;
}

.ipnrm-scenes-backdrop.open {
  opacity: 1 !important;
  visibility: visible !important;
}

.ipnrm-scenes-card {
  width: 92% !important;
  max-width: 660px !important;
  max-height: 85vh !important;
  background: rgba(15, 23, 42, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 20px !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(59, 130, 246, 0.25) !important;
  color: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  transform: scale(0.9) translateY(20px) !important;
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.ipnrm-scenes-backdrop.open .ipnrm-scenes-card {
  transform: scale(1) translateY(0) !important;
}

.ipnrm-scenes-header {
  padding: 20px 24px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.02) !important;
}

.ipnrm-scenes-title-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.ipnrm-scenes-title-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.ipnrm-scenes-title-icon {
  width: 28px !important;
  height: 28px !important;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%) !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4) !important;
}

.ipnrm-scenes-title-icon svg {
  width: 16px !important;
  height: 16px !important;
  fill: #ffffff !important;
}

.ipnrm-scenes-title {
  font-family: 'Be Vietnam Pro', sans-serif !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 !important;
  letter-spacing: -0.01em !important;
}

.ipnrm-scenes-subtitle {
  font-family: 'Be Vietnam Pro', sans-serif !important;
  font-size: 0.82rem !important;
  color: #94a3b8 !important;
  margin: 0 !important;
}

.ipnrm-scenes-close {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #cbd5e1 !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.4rem !important;
  line-height: 1 !important;
  transition: all 200ms ease !important;
}

.ipnrm-scenes-close:hover {
  background: rgba(239, 68, 68, 0.85) !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
  transform: rotate(90deg) scale(1.1) !important;
}

.ipnrm-scenes-body {
  padding: 22px 24px !important;
  overflow-y: auto !important;
  flex: 1 !important;
}

.ipnrm-scene-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 18px !important;
}

.ipnrm-scene-item {
  position: relative !important;
  height: 160px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  cursor: pointer !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: #0f172a !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
  transition: all 350ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ipnrm-scene-item:hover {
  border-color: #3b82f6 !important;
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(59, 130, 246, 0.4) !important;
}

.ipnrm-scene-thumb {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ipnrm-scene-item:hover .ipnrm-scene-thumb {
  transform: scale(1.12) !important;
}

.ipnrm-scene-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.95) 100%) !important;
  transition: background 300ms ease !important;
}

.ipnrm-scene-item:hover .ipnrm-scene-overlay {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.45) 40%, rgba(30, 58, 138, 0.92) 100%) !important;
}

.ipnrm-scene-info {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  padding: 14px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  z-index: 2 !important;
}

.ipnrm-scene-name {
  font-family: 'Be Vietnam Pro', sans-serif !important;
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

.ipnrm-scene-arrow svg {
  width: 18px !important;
  height: 18px !important;
  stroke: #ffffff !important;
}

.ipnrm-scene-arrow {
  opacity: 0.7 !important;
  transition: transform 300ms ease, opacity 300ms ease !important;
}

.ipnrm-scene-item:hover .ipnrm-scene-arrow {
  opacity: 1 !important;
  transform: translateX(4px) !important;
}

/* ================================================================
   Boot loading overlay — covers screen until tour background image ready
   ================================================================ */
.park360-boot-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: #0a0b10 !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1;
  transition: opacity 350ms ease !important;
}

.park360-boot-overlay-hide {
  opacity: 0 !important;
  pointer-events: none !important;
}

.park360-boot-spinner {
  width: 44px !important;
  height: 44px !important;
  border: 3px solid rgba(255, 255, 255, 0.15) !important;
  border-top-color: #ffffff !important;
  border-radius: 50% !important;
  animation: park360BootSpin 0.8s linear infinite !important;
}

@keyframes park360BootSpin {
  to { transform: rotate(360deg); }
}

/* ================================================================
   Language Switcher on First-Load Waiting Screen
   ================================================================ */
.park360-firstload-btn {
  position: absolute !important;
  z-index: 100 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 250ms ease, border-color 250ms ease !important;
}

/* Desktop: overlaying directly on the banner flag */
.park360-firstload-btn:not(.park360-floating-mode) {
  border-radius: 16px !important;
  border: 2px solid transparent !important;
  background: transparent !important;
}

.park360-firstload-btn:not(.park360-floating-mode) .park360-firstload-highlight {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.35), inset 0 0 10px rgba(255, 255, 255, 0.2);
  animation: park360Pulse 2.4s infinite ease-in-out;
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.park360-firstload-btn:not(.park360-floating-mode):hover {
  transform: scale(1.08) !important;
}

.park360-firstload-btn:not(.park360-floating-mode):hover .park360-firstload-highlight {
  border-color: #f59e0b !important;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.95), inset 0 0 15px rgba(245, 158, 11, 0.5) !important;
  opacity: 1 !important;
}

.park360-firstload-btn:not(.park360-floating-mode) .park360-floating-content {
  display: none !important;
}

/* Mobile / Narrow mode: Elegant floating glassmorphism pill badge */
.park360-firstload-btn.park360-floating-mode {
  border-radius: 999px !important;
  background: rgba(38, 22, 16, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7), 0 0 20px rgba(181, 83, 46, 0.4) !important;
  padding: 8px 18px !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  color: #ffffff !important;
}

.park360-firstload-btn.park360-floating-mode:hover {
  background: #B5532E !important;
  border-color: #D96E3F !important;
  transform: scale(1.06) !important;
  box-shadow: 0 10px 28px rgba(181, 83, 46, 0.8) !important;
}

.park360-firstload-btn.park360-floating-mode .park360-firstload-highlight {
  display: none !important;
}

.park360-firstload-btn.park360-floating-mode .park360-floating-content {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: 'Be Vietnam Pro', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
}

.park360-firstload-btn.park360-floating-mode .park360-flag-icon {
  font-size: 1.25rem !important;
  line-height: 1 !important;
}

@keyframes park360Pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 22px rgba(245, 158, 11, 0.8), inset 0 0 12px rgba(245, 158, 11, 0.3);
  }
}

/* ================================================================
   Completely Disable iPanorama's Native Waiting Screen
   All splash & language selection is managed by Park 360 Plugin
   ================================================================ */
.ipnrm .ipnrm-first-load,
.ipnrm .ipnrm-preview,
.ipnrm.ipnrm-widget-modern .ipnrm-first-load,
.ipnrm.ipnrm-widget-civic .ipnrm-first-load {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.ipnrm {
  background-image: none !important;
}

/* ================================================================
   Plugin Dedicated Waiting Screen (First-Load Splash)
   ================================================================ */
#park360-waiting-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2147483647 !important;
  overflow: hidden;
  background-color: #000000;
  transition: opacity 400ms cubic-bezier(0.16, 1, 0.3, 1), visibility 400ms ease;
  user-select: none;
  display: block;
  cursor: pointer;
}

#park360-waiting-screen.park360-waiting-fadeout {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.park360-waiting-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.park360-waiting-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

.park360-waiting-buttons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  cursor: pointer;
}

.park360-cluster-backdrop {
  position: absolute;
  pointer-events: none;
  z-index: 50;
  box-sizing: border-box;
  transition: transform 250ms ease, opacity 250ms ease;
}

.park360-lang-choice {
  position: absolute;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none !important;
  box-sizing: border-box;
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 250ms ease, background 250ms ease;
  user-select: none;
}

.park360-choice-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: inherit;
}

.park360-choice-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
}

.park360-btn-icon,
.park360-choice-flag img {
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
  flex-shrink: 0;
  max-width: 100%;
  max-height: 100%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease;
}

.park360-lang-choice:hover .park360-btn-icon {
  transform: scale(1.05);
}

.park360-choice-text {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* Content visibility control */
.park360-content-none .park360-waiting-buttons,
.park360-content-none .park360-lang-choice,
.park360-content-none .park360-choice-badge,
.park360-content-none .park360-choice-pulse,
.park360-content-none .park360-lang-choice::after,
.park360-content-none .park360-lang-choice.is-active::after,
.park360-theme-invisible .park360-waiting-buttons,
.park360-theme-invisible .park360-lang-choice,
.park360-theme-invisible .park360-choice-badge,
.park360-theme-invisible .park360-choice-pulse,
.park360-theme-invisible .park360-lang-choice::after,
.park360-theme-invisible .park360-lang-choice.is-active::after,
.park360-waiting-screen:not(.park360-multi-lang) .park360-waiting-buttons,
.park360-waiting-screen .park360-waiting-buttons:empty {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  border: none !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

/* Exception: khi có icon ảnh tùy chỉnh (has-custom-icon), luôn hiển thị badge và cờ dù ở bất kỳ theme hay content mode nào */
/* Exception: khi có icon ảnh tùy chỉnh (has-custom-icon) và content mode KHÔNG PHẢI none */
.park360-lang-choice.has-custom-icon {
  overflow: visible !important;
}

.park360-lang-choice.has-custom-icon .park360-choice-badge,
.park360-content-none .park360-lang-choice.has-custom-icon .park360-choice-badge,
.park360-waiting-screen .park360-lang-choice.has-custom-icon .park360-choice-badge,
.park360-waiting-screen:not(.park360-content-none) .park360-lang-choice.has-custom-icon .park360-choice-badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
}

.park360-lang-choice.has-custom-icon .park360-choice-flag,
.park360-content-none .park360-lang-choice.has-custom-icon .park360-choice-flag,
.park360-waiting-screen:not(.park360-content-none) .park360-lang-choice.has-custom-icon .park360-choice-flag,
.park360-content-flag_only .park360-choice-flag {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  font-size: 0 !important;
  line-height: normal !important;
}

.park360-lang-choice.has-custom-icon .park360-btn-icon,
.park360-lang-choice.has-custom-icon .park360-choice-flag img {
  display: block;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  aspect-ratio: 3 / 2 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease;
}

.park360-choice-flag-fallback {
  font-size: 1.8rem;
  line-height: 1;
}

/* Ẩn text khi content=none nhưng có icon */
.park360-content-none .park360-lang-choice.has-custom-icon .park360-choice-text {
  display: none !important;
}

.park360-content-flag_only .park360-choice-text {
  display: none !important;
}

.park360-content-text_only .park360-choice-flag {
  display: none !important;
}

/* Nếu có custom icon nhưng mode là text_only, ưu tiên hiển thị cả icon */
.park360-content-text_only .park360-lang-choice.has-custom-icon .park360-choice-flag {
  display: inline-flex !important;
}

.park360-content-text_only .park360-choice-text {
  display: inline-block !important;
}

/* Themes */
/* 1. Hotspot Glow (Transparent with pulsating glowing border) */
.park360-theme-hotspot_glow .park360-lang-choice {
  background: transparent;
  border-radius: 16px;
}
.park360-theme-hotspot_glow .park360-choice-pulse {
  display: block;
}

/* 2. Dark Glassmorphism */
.park360-theme-glass_dark .park360-lang-choice {
  background: rgba(28, 18, 14, 0.92);
  border: 2px solid #D96E3F;
  border-radius: 999px;
  padding: 10px 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(217, 110, 63, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
}
.park360-theme-glass_dark .park360-choice-pulse {
  display: none;
}

/* 3. Solid Pill */
.park360-theme-solid_pill .park360-lang-choice {
  background: #B5532E;
  border: 2px solid #ffffff;
  border-radius: 999px;
  padding: 10px 22px;
  box-shadow: 0 8px 24px rgba(181, 83, 46, 0.5);
  color: #ffffff;
}
.park360-theme-solid_pill .park360-choice-pulse {
  display: none;
}

/* 4. Rounded Card */
.park360-theme-rounded_card .park360-lang-choice {
  background: rgba(15, 23, 42, 0.92);
  border: 2px solid #38bdf8;
  border-radius: 12px;
  padding: 12px 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  color: #ffffff;
}
.park360-theme-rounded_card .park360-choice-pulse {
  display: none;
}

/* 5. Invisible Hitbox */
.park360-theme-invisible .park360-lang-choice {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.park360-theme-invisible .park360-choice-pulse {
  display: none !important;
}

/* Hover Zoom */
.park360-hover-zoom .park360-lang-choice:hover,
.park360-lang-choice:hover {
  transform: scale(1.08);
}
.park360-lang-choice.park360-no-hover-zoom:hover {
  transform: none;
}

/* Pulse animation */
.park360-choice-pulse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 16px rgba(217, 110, 63, 0.6);
  animation: park360Pulse 2.2s infinite ease-in-out;
  pointer-events: none;
}

.park360-lang-choice-vi .park360-choice-pulse {
  border-color: rgba(239, 68, 68, 0.85);
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.7);
}

.park360-lang-choice-en .park360-choice-pulse {
  border-color: rgba(245, 158, 11, 0.85);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.7);
}

.park360-pulse-disabled .park360-choice-pulse {
  display: none !important;
}

.park360-lang-choice.park360-pulse-attention {
  animation: park360Attention 0.6s ease-in-out 2 !important;
}

/* ================================================================
   Active / Default Language State on Waiting Screen UI
   ================================================================ */
.park360-lang-choice.is-active,
.park360-lang-choice.park360-lang-choice-active {
  z-index: 110 !important;
  transform: scale(1.05);
}

.park360-lang-choice.is-active .park360-btn-icon,
.park360-lang-choice.park360-lang-choice-active .park360-btn-icon {
  box-shadow: 0 0 0 3.5px #ffd700, 0 0 22px rgba(255, 215, 0, 0.8), 0 8px 24px rgba(0, 0, 0, 0.6) !important;
  transform: scale(1.03);
}

.park360-lang-choice.is-active .park360-choice-pulse,
.park360-lang-choice.park360-lang-choice-active .park360-choice-pulse {
  display: block !important;
  border-width: 3px !important;
  border-color: #ffd700 !important;
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.9), inset 0 0 12px rgba(255, 215, 0, 0.45) !important;
  animation: park360ActivePulse 2s infinite ease-in-out !important;
}

@keyframes park360ActivePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.09);
    opacity: 1;
    box-shadow: 0 0 32px rgba(255, 215, 0, 1), inset 0 0 18px rgba(255, 215, 0, 0.7);
  }
}

/* Inactive button subtle state on waiting screen */
.park360-waiting-screen .park360-lang-choice:not(.is-active) {
  opacity: 0.82;
  filter: brightness(0.92);
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}

.park360-waiting-screen .park360-lang-choice:not(.is-active):hover {
  opacity: 1;
  filter: none;
  transform: scale(1.06);
}

/* Active checkmark badge on top-right of active button */
.park360-lang-choice.is-active::after,
.park360-lang-choice.park360-lang-choice-active::after {
  content: '✓';
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 0 2px #ffffff;
  z-index: 115;
  pointer-events: none;
}

/* Active state for card / pill themes */
.park360-theme-glass_dark .park360-lang-choice.is-active,
.park360-theme-solid_pill .park360-lang-choice.is-active,
.park360-theme-rounded_card .park360-lang-choice.is-active {
  border-color: #ffd700 !important;
  box-shadow: 0 0 0 3px #ffd700, 0 10px 30px rgba(255, 215, 0, 0.5) !important;
}

.park360-waiting-hint {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 18px;
  border-radius: 999px;
  color: #ffffff;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 13px;
  pointer-events: none;
  opacity: 0.85;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.park360-waiting-hint.park360-hint-highlight {
  background: rgba(181, 83, 46, 0.95);
  border-color: #D96E3F;
  opacity: 1;
  transform: translateX(-50%) scale(1.08);
}

/* ================================================================
   Waiting Screen In-Transition Loader
   Active while waiting for the first 360 scene texture to render
   ================================================================ */
.park360-waiting-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  z-index: 120;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 350ms cubic-bezier(0.16, 1, 0.3, 1), transform 350ms cubic-bezier(0.16, 1, 0.3, 1), visibility 350ms ease;
}

#park360-waiting-screen.is-loading .park360-waiting-loader {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

#park360-waiting-screen.is-loading .park360-waiting-buttons,
#park360-waiting-screen.is-loading .park360-waiting-hint,
#park360-waiting-screen.is-loading .park360-cluster-backdrop {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 280ms ease, transform 280ms ease;
  transform: scale(0.96);
}

.park360-loader-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 28px;
  background: var(--park360-load-card-bg, rgba(18, 12, 10, 0.82));
  border: var(--park360-load-card-border-width, 1px) solid var(--park360-load-card-border-color, rgba(255, 215, 0, 0.35));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 30px var(--park360-load-card-glow, rgba(255, 180, 0, 0.2));
  border-radius: var(--park360-load-card-radius, 999px);
  backdrop-filter: blur(var(--park360-load-card-blur, 16px));
  -webkit-backdrop-filter: blur(var(--park360-load-card-blur, 16px));
  user-select: none;
}

.park360-loader-spinner-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.park360-loader-spinner {
  position: relative;
  width: 38px;
  height: 38px;
}

.park360-spinner-ring {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 38px;
  height: 38px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--park360-load-spin-1, #ffd700);
  border-right-color: var(--park360-load-spin-2, #ff9800);
  border-radius: 50%;
  animation: park360Spin 0.9s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.park360-spinner-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, var(--park360-load-spin-1, #ffd700) 0%, var(--park360-load-card-glow, rgba(255, 152, 0, 0.6)) 100%);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--park360-load-spin-1, #ffd700);
  animation: park360PulseCore 1.5s ease-in-out infinite;
}

.park360-loader-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.park360-loader-title {
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--park360-load-title-color, #ffffff);
  letter-spacing: 0.3px;
  line-height: 1.3;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.park360-loader-subtext {
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--park360-load-subtext-color, rgba(255, 255, 255, 0.7));
  letter-spacing: 0.2px;
  line-height: 1.3;
}

@keyframes park360Spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes park360PulseCore {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.7;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 1;
    box-shadow: 0 0 14px #ffd700;
  }
}

@media (max-width: 480px) {
  .park360-loader-card {
    padding: 12px 20px;
    gap: 14px;
  }
  .park360-loader-title {
    font-size: 13px;
  }
  .park360-loader-subtext {
    font-size: 11px;
  }
  .park360-loader-spinner,
  .park360-spinner-ring {
    width: 32px;
    height: 32px;
  }
}

/* In-Tour Floating Language Switcher */
.park360-in-tour-switcher {
  position: fixed;
  z-index: 2147483645;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(38, 22, 16, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7), 0 0 20px rgba(181, 83, 46, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.park360-in-tour-switcher:hover {
  background: #B5532E;
  border-color: #D96E3F;
  transform: scale(1.06);
}

.park360-in-tour-pos-bottom-left {
  bottom: 24px;
  left: 24px;
}

.park360-in-tour-pos-bottom-right {
  bottom: 24px;
  right: 24px;
}

.park360-in-tour-pos-top-left {
  top: 24px;
  left: 70px;
}

.park360-in-tour-pos-top-right {
  top: 24px;
  right: 24px;
}

@keyframes park360Attention {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

@keyframes park360Pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 22px rgba(245, 158, 11, 0.8), inset 0 0 12px rgba(245, 158, 11, 0.3);
  }
}

/* Tour mount & wrapper styling */
.park-360-tour-wrapper,
#park-360-tour-wrapper {
  width: 100% !important;
  height: 100% !important;
  min-height: 400px;
  position: relative;
  display: block;
}

.park-360-tour-mount,
#park-360-tour-mount {
  width: 100% !important;
  height: 100% !important;
  min-height: 400px;
  position: relative;
  display: block;
}

/* ================================================================
   Dedicated In-Tour Language Switch Screen
   ================================================================ */
.park360-switch-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 11, 19, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  pointer-events: all;
  opacity: 0;
  transition: opacity 320ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  box-sizing: border-box;
}

.park360-switch-overlay * {
  box-sizing: border-box;
}

.park360-switch-overlay.is-active {
  opacity: 1;
}

.park360-switch-bg {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(var(--park360-load-bg-blur, 16px)) brightness(var(--park360-load-bg-brightness, 0.26));
  transform: scale(1.08);
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
}

.park360-switch-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.35) 0%, rgba(2, 6, 23, 0.92) 100%);
  pointer-events: none;
  z-index: 2;
}

.park360-switch-card {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--park360-load-card-bg, rgba(15, 23, 42, 0.88));
  backdrop-filter: blur(var(--park360-load-card-blur, 24px));
  -webkit-backdrop-filter: blur(var(--park360-load-card-blur, 24px));
  border: var(--park360-load-card-border-width, 1px) solid var(--park360-load-card-border-color, rgba(255, 255, 255, 0.14));
  border-radius: var(--park360-load-card-radius, 22px);
  padding: 34px 44px;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.75), 0 0 40px var(--park360-load-card-glow, rgba(217, 110, 63, 0.18));
  animation: park360CardPop 380ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes park360CardPop {
  0% {
    transform: scale(0.90) translateY(12px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* Source -> Target Language Flow Header */
.park360-switch-lang-flow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 22px;
}

.park360-switch-lang-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
}

.park360-switch-lang-tag.is-target {
  color: var(--park360-load-tag-color, #f59e0b);
  font-weight: 700;
}

.park360-switch-lang-arrow {
  color: #94a3b8;
  font-size: 13px;
  display: inline-flex;
  animation: park360ArrowPulse 1.2s infinite ease-in-out;
}

@keyframes park360ArrowPulse {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(4px); opacity: 1; color: var(--park360-load-tag-color, #f59e0b); }
}

/* Spinner */
.park360-switch-spinner-wrap {
  position: relative;
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
}

.park360-switch-spinner-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--park360-load-spin-1, #f59e0b);
  border-right-color: var(--park360-load-spin-1, rgba(245, 158, 11, 0.3));
  animation: park360SpinRing 1s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
}

.park360-switch-spinner-ring-inner {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--park360-load-spin-2, #38bdf8);
  border-left-color: var(--park360-load-spin-2, rgba(56, 189, 248, 0.3));
  animation: park360SpinRingReverse 0.85s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
}

.park360-switch-spinner-core {
  position: absolute;
  inset: 18px;
  background: radial-gradient(circle, var(--park360-load-spin-1, #f59e0b) 0%, var(--park360-load-card-glow, rgba(217, 110, 63, 0.2)) 70%, transparent 100%);
  border-radius: 50%;
  animation: park360CorePulse 1.5s ease-in-out infinite;
}

@keyframes park360SpinRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes park360SpinRingReverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes park360CorePulse {
  0%, 100% { transform: scale(0.85); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* Titles */
.park360-switch-title {
  color: var(--park360-load-title-color, #ffffff);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  line-height: 1.4;
}

.park360-switch-subtext {
  color: var(--park360-load-subtext-color, #94a3b8);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0 0 20px;
}

/* Shimmer Progress bar */
.park360-switch-bar-wrap {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.park360-switch-bar-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 45%;
  background: linear-gradient(90deg, transparent 0%, var(--park360-load-bar-1, #f59e0b) 50%, var(--park360-load-bar-2, #38bdf8) 100%);
  border-radius: 9999px;
  animation: park360BarSweep 1.4s ease-in-out infinite;
}

@keyframes park360BarSweep {
  0% { left: -45%; }
  100% { left: 100%; }
}

/* ==========================================================================
   Project UI Features (Home, Map, Control Panel, List Scenes Bar)
   ========================================================================== */
/* Redesigned Left Main Scenes Menu & Dropdown Popover - Font Be Vietnam Pro */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap');

/* Expandable Left Bar - Custom 360 Scene Menu */
.ipnrm-custom-btn-list-scenes {
  position: fixed !important;
  top: 242px !important;
  left: 0px !important;
  width: 46px !important;
  height: 46px !important;
  max-height: 46px !important;
  background: rgba(15, 23, 42, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-left: none !important;
  border-top-right-radius: 14px !important;
  border-bottom-right-radius: 14px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 2147483647 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  overflow: hidden !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(59, 130, 246, 0.3) !important;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Explicit size enforcement when collapsed in cluster scenes */
.ipnrm-custom-btn-list-scenes:not(.expanded):not([data-rendered-type="scene_type_0"]),
html body .ipnrm-custom-btn-list-scenes:not(.expanded):not([data-rendered-type="scene_type_0"]),
body div.ipnrm-custom-btn-list-scenes:not(.expanded):not([data-rendered-type="scene_type_0"]) {
  width: 46px !important;
  height: 46px !important;
  max-height: 46px !important;
}

/* Transition ONLY applies when toggling .expanded drawer in cluster scenes, NEVER during scene type switches */
.ipnrm-custom-btn-list-scenes:not([data-rendered-type="scene_type_0"]):not(.no-transition) {
  transition: width 350ms cubic-bezier(0.16, 1, 0.3, 1), max-height 350ms cubic-bezier(0.16, 1, 0.3, 1), border-radius 350ms ease, box-shadow 350ms ease !important;
}

.ipnrm-custom-btn-list-scenes[data-rendered-type="scene_type_0"],
.ipnrm-custom-btn-list-scenes.no-transition {
  transition: none !important;
}

.ipnrm-custom-btn-list-scenes:not(.expanded):hover {
  background: #3b82f6 !important;
  border-color: #60a5fa !important;
  transform: translateX(5px) scale(1.05) !important;
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.8) !important;
}

.ipnrm-custom-btn-list-scenes.expanded,
html body .ipnrm-custom-btn-list-scenes.expanded,
body div.ipnrm-custom-btn-list-scenes.expanded {
  width: 360px !important;
  max-width: calc(100vw - 20px) !important;
  height: auto !important;
  max-height: calc(100vh - 208px) !important;
  background: rgba(15, 23, 42, 0.98) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  border-radius: 0 18px 18px 0 !important;
  transform: none !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 35px rgba(59, 130, 246, 0.4) !important;
}

.ipnrm-bar-collapsed-icon {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: opacity 250ms ease !important;
}

.ipnrm-bar-collapsed-icon svg {
  width: 22px !important;
  height: 22px !important;
  stroke: #ffffff !important;
}

.ipnrm-custom-btn-list-scenes.expanded .ipnrm-bar-collapsed-icon {
  display: none !important;
}

.ipnrm-bar-content {
  display: none !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  transition: opacity 300ms ease !important;
}

.ipnrm-custom-btn-list-scenes.expanded .ipnrm-bar-content,
html body .ipnrm-custom-btn-list-scenes.expanded .ipnrm-bar-content {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.ipnrm-bar-header {
  padding: 14px 16px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.ipnrm-bar-title-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.ipnrm-bar-icon {
  width: 24px !important;
  height: 24px !important;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%) !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.4) !important;
}

.ipnrm-bar-icon svg {
  width: 14px !important;
  height: 14px !important;
  fill: #ffffff !important;
}

.ipnrm-bar-title {
  font-family: 'Be Vietnam Pro', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 !important;
}

.ipnrm-bar-close {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #cbd5e1 !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.1rem !important;
  line-height: 1 !important;
  transition: all 200ms ease !important;
}

.ipnrm-bar-close:hover {
  background: rgba(239, 68, 68, 0.85) !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
  transform: rotate(90deg) scale(1.1) !important;
}

.ipnrm-bar-body {
  padding: 12px !important;
  overflow-y: auto !important;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  max-height: calc(100vh - 268px) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.ipnrm-bar-body::-webkit-scrollbar {
  width: 4px !important;
}

.ipnrm-bar-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 4px !important;
}

.ipnrm-scene-item {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  cursor: pointer !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(15, 23, 42, 0.9) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.ipnrm-scene-item:hover {
  border-color: #3b82f6 !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(59, 130, 246, 0.4) !important;
}

.ipnrm-scene-thumb-wrap {
  position: relative !important;
  width: 100% !important;
  height: 95px !important;
  overflow: hidden !important;
  background: #090d16 !important;
  order: 1 !important;
}

.ipnrm-scene-thumb {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ipnrm-scene-item:hover .ipnrm-scene-thumb {
  transform: scale(1.08) !important;
}

.ipnrm-scene-info {
  position: relative !important;
  width: 100% !important;
  padding: 10px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 2 !important;
  box-sizing: border-box !important;
  background: rgba(15, 23, 42, 0.95) !important;
  min-height: 46px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  order: 2 !important;
  transition: background 300ms ease !important;
}

.ipnrm-scene-item:hover .ipnrm-scene-info {
  background: rgba(30, 41, 59, 0.95) !important;
}

.ipnrm-scene-name {
  font-family: 'Be Vietnam Pro', sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  margin: 0 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  word-break: break-word !important;
  transition: color 250ms ease !important;
}

.ipnrm-scene-item:hover .ipnrm-scene-name {
  color: #60a5fa !important;
}

.ipnrm-scene-arrow {
  display: none !important;
}

/* Overview menu (scene_type_0) only: circular avatar list ALWAYS visible, no collapse/expand handle, no modal box/header — other scene types keep the original click-to-expand card grid + modal panel above */
.ipnrm-custom-btn-list-scenes[data-rendered-type="scene_type_0"],
html body .ipnrm-custom-btn-list-scenes[data-rendered-type="scene_type_0"],
body div.ipnrm-custom-btn-list-scenes[data-rendered-type="scene_type_0"] {
  width: 340px !important;
  max-width: calc(100vw - 20px) !important;
  height: auto !important;
  max-height: calc(100vh - 208px) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-radius: 0 !important;
  cursor: default !important;
  pointer-events: none !important;
  transition: none !important;
}

.ipnrm-custom-btn-list-scenes[data-rendered-type="scene_type_0"]:hover {
  background: transparent !important;
  border-color: transparent !important;
  transform: none !important;
  box-shadow: none !important;
}

.ipnrm-custom-btn-list-scenes[data-rendered-type="scene_type_0"] .ipnrm-bar-collapsed-icon {
  display: none !important;
}

.ipnrm-custom-btn-list-scenes[data-rendered-type="scene_type_0"] .ipnrm-bar-content {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.ipnrm-custom-btn-list-scenes[data-rendered-type="scene_type_0"] .ipnrm-bar-header {
  display: none !important;
}

.ipnrm-custom-btn-list-scenes[data-rendered-type="scene_type_0"] .ipnrm-bar-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 4.5px !important;
  padding: 20px 8px !important;
  background: transparent !important;
  pointer-events: auto !important;
}

.ipnrm-scene-item.ipnrm-scene-item-avatar {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  border-radius: 10px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 2px 10px !important;
  width: 100% !important;
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  box-sizing: border-box !important;
  transition: background 200ms ease, border-color 200ms ease !important;
}

.ipnrm-scene-item.ipnrm-scene-item-avatar:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(59, 130, 246, 0.35) !important;
  transform: none !important;
  box-shadow: none !important;
}

.ipnrm-scene-item-avatar .ipnrm-scene-avatar {
  position: relative !important;
  flex: 0 0 auto !important;
  width: 44px !important;
  height: 44px !important;
}

.ipnrm-scene-item-avatar .ipnrm-scene-thumb {
  display: block !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid rgba(255, 255, 255, 0.35) !important;
  box-sizing: border-box !important;
  transition: border-color 200ms ease, transform 250ms ease !important;
}

.ipnrm-scene-item.ipnrm-scene-item-avatar:hover .ipnrm-scene-thumb {
  transform: scale(1.05) !important;
  border-color: #3b82f6 !important;
}

.ipnrm-scene-item-avatar .ipnrm-scene-check {
  display: none !important;
  position: absolute !important;
  right: -2px !important;
  bottom: -2px !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: #f5c518 !important;
  border: 2px solid #0f172a !important;
  align-items: center !important;
  justify-content: center !important;
}

.ipnrm-scene-item-avatar .ipnrm-scene-check svg {
  width: 10px !important;
  height: 10px !important;
}

.ipnrm-scene-item-avatar.active .ipnrm-scene-thumb {
  border-color: #f5c518 !important;
  box-shadow: 0 0 0 2px rgba(245, 197, 24, 0.9) !important;
}

.ipnrm-scene-item-avatar.active .ipnrm-scene-check {
  display: flex !important;
}

.ipnrm-scene-item-avatar .ipnrm-scene-name {
  font-family: 'Be Vietnam Pro', sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  margin: 0 !important;
  text-align: left !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 1px 8px rgba(0, 0, 0, 0.8) !important;
  line-height: 1.3 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  white-space: normal !important;
  word-break: break-word !important;
}

.ipnrm-scene-item-avatar.active .ipnrm-scene-name {
  color: #f5c518 !important;
}

.ipnrm-scenes-backdrop,
.ipnrm-scenes-dropdown {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Class-based Visibility Control (.is-hidden & .is-visible) */
.ipnrm-custom-btn-list-scenes.is-hidden,
.control-panel.is-hidden,
.ipnrm-custom-btn-home.is-hidden,
.ipnrm-custom-btn-cluster-overview.is-hidden,
.ipnrm-custom-btn-intro.is-hidden,
.ipnrm-custom-btn-document.is-hidden,
.ipnrm-custom-btn-video.is-hidden,
.ipnrm-custom-btn-map.is-hidden {
  display: none !important;
}

.ipnrm-custom-btn-list-scenes {
  display: flex !important;
}

.control-panel {
  display: block !important;
}

.ipnrm-custom-btn-home {
  display: flex !important;
}

.ipnrm-custom-btn-cluster-overview {
  display: flex !important;
}

.ipnrm-custom-btn-intro {
  display: flex !important;
}

.ipnrm-custom-btn-document {
  display: flex !important;
}

.ipnrm-custom-btn-video {
  display: flex !important;
}

.ipnrm-custom-btn-map {
  display: flex !important;
}

/* Glassmorphism Home Button */
.ipnrm-custom-btn-home {
  position: fixed !important;
  top: 80px !important;
  left: 0px !important;
  bottom: auto !important;
  right: auto !important;
  width: 46px !important;
  height: 46px !important;
  background: rgba(15, 23, 42, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-left: none !important;
  border-top-right-radius: 14px !important;
  border-bottom-right-radius: 14px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(59, 130, 246, 0.3) !important;
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ipnrm-custom-btn-home:hover {
  background: #3b82f6 !important;
  border-color: #60a5fa !important;
  transform: translateX(5px) scale(1.05) !important;
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.8) !important;
}

.ipnrm-custom-btn-home img {
  width: 22px !important;
  height: 22px !important;
  filter: brightness(0) invert(1) !important;
  object-fit: contain !important;
  transition: transform 300ms ease !important;
}

@media only screen and (max-width: 768px) {
  .ipnrm-custom-btn-home {
    top: 80px !important;
    left: 0px !important;
    bottom: auto !important;
    right: auto !important;
  }
}

/* Glassmorphism Cluster Overview Button — positioned below Home Button and above Intro Button */
.ipnrm-custom-btn-cluster-overview {
  position: fixed !important;
  top: 134px !important;
  left: 0px !important;
  bottom: auto !important;
  right: auto !important;
  width: 46px !important;
  height: 46px !important;
  background: rgba(15, 23, 42, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-left: none !important;
  border-top-right-radius: 14px !important;
  border-bottom-right-radius: 14px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.35) !important;
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ipnrm-custom-btn-cluster-overview:hover {
  background: #059669 !important;
  border-color: #34d399 !important;
  transform: translateX(5px) scale(1.05) !important;
  box-shadow: 0 6px 25px rgba(16, 185, 129, 0.8) !important;
}

.ipnrm-custom-btn-cluster-overview svg {
  width: 22px !important;
  height: 22px !important;
  stroke: #ffffff !important;
  transition: transform 300ms ease !important;
}

.ipnrm-custom-btn-cluster-overview img {
  width: 22px !important;
  height: 22px !important;
  filter: brightness(0) invert(1) !important;
  object-fit: contain !important;
  transition: transform 300ms ease !important;
}

@media only screen and (max-width: 768px) {
  .ipnrm-custom-btn-cluster-overview {
    left: 0px !important;
    bottom: auto !important;
    right: auto !important;
  }
}

/* Glassmorphism Intro Button — positioned right below Home Button */
.ipnrm-custom-btn-intro {
  position: fixed !important;
  top: 134px !important;
  left: 0px !important;
  bottom: auto !important;
  right: auto !important;
  width: 46px !important;
  height: 46px !important;
  background: rgba(15, 23, 42, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-left: none !important;
  border-top-right-radius: 14px !important;
  border-bottom-right-radius: 14px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.35) !important;
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ipnrm-custom-btn-intro:hover {
  background: #0284c7 !important;
  border-color: #38bdf8 !important;
  transform: translateX(5px) scale(1.05) !important;
  box-shadow: 0 6px 25px rgba(56, 189, 248, 0.8) !important;
}

.ipnrm-custom-btn-intro svg {
  width: 22px !important;
  height: 22px !important;
  transition: transform 300ms ease !important;
}

@media only screen and (max-width: 768px) {
  .ipnrm-custom-btn-intro {
    top: 134px !important;
    left: 0px !important;
    bottom: auto !important;
    right: auto !important;
  }
}

/* Glassmorphism Document PDF Button — positioned right below Intro Button */
.ipnrm-custom-btn-document {
  position: fixed !important;
  top: 188px !important;
  left: 0px !important;
  bottom: auto !important;
  right: auto !important;
  width: 46px !important;
  height: 46px !important;
  background: rgba(15, 23, 42, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-left: none !important;
  border-top-right-radius: 14px !important;
  border-bottom-right-radius: 14px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 158, 11, 0.35) !important;
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ipnrm-custom-btn-document:hover {
  background: #d97706 !important;
  border-color: #f59e0b !important;
  transform: translateX(5px) scale(1.05) !important;
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.8) !important;
}

.ipnrm-custom-btn-document svg {
  width: 22px !important;
  height: 22px !important;
  transition: transform 300ms ease !important;
}

@media only screen and (max-width: 768px) {
  .ipnrm-custom-btn-document {
    top: 188px !important;
    left: 0px !important;
    bottom: auto !important;
    right: auto !important;
  }
}

/* Glassmorphism Video Button — positioned right below Intro Button */
.ipnrm-custom-btn-video {
  position: fixed !important;
  top: 188px !important;
  left: 0px !important;
  bottom: auto !important;
  right: auto !important;
  width: 46px !important;
  height: 46px !important;
  background: rgba(15, 23, 42, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-left: none !important;
  border-top-right-radius: 14px !important;
  border-bottom-right-radius: 14px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(225, 29, 72, 0.35) !important;
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ipnrm-custom-btn-video:hover {
  background: #e11d48 !important;
  border-color: #fb7185 !important;
  transform: translateX(5px) scale(1.05) !important;
  box-shadow: 0 6px 25px rgba(225, 29, 72, 0.8) !important;
}

.ipnrm-custom-btn-video svg {
  width: 22px !important;
  height: 22px !important;
  transition: transform 300ms ease !important;
}

.ipnrm-custom-btn-video img {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain !important;
}

@media only screen and (max-width: 768px) {
  .ipnrm-custom-btn-video {
    top: 188px !important;
    left: 0px !important;
    bottom: auto !important;
    right: auto !important;
  }
}

/* Glassmorphism Map Button — positioned below Intro Button */
.ipnrm-custom-btn-map {
  position: fixed !important;
  top: 188px !important;
  left: 0px !important;
  bottom: auto !important;
  right: auto !important;
  width: 46px !important;
  height: 46px !important;
  background: rgba(15, 23, 42, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-left: none !important;
  border-top-right-radius: 14px !important;
  border-bottom-right-radius: 14px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(59, 130, 246, 0.3) !important;
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ipnrm-custom-btn-map:hover {
  background: #3b82f6 !important;
  border-color: #60a5fa !important;
  transform: translateX(5px) scale(1.05) !important;
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.8) !important;
}

.ipnrm-custom-btn-map svg {
  width: 22px !important;
  height: 22px !important;
  transition: transform 300ms ease !important;
}

@media only screen and (max-width: 768px) {
  .ipnrm-custom-btn-map {
    top: 188px !important;
    left: 0px !important;
    bottom: auto !important;
    right: auto !important;
  }
}

/* Map Modal */
.ipnrm-map-modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 23, 42, 0.8) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 300ms cubic-bezier(0.16, 1, 0.3, 1), visibility 300ms cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 24px !important;
  box-sizing: border-box !important;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.ipnrm-map-modal-backdrop.open {
  opacity: 1 !important;
  visibility: visible !important;
}

.ipnrm-map-modal-card {
  position: relative !important;
  width: 92vw !important;
  max-width: 1100px !important;
  height: 85vh !important;
  max-height: 850px !important;
  min-height: 380px !important;
  background: rgba(15, 23, 42, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9), 0 0 35px rgba(59, 130, 246, 0.35) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  transform: scale(0.92) translateY(12px) !important;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ipnrm-map-modal-backdrop.open .ipnrm-map-modal-card {
  transform: scale(1) translateY(0) !important;
}

.ipnrm-map-modal-header {
  padding: 14px 22px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 54px !important;
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
}

.ipnrm-map-modal-title {
  color: #ffffff !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.ipnrm-map-modal-close {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.4rem !important;
  line-height: 1 !important;
  transition: all 200ms ease !important;
}

.ipnrm-map-modal-close:hover {
  background: rgba(239, 68, 68, 0.85) !important;
  border-color: #ef4444 !important;
  transform: rotate(90deg) scale(1.1) !important;
}

.ipnrm-map-modal-body {
  flex: 1 !important;
  position: relative !important;
  width: 100% !important;
  height: calc(100% - 54px) !important;
  background: #000000 !important;
  overflow: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ipnrm-map-modal-body img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

@media (max-width: 768px) {
  .ipnrm-map-modal-backdrop {
    padding: 12px !important;
  }
  .ipnrm-map-modal-card {
    width: 100% !important;
    max-width: 100% !important;
    height: 80vh !important;
    max-height: 80vh !important;
    border-radius: 14px !important;
  }
}

/* Intro Modal Dialog */
.ipnrm-intro-modal-backdrop,
.ipnrm-document-modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 23, 42, 0.8) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 300ms cubic-bezier(0.16, 1, 0.3, 1), visibility 300ms cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 24px !important;
  box-sizing: border-box !important;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.ipnrm-intro-modal-backdrop.open,
.ipnrm-document-modal-backdrop.open {
  opacity: 1 !important;
  visibility: visible !important;
}

.ipnrm-intro-modal-card {
  position: relative !important;
  width: 92vw !important;
  max-width: 950px !important;
  height: 85vh !important;
  max-height: 850px !important;
  min-height: 420px !important;
  background: rgba(15, 23, 42, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9), 0 0 35px rgba(56, 189, 248, 0.3) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  transform: scale(0.92) translateY(12px) !important;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ipnrm-document-modal-card {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9), 0 0 35px rgba(245, 158, 11, 0.3) !important;
}

.ipnrm-intro-modal-backdrop.open .ipnrm-intro-modal-card,
.ipnrm-document-modal-backdrop.open .ipnrm-intro-modal-card {
  transform: scale(1) translateY(0) !important;
}

.ipnrm-intro-modal-header {
  padding: 14px 22px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 56px !important;
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
}

.ipnrm-intro-header-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
}

.ipnrm-intro-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
  flex-shrink: 0 !important;
}

.ipnrm-intro-modal-title {
  color: #ffffff !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.ipnrm-intro-header-right {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-shrink: 0 !important;
}

.ipnrm-intro-pdf-action-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 14px !important;
  background: rgba(56, 189, 248, 0.15) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  color: #38bdf8 !important;
  border-radius: 20px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 200ms ease !important;
}

.ipnrm-intro-pdf-action-btn:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #38bdf8 !important;
  transform: translateY(-1px) !important;
}

.ipnrm-intro-modal-close {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.4rem !important;
  line-height: 1 !important;
  transition: all 200ms ease !important;
}

.ipnrm-intro-modal-close:hover {
  background: rgba(239, 68, 68, 0.85) !important;
  border-color: #ef4444 !important;
  transform: rotate(90deg) scale(1.1) !important;
}

.ipnrm-intro-modal-body {
  flex: 1 !important;
  position: relative !important;
  width: 100% !important;
  height: calc(100% - 56px) !important;
  background: #090d16 !important;
  overflow-y: auto !important;
  padding: 24px 28px !important;
  box-sizing: border-box !important;
  color: #e2e8f0 !important;
  line-height: 1.75 !important;
}

.ipnrm-intro-modal-body::-webkit-scrollbar {
  width: 8px !important;
}
.ipnrm-intro-modal-body::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6) !important;
}
.ipnrm-intro-modal-body::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.35) !important;
  border-radius: 4px !important;
}
.ipnrm-intro-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 189, 248, 0.6) !important;
}

.ipnrm-intro-content-wrap {
  font-size: 15px !important;
  color: #cbd5e1 !important;
  margin-bottom: 20px !important;
}

.ipnrm-intro-content-wrap h1,
.ipnrm-intro-content-wrap h2,
.ipnrm-intro-content-wrap h3,
.ipnrm-intro-content-wrap h4 {
  color: #ffffff !important;
  font-weight: 700 !important;
  margin-top: 1.2em !important;
  margin-bottom: 0.6em !important;
}

.ipnrm-intro-content-wrap p {
  margin: 0 0 1em 0 !important;
  color: #e2e8f0 !important;
}

.ipnrm-intro-content-wrap strong {
  color: #f8fafc !important;
}

.ipnrm-intro-content-wrap a {
  color: #38bdf8 !important;
  text-decoration: underline !important;
}

.ipnrm-intro-content-wrap img {
  max-width: 100% !important;
  border-radius: 12px !important;
  margin: 12px 0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

.ipnrm-intro-pdf-wrap {
  margin-top: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #0f172a !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.ipnrm-intro-pdf-wrap.ipnrm-intro-pdf-mobile-wrap {
  flex: 1 !important;
  min-height: 420px !important;
}

.ipnrm-intro-pdf-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 16px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  flex-shrink: 0 !important;
}

.ipnrm-intro-pdf-bar-title {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #f8fafc !important;
  display: flex !important;
  align-items: center !important;
}

.ipnrm-intro-pdf-download-btn {
  padding: 5px 12px !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #e2e8f0 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 180ms ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  line-height: 1.4 !important;
}

.ipnrm-intro-pdf-download-btn:hover {
  background: #3b82f6 !important;
  border-color: #60a5fa !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.ipnrm-intro-pdf-frame {
  width: 100% !important;
  height: 65vh !important;
  min-height: 480px !important;
  border: none !important;
  background: #ffffff !important;
  display: block !important;
}

/* ─── Inline PDF.js Viewer (Mobile & Desktop Mode) ─── */
.ipnrm-pdf-viewer-container {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  width: 100% !important;
  min-height: 380px !important;
  background: #090e1a !important;
  position: relative !important;
  overflow: hidden !important;
}

.ipnrm-pdf-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 8px 12px !important;
  background: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  z-index: 10 !important;
  user-select: none !important;
  flex-shrink: 0 !important;
}

.ipnrm-pdf-toolbar-group {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.ipnrm-pdf-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 32px !important;
  height: 32px !important;
  padding: 0 10px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #f1f5f9 !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 180ms ease !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.ipnrm-pdf-btn:hover:not(:disabled) {
  background: rgba(56, 189, 248, 0.25) !important;
  border-color: #38bdf8 !important;
  color: #38bdf8 !important;
  transform: translateY(-1px) !important;
}

.ipnrm-pdf-btn:active:not(:disabled) {
  transform: translateY(0) scale(0.96) !important;
}

.ipnrm-pdf-btn:disabled {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
}

.ipnrm-pdf-page-indicator {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 13px !important;
  color: #cbd5e1 !important;
  font-weight: 500 !important;
  padding: 0 4px !important;
}

.ipnrm-pdf-page-select {
  background: rgba(30, 41, 59, 0.95) !important;
  border: 1px solid rgba(56, 189, 248, 0.45) !important;
  color: #38bdf8 !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 3px 6px !important;
  cursor: pointer !important;
  outline: none !important;
  min-width: 50px !important;
  text-align: center !important;
}

.ipnrm-pdf-page-select:focus {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.3) !important;
}

.ipnrm-pdf-stage {
  flex: 1 !important;
  position: relative !important;
  overflow: auto !important;
  -webkit-overflow-scrolling: touch !important;
  background: #0f172a !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
  padding: 16px 12px !important;
  min-height: 380px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.ipnrm-pdf-single-page-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.ipnrm-pdf-single-page-wrap.is-hidden {
  display: none !important;
}

.ipnrm-pdf-canvas {
  display: block !important;
  margin: 0 auto !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
  background: #ffffff !important;
  max-width: 100% !important;
  height: auto !important;
  transition: opacity 160ms ease !important;
  box-sizing: border-box !important;
}

.ipnrm-pdf-swipe-hint {
  margin: 12px auto 4px auto !important;
  padding: 4px 12px !important;
  font-size: 11.5px !important;
  color: #94a3b8 !important;
  text-align: center !important;
  user-select: none !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  display: inline-block !important;
  white-space: nowrap !important;
}

.ipnrm-pdf-scroll-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  gap: 16px !important;
}

.ipnrm-pdf-scroll-wrap.is-hidden {
  display: none !important;
}

.ipnrm-pdf-page-item {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 220px !important;
}

.ipnrm-pdf-page-badge {
  position: absolute !important;
  bottom: 8px !important;
  right: 12px !important;
  padding: 3px 8px !important;
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #94a3b8 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

.ipnrm-pdf-loading-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(15, 23, 42, 0.88) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  z-index: 20 !important;
  color: #f8fafc !important;
  transition: opacity 250ms ease !important;
}

.ipnrm-pdf-loading-overlay.is-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  display: none !important;
}

.ipnrm-pdf-spinner {
  width: 36px !important;
  height: 36px !important;
  border: 3px solid rgba(56, 189, 248, 0.2) !important;
  border-top-color: #38bdf8 !important;
  border-radius: 50% !important;
  animation: ipnrm-pdf-spin 0.8s linear infinite !important;
}

@keyframes ipnrm-pdf-spin {
  to { transform: rotate(360deg); }
}

.ipnrm-pdf-loading-text {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #e2e8f0 !important;
}

.ipnrm-pdf-error-box {
  padding: 24px !important;
  text-align: center !important;
  background: rgba(239, 68, 68, 0.1) !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  border-radius: 12px !important;
  color: #fca5a5 !important;
  max-width: 440px !important;
  margin: 30px auto !important;
}

.ipnrm-pdf-error-box h4 {
  margin: 0 0 8px 0 !important;
  color: #ffffff !important;
  font-size: 16px !important;
}

.ipnrm-pdf-error-box p {
  margin: 0 0 16px 0 !important;
  font-size: 13px !important;
  color: #cbd5e1 !important;
}

.ipnrm-pdf-error-actions {
  display: flex !important;
  gap: 10px !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
}

@media (max-width: 768px) {
  .ipnrm-intro-modal-backdrop,
  .ipnrm-document-modal-backdrop {
    padding: 8px !important;
  }
  .ipnrm-intro-modal-card {
    width: 100% !important;
    height: 94vh !important;
    max-height: 94vh !important;
    border-radius: 16px !important;
  }
  .ipnrm-intro-modal-header {
    padding: 10px 14px !important;
    height: 52px !important;
  }
  .ipnrm-intro-modal-title {
    font-size: 1rem !important;
  }
  .ipnrm-intro-modal-body {
    padding: 10px 12px !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .ipnrm-intro-pdf-wrap {
    flex: 1 !important;
    min-height: 380px !important;
    margin-top: 10px !important;
  }
  .ipnrm-intro-pdf-frame {
    height: 55vh !important;
    min-height: 320px !important;
  }
  .ipnrm-pdf-stage {
    padding: 10px !important;
    min-height: 320px !important;
  }
  .ipnrm-pdf-toolbar {
    padding: 6px 8px !important;
    gap: 6px !important;
  }
  .ipnrm-pdf-btn {
    height: 30px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 480px) {
  .ipnrm-intro-pdf-action-btn span {
    display: none !important;
  }
  .ipnrm-intro-pdf-action-btn {
    padding: 6px 8px !important;
  }
  .ipnrm-intro-modal-title {
    font-size: 0.92rem !important;
  }
  .ipnrm-pdf-toolbar {
    justify-content: center !important;
  }
}

/* Harmonized Glassmorphism Control Panel */
.control-panel {
    background: transparent;
    border-radius: 50px;
    padding: 0 !important;
    box-sizing: border-box !important;
    position: fixed;
    bottom: 20px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 1000 !important;
    width: 64px;
    height: 64px;
}

.control-panel .panel-btn {
    width: 48px;
    height: 38px;
    background: rgba(15, 23, 42, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 16px rgba(59, 130, 246, 0.4) !important;
    transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.control-panel .panel-btn:hover {
    background: #3b82f6 !important;
    border-color: #60a5fa !important;
    transform: scale(1.08) !important;
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.8) !important;
}

.control-panel .panel-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1) !important;
    transition: transform 300ms ease;
}

.control-panel .panel-btn-move-back {
    position: absolute;
    left: -106px !important;
    top: 13px;
}

.control-panel .panel-btn-move-next {
    position: absolute;
    right: -106px !important;
    top: 13px;
}

/* Disabled state for Control Panel Prev/Next navigation buttons */
.control-panel .panel-btn.disabled,
.control-panel .panel-btn[aria-disabled="true"] {
    opacity: 0.3 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
    background: rgba(15, 23, 42, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
    transform: scale(0.92) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

.control-panel .panel-btn.disabled img,
.control-panel .panel-btn[aria-disabled="true"] img {
    filter: brightness(0) invert(1) opacity(0.4) !important;
}


.control-panel .control-group {
    width: 80px;
    height: 80px;
    position: absolute;
    top: -8px;
    left: -8px;
    z-index: 2;
    border-radius: 50% !important;
    background: rgba(15, 23, 42, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 16px rgba(59, 130, 246, 0.4) !important;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.control-panel .control-group .control-btn-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0;
    transform: translate(0px, 0px) rotate(45deg) scale(1, 1);
    background: transparent !important;
}

.control-panel .control-group .control-btn-group .panel-btn {
    width: 39px;
    height: 39px;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.control-panel .control-group .control-btn-group .panel-btn:hover {
    background: #3b82f6 !important;
    border-color: #60a5fa !important;
    transform: none !important;
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.9) !important;
}

.control-panel .control-group .panel-btn-up img {
    transform: translate(0px, 0px) rotate(-45deg) scale(1, 1);
}

.control-panel .control-group .panel-btn-right img {
    transform: translate(0px, 0px) rotate(45deg) scale(1, 1);
}

.control-panel .control-group .panel-btn-down img {
    transform: translate(0px, 0px) rotate(135deg) scale(1, 1);
}

.control-panel .control-group .panel-btn-left img {
    transform: translate(0px, 0px) rotate(-135deg) scale(1, 1);
}

.control-panel .control-group .panel-btn-toggle-rotate {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 30px !important;
    height: 30px !important;
    transform: translate(-50%, -50%) !important;
    border-radius: 50% !important;
    z-index: 5 !important;
}

.control-panel .control-group .panel-btn-toggle-rotate:hover {
    transform: translate(-50%, -50%) scale(1.08) !important;
}

.control-panel .panel-btn-toggle-rotate svg {
    display: none !important;
}

.control-panel .panel-btn-toggle-rotate.is-paused .icon-play {
    display: block !important;
}

.control-panel .panel-btn-toggle-rotate.is-playing .icon-pause {
    display: block !important;
}

.control-panel .zoom-group {
    position: absolute;
    top: 12px;
    left: -48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 160px;
    height: 40px;
}

.control-panel .zoom-group .panel-btn {
    width: 54px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.control-panel .zoom-group .panel-zoom-out img {
    margin-left: -10px;
}

.control-panel .zoom-group .panel-zoom-in img {
    margin-right: -10px;
    margin-top: 0;
    float: none;
}

.ipnrm-widget .ipnrm-tl-bar {
    left: 50% !important;
    transform: translateX(-50%) !important;
}

@media only screen and (max-width: 768px){
    .ipnrm {
        height: 500px;
    }
    
    .list-thumb-image{
        width: 150px;
    }
    
    .list-thumb-image .control-box{
        width: 150px;
        height: 32px;
    }
    
    .list-thumb-image .thumb-img{
        width: 150px;
        height: 32px;
    }
    
    .list-thumb-image .thumb-img span{
        font-size: 12px;
        left: 5px;
    }
}

/* Non-selectable and non-draggable marker images */
.ipnrm-marker,
.ipnrm-marker img,
.ipnrm-body,
.ipnrm-body img,
.main-marker img,
.marker-statue img,
.marker-info img,
.marker_info img,
.marker-arrow img {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
  -webkit-touch-callout: none !important;
}

/* Safari iOS Fix: Remove backdrop-filter on mobile to reduce GPU/memory pressure */
@media (max-width: 768px) {
  .ipnrm-custom-btn-list-scenes,
  .ipnrm-custom-btn-home {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(15, 23, 42, 0.98) !important;
  }
  .control-panel .panel-btn,
  .control-panel .control-group {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(15, 23, 42, 0.97) !important;
  }
}

/* ============================================================
   Glassmorphism 3D Model Embed Modal (Horizontal Landscape)
   ============================================================ */
.ipnrm-embed-modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 23, 42, 0.8) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 300ms cubic-bezier(0.16, 1, 0.3, 1), visibility 300ms cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 24px !important;
  box-sizing: border-box !important;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.ipnrm-embed-modal-backdrop.open {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Horizontal Landscape Rectangle Layout */
.ipnrm-embed-modal-card {
  position: relative !important;
  width: 92vw !important;
  max-width: 1100px !important;
  height: 65vh !important;
  max-height: 580px !important;
  min-height: 380px !important;
  background: rgba(15, 23, 42, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9), 0 0 35px rgba(59, 130, 246, 0.35) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  transform: scale(0.92) translateY(12px) !important;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ipnrm-embed-modal-backdrop.open .ipnrm-embed-modal-card {
  transform: scale(1) translateY(0) !important;
}

.ipnrm-embed-modal-header {
  padding: 14px 22px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 54px !important;
  box-sizing: border-box !important;
}

.ipnrm-embed-modal-title {
  color: #ffffff !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.ipnrm-embed-modal-close {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.4rem !important;
  line-height: 1 !important;
  transition: all 200ms ease !important;
}

.ipnrm-embed-modal-close:hover {
  background: rgba(239, 68, 68, 0.85) !important;
  border-color: #ef4444 !important;
  transform: rotate(90deg) scale(1.1) !important;
}

.ipnrm-embed-modal-body {
  flex: 1 !important;
  position: relative !important;
  width: 100% !important;
  height: calc(100% - 54px) !important;
  background: #000000 !important;
  overflow: hidden !important;
}

.ipnrm-embed-modal-body p {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.ipnrm-embed-modal-body iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  border: none !important;
  display: block !important;
}

/* Modal Card Variants for marker-info (Image & Embed Modes) */
/* Modal xem ảnh dạng thẻ nổi (Card), ảnh chiếm trọn 100% diện tích modal */
.ipnrm-embed-modal-backdrop.is-image-backdrop,
.ipnrm-embed-modal-backdrop:has(.is-image-mode) {
  padding: 24px !important;
  background: rgba(0, 0, 0, 0.82) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.ipnrm-embed-modal-card.is-image-mode {
  width: 92vw !important;
  max-width: var(--ipnrm-info-modal-max-width, 1100px) !important;
  height: var(--ipnrm-info-modal-max-height, 75vh) !important;
  max-height: 92vh !important;
  min-height: 380px !important;
  border-radius: var(--ipnrm-info-radius, 20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9), 0 0 35px var(--ipnrm-info-glow, rgba(56, 189, 248, 0.25)) !important;
  background: rgba(15, 23, 42, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  margin: auto !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

/* Modal Themes */
.ipnrm-embed-modal-card.is-theme-glassmorphism_dark {
  background: rgba(15, 23, 42, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.ipnrm-embed-modal-card.is-theme-cinema_fullscreen {
  width: 96vw !important;
  max-width: 96vw !important;
  height: 90vh !important;
  max-height: 92vh !important;
  background: rgba(4, 6, 11, 0.98) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.98), 0 0 45px var(--ipnrm-info-glow, rgba(56, 189, 248, 0.35)) !important;
}

.ipnrm-embed-modal-card.is-theme-cinema_fullscreen .ipnrm-embed-modal-header {
  background: rgba(0, 0, 0, 0.65) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.ipnrm-embed-modal-card.is-theme-classic_lightbox {
  background: #0b1120 !important;
  border-radius: 10px !important;
  border: 2px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9) !important;
}

.ipnrm-embed-modal-card.is-image-mode .ipnrm-embed-modal-header {
  height: 52px !important;
  padding: 10px 20px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  flex-shrink: 0 !important;
}

.ipnrm-embed-modal-card.is-image-mode .ipnrm-embed-modal-body {
  width: 100% !important;
  height: calc(100% - 52px) !important;
  flex: 1 !important;
  background: radial-gradient(circle at center, #0f172a 0%, #020617 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: relative !important;
}

.ipnrm-embed-modal-card.is-image-mode .ipnrm-info-media-wrap {
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  overflow: hidden !important;
}

.ipnrm-embed-modal-card.is-image-mode .ipnrm-info-image-container {
  width: 100% !important;
  height: 100% !important;
  padding: 12px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  overflow: hidden !important;
}

.ipnrm-embed-modal-card.is-marker-info {
  border-color: rgba(56, 189, 248, 0.3) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9), 0 0 35px rgba(56, 189, 248, 0.3) !important;
}

/* Image & Embed Media Container inside Modal Body */
.ipnrm-info-media-wrap {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  background: radial-gradient(circle at center, #1e293b 0%, #090d16 100%) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.ipnrm-info-image-container {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  padding: 12px !important;
  box-sizing: border-box !important;
}

/* Ảnh tràn đầy toàn bộ khung modal (Full ở modal), co giãn tối đa diện tích khả dụng */
.ipnrm-embed-modal-card.is-image-mode img.ipnrm-modal-img,
.ipnrm-info-image-container img.ipnrm-modal-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: var(--ipnrm-info-img-fit, contain) !important;
  display: block !important;
  border-radius: var(--ipnrm-info-radius, 12px) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 25px var(--ipnrm-info-glow, rgba(56, 189, 248, 0.2)) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: zoom-in !important;
}

.ipnrm-embed-modal-card.is-image-mode img.ipnrm-modal-img.is-zoomed {
  cursor: zoom-out !important;
  max-width: none !important;
  max-height: none !important;
  transform: scale(1.6) !important;
  z-index: 5 !important;
}

.ipnrm-info-img-actions {
  position: absolute !important;
  bottom: 18px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 10 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
}

.ipnrm-info-btn-action {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 7px 18px !important;
  border-radius: 999px !important;
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #f1f5f9 !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
  transition: all 0.2s ease !important;
}

.ipnrm-info-btn-action:hover {
  background: rgba(56, 189, 248, 0.35) !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.45) !important;
}

/* =========================================================================
   GHI ĐÈ LIGHTBOX GỐC CỦA IPANORAMA: KHUNG NỔI SANG TRỌNG, ẢNH FULL MODAL
   ========================================================================= */
.ipnrm-lightbox,
.ipnrm-theme-default.ipnrm-lightbox,
.ipnrm-theme-light.ipnrm-lightbox,
.ipnrm-theme-dark.ipnrm-lightbox,
.ipnrm-theme-bubbles.ipnrm-lightbox {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999 !important;
  background: rgba(0, 0, 0, 0.82) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.ipnrm-lightbox .ipnrm-inner,
.ipnrm-theme-default.ipnrm-lightbox .ipnrm-inner,
.ipnrm-theme-light.ipnrm-lightbox .ipnrm-inner,
.ipnrm-theme-dark.ipnrm-lightbox .ipnrm-inner {
  padding: 24px !important;
  width: 100vw !important;
  height: 100vh !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ipnrm-lightbox .ipnrm-form,
.ipnrm-theme-default.ipnrm-lightbox .ipnrm-form,
.ipnrm-theme-light.ipnrm-lightbox .ipnrm-form,
.ipnrm-theme-dark.ipnrm-lightbox .ipnrm-form {
  width: 92vw !important;
  max-width: 1100px !important;
  height: 75vh !important;
  max-height: 720px !important;
  min-height: 380px !important;
  background: rgba(15, 23, 42, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9), 0 0 35px rgba(56, 189, 248, 0.25) !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  overflow: hidden !important;
}

.ipnrm-lightbox .ipnrm-body,
.ipnrm-theme-default.ipnrm-lightbox .ipnrm-body,
.ipnrm-theme-light.ipnrm-lightbox .ipnrm-body,
.ipnrm-theme-dark.ipnrm-lightbox .ipnrm-body {
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.ipnrm-lightbox .ipnrm-body p,
.ipnrm-lightbox .ipnrm-body p:first-child,
.ipnrm-lightbox .ipnrm-body p:last-child {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ipnrm-lightbox .ipnrm-body img,
.ipnrm-lightbox img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
}

.ipnrm-lightbox .ipnrm-close,
.ipnrm-theme-default.ipnrm-lightbox .ipnrm-close,
.ipnrm-theme-light.ipnrm-lightbox .ipnrm-close,
.ipnrm-theme-dark.ipnrm-lightbox .ipnrm-close {
  top: 16px !important;
  right: 18px !important;
  width: 34px !important;
  height: 34px !important;
  background-color: rgba(255, 255, 255, 0.15) !important;
  border-radius: 50% !important;
  background-size: 14px 14px !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  transition: all 0.2s ease !important;
  z-index: 20 !important;
}

.ipnrm-lightbox .ipnrm-close:hover {
  background-color: rgba(239, 68, 68, 0.85) !important;
  border-color: #ef4444 !important;
  transform: scale(1.1) rotate(90deg) !important;
}

/* Rich Content Container inside Modal Body */
.ipnrm-info-rich-content {
  width: 100% !important;
  height: 100% !important;
  padding: 24px !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
  color: #e2e8f0 !important;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  line-height: 1.65 !important;
  background: rgba(15, 23, 42, 0.98) !important;
}

.ipnrm-info-rich-content img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 10px !important;
  margin: 14px auto !important;
  display: block !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
}

.ipnrm-info-rich-content h1,
.ipnrm-info-rich-content h2,
.ipnrm-info-rich-content h3,
.ipnrm-info-rich-content h4 {
  color: #ffffff !important;
  margin-top: 0 !important;
}

.ipnrm-info-rich-content p {
  margin-bottom: 12px !important;
}

@media (max-width: 768px) {
  .ipnrm-embed-modal-backdrop {
    padding: 12px !important;
  }
  .ipnrm-embed-modal-card {
    width: 100% !important;
    max-width: 100% !important;
    height: 75vh !important;
    max-height: 75vh !important;
    border-radius: 14px !important;
  }
}
















/* Ẩn hoàn toàn chấm tròn trắng ở tâm */
.nadir-blur-marker:before,
.nadir-blur-marker:after,
.nadir-blur-marker .ipnrm-pos:before,
.nadir-blur-marker .ipnrm-pos:after,
.nadir-blur-marker .ipnrm-zoom:before,
.nadir-blur-marker .ipnrm-zoom:after,
.nadir-blur-marker .ipnrm-offset:before,
.nadir-blur-marker .ipnrm-offset:after,
.nadir-blur-marker .ipnrm-body:before,
.nadir-blur-marker .ipnrm-body:after,
[data-marker-id*="nadir-blur-marker"]:before,
[data-marker-id*="nadir-blur-marker"]:after,
[data-marker-id*="nadir-blur-marker"] *:before,
[data-marker-id*="nadir-blur-marker"] *:after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.nadir-blur-marker .ipnrm-pos,
.nadir-blur-marker .ipnrm-zoom,
.nadir-blur-marker .ipnrm-offset,
.nadir-blur-marker .ipnrm-body,
[data-marker-id*="nadir-blur-marker"] .ipnrm-body {
  overflow: visible !important;
}

.nadir-blur-marker .ipnrm-zoom,
[data-marker-id*="nadir-blur-marker"] .ipnrm-zoom {
  transition: transform 100ms ease !important;
  transform-origin: 50% 50% !important;
}

.nadir-blur-marker .ipnrm-body,
.ipnrm-marker.nadir-blur-marker .ipnrm-body,
[data-marker-id*="nadir-blur-marker"] .ipnrm-body {
  display: block !important;
  width: 150px !important;
  height: 150px !important;
  min-width: 150px !important;
  min-height: 150px !important;
  margin-left: -75px !important;
  margin-top: -75px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at center, rgba(175, 105, 75, 0.92) 0%, rgba(175, 105, 75, 0.65) 45%, rgba(175, 105, 75, 0) 100%) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0) 100%) !important;
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0) 100%) !important;
  pointer-events: none !important;
  border: none !important;
  box-shadow: 0 0 65px 30px rgba(175, 105, 75, 0.75), 0 0 120px 60px rgba(175, 105, 75, 0.40) !important;
}

.nadir-blur-marker .ipnrm-body img,
[data-marker-id*="nadir-blur-marker"] .ipnrm-body img {
  display: none !important;
}






/* ============================================================
   NADIR BLUR MARKER (Tăng độ mờ kính lên 60px)
   ============================================================ */
.nadir-blur-marker,
.ipnrm-marker.nadir-blur-marker,
[data-marker-id*="nadir-blur-marker"] {
  pointer-events: none !important;
  z-index: 10 !important;
}

.nadir-blur-marker:before,
.nadir-blur-marker:after,
.nadir-blur-marker .ipnrm-pos:before,
.nadir-blur-marker .ipnrm-pos:after,
.nadir-blur-marker .ipnrm-zoom:before,
.nadir-blur-marker .ipnrm-zoom:after,
.nadir-blur-marker .ipnrm-offset:before,
.nadir-blur-marker .ipnrm-offset:after,
.nadir-blur-marker .ipnrm-body:before,
.nadir-blur-marker .ipnrm-body:after,
[data-marker-id*="nadir-blur-marker"]:before,
[data-marker-id*="nadir-blur-marker"]:after,
[data-marker-id*="nadir-blur-marker"] *:before,
[data-marker-id*="nadir-blur-marker"] *:after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.nadir-blur-marker .ipnrm-pos,
.nadir-blur-marker .ipnrm-zoom,
.nadir-blur-marker .ipnrm-offset,
.nadir-blur-marker .ipnrm-body,
[data-marker-id*="nadir-blur-marker"] .ipnrm-body {
  overflow: visible !important;
}

.nadir-blur-marker .ipnrm-zoom,
[data-marker-id*="nadir-blur-marker"] .ipnrm-zoom {
  transition: transform 100ms ease !important;
  transform-origin: 50% 50% !important;
}

.nadir-blur-marker .ipnrm-body,
.ipnrm-marker.nadir-blur-marker .ipnrm-body,
[data-marker-id*="nadir-blur-marker"] .ipnrm-body {
  display: block !important;
  width: 216px !important;
  height: 216px !important;
  min-width: 216px !important;
  min-height: 216px !important;
  margin-left: -108px !important;
  margin-top: -108px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at center, rgba(175, 105, 75, 0.99) 0%, rgba(175, 105, 75, 0.85) 45%, rgba(175, 105, 75, 0) 100%) !important;
  backdrop-filter: blur(60px) !important;
  -webkit-backdrop-filter: blur(60px) !important;
  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.85) 55%, rgba(0, 0, 0, 0) 100%) !important;
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.85) 55%, rgba(0, 0, 0, 0) 100%) !important;
  pointer-events: none !important;
  border: none !important;
  box-shadow: 0 0 90px 45px rgba(175, 105, 75, 0.90), 0 0 160px 80px rgba(175, 105, 75, 0.50) !important;
}

.nadir-blur-marker .ipnrm-body img,
[data-marker-id*="nadir-blur-marker"] .ipnrm-body img {
  display: none !important;
}


/* ============================================================
   Harmonized Glassmorphism Audio Player (Play / Loop / Volume)
   ============================================================ */
.ipnrm-audio-player .ipnrm-toolbar {
  gap: 10px !important;
}

.ipnrm-audio-player .ipnrm-btn-prev,
.ipnrm-audio-player .ipnrm-btn-next {
  display: none !important;
}

.ipnrm-audio-player .ipnrm-btn-play,
.ipnrm-audio-player .ipnrm-btn-loop,
.ipnrm-audio-player .ipnrm-btn-volume {
  width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  background-color: rgba(15, 23, 42, 0.9) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 18px 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 12px !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 16px rgba(59, 130, 246, 0.4) !important;
  filter: none !important;
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ipnrm-audio-player .ipnrm-btn-play:hover,
.ipnrm-audio-player .ipnrm-btn-loop:hover,
.ipnrm-audio-player .ipnrm-btn-volume:hover {
  background-color: #3b82f6 !important;
  border-color: #60a5fa !important;
  transform: scale(1.08) !important;
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.8) !important;
}

.ipnrm-audio-player .ipnrm-meta,
.ipnrm-audio-player .ipnrm-timeline {
  display: none !important;
}

.ipnrm-audio-player .ipnrm-volume {
  background: rgba(15, 23, 42, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 12px !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(59, 130, 246, 0.3) !important;
}

@media only screen and (max-width: 768px) {
  .ipnrm-audio-player .ipnrm-btn-play,
  .ipnrm-audio-player .ipnrm-btn-loop,
  .ipnrm-audio-player .ipnrm-btn-volume {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: rgba(15, 23, 42, 0.97) !important;
  }
}


/* Hide default plugin prev/next scene buttons (redundant with custom control-panel nav) */
.ipnrm-widget .ipnrm-prev-scene,
.ipnrm-widget .ipnrm-next-scene,
.ipnrm-widget .ipnrm-tr-bar {
  display: none !important;
}

/* CSS for video */

.mejs-container {
    clear: both;
    max-width: 100%
}

.mejs-container * {
    font-family: Helvetica,Arial
}

.mejs-container,.mejs-container .mejs-controls,.mejs-embed,.mejs-embed body {
    background: #222
}

.mejs-time {
    font-weight: 400;
    word-wrap: normal
}

.mejs-controls a.mejs-horizontal-volume-slider {
    display: table
}

.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current,.mejs-controls .mejs-time-rail .mejs-time-loaded {
    background: #fff
}

.mejs-controls .mejs-time-rail .mejs-time-current {
    background: #0073aa
}

.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,.mejs-controls .mejs-time-rail .mejs-time-total {
    background: rgba(255,255,255,.33)
}

.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current,.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,.mejs-controls .mejs-time-rail span {
    border-radius: 0
}

.mejs-overlay-loading {
    background: 0 0
}

.mejs-controls button:hover {
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none
}

.me-cannotplay {
    width: auto!important
}

.media-embed-details .wp-audio-shortcode {
    display: inline-block;
    max-width: 400px
}

.audio-details .embed-media-settings {
    overflow: visible
}

.media-embed-details .embed-media-settings .setting span:not(.button-group) {
    max-width: 400px;
    width: auto
}

.media-embed-details .embed-media-settings .checkbox-setting span {
    display: inline-block
}

.media-embed-details .embed-media-settings {
    padding-top: 0;
    top: 28px
}

.media-embed-details .instructions {
    padding: 16px 0;
    max-width: 600px
}

.media-embed-details .setting .remove-setting,.media-embed-details .setting p {
    color: #a00;
    font-size: 10px;
    text-transform: uppercase
}

.media-embed-details .setting .remove-setting {
    padding: 5px 0
}

.media-embed-details .setting a:hover {
    color: #dc3232
}

.media-embed-details .embed-media-settings .checkbox-setting {
    float: none;
    margin: 0 0 10px
}

.wp-video {
    max-width: 100%;
    height: auto
}

.wp_attachment_holder .wp-audio-shortcode,.wp_attachment_holder .wp-video {
    margin-top: 18px
}

.wp-video-shortcode video,video.wp-video-shortcode {
    max-width: 100%;
    display: inline-block
}

.video-details .wp-video-holder {
    width: 100%;
    max-width: 640px
}

.wp-playlist {
    border: 1px solid #ccc;
    padding: 10px;
    margin: 12px 0 18px;
    font-size: 14px;
    line-height: 1.5
}

.wp-admin .wp-playlist {
    margin: 0 0 18px
}

.wp-playlist video {
    display: inline-block;
    max-width: 100%
}

.wp-playlist audio {
    display: none;
    max-width: 100%;
    width: 400px
}

.wp-playlist .mejs-container {
    margin: 0;
    max-width: 100%
}

.wp-playlist .mejs-controls .mejs-button button {
    outline: 0
}

.wp-playlist-light {
    background: #fff;
    color: #000
}

.wp-playlist-dark {
    color: #fff;
    background: #000
}

.wp-playlist-caption {
    display: block;
    max-width: 88%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.5
}

.wp-playlist-item .wp-playlist-caption {
    text-decoration: none;
    color: #000;
    max-width: -webkit-calc(100% - 40px);
    max-width: calc(100% - 40px)
}

.wp-playlist-item-meta {
    display: block;
    font-size: 14px;
    line-height: 1.5
}

.wp-playlist-item-title {
    font-size: 14px;
    line-height: 1.5
}

.wp-playlist-item-album {
    font-style: italic;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.wp-playlist-item-artist {
    font-size: 12px;
    text-transform: uppercase
}

.wp-playlist-item-length {
    position: absolute;
    right: 3px;
    top: 0;
    font-size: 14px;
    line-height: 1.5
}

.rtl .wp-playlist-item-length {
    left: 3px;
    right: auto
}

.wp-playlist-tracks {
    margin-top: 10px
}

.wp-playlist-item {
    position: relative;
    cursor: pointer;
    padding: 0 3px;
    border-bottom: 1px solid #ccc
}

.wp-playlist-item:last-child {
    border-bottom: 0
}

.wp-playlist-light .wp-playlist-caption {
    color: #333
}

.wp-playlist-dark .wp-playlist-caption {
    color: #ddd
}

.wp-playlist-playing {
    font-weight: 700;
    background: #f7f7f7
}

.wp-playlist-light .wp-playlist-playing {
    background: #fff;
    color: #000
}

.wp-playlist-dark .wp-playlist-playing {
    background: #000;
    color: #fff
}

.wp-playlist-current-item {
    overflow: hidden;
    margin-bottom: 10px;
    height: 60px
}

.wp-playlist .wp-playlist-current-item img {
    float: left;
    max-width: 60px;
    height: auto;
    margin-right: 10px;
    padding: 0;
    border: 0
}

.rtl .wp-playlist .wp-playlist-current-item img {
    float: right;
    margin-left: 10px;
    margin-right: 0
}

.wp-playlist-current-item .wp-playlist-item-artist,.wp-playlist-current-item .wp-playlist-item-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.wp-audio-playlist .me-cannotplay span {
    padding: 5px 15px
}
.mejs-offscreen {
    border: 0;
    clip: rect(1px,1px,1px,1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal
}

.mejs-container {
    background: #000;
    font-family: Helvetica,Arial,serif;
    position: relative;
    text-align: left;
    text-indent: 0;
    vertical-align: top
}

.mejs-container,.mejs-container * {
    box-sizing: border-box
}

.mejs-container video::-webkit-media-controls,.mejs-container video::-webkit-media-controls-panel,.mejs-container video::-webkit-media-controls-panel-container,.mejs-container video::-webkit-media-controls-start-playback-button {
    -webkit-appearance: none;
    display: none!important
}

.mejs-fill-container,.mejs-fill-container .mejs-container {
    height: 100%;
    width: 100%
}

.mejs-fill-container {
    background: transparent;
    margin: 0 auto;
    overflow: hidden;
    position: relative
}

.mejs-container:focus {
    outline: none
}

.mejs-iframe-overlay {
    height: 100%;
    position: absolute;
    width: 100%
}

.mejs-embed,.mejs-embed body {
    background: #000;
    height: 100%;
    margin: 0;
    overflow: hidden;
    padding: 0;
    width: 100%
}

.mejs-fullscreen {
    overflow: hidden!important
}

.mejs-container-fullscreen {
    bottom: 0;
    left: 0;
    overflow: hidden;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000
}

.mejs-container-fullscreen .mejs-mediaelement,.mejs-container-fullscreen video {
    height: 100%!important;
    width: 100%!important
}

.mejs-background,.mejs-mediaelement {
    left: 0;
    position: absolute;
    top: 0
}

.mejs-mediaelement {
    height: 100%;
    width: 100%;
    z-index: 0
}

.mejs-poster {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    left: 0;
    position: absolute;
    top: 0;
    z-index: 1
}

:root .mejs-poster-img {
    display: none
}

.mejs-poster-img {
    border: 0;
    padding: 0
}

.mejs-overlay {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 0
}

.mejs-layer {
    z-index: 1
}

.mejs-overlay-play {
    cursor: pointer
}

.mejs-overlay-button {
    background: url('https://360-museum.qnpmedia.com/wp-includes/js/mediaelement/mejs-controls.svg') no-repeat;
    background-position: 0 -39px;
    height: 80px;
    width: 80px
}

.mejs-overlay:hover>.mejs-overlay-button {
    background-position: -80px -39px
}

.mejs-overlay-loading {
    height: 80px;
    width: 80px
}

.mejs-overlay-loading-bg-img {
    -webkit-animation: a 1s linear infinite;
    animation: a 1s linear infinite;
    background: transparent url('https://360-museum.qnpmedia.com/wp-includes/js/mediaelement/mejs-controls.svg') -160px -40px no-repeat;
    display: block;
    height: 80px;
    width: 80px;
    z-index: 1
}

@-webkit-keyframes a {
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}

@keyframes a {
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}

.mejs-controls {
    bottom: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    height: 40px;
    left: 0;
    list-style-type: none;
    margin: 0;
    padding: 0 10px;
    position: absolute;
    width: 100%;
    z-index: 3
}

.mejs-controls:not([style*="display: none"]) {
    background: rgba(255,0,0,.7);
    background: -webkit-linear-gradient(transparent,rgba(0,0,0,.35));
    background: linear-gradient(transparent,rgba(0,0,0,.35))
}

.mejs-button,.mejs-time,.mejs-time-rail {
    font-size: 10px;
    height: 40px;
    line-height: 10px;
    margin: 0;
    width: 32px
}

.mejs-button>button {
    background: transparent url('https://360-museum.qnpmedia.com/wp-includes/js/mediaelement/mejs-controls.svg');
    border: 0;
    cursor: pointer;
    display: block;
    font-size: 0;
    height: 20px;
    line-height: 0;
    margin: 10px 6px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    text-decoration: none;
    width: 20px
}

.mejs-button>button:focus {
    outline: 1px dotted #999
}

.mejs-container-keyboard-inactive [role=slider],.mejs-container-keyboard-inactive [role=slider]:focus,.mejs-container-keyboard-inactive a,.mejs-container-keyboard-inactive a:focus,.mejs-container-keyboard-inactive button,.mejs-container-keyboard-inactive button:focus {
    outline: 0
}

.mejs-time {
    box-sizing: content-box;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    height: 24px;
    overflow: hidden;
    padding: 16px 6px 0;
    text-align: center;
    width: auto
}

.mejs-play>button {
    background-position: 0 0
}

.mejs-pause>button {
    background-position: -20px 0
}

.mejs-replay>button {
    background-position: -160px 0
}

.mejs-time-rail {
    direction: ltr;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    height: 40px;
    margin: 0 10px;
    padding-top: 10px;
    position: relative
}

.mejs-time-buffering,.mejs-time-current,.mejs-time-float,.mejs-time-float-corner,.mejs-time-float-current,.mejs-time-hovered,.mejs-time-loaded,.mejs-time-marker,.mejs-time-total {
    border-radius: 2px;
    cursor: pointer;
    display: block;
    height: 10px;
    position: absolute
}

.mejs-time-total {
    background: hsla(0,0%,100%,.3);
    margin: 5px 0 0;
    width: 100%
}

.mejs-time-buffering {
    -webkit-animation: b 2s linear infinite;
    animation: b 2s linear infinite;
    background: -webkit-linear-gradient(135deg,hsla(0,0%,100%,.4) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.4) 0,hsla(0,0%,100%,.4) 75%,transparent 0,transparent);
    background: linear-gradient(-45deg,hsla(0,0%,100%,.4) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.4) 0,hsla(0,0%,100%,.4) 75%,transparent 0,transparent);
    background-size: 15px 15px;
    width: 100%
}

@-webkit-keyframes b {
    0% {
        background-position: 0 0
    }

    to {
        background-position: 30px 0
    }
}

@keyframes b {
    0% {
        background-position: 0 0
    }

    to {
        background-position: 30px 0
    }
}

.mejs-time-loaded {
    background: hsla(0,0%,100%,.3)
}

.mejs-time-current,.mejs-time-handle-content {
    background: hsla(0,0%,100%,.9)
}

.mejs-time-hovered {
    background: hsla(0,0%,100%,.5);
    z-index: 10
}

.mejs-time-hovered.negative {
    background: rgba(0,0,0,.2)
}

.mejs-time-buffering,.mejs-time-current,.mejs-time-hovered,.mejs-time-loaded {
    left: 0;
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transition: all .15s ease-in;
    transition: all .15s ease-in;
    width: 100%
}

.mejs-time-buffering {
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1)
}

.mejs-time-hovered {
    -webkit-transition: height .1s cubic-bezier(.44,0,1,1);
    transition: height .1s cubic-bezier(.44,0,1,1)
}

.mejs-time-hovered.no-hover {
    -webkit-transform: scaleX(0)!important;
    -ms-transform: scaleX(0)!important;
    transform: scaleX(0)!important
}

.mejs-time-handle,.mejs-time-handle-content {
    border: 4px solid transparent;
    cursor: pointer;
    left: 0;
    position: absolute;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    z-index: 11
}

.mejs-time-handle-content {
    border: 4px solid hsla(0,0%,100%,.9);
    border-radius: 50%;
    height: 10px;
    left: -7px;
    top: -4px;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    width: 10px
}

.mejs-time-rail .mejs-time-handle-content:active,.mejs-time-rail .mejs-time-handle-content:focus,.mejs-time-rail:hover .mejs-time-handle-content {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1)
}

.mejs-time-float {
    background: #eee;
    border: 1px solid #333;
    bottom: 100%;
    color: #111;
    display: none;
    height: 17px;
    margin-bottom: 9px;
    position: absolute;
    text-align: center;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 36px
}

.mejs-time-float-current {
    display: block;
    left: 0;
    margin: 2px;
    text-align: center;
    width: 30px
}

.mejs-time-float-corner {
    border: 5px solid #eee;
    border-color: #eee transparent transparent;
    border-radius: 0;
    display: block;
    height: 0;
    left: 50%;
    line-height: 0;
    position: absolute;
    top: 100%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 0
}

.mejs-long-video .mejs-time-float {
    margin-left: -23px;
    width: 64px
}

.mejs-long-video .mejs-time-float-current {
    width: 60px
}

.mejs-broadcast {
    color: #fff;
    height: 10px;
    position: absolute;
    top: 15px;
    width: 100%
}

.mejs-fullscreen-button>button {
    background-position: -80px 0
}

.mejs-unfullscreen>button {
    background-position: -100px 0
}

.mejs-mute>button {
    background-position: -60px 0
}

.mejs-unmute>button {
    background-position: -40px 0
}

.mejs-volume-button {
    position: relative
}

.mejs-volume-button>.mejs-volume-slider {
    -webkit-backface-visibility: hidden;
    background: rgba(50,50,50,.7);
    border-radius: 0;
    bottom: 100%;
    display: none;
    height: 115px;
    left: 50%;
    margin: 0;
    position: absolute;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 25px;
    z-index: 1
}

.mejs-volume-button:hover {
    border-radius: 0 0 4px 4px
}

.mejs-volume-total {
    background: hsla(0,0%,100%,.5);
    height: 100px;
    left: 50%;
    margin: 0;
    position: absolute;
    top: 8px;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 2px
}

.mejs-volume-current {
    left: 0;
    margin: 0;
    width: 100%
}

.mejs-volume-current,.mejs-volume-handle {
    background: hsla(0,0%,100%,.9);
    position: absolute
}

.mejs-volume-handle {
    border-radius: 1px;
    cursor: ns-resize;
    height: 6px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 16px
}

.mejs-horizontal-volume-slider {
    display: block;
    height: 36px;
    position: relative;
    vertical-align: middle;
    width: 56px
}

.mejs-horizontal-volume-total {
    background: rgba(50,50,50,.8);
    height: 8px;
    top: 16px;
    width: 50px
}

.mejs-horizontal-volume-current,.mejs-horizontal-volume-total {
    border-radius: 2px;
    font-size: 1px;
    left: 0;
    margin: 0;
    padding: 0;
    position: absolute
}

.mejs-horizontal-volume-current {
    background: hsla(0,0%,100%,.8);
    height: 100%;
    top: 0;
    width: 100%
}

.mejs-horizontal-volume-handle {
    display: none
}

.mejs-captions-button,.mejs-chapters-button {
    position: relative
}

.mejs-captions-button>button {
    background-position: -140px 0
}

.mejs-chapters-button>button {
    background-position: -180px 0
}

.mejs-captions-button>.mejs-captions-selector,.mejs-chapters-button>.mejs-chapters-selector {
    background: rgba(50,50,50,.7);
    border: 1px solid transparent;
    border-radius: 0;
    bottom: 100%;
    margin-right: -43px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    right: 50%;
    visibility: visible;
    width: 86px
}

.mejs-chapters-button>.mejs-chapters-selector {
    margin-right: -55px;
    width: 110px
}

.mejs-captions-selector-list,.mejs-chapters-selector-list {
    list-style-type: none!important;
    margin: 0;
    overflow: hidden;
    padding: 0
}

.mejs-captions-selector-list-item,.mejs-chapters-selector-list-item {
    color: #fff;
    cursor: pointer;
    display: block;
    list-style-type: none!important;
    margin: 0 0 6px;
    overflow: hidden;
    padding: 0
}

.mejs-captions-selector-list-item:hover,.mejs-chapters-selector-list-item:hover {
    background-color: #c8c8c8!important;
    background-color: hsla(0,0%,100%,.4)!important
}

.mejs-captions-selector-input,.mejs-chapters-selector-input {
    clear: both;
    float: left;
    left: -1000px;
    margin: 3px 3px 0 5px;
    position: absolute
}

.mejs-captions-selector-label,.mejs-chapters-selector-label {
    cursor: pointer;
    float: left;
    font-size: 10px;
    line-height: 15px;
    padding: 4px 10px 0;
    width: 100%
}

.mejs-captions-selected,.mejs-chapters-selected {
    color: #21f8f8
}

.mejs-captions-translations {
    font-size: 10px;
    margin: 0 0 5px
}

.mejs-captions-layer {
    bottom: 0;
    color: #fff;
    font-size: 16px;
    left: 0;
    line-height: 20px;
    position: absolute;
    text-align: center
}

.mejs-captions-layer a {
    color: #fff;
    text-decoration: underline
}

.mejs-captions-layer[lang=ar] {
    font-size: 20px;
    font-weight: 400
}

.mejs-captions-position {
    bottom: 15px;
    left: 0;
    position: absolute;
    width: 100%
}

.mejs-captions-position-hover {
    bottom: 35px
}

.mejs-captions-text,.mejs-captions-text * {
    background: hsla(0,0%,8%,.5);
    box-shadow: 5px 0 0 hsla(0,0%,8%,.5),-5px 0 0 hsla(0,0%,8%,.5);
    padding: 0;
    white-space: pre-wrap
}

.mejs-container.mejs-hide-cues video::-webkit-media-text-track-container {
    display: none
}

.mejs-overlay-error {
    position: relative
}

.mejs-overlay-error>img {
    left: 0;
    max-width: 100%;
    position: absolute;
    top: 0;
    z-index: -1
}

.mejs-cannotplay,.mejs-cannotplay a {
    color: #fff;
    font-size: .8em
}

.mejs-cannotplay {
    position: relative
}

.mejs-cannotplay a,.mejs-cannotplay p {
    display: inline-block;
    padding: 0 15px;
    width: 100%
}

.ipnrm-lightbox .wp-video {
    width: 960px !important;
    height: 540px !important;
    max-width: 92vw !important;
    max-height: 80vh !important;
}
.ipnrm-lightbox .wp-video .mejs-container.mejs-video {
    width: 960px !important;
    height: 540px !important;
    max-width: 92vw !important;
    max-height: 80vh !important;
}
.ipnrm-lightbox .wp-video .wp-video-shortcode {
    width: 960px !important;
    height: 540px !important;
    max-width: 92vw !important;
    max-height: 80vh !important;
}
@media (max-width: 992px) {
  .ipnrm-lightbox .wp-video,
  .ipnrm-lightbox .wp-video .mejs-container.mejs-video,
  .ipnrm-lightbox .wp-video .wp-video-shortcode {
    width: 92vw !important;
    height: calc(92vw * 9 / 16) !important;
  }
}

/* Strictly suppress fixed 2D nadir overlay */
#nadir-blur-overlay,
.nadir-blur-overlay {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}


/* ==========================================================================
   VIDEO MODAL DIALOG
   ========================================================================== */
.ipnrm-video-modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 23, 42, 0.85) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 300ms cubic-bezier(0.16, 1, 0.3, 1), visibility 300ms cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 20px !important;
  box-sizing: border-box !important;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.ipnrm-video-modal-backdrop.open {
  opacity: 1 !important;
  visibility: visible !important;
}

.ipnrm-video-modal-card {
  position: relative !important;
  width: 92vw !important;
  max-width: 960px !important;
  max-height: 92vh !important;
  background: rgba(15, 23, 42, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9), 0 0 35px rgba(225, 29, 72, 0.35) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  transform: scale(0.92) translateY(12px) !important;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ipnrm-video-modal-backdrop.open .ipnrm-video-modal-card {
  transform: scale(1) translateY(0) !important;
}

.ipnrm-video-modal-header {
  padding: 14px 22px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 56px !important;
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
}

.ipnrm-video-header-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
}

.ipnrm-video-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: rgba(225, 29, 72, 0.15) !important;
  color: #fb7185 !important;
  flex-shrink: 0 !important;
}

.ipnrm-video-modal-title {
  color: #ffffff !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.ipnrm-video-modal-close {
  background: transparent !important;
  border: none !important;
  color: #94a3b8 !important;
  font-size: 28px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  padding: 4px 8px !important;
  border-radius: 8px !important;
  transition: all 200ms ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ipnrm-video-modal-close:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.ipnrm-video-modal-body {
  padding: 20px !important;
  overflow-y: auto !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
}

.ipnrm-video-player-wrap {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  background: #000000 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.ipnrm-video-player-wrap .wp-video {
  width: 100% !important;
  height: 100% !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  background: #000000 !important;
}

.ipnrm-video-iframe,
.ipnrm-video-player {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  object-fit: contain !important;
  background: #000000 !important;
  outline: none !important;
}

.ipnrm-video-desc-wrap {
  margin-top: 14px !important;
  padding: 12px 16px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  color: #cbd5e1 !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
}

@media only screen and (max-width: 768px) {
  .ipnrm-video-modal-card {
    width: 96vw !important;
    border-radius: 14px !important;
  }
  .ipnrm-video-modal-body {
    padding: 12px !important;
  }
}


/* ─── Toggle Modal / Popup Header Title ────────────────────────────────────── */
.ipnrm-embed-modal-card.is-no-modal-title .ipnrm-embed-modal-title,
body.ipnrm-hide-modal-title .ipnrm-embed-modal-title,
body.ipnrm-hide-modal-title .ipnrm-popover-title,
body.ipnrm-hide-modal-title .popover-title {
  display: none !important;
}

.ipnrm-embed-modal-card.is-no-modal-title .ipnrm-embed-modal-header,
body.ipnrm-hide-modal-title .ipnrm-embed-modal-header {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: auto !important;
  background: transparent !important;
  border-bottom: none !important;
  pointer-events: none !important;
  z-index: 30 !important;
  padding: 14px 18px !important;
  justify-content: flex-end !important;
}

.ipnrm-embed-modal-card.is-no-modal-title .ipnrm-embed-modal-close,
body.ipnrm-hide-modal-title .ipnrm-embed-modal-close {
  pointer-events: auto !important;
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
}

.ipnrm-embed-modal-card.is-no-modal-title .ipnrm-embed-modal-body,
.ipnrm-embed-modal-card.is-no-modal-title.is-image-mode .ipnrm-embed-modal-body,
body.ipnrm-hide-modal-title .ipnrm-embed-modal-card .ipnrm-embed-modal-body,
body.ipnrm-hide-modal-title .ipnrm-embed-modal-card.is-image-mode .ipnrm-embed-modal-body {
  height: 100% !important;
  padding-top: 0 !important;
}


/* ─── Marker Info File (File Ảnh Chi Tiết / Tài Liệu - Link trong User Data) ─── */
.marker-info-file .ipnrm-pos,
.marker-info-file .ipnrm-zoom,
.marker-info-file .ipnrm-offset,
.marker-info-file .ipnrm-body,
.marker_info_file .ipnrm-pos,
.marker_info_file .ipnrm-zoom,
.marker_info_file .ipnrm-offset,
.marker_info_file .ipnrm-body {
  overflow: visible !important;
}

.marker-info-file .ipnrm-body,
.marker_info_file .ipnrm-body {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}

.marker-info-file .ipnrm-body img,
.marker_info_file .ipnrm-body img {
  width: var(--ipnrm-info-file-icon-size, var(--ipnrm-info-icon-size, 40px)) !important;
  height: var(--ipnrm-info-file-icon-size, var(--ipnrm-info-icon-size, 40px)) !important;
  max-width: var(--ipnrm-info-file-icon-size, var(--ipnrm-info-icon-size, 40px)) !important;
  max-height: var(--ipnrm-info-file-icon-size, var(--ipnrm-info-icon-size, 40px)) !important;
  object-fit: contain !important;
  overflow: visible !important;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease !important;
  transform-origin: 50% 50%;
  pointer-events: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 8px var(--ipnrm-info-file-glow, #f59e0b)) !important;
}

.marker-info-file .ipnrm-body:hover img,
.marker_info_file .ipnrm-body:hover img {
  transform: scale(1.25) !important;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 20px var(--ipnrm-info-file-glow, #f59e0b)) !important;
}

.marker-info-file .ipnrm-body .marker-title,
.marker_info_file .ipnrm-body .marker-title {
  background: var(--ipnrm-info-file-title-bg, rgba(15, 23, 42, 0.88)) !important;
  color: var(--ipnrm-info-file-title-color, #ffffff) !important;
  font-size: var(--ipnrm-info-file-title-size, 14px) !important;
  box-shadow: 0 0 12px var(--ipnrm-info-file-glow, rgba(245, 158, 11, 0.65)) !important;
  border: 1px solid var(--ipnrm-info-file-glow, rgba(245, 158, 11, 0.4)) !important;
}

.ipnrm-offset:has(.marker-info-file .ipnrm-body:hover) .ipnrm-body .marker-title,
.marker-info-file .ipnrm-body:hover .marker-title,
.ipnrm-offset:has(.marker_info_file .ipnrm-body:hover) .ipnrm-body .marker-title,
.marker_info_file .ipnrm-body:hover .marker-title {
  transform: translateY(28px) !important;
  background: var(--ipnrm-info-file-title-bg, rgba(15, 23, 42, 0.94)) !important;
  border-color: var(--ipnrm-info-file-glow, rgba(245, 158, 11, 0.85)) !important;
  box-shadow: 0 0 25px 6px var(--ipnrm-info-file-glow, rgba(245, 158, 11, 0.8)) !important;
}

/* Hover Only Mode cho Marker Info File */
body.ipnrm-hover-marker-info-file-title .marker-info-file .ipnrm-body .marker-title,
body.ipnrm-hover-marker-info-file-title .marker_info_file .ipnrm-body .marker-title,
body.ipnrm-hover-marker-info-file-title .marker-info-file .marker-title,
body.ipnrm-hover-marker-info-file-title .marker_info_file .marker-title {
  opacity: 0 !important;
  transform: translateY(10px) !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, transform 0.3s ease !important;
}

body.ipnrm-hover-marker-info-file-title .marker-info-file .ipnrm-body:hover .marker-title,
body.ipnrm-hover-marker-info-file-title .marker_info_file .ipnrm-body:hover .marker-title,
body.ipnrm-hover-marker-info-file-title .ipnrm-offset:has(.marker-info-file .ipnrm-body:hover) .ipnrm-body .marker-title,
body.ipnrm-hover-marker-info-file-title .ipnrm-offset:has(.marker_info_file .ipnrm-body:hover) .ipnrm-body .marker-title {
  opacity: 1 !important;
  transform: translateY(28px) !important;
  pointer-events: auto !important;
}

/* Ẩn tiêu đề 360 của Marker Info File khi tắt */
body.ipnrm-hide-marker-info-file-title .marker-info-file .marker-title,
body.ipnrm-hide-marker-info-file-title .marker_info_file .marker-title,
body.ipnrm-hide-marker-info-file-title .marker-info-file .ipnrm-body .marker-title,
body.ipnrm-hide-marker-info-file-title .marker_info_file .ipnrm-body .marker-title {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Pulse Animation cho Marker Info File */
body.ipnrm-pulse-marker-info-file .marker-info-file .ipnrm-body img,
body.ipnrm-pulse-marker-info-file .marker_info_file .ipnrm-body img {
  animation: ipnrmInfoPulse 2.4s infinite ease-in-out !important;
}
body.ipnrm-pulse-marker-info-file .marker-info-file .ipnrm-body:hover img,
body.ipnrm-pulse-marker-info-file .marker_info_file .ipnrm-body:hover img {
  animation: none !important;
}

/* Modal Card Style cho Marker Info File */
.ipnrm-embed-modal-card.is-marker-info-file {
  border-color: var(--ipnrm-info-file-glow, rgba(245, 158, 11, 0.4)) !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 35px var(--ipnrm-info-file-glow, rgba(245, 158, 11, 0.25)) !important;
}


/* ==========================================================================
   ẨN KHỐI LA BÀN & ĐIỀU KHIỂN KHI MÀN HÌNH CHỜ ĐANG HOẠT ĐỘNG
   ========================================================================== */
/* Ẩn hoàn toàn khối la bàn theo yêu cầu người dùng */
.ipnrm-compass {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Khi màn hình chờ đang hiển thị (body.park360-waiting-active), chỉ ẩn tạm các nút tour */
body.park360-waiting-active .ipnrm-custom-btn-home,
body.park360-waiting-active .ipnrm-custom-btn-cluster-overview,
body.park360-waiting-active .ipnrm-custom-btn-intro,
body.park360-waiting-active .ipnrm-custom-btn-document,
body.park360-waiting-active .ipnrm-custom-btn-video,
body.park360-waiting-active .ipnrm-custom-btn-map,
body.park360-waiting-active .ipnrm-custom-btn-list-scenes,
body.park360-waiting-active .control-panel,
body.park360-waiting-active .park360-in-tour-switcher,
body.park360-waiting-active .ipnrm-audio-player {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
