/* Styles for the Shell Smasher page. Colors and font come from style.css. */

[hidden] { display: none !important; }

#lobby { margin: 16px 0; }

.lobby-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#codeInput {
  width: 7em;
  padding: 8px 12px;
  font: inherit;
  color: black;
  background: #f4ffe9;
  border: 3px solid #4a2b0f;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

#lobbyStatus {
  min-height: 1.4em;
  margin: 10px 0 0;
}

#gameCanvas {
  display: block;
  width: 560px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 560 / 532;
  margin: 16px auto;
  border-radius: 20px;
  background: #0f2f22;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

kbd {
  display: inline-block;
  min-width: 2em;
  padding: 3px 8px;
  text-align: center;
  color: #f4ffe9;
  background: #7a4a1e;
  border-bottom: 3px solid #4a2b0f;
  border-radius: 8px;
}
