:root { color-scheme: dark; }
  html, body {
    margin: 0; padding: 0; height: 100%; overflow: hidden;
    background: #120a1e;
    font-family: "Comic Sans MS", "Chalkboard SE", system-ui, sans-serif;
    -webkit-user-select: none; user-select: none;
    touch-action: none;
  }
  /* Trippy animated backdrop behind the letterboxed canvas */
  #stage {
    position: fixed; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background:
      radial-gradient(circle at 20% 20%, rgba(255,0,170,0.20), transparent 45%),
      radial-gradient(circle at 80% 30%, rgba(0,200,255,0.20), transparent 45%),
      radial-gradient(circle at 50% 85%, rgba(180,255,0,0.18), transparent 50%),
      linear-gradient(135deg, #1a0f2e, #0c0a1c);
  }
  #game {
    display: block;
    image-rendering: auto;
    border-radius: 10px;
    box-shadow: 0 0 0 3px rgba(24,12,34,0.9),
                0 10px 60px rgba(255,0,180,0.25),
                0 0 120px rgba(0,220,255,0.18);
    background: #2a1550;
  }
  #hint {
    position: fixed; bottom: 6px; left: 0; right: 0;
    text-align: center; color: rgba(255,255,255,0.35);
    font-size: 11px; pointer-events: none; letter-spacing: 0.5px;
  }
  @media (max-width: 700px) { #hint { display: none; } }

.iamu-home {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 6px 8px;
  border: 1px solid rgba(190, 255, 65, 0.48);
  border-radius: 999px;
  color: #e9ff63;
  background: rgba(18, 10, 30, 0.84);
  box-shadow: 0 0 18px rgba(0, 220, 255, 0.16);
  font: 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.1em;
  text-decoration: none;
  touch-action: auto;
}
.iamu-home:hover,
.iamu-home:focus-visible {
  color: #fff;
  border-color: #ff4fc3;
  outline: none;
  box-shadow: 0 0 22px rgba(255, 79, 195, 0.36), 0 0 12px rgba(0, 220, 255, 0.28);
}
.iamu-home svg { display: inline-block; width: 0.95em; height: 0.95em; margin-right: 0.5em; vertical-align: -0.12em; overflow: visible; }
.iamu-home path { fill: none; stroke: currentColor; stroke-width: 27; stroke-linecap: round; }
