html,
body {
  margin: 0;
  padding: 0;

  width: 100%;
  height: 100%;

  overflow: hidden;
  background: transparent;

  font-family: Arial, Helvetica, sans-serif;
}

/* 让 AR.js 创建出来的摄像头 video 层铺满屏幕 */
video {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;

  width: 100vw !important;
  height: 100vh !important;

  object-fit: cover !important;

  z-index: -2 !important;
}

/* 让 A-Frame canvas 保持透明，不要用黑色盖住摄像头 */
canvas,
.a-canvas {
  background: transparent !important;
}

/* A-Frame 场景层 */
a-scene {
  position: fixed;
  top: 0;
  left: 0;

  width: 100vw;
  height: 100vh;
}

/* 提示面板 */
#ui-panel {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 10;

  width: min(88vw, 420px);
  padding: 14px 18px;
  border-radius: 18px;

  color: white;
  text-align: center;

  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  pointer-events: none;
}

#status {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

#hint {
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.78;
}

.a-enter-vr {
  display: none !important;
}