* { box-sizing: border-box; margin: 0; padding: 0; cursor: none !important; }

body {
  background: #020408;
  color: #00144e;
  font-family: "Courier New", monospace;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,20,78,0.04), rgba(0,20,78,0.04) 1px,
    transparent 1px, transparent 3px
  );
  z-index: 9000;
}

header {
  padding: 12px 20px;
  border-bottom: 1px solid #00144e;
  font-size: 13px;
  letter-spacing: 3px;
  color: #00144e;
  flex-shrink: 0;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

canvas {
  display: block;
  image-rendering: pixelated;
  border: 1px solid #00144e;
  box-shadow: 0 0 20px rgba(0,20,78,0.3);
}

#ui {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

#prompt {
  font-size: 13px;
  letter-spacing: 2px;
  color: #1a3a8a;
  min-height: 20px;
  text-align: center;
}

#score-display {
  font-size: 11px;
  letter-spacing: 2px;
  color: #00144e;
  min-height: 16px;
}

.custom-cursor {
  position: fixed;
  width: 14px; height: 14px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 3px #00144e);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #020408; }
::-webkit-scrollbar-thumb { background: #00144e; }

.logo,
.logo:visited,
.logo:hover,
.logo:active {
  color: #00144e;
  text-decoration: none;
}

.logo:hover {
  text-shadow: 0 0 10px #00144e;
}