html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #05060f;
  font-family: system-ui, 'Segoe UI', sans-serif;
}
#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) brightness(0.85);
}
#view {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
}
.overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: rgba(4, 6, 16, 0.55);
  color: #e8f6ff;
  text-align: center;
}
.hidden { display: none; }
h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 64px);
  letter-spacing: 0.18em;
  color: #7df9ff;
  text-shadow: 0 0 18px rgba(125, 249, 255, 0.8);
}
.tag { margin: 0; color: #9fb8d8; letter-spacing: 0.06em; }
.hint { margin: 0; color: #6d84a6; font-size: 14px; }
.score { margin: 0; font-size: clamp(28px, 5vw, 44px); font-weight: 700; color: #fff; }
.speeds { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.speed, #again {
  cursor: pointer;
  padding: 14px 22px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #e8f6ff;
  background: rgba(125, 249, 255, 0.08);
  border: 2px solid rgba(125, 249, 255, 0.6);
  border-radius: 10px;
  box-shadow: 0 0 14px rgba(125, 249, 255, 0.25);
  transition: transform 0.1s, background 0.1s;
}
.speed small { display: block; font-size: 12px; color: #9fb8d8; margin-top: 4px; }
.speed:hover, #again:hover {
  transform: scale(1.05);
  background: rgba(125, 249, 255, 0.2);
}
#again { border-color: rgba(255, 95, 208, 0.7); box-shadow: 0 0 14px rgba(255, 95, 208, 0.3); }
#again:hover { background: rgba(255, 95, 208, 0.2); }
