html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
}

body {
  cursor: none;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body.show-cursor {
  cursor: default;
}

#game {
  display: block;
  width: 100%;
  height: 100%;
  cursor: none;
}

#timer {
  position: fixed;
  top: 26px;
  left: 50%;
  z-index: 2;
  margin: 0;
  transform: translateX(-50%);
  color: #111111;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

#hint {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 2;
  margin: 0;
  transform: translateX(-50%);
  color: #a3a3a3;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.6s ease;
  white-space: nowrap;
}

#hint.hidden {
  opacity: 0;
}

#overlay {
  position: fixed;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
}

[hidden] {
  display: none !important;
}

#overlay-kicker {
  margin: 0 0 10px;
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

#overlay-time {
  margin: 0;
  color: #111111;
  font-size: clamp(56px, 13vw, 100px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

#overlay-best {
  margin: 16px 0 0;
  color: #8a8a8a;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

#overlay-action {
  margin: 30px 0 0;
  color: #111111;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
