/* VR 浏览端 · 使用帮助分步引导 */
.vr-help-tour {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100050;
  pointer-events: none;
}
.vr-help-tour.is-on {
  display: block;
}
.vr-help-tour__dim {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: auto;
}
.vr-help-tour__hole {
  position: absolute;
  border-radius: 14px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.38);
  border: 2px solid rgba(255, 255, 255, 0.78);
  box-sizing: border-box;
  pointer-events: none;
  transition: left .2s ease, top .2s ease, width .2s ease, height .2s ease;
  z-index: 1;
  overflow: hidden;
  background: transparent;
}
.vr-help-tour__hole-inner {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 12, 20, 0.35);
}
.vr-help-tour__hole-inner.is-on {
  display: flex;
}
.vr-help-tour__hole-inner img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
.vr-help-tour__hole-inner--tip {
  background: rgba(8, 12, 20, 0.35);
}
.vr-help-tour__hole-inner--hotspot {
  background: rgba(8, 12, 20, 0.28);
  align-items: center;
  justify-content: center;
  padding: 0;
}
.vr-help-tour__hole-hs {
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.vr-help-tour__hole-hs.is-on {
  display: block;
}
.vr-help-hs-demo {
  position: absolute;
  inset: 0;
}
.vr-help-hs-spot {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 58px;
  height: 58px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6));
  animation: vr-help-hs-bob 1.35s ease-in-out infinite;
}
.vr-help-hs-spot i {
  display: block;
  width: 18px;
  height: 18px;
  margin: -7px 0 0;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  box-sizing: border-box;
  transform: rotate(-45deg);
  opacity: 0.28;
  animation: vr-help-hs-wave 1.35s ease-in-out infinite;
}
.vr-help-hs-spot i:nth-child(1) { animation-delay: 0s; }
.vr-help-hs-spot i:nth-child(2) { animation-delay: 0.18s; }
.vr-help-hs-spot i:nth-child(3) { animation-delay: 0.36s; }
.vr-help-hs-spot--1 {
  left: 50%;
  top: 56%;
  animation-delay: 0s;
}
.vr-help-hs-spot--2 {
  left: 27%;
  top: 38%;
  animation: vr-help-hs-bob-sm 1.35s ease-in-out infinite;
  animation-delay: 0.22s;
  opacity: 0.9;
}
.vr-help-hs-spot--3 {
  left: 73%;
  top: 34%;
  animation: vr-help-hs-bob-sm2 1.35s ease-in-out infinite;
  animation-delay: 0.4s;
  opacity: 0.85;
}
@keyframes vr-help-hs-bob {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-8px); }
}
@keyframes vr-help-hs-bob-sm {
  0%, 100% { transform: translate(-50%, -50%) scale(0.82) translateY(0); }
  50% { transform: translate(-50%, -50%) scale(0.82) translateY(-6px); }
}
@keyframes vr-help-hs-bob-sm2 {
  0%, 100% { transform: translate(-50%, -50%) scale(0.76) translateY(0); }
  50% { transform: translate(-50%, -50%) scale(0.76) translateY(-5px); }
}
@keyframes vr-help-hs-wave {
  0%, 100% { opacity: 0.2; }
  35% { opacity: 1; }
  65% { opacity: 0.35; }
}

.vr-help-tour__card {
  position: absolute;
  z-index: 2;
  width: min(340px, calc(100vw - 28px));
  padding: 14px 16px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #1e2a3a;
  pointer-events: auto;
  box-sizing: border-box;
  box-shadow: 0 10px 28px rgba(15, 25, 40, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.vr-help-tour__step {
  font-size: 11px;
  letter-spacing: .04em;
  color: rgba(30, 42, 58, 0.48);
  margin-bottom: 6px;
}
.vr-help-tour__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #152033;
  line-height: 1.35;
}
.vr-help-tour__text {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(30, 42, 58, 0.82);
}
.vr-help-tour__demo {
  display: none;
  margin: -2px 0 12px;
  text-align: center;
}
.vr-help-tour__demo.is-on {
  display: block;
}
.vr-help-tour__demo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.28));
}
.vr-help-tour__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.vr-help-tour__btn {
  min-width: 72px;
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 13px;
  cursor: pointer;
  line-height: 32px;
}
.vr-help-tour__btn--ghost {
  background: rgba(30, 42, 58, 0.06);
  border-color: rgba(30, 42, 58, 0.12);
  color: #3a4a5e;
}
.vr-help-tour__btn--primary {
  background: #2f7cf6;
  border-color: #2f7cf6;
  color: #fff;
  font-weight: 600;
}
.vr-help-entry-btn .vr-help-entry-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  font-style: normal;
  font-family: Georgia, "Times New Roman", serif;
  color: #fff;
  box-sizing: border-box;
}
/* 有按钮样式预设时，用 SVG 问号，避免与底色/裁剪冲突 */
#fullscreenid[data-btn-style] .vr-bottom-dock .vr-help-entry-ico {
  color: transparent !important;
  font-size: 0 !important;
  text-indent: -9999px;
  overflow: hidden;
  border: none !important;
}

/* —— 帮助视频层 —— */
.vr-help-video {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100070;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.72);
  pointer-events: auto;
}
.vr-help-video.is-on {
  display: flex;
}
.vr-help-video__stage {
  position: relative;
  width: min(920px, calc(100vw - 32px));
  max-height: min(82vh, 620px);
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  will-change: transform, opacity;
}
.vr-help-video__el {
  display: block;
  width: 100%;
  max-height: min(82vh, 620px);
  background: #000;
  vertical-align: top;
}
.vr-help-video__actions {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vr-help-video__never {
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 12px;
  line-height: 32px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.vr-help-video__never:hover {
  background: rgba(0, 0, 0, 0.72);
}
.vr-help-video__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 22px;
  line-height: 34px;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.vr-help-video__close:hover {
  background: rgba(0, 0, 0, 0.72);
}
body.vr-help-videoing #vr_bottom_dock {
  z-index: 100080;
}

body.vr-help-touring #vr_bottom_dock {
  z-index: 100060;
  pointer-events: none;
}
body.vr-help-touring #vr_bottom_dock .vr-dock-btn {
  pointer-events: none;
}
body.vr-help-touring .vrshow_container_1_min,
body.vr-help-touring .vrshow_container_2_min {
  z-index: 100060;
  pointer-events: none;
}

@media (max-width: 640px) {
  .vr-help-tour__card {
    width: min(320px, calc(100vw - 24px));
    padding: 12px 14px 10px;
  }
  .vr-help-tour__title { font-size: 15px; }
  .vr-help-tour__text { font-size: 12.5px; }
  .vr-help-hs-spot {
    width: 48px;
    height: 48px;
  }
  .vr-help-hs-spot i {
    width: 18px;
    height: 12px;
  }
  .vr-help-video__stage {
    width: calc(100vw - 16px);
    max-height: 70vh;
    border-radius: 10px;
  }
  .vr-help-video__el {
    max-height: 70vh;
  }
}
