/* floating (004) — creature page chrome: dark body, canvas fills the
   viewport, hint bottom-center, credit bottom-right. No inline <style>. */

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

html, body { width: 100%; height: 100%; overflow: hidden; }

body {
  background: #0b0b0b;
  color: #fff;
  font-family: system-ui, -apple-system, sans-serif;
}

canvas#float {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  cursor: crosshair;
}

/* control hint — fixed bottom-center */
#hint {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.45);
  font: 13px/1.4 system-ui, -apple-system, sans-serif;
  letter-spacing: 0.04em;
  pointer-events: none;
  transition: opacity 1s ease;
  text-align: center;
  white-space: nowrap;
}

#hint b { color: rgba(255, 255, 255, 0.7); font-weight: 600; }

/* credit — fixed bottom-right, muted */
#credit {
  position: fixed;
  right: 20px;
  bottom: 16px;
  color: #4f4f4f;
  font: 700 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
  pointer-events: none;
}
