html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: transparent;
}

body {
  color: #ffffff;
}

.overlay-root {
  position: relative;
  width: 100vw;
  height: 100vh;
  cursor: crosshair;
  outline: none;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.15)),
    linear-gradient(135deg, rgba(20, 75, 160, 0.35), rgba(10, 10, 10, 0.08));
}

.overlay-root.focused {
  box-shadow: inset 0 0 0 2px rgba(78, 163, 255, 0.75);
}

.hud {
  position: absolute;
  top: 16px;
  left: 16px;
  max-width: 360px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  background: rgba(8, 16, 30, 0.7);
  backdrop-filter: blur(8px);
}

.hud h1 {
  margin: 0 0 8px;
  font-size: 20px;
}

.hud p {
  margin: 0 0 8px;
  line-height: 1.4;
  font-size: 14px;
}

.hud .hint {
  margin-bottom: 12px;
  opacity: 0.8;
}

.status-list {
  display: grid;
  gap: 6px;
  font-size: 13px;
}

.status-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.status-list span {
  opacity: 0.75;
}

.status-list strong {
  font-weight: 600;
}

.identity-button {
  margin-top: 14px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: #4ea3ff;
  color: #081018;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.identity-button[disabled] {
  cursor: default;
  opacity: 0.65;
}

.identity-note {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 12px;
  opacity: 0.82;
}

.keyboard-note {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 12px;
  opacity: 0.82;
}

.crosshair {
  position: absolute;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 120ms ease, transform 120ms ease;
}

.crosshair.visible {
  opacity: 1;
  transform: scale(1);
}
