@import url("https://fonts.googleapis.com/css2?family=Exo+2:wght@500;700;800&display=swap");

html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0b0d12;
  font-family: "Exo 2", system-ui, sans-serif;
}

#wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #07090e;
}

canvas {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #000;
}

#hud {
  position: absolute;
  left: 14px;
  top: 12px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  color: rgba(245, 247, 250, 0.92);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

#msg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: #f5f7fa;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  background: rgba(8, 10, 14, 0.62);
  backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 3;
  padding: 20px;
}

#msg small {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(200, 210, 220, 0.85);
  text-transform: none;
  max-width: 320px;
  line-height: 1.5;
}
