* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #14101a;
  overflow: hidden;
  font-family: "Courier New", Courier, monospace;
  color: #e9dcc9;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
}

#shell {
  width: 100%;
  max-width: 1292px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

#game {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 44px);
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #1b1524;
  border: 3px solid #4a3557;
  border-radius: 4px;
  box-shadow:
    0 0 0 3px #241a30,
    0 18px 40px rgba(0, 0, 0, 0.55);
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  font-size: 11px;
  letter-spacing: 0.4px;
  color: #9d8fb0;
  text-align: center;
}

#foot b {
  color: #e6c98a;
  font-weight: 700;
}

@media (max-width: 700px) {
  #foot { font-size: 10px; }
}
