 body {
  margin: 0;
  overflow: hidden;
  font-family:
    "Microsoft YaHei", "Segoe UI", "PingFang SC", Roboto,
    "Helvetica Neue", sans-serif;
}

/* 信息面板 - 显示加载状态和提示 */
#info {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 100;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  backdrop-filter: blur(5px);
  pointer-events: none;
  font-size: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border-left: 4px solid #ff8800;
  font-weight: 500;
}

#status {
  position: absolute;
  bottom: 80px;
  left: 20px;
  z-index: 100;
  background: rgba(0, 0, 0, 0.7);
  color: #ffaa66;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 12px;
  pointer-events: none;
  backdrop-filter: blur(4px);
  font-weight: bold;
}

#controls-tip {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  background: rgba(0, 0, 0, 0.6);
  color: #ddd;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  pointer-events: none;
  font-family: monospace;
}

.loader-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 200;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 20px 30px;
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(8px);
  pointer-events: none;
  transition: opacity 0.5s ease;
  font-weight: bold;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.loader-container.hide {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ff8800;
  animation: spin 1s ease-in-out infinite;
  margin-right: 12px;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Cylinder043 专属提示 */
.cylinder-badge {
  position: absolute;
  bottom: 140px;
  left: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffaa44;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-family: monospace;
  pointer-events: none;
  backdrop-filter: blur(4px);
  border-left: 2px solid #ffaa44;
}

@media (max-width: 600px) {
  #info {
    font-size: 10px;
    top: 10px;
    left: 10px;
  }
  #status {
    font-size: 9px;
    bottom: 70px;
  }
  #controls-tip {
    font-size: 9px;
  }
  .cylinder-badge {
    font-size: 9px;
    bottom: 120px;
  }
}