/* 720 全景查看器共享外观样式：正式访问页 / 预览页 / 导出离线包三方共用本文件，保证渲染效果完全一致 */
.vp-view { position: fixed; inset: 0; background: #000; }
.vp-container { position: absolute; inset: 0; }
.vp-container #panoContainer { width: 100%; height: 100%; }
/* 半透明渐变标题栏（鼠标静止 3.5s 自动隐藏） */
.vp-topbar { position: absolute; top: 0; left: 0; right: 0; height: 56px; display: flex; align-items: center;
    justify-content: space-between; padding: 0 24px; color: #fff; z-index: 10;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
    transition: opacity 0.4s, transform 0.4s; }
.vp-topbar.hide { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.vp-topbar-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.vp-topbar-right { display: flex; align-items: center; gap: 8px; }
.vp-back { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex-shrink: 0;
    border-radius: 50%; color: #fff; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(8px); cursor: pointer; transition: all 0.2s; }
.vp-back:hover { background: rgba(255,255,255,0.26); border-color: rgba(255,255,255,0.5); }
.vp-back svg { width: 16px; height: 16px; }
.vp-title { font-weight: 600; font-size: 16px; text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 56vw; }
.vp-author { font-size: 12px; opacity: 0.65; text-shadow: 0 1px 4px rgba(0,0,0,0.5); white-space: nowrap; }
/* 半透明玻璃按钮（顶栏：音乐/收藏/分享） */
.vp-topbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 12px;
    background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(8px);
    border-radius: 8px; font-size: 13px; cursor: pointer; transition: all 0.2s; }
.vp-topbtn:hover { background: rgba(255,255,255,0.26); border-color: rgba(255,255,255,0.5); color: #fff; }
.vp-topbtn.active { background: rgba(255,255,255,0.34); border-color: rgba(255,255,255,0.72); color: #fff; }
.vp-topbtn.round { width: 32px; padding: 0; border-radius: 50%; }
.vp-topbtn svg { width: 16px; height: 16px; display: block; }
.vp-music-ico { width: 18px; height: 18px; display: block; }
@keyframes vp-music-spin { to { transform: rotate(360deg); } }
.vp-topbtn.active .vp-music-ico { animation: vp-music-spin 2.6s linear infinite; }
/* 底部胶囊工具栏 */
.vp-toolbar { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px); border-radius: 28px; padding: 8px 16px; display: flex; align-items: center; gap: 4px; z-index: 6; }
.vp-toolbar button { width: 36px; height: 36px; border: none; background: transparent; color: #fff; border-radius: 50%;
    cursor: pointer; font-size: 16px; transition: all 0.2s; display: flex; align-items: center; justify-content: center; }
.vp-toolbar button:hover { background: rgba(255,255,255,0.15); }
.vp-toolbar button.active { background: rgba(79,110,247,0.65); }
.vp-toolbar button svg { width: 18px; height: 18px; display: block; }
/* 场景缩略图列表（工具栏上方） */
.vp-scenes { position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5;
    max-width: 85%; overflow-x: auto; overflow-y: hidden; padding: 10px 14px; background: rgba(0,0,0,0.55);
    backdrop-filter: blur(12px); border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); scroll-snap-type: x mandatory;
    opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.3s; transform: translateX(-50%) translateY(8px); }
.vp-scenes.show { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.vp-scenes::-webkit-scrollbar { height: 4px; }
.vp-scenes::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 2px; }
.vp-scenes::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }
.vp-scene-item { flex-shrink: 0; width: 100px; cursor: pointer; scroll-snap-align: center; border: 2px solid transparent;
    border-radius: 10px; overflow: hidden; transition: all 0.2s; background: rgba(255,255,255,0.05); }
.vp-scene-item:hover { border-color: rgba(255,255,255,0.45); transform: translateY(-2px); }
.vp-scene-item.active { border-color: #4F6EF7; box-shadow: 0 0 12px rgba(79,110,247,0.4); }
.vp-scene-thumb { width: 100px; height: 60px; background-size: cover; background-position: center; background-color: #222; }
.vp-scene-label { font-size: 11px; color: rgba(255,255,255,0.85); text-align: center; padding: 4px 6px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 热点弹窗 */
.vp-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: none; align-items: center;
    justify-content: center; z-index: 1000; padding: 20px; }
.vp-overlay.show { display: flex; }
.vp-panel { background: #fff; border-radius: 12px; max-width: 640px; width: 100%; max-height: 80vh; overflow-y: auto;
    padding: 24px; position: relative; color: #1f2937; }
.vp-panel-close { position: absolute; top: 10px; right: 14px; font-size: 24px; line-height: 1; cursor: pointer;
    color: #9ca3af; background: none; border: none; }
.vp-panel-close:hover { color: #4b5563; }
.vp-panel h3 { font-size: 17px; font-weight: 700; margin: 0 0 14px; padding-right: 30px; }
.vp-panel video, .vp-panel audio, .vp-panel img { max-width: 100%; border-radius: 8px; }
.vp-panel-content { font-size: 14px; line-height: 1.8; color: #4b5563; }
/* 品牌水印角标（按作品所有者套餐配置显隐） */
.vp-brand { position: absolute; bottom: 12px; right: 16px; z-index: 5; font-size: 11px; color: rgba(255,255,255,0.35); pointer-events: none; }
/* 空场景占位 */
.vp-noscene { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.45); font-size: 16px; text-align: center; flex-direction: column; gap: 10px; z-index: 3; }
/* 加载遮罩：进入页面即显示，全景资源全部加载完成后淡出 */
.vp-loading { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,0.78); display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 14px; color: rgba(255,255,255,0.85); font-size: 14px;
    letter-spacing: 1px; transition: opacity 0.4s; }
.vp-loading.hide { opacity: 0; pointer-events: none; }
.vp-spinner { width: 44px; height: 44px; border: 3px solid rgba(255,255,255,0.2); border-top-color: #fff;
    border-radius: 50%; animation: vp-spin 0.9s linear infinite; }
@keyframes vp-spin { to { transform: rotate(360deg); } }
/* 轻提示（替代 layui layer.msg，导出离线包无 layui 依赖） */
.vp-toast { position: fixed; top: 64px; left: 50%; transform: translateX(-50%) translateY(-8px); z-index: 1200;
    background: rgba(0,0,0,0.75); color: #fff; padding: 8px 18px; border-radius: 20px; font-size: 13px; opacity: 0;
    pointer-events: none; transition: all 0.3s; backdrop-filter: blur(8px); max-width: 80vw;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
