/* 2014 look, 2026 layout: centred and scaled to fit any screen. */
* { box-sizing: border-box; }

body {
  background: white;
  color: #333;
  margin: 0;
  padding: 0 16px 32px;
  font-family: 'Lucida Sans', 'Lucida Grande', 'Segoe UI', sans-serif;
  font-size: 15px;
}

main {
  max-width: 1140px;
  margin: 0 auto;
}

#level {
  margin: 0;
  padding: 16px 4px 12px;
  text-align: center;
  color: gray;
  font-weight: bold;
  font-size: 28px;
}

#gamebox {
  background: white;
  border: 1px solid #333333;
  line-height: 0;
  aspect-ratio: 2 / 1;
}

#gamebox canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: ns-resize;
}

.hint { margin: 14px 0 10px; }
#mode { font-weight: bold; }

.controls { border-collapse: collapse; }
.controls td { padding: 3px 18px 3px 0; vertical-align: top; }
.controls td:first-child { font-weight: bold; white-space: nowrap; }

.about { color: #777; font-size: 13px; margin-top: 18px; }
.about a { color: #0055ff; }
