html, body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  color: #ffffff;

  background: #000000;
}

/* Preload overlay */
#preload {
  position: fixed;
  inset: 0;
  background: #000000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 500ms ease;
}
#preload.hidden {
  opacity: 0;
  pointer-events: none;
}
.preload-card {
  text-align: center;
  max-width: 640px;
  padding: 24px 20px;
  line-height: 1.5;
  animation: floatUp 900ms ease both;
}
.preload-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: 0.4px;
}
.preload-body {
  opacity: 0.9;
  font-size: 13px;
}
.preload-hint {
  margin-top: 14px;
  font-size: 11px;
  opacity: 0.7;
  letter-spacing: 0.2px;
}
@keyframes floatUp {
  from { transform: translateY(8px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
canvas {
  display: block;
}
main {
  padding: 20px;
}
#controls { display: none; }
#wish-input label { display: none; }
#wish-input {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 16px auto;
  padding: 6px 8px;
  background: transparent;
  width: fit-content;
}
#wish-input input {
  background: #000000;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 8px 10px;
  border-radius: 4px;
}
#wish-input input::placeholder {
  color: #bdbdbd;
}
#wish-input button {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}
#wish-input button:hover {
  background: rgba(255,255,255,0.08);
}
#canvas-container { background: #000000; }
