* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  width: 100%;
  height: 100%;
  background: #1a1a2e;
  font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}
#game-wrap {
  position: relative;
  width: 1280px;
  max-width: 100vw;
  max-height: 100vh;
  aspect-ratio: 16 / 9;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 4px #2a2a4a;
  border-radius: 8px;
  overflow: hidden;
}
canvas#game {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
  background: #87ceeb;
  cursor: pointer;
}
#hint {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
  pointer-events: none;
  line-height: 1.6;
}
kbd {
  display: inline-block;
  padding: 1px 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 3px;
  font-family: monospace;
  font-size: 11px;
  margin: 0 2px;
}
#hint .mute { font-size: 11px; opacity: 0.5; }
