/* 18M Viewer Shell 2.0 compatibility + native hotspot skin - V26.9.3
   清理旧 UI，同时统一场景 / 信息 / 外链三类 krpano 原生热点。 */
.m18-vu6-root,
.m18-vh-fab,
.m18-vh-panel,
.m18-hotspot-card-mask,
.m18-hotspot-card,
.m18-hotspot-toast {
  display: none !important;
}

.m18-kh-dot {
  box-sizing: border-box !important;
  width: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  border: 1px solid rgba(255,255,255,.34) !important;
  border-radius: 999px !important;
  background: rgba(12,17,23,.82) !important;
  color: transparent !important;
  font-family: Inter,"PingFang SC","Microsoft YaHei",sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 34px !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.12) !important;
  backdrop-filter: blur(12px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
  transition: max-width .2s ease, width .2s ease, padding .2s ease, transform .2s ease, color .12s ease, border-color .2s ease !important;
}

.m18-kh-dot::before {
  content: "→" !important;
  width: 26px !important;
  height: 26px !important;
  flex: 0 0 26px !important;
  margin-left: 3px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: linear-gradient(145deg,#d9bc7a,#ad8141) !important;
  color: #18130b !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  box-shadow: 0 0 0 4px rgba(212,176,106,.14),0 0 16px rgba(212,176,106,.38) !important;
}

.m18-kh-dot.info::before {
  content: "i" !important;
  background: linear-gradient(145deg,#93baff,#5689e9) !important;
  color: #fff !important;
  font-family: Georgia,serif !important;
  font-size: 15px !important;
  box-shadow: 0 0 0 4px rgba(121,168,255,.14),0 0 16px rgba(121,168,255,.38) !important;
}

.m18-kh-dot.link::before {
  content: "↗" !important;
  background: linear-gradient(145deg,#f2b27e,#d47745) !important;
  color: #fff !important;
  font-size: 14px !important;
  box-shadow: 0 0 0 4px rgba(240,164,107,.14),0 0 16px rgba(240,164,107,.38) !important;
}

.m18-kh-dot:hover,
.m18-kh-dot:focus-visible {
  width: auto !important;
  max-width: 210px !important;
  padding-right: 13px !important;
  color: #fff !important;
  transform: translateY(-2px) scale(1.02) !important;
  background: rgba(11,16,22,.94) !important;
  border-color: rgba(216,188,125,.58) !important;
  outline: none !important;
}

.m18-kh-dot.info:hover,
.m18-kh-dot.info:focus-visible { border-color: rgba(121,168,255,.62) !important; }
.m18-kh-dot.link:hover,
.m18-kh-dot.link:focus-visible { border-color: rgba(240,164,107,.62) !important; }

@media (hover:none), (max-width:760px) {
  .m18-kh-dot {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 32px !important;
  }
  .m18-kh-dot::before {
    width: 24px !important;
    height: 24px !important;
    flex-basis: 24px !important;
  }
  .m18-kh-dot.is-active,
  .m18-kh-dot:focus {
    width: auto !important;
    max-width: 164px !important;
    padding-right: 10px !important;
    color: #fff !important;
  }
}
