* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  display: flex;
  flex-direction: column;
}

.game-frame {
  border: 3px solid;
  border-color: var(--sz-color-button-shadow) var(--sz-color-button-highlight)
                var(--sz-color-button-highlight) var(--sz-color-button-shadow);
  margin: 4px;
  background: #0a0a1a;
  position: relative;
  flex: 1;
  min-height: 0;
}

.game-frame canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: none;
}

.status-bar {
  display: flex;
  align-items: center;
  height: 20px;
  background: var(--sz-color-button-face);
  border-top: 1px solid var(--sz-color-button-shadow);
  padding: 0 4px;
  flex-shrink: 0;
  gap: 2px;
}

.status-section {
  border: 1px solid;
  border-color: var(--sz-color-button-shadow) var(--sz-color-button-highlight)
                var(--sz-color-button-highlight) var(--sz-color-button-shadow);
  padding: 1px 6px;
  font-size: 11px;
  white-space: nowrap;
  color: var(--sz-color-menu-text);
  flex: 1;
}

.high-scores-table, .controls-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.high-scores-table th {
  text-align: left;
  padding: 2px 6px;
  font-weight: bold;
  border-bottom: 1px solid var(--sz-color-button-shadow);
}

.high-scores-table td, .controls-table td {
  padding: 2px 6px;
}
