* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: #eee;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.card {
  text-align: center;
  padding: 2rem 3rem;
}

.label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 0.5rem;
}

#word {
  font-size: 3rem;
  margin: 0 0 2rem;
  word-break: break-word;
}

#yes-btn {
  font-size: 1.5rem;
  font-weight: bold;
  padding: 0.75rem 3rem;
  border: none;
  border-radius: 0.5rem;
  background: #2ecc71;
  color: #111;
  cursor: pointer;
}

#yes-btn:disabled {
  background: #444;
  color: #888;
  cursor: not-allowed;
}

.timer {
  margin-top: 0.75rem;
  color: #666;
  font-size: 0.9rem;
  min-height: 1.2em;
}

.status {
  margin-top: 1.5rem;
  color: #f66;
  font-size: 0.9rem;
  min-height: 1.2em;
}

.counter {
  margin-top: 1rem;
  color: #999;
  font-size: 0.9rem;
}

.undo-btn {
  margin-top: 1rem;
  display: block;
  font-size: 0.85rem;
  padding: 0.4rem 1.2rem;
  border: 1px solid #666;
  border-radius: 0.4rem;
  background: transparent;
  color: #ccc;
  cursor: pointer;
}

.undo-btn.hidden {
  display: none;
}

.hidden {
  display: none;
}

#discord-login-btn {
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.5rem;
  background: #5865f2;
  color: #fff;
  cursor: pointer;
}

#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 100;
}
