/**
 * vr.qstar.center — 720yun风格 VR播放器界面
 * 仿720yun.com 专业全景界面
 * ========================================================================== */

:root {
  --blue: #007BFF;
  --blue-light: #E8F1FD;
  --blue-dark: #0056CC;
  --orange: #FF6B35;
  --orange-light: #FFF0EB;
  --green: #28A745;
  --text-white: #FFFFFF;
  --text-gray: rgba(255,255,255,0.65);
  --text-muted: rgba(255,255,255,0.4);
  --bg-glass: rgba(0, 0, 0, 0.45);
  --bg-glass-light: rgba(255, 255, 255, 0.12);
  --bg-glass-hover: rgba(0, 0, 0, 0.6);
  --border-glass: rgba(255, 255, 255, 0.15);
  --border-glass-hover: rgba(255, 255, 255, 0.28);
  --shadow-panel: 0 8px 32px rgba(0,0,0,0.45);
  --shadow-btn: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-glass: 0 4px 20px rgba(0,0,0,0.35);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 999px;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --z-krpano: 1;
  --z-base: 100;
  --z-topbar: 210;
  --z-leftpanel: 220;
  --z-rightpanel: 220;
  --z-bottombar: 210;
  --z-loading: 999;
  --z-tooltip: 500;
  --z-modal: 2000;
}

/* ====== 重置 & 基底 ====== */
.vr-wrap * { box-sizing: border-box; margin: 0; padding: 0; }
.vr-wrap html, .vr-wrap body {
  width: 100%; height: 100%;
  overflow: hidden;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
.vr-wrap ::-webkit-scrollbar { width: 4px; height: 4px; }
.vr-wrap ::-webkit-scrollbar-track { background: transparent; }
.vr-wrap ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; }

/* ====== 容器 ====== */
.vr-wrap {
  position: relative;
  width: 100vw; height: 100vh;
  overflow: hidden;
  background: #000;
}

/* ====== KRPANO画布 ====== */
#pano {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: var(--z-krpano) !important;
}
#pano iframe, #pano div { border-radius: 0 !important; }

/* ====== 顶部导航栏 ====== */
.vr-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 58px;
  z-index: var(--z-topbar);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%);
  backdrop-filter: blur(0px);
  transition: var(--transition);
}
.vr-topbar.scrolled {
  background: rgba(8,12,20,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
}

/* Logo */
.vr-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
}
.vr-logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--blue), #00D4FF);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,123,255,0.4);
}
.vr-logo-icon svg { width: 18px; height: 18px; fill: #fff; }
.vr-logo-text {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* 搜索框 */
.vr-search-wrap {
  flex: 1;
  max-width: 380px;
  position: relative;
}
.vr-search-input {
  width: 100%;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 0 16px 0 38px;
  font-size: 13px;
  color: #fff;
  outline: none;
  transition: var(--transition);
  font-family: var(--font);
}
.vr-search-input::placeholder { color: var(--text-muted); }
.vr-search-input:focus {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 0 0 3px rgba(0,123,255,0.2);
}
.vr-search-icon {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  opacity: 0.5;
  pointer-events: none;
}

/* 顶部工具栏 */
.vr-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.vr-topbar-btn {
  height: 34px;
  padding: 0 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}
.vr-topbar-btn:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.vr-topbar-btn.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,123,255,0.35);
}
.vr-topbar-btn.primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 4px 14px rgba(0,123,255,0.5);
}
.vr-topbar-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: 2px solid rgba(255,255,255,0.3);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  transition: var(--transition-fast);
}
.vr-topbar-avatar:hover { border-color: rgba(255,255,255,0.6); transform: scale(1.05); }

/* 场景名标题 */
.vr-scene-title {
  flex: 1;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
  letter-spacing: 0.3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 20px;
  max-width: 400px;
}

/* ====== 加载界面 ====== */
.vr-loading {
  position: fixed;
  inset: 0;
  z-index: var(--z-loading);
  background: #06080f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.vr-loading.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.vr-loading-logo {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.vr-loading-logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--blue), #00D4FF);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,123,255,0.4);
}
.vr-loading-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 2px;
}
.vr-loading-bar-wrap {
  width: 280px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.vr-loading-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), #00D4FF, var(--blue));
  background-size: 200% 100%;
  border-radius: var(--radius-full);
  width: 0%;
  transition: width 0.3s ease;
  animation: loading-shimmer 1.5s ease infinite;
}
@keyframes loading-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.vr-loading-percent {
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}
.vr-loading-hint {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 1px;
  margin-top: -12px;
}

/* ====== 左控制面板 ====== */
.vr-left-panel {
  position: fixed;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-leftpanel);
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-glass);
  min-width: 48px;
  transition: var(--transition);
}
.vr-left-panel.collapsed {
  min-width: 48px;
}
.vr-ctrl-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: var(--transition-fast);
  position: relative;
  font-size: 0;
}
.vr-ctrl-btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.vr-ctrl-btn span {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-top: 2px;
  white-space: nowrap;
  color: inherit;
}
.vr-ctrl-btn:hover {
  background: var(--bg-glass-light);
  color: #fff;
  border-radius: var(--radius-sm);
}
.vr-ctrl-btn.active {
  background: rgba(0,123,255,0.25);
  color: #5BADFF;
  border: 1px solid rgba(0,123,255,0.35);
}
.vr-ctrl-btn.active svg { fill: currentColor; }
.vr-ctrl-divider {
  height: 1px;
  background: var(--border-glass);
  margin: 4px 4px;
}

/* 缩放滑块 */
.vr-zoom-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 0;
}
.vr-zoom-label {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
}
.vr-zoom-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 4px;
  height: 64px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  outline: none;
  writing-mode: vertical-lr;
  direction: rtl;
  cursor: pointer;
}
.vr-zoom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px; height: 14px;
  background: var(--blue);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(0,123,255,0.5);
}

/* ====== 右功能面板 ====== */
.vr-right-panel {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-rightpanel);
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-glass);
  min-width: 48px;
}
.vr-side-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: var(--transition-fast);
  position: relative;
  font-size: 0;
}
.vr-side-btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.vr-side-btn span {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
  color: inherit;
}
.vr-side-btn:hover { background: var(--bg-glass-light); color: #fff; }
.vr-side-btn.liked { color: #FF6B6B; }
.vr-side-btn .badge {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 16px; height: 16px;
  background: var(--orange);
  border-radius: var(--radius-full);
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
}
.vr-side-divider { height: 1px; background: var(--border-glass); margin: 4px 4px; }

/* 音量滑块 */
.vr-volume-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 0;
}
.vr-volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 4px;
  height: 56px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  outline: none;
  writing-mode: vertical-lr;
  direction: rtl;
  cursor: pointer;
}
.vr-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px; height: 12px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 4px rgba(0,0,0,0.4);
}

/* ====== 底部场景条 ====== */
.vr-bottom-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: var(--z-bottombar);
  padding: 0 60px 14px;
  background: linear-gradient(0deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  transition: var(--transition);
}
.vr-bottom-bar-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 0 4px;
}
.vr-scene-counter {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vr-scene-counter-num {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.vr-scene-counter-total {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-left: 2px;
}
.vr-scene-counter-label {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-top: -4px;
  letter-spacing: 0.5px;
}
.vr-bottom-nav-btns {
  display: flex;
  gap: 6px;
}
.vr-nav-btn {
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  font-size: 0;
}
.vr-nav-btn:hover { background: rgba(255,255,255,0.18); color: #fff; }
.vr-nav-btn:disabled { opacity: 0.3; cursor: default; }
.vr-nav-btn svg { width: 14px; height: 14px; fill: currentColor; }

/* 缩略图条 */
.vr-thumbs-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 4px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}
.vr-thumb-item {
  flex-shrink: 0;
  width: 88px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  transition: var(--transition-fast);
  position: relative;
  background: rgba(255,255,255,0.05);
}
.vr-thumb-item:hover {
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}
.vr-thumb-item.active {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(0,123,255,0.3), var(--shadow-btn);
}
.vr-thumb-item.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  border-radius: 0 0 6px 6px;
}
.vr-thumb-img {
  width: 88px; height: 52px;
  object-fit: cover;
  display: block;
  background: rgba(255,255,255,0.05);
}
.vr-thumb-name {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  padding: 4px 5px 5px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(0,0,0,0.45);
  letter-spacing: 0.2px;
}
.vr-thumb-item.active .vr-thumb-name { color: #fff; }
.vr-thumb-num {
  position: absolute;
  top: 4px; left: 4px;
  min-width: 18px; height: 18px;
  background: rgba(0,0,0,0.55);
  border-radius: var(--radius-full);
  font-size: 9px;
  font-weight: 800;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ====== 指南针 ====== */
.vr-compass {
  position: fixed;
  top: 70px;
  right: 16px;
  z-index: var(--z-leftpanel);
  width: 44px; height: 44px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-glass);
}
.vr-compass:hover { background: var(--bg-glass-hover); border-color: rgba(255,255,255,0.25); }
.vr-compass-needle {
  width: 2px; height: 22px;
  background: linear-gradient(to bottom, #FF6B6B 50%, rgba(255,255,255,0.6) 50%);
  border-radius: 2px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.vr-compass-label {
  position: absolute;
  top: -2px;
  font-size: 8px;
  font-weight: 900;
  color: #FF6B6B;
  letter-spacing: 0;
  line-height: 1;
}

/* ====== 全景模式提示 ====== */
.vr-hint-toast {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  z-index: var(--z-tooltip);
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.vr-hint-toast.show {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ====== 热点信息卡片 ====== */
.vr-hotspot-card {
  position: fixed;
  z-index: var(--z-modal);
  background: rgba(14,18,28,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 16px;
  width: 280px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.vr-hotspot-card.show {
  opacity: 1; visibility: visible;
  transform: translateY(0) scale(1);
}
.vr-hotspot-card-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  background: rgba(255,255,255,0.05);
}
.vr-hotspot-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}
.vr-hotspot-card-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vr-hotspot-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  background: var(--blue);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
}
.vr-hotspot-card-btn:hover { background: var(--blue-dark); }
.vr-hotspot-card-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition-fast);
}
.vr-hotspot-card-close:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* ====== 分享面板 ====== */
.vr-share-panel {
  position: fixed;
  top: 72px;
  right: 16px;
  z-index: var(--z-modal);
  background: rgba(14,18,28,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 16px;
  width: 220px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.vr-share-panel.show {
  opacity: 1; visibility: visible;
  transform: translateY(0) scale(1);
}
.vr-share-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}
.vr-share-btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.vr-share-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 4px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid transparent;
  color: rgba(255,255,255,0.75);
  font-size: 10px;
  font-weight: 600;
}
.vr-share-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.12); color: #fff; }
.vr-share-icon {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.vr-share-icon.wechat { background: #07C160; }
.vr-share-icon.qq { background: #12B7F5; }
.vr-share-icon.weibo { background: #E6162D; }
.vr-share-icon.link { background: rgba(255,255,255,0.12); }

/* ====== 导览按钮 ====== */
.vr-tour-guide-btn {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-leftpanel);
  padding: 10px 28px;
  background: linear-gradient(135deg, var(--orange), #FF8F5E);
  border: none;
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255,107,53,0.4);
  transition: var(--transition);
  letter-spacing: 0.5px;
  display: none;
  align-items: center;
  gap: 8px;
}
.vr-tour-guide-btn:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,53,0.5);
}
.vr-tour-guide-btn svg { width: 16px; height: 16px; fill: currentColor; }

/* ====== 一键导览控件 ====== */
.vr-tour-controls {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-leftpanel);
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  box-shadow: var(--shadow-glass);
}
.vr-tour-ctrl-btn {
  padding: 6px 18px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}
.vr-tour-ctrl-btn:hover { background: rgba(255,255,255,0.2); color: #fff; }
.vr-tour-ctrl-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* ====== 旧版UI隐藏 ====== */
#panoBtns, .vrshow_tour_btn, .vrshow_radar_btn,
.vrshow_container_logo, .vrshow_container_1_min,
.vrshow_container_2_min, .vrshow_container_3_min,
.vrshow_container_4_min, .vrshow_tour_btn_wrap,
#top_ad, .marquee {
  display: none !important;
}

/* ====== 响应式 ====== */
@media (max-width: 768px) {
  .vr-topbar { height: 52px; padding: 0 14px; gap: 10px; }
  .vr-logo-text { display: none; }
  .vr-search-wrap { max-width: 200px; }
  .vr-topbar-btn:not(.primary) { display: none; }
  .vr-scene-title { display: none; }
  .vr-left-panel { left: 8px; }
  .vr-right-panel { right: 8px; }
  .vr-bottom-bar { padding: 0 16px 12px; }
  .vr-thumb-item { width: 72px; }
  .vr-thumb-img { width: 72px; height: 44px; }
  .vr-compass { width: 36px; height: 36px; top: 60px; }
  .vr-compass-needle { height: 18px; }
  .vr-tour-guide-btn { bottom: 80px; }
  .vr-tour-controls { bottom: 80px; }
}
@media (max-width: 480px) {
  .vr-left-panel { display: none; }
  .vr-right-panel { display: none; }
  .vr-bottom-bar { padding: 0 12px 10px; }
  .vr-thumbs-strip { gap: 6px; }
  .vr-thumb-item { width: 64px; }
  .vr-thumb-img { width: 64px; height: 38px; }
}

/* ====== 悬浮提示 ====== */
.vr-ctrl-btn[data-tip]:hover::before,
.vr-side-btn[data-tip]:hover::before {
  content: attr(data-tip);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.88);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 999;
  box-shadow: var(--shadow-btn);
}
