Загрузка данных


* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; background: #000; }
canvas { display: block; }

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #fff;
  user-select: none;
  cursor: none;
}

#hud {
  position: fixed;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
  pointer-events: none;
}

.hud-item {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 16px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px #000;
}

#hint {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  color: #ddd;
  z-index: 10;
  pointer-events: none;
}

#crosshair {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  z-index: 20;
  pointer-events: none;
}
#crosshair::before, #crosshair::after {
  content: "";
  position: absolute;
  background: rgba(255, 80, 80, 0.95);
  box-shadow: 0 0 4px #000;
}
#crosshair::before { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
#crosshair::after { top: 50%; left: 0; height: 2px; width: 100%; transform: translateY(-50%); }

#overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: opacity 0.3s;
  cursor: default;
}
#overlay.hidden { opacity: 0; pointer-events: none; }

.panel {
  background: rgba(20, 22, 40, 0.92);
  border: 1px solid rgba(255, 200, 60, 0.5);
  border-radius: 16px;
  padding: 40px 60px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
  max-width: 500px;
}
.panel h1 {
  font-size: 32px;
  margin-bottom: 14px;
  color: #ffd257;
  text-shadow: 0 0 12px rgba(255, 180, 0, 0.6);
}
.panel p {
  font-size: 17px;
  color: #cfd8ff;
  margin-bottom: 24px;
  line-height: 1.5;
}
.panel button {
  background: linear-gradient(180deg, #ff8a3d, #c9460c);
  color: #fff;
  border: none;
  padding: 12px 40px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 1px;
  box-shadow: 0 4px 16px rgba(255, 100, 0, 0.5);
  transition: transform 0.15s, box-shadow 0.15s;
}
.panel button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 100, 0, 0.75);
}