/* The Estate — full-bleed Phaser canvas game; only the HUD overlay carries the Lyons.io theme */

* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #0d1b2a;
  color: #e8f0e8;
  font-family: "Space Grotesk", system-ui, sans-serif;
}
#game-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  line-height: 0;
}
#game-container canvas {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.overlay {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.overlay .back {
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  line-height: 1.6;
  color: #1a1a1a;
  text-decoration: none;
  padding: 8px 14px;
  border: 3px solid #1a1a1a;
  background: #7c3aed;
  box-shadow: 3px 3px 0 #1a1a1a;
  transition: transform .1s, box-shadow .1s;
}
@media (hover: hover) and (pointer: fine) {
  .overlay .back:hover, .overlay .back:focus-visible {
    transform: translate(3px, 3px);
    box-shadow: 0 0 0 #1a1a1a;
  }
}
.overlay .back:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.controls-hint {
  font-size: 12px;
  padding: 8px 12px;
  border: 2px solid #1a1a1a;
  background: rgba(255, 255, 255, .92);
  color: #1a1a1a;
}
