* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #1a1612;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#game {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

#hint {
  position: fixed;
  bottom: 40px;
  left: 0;
  right: 0;
  text-align: center;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
#hint span {
  display: inline-block;
  color: rgba(225, 201, 152, 0.7);
  font: 12px system-ui, sans-serif;
  letter-spacing: 0.03em;
  padding: 6px 16px;
  border-radius: 4px;
  background: rgba(23, 21, 18, 0.6);
  transition: opacity 0.4s ease;
}
#hint.hidden span {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}