/* 厂房云参观 · 演示版样式 */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; height: 100%; background: #111; color: #f3f4f6; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif; }
#pano { position: absolute; inset: 0; }

#topbar {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0));
  z-index: 5; pointer-events: none;
}
#topbar > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .dot { width: 10px; height: 10px; border-radius: 50%; background: #2eb6a8; box-shadow: 0 0 0 4px rgba(46,182,168,0.18); }
.brand .title { font-size: 18px; font-weight: 600; letter-spacing: 1px; }
.brand .scene-name { font-size: 13px; color: #c8d2dc; padding-left: 10px; border-left: 1px solid rgba(255,255,255,0.18); }

.ctrls { display: flex; gap: 8px; }
.ctrl {
  background: rgba(255,255,255,0.10); color: #fff; border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.ctrl:hover { background: rgba(255,255,255,0.20); }
.ctrl.active { background: #2eb6a8; border-color: #2eb6a8; }

#sceneList {
  position: absolute; top: 70px; right: 20px; width: 220px;
  background: rgba(20,28,36,0.78); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.10); border-radius: 12px;
  padding: 12px 0; z-index: 5; max-height: 70vh; overflow: auto;
}
.sl-title { font-size: 12px; color: #8aa0b2; padding: 4px 16px 10px; letter-spacing: 1px; }
#slList { list-style: none; margin: 0; padding: 0; }
#slList li { padding: 10px 16px; font-size: 14px; cursor: pointer; border-left: 3px solid transparent; }
#slList li:hover { background: rgba(255,255,255,0.06); border-left-color: #2eb6a8; }
#slList li.active { background: rgba(46,182,168,0.15); color: #5ee2d2; border-left-color: #2eb6a8; }

#zoneChips { position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.chip {
  background: rgba(20,28,36,0.78); color: #fff; border: 1px solid rgba(255,255,255,0.20);
  padding: 9px 18px; border-radius: 999px; font-size: 13px; cursor: pointer;
  transition: all 0.15s;
}
.chip:hover { background: rgba(46,182,168,0.25); border-color: #2eb6a8; }
.chip.active { background: #2eb6a8; border-color: #2eb6a8; }

#hint { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); font-size: 12px; color: #8aa0b2; z-index: 4; letter-spacing: 1px; }

/* 跳转热点(箭头) */
.hotspot { position: absolute; user-select: none; cursor: pointer; }
.hotspot-link { width: 54px; height: 54px; transform: translate(-50%, -50%); }
.hotspot-link .hs-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(46,182,168,0.85); box-shadow: 0 0 0 4px rgba(46,182,168,0.20);
  animation: pulse 1.6s ease-out infinite;
}
.hotspot-link .hs-arrow {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px; font-weight: 700;
}
.hotspot-link .hs-arrow::before { content: "›"; transform: translateX(2px); }
.hotspot-link .hs-label {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  margin-top: 6px; background: rgba(0,0,0,0.65); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 6px; white-space: nowrap;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46,182,168,0.45); }
  100% { box-shadow: 0 0 0 14px rgba(46,182,168,0); }
}

/* 信息热点(i) */
.hotspot-info { width: 40px; height: 40px; transform: translate(-50%, -50%); }
.hotspot-info .hs-info {
  width: 100%; height: 100%; border-radius: 50%;
  background: #ffffff; color: #2eb6a8; border: 2px solid #2eb6a8;
  display: flex; align-items: center; justify-content: center;
  font-family: "Georgia", serif; font-style: italic; font-weight: 700; font-size: 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

/* 信息卡片 */
#infoCard {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(520px, 86vw);
  background: rgba(20,28,36,0.92); color: #f3f4f6;
  border: 1px solid rgba(255,255,255,0.10); border-radius: 14px;
  padding: 18px 22px; z-index: 20; box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}
#infoCard.hidden { display: none; }
.ic-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ic-title { font-size: 17px; font-weight: 600; color: #5ee2d2; }
.ic-close { background: transparent; border: none; color: #c8d2dc; font-size: 22px; line-height: 1; cursor: pointer; }
.ic-body { font-size: 14px; line-height: 1.7; color: #dde4ec; }

@media (max-width: 720px) {
  #sceneList { right: 10px; width: 200px; }
  .brand .title { font-size: 16px; }
  .brand .scene-name { display: none; }
  #zoneChips { bottom: 50px; }
  .chip { padding: 8px 14px; font-size: 12px; }
}
