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

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

#glcanvas {
  display: block;
  width: 100%;
  height: 100%;
}

#label {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,220,150,0.55);
  font-family: 'Georgia', serif;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
}

#phase-label {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  color: rgba(255,225,180,0.4);
  font-family: 'Georgia', serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
}

#hint {
  position: fixed;
  bottom: 3.1rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,200,200,0.5);
  font-family: 'Georgia', serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  animation: hintpulse 2.6s ease-in-out infinite;
}
@keyframes hintpulse {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.7; }
}

.history-link {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  color: rgba(255,225,170,0.7);
  background: rgba(20,16,28,0.55);
  border: 1px solid rgba(255,200,120,0.25);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-family: 'Georgia', serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, color 0.2s ease;
}
.history-link:hover {
  background: rgba(40,30,52,0.75);
  color: rgba(255,235,190,0.95);
}

#mode-toggle {
  position: fixed;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 10;
  color: rgba(255,225,170,0.7);
  background: rgba(20,16,28,0.55);
  border: 1px solid rgba(255,200,120,0.25);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-family: 'Georgia', serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, color 0.2s ease;
}
#mode-toggle:hover {
  background: rgba(40,30,52,0.75);
  color: rgba(255,235,190,0.95);
}
