body {
  background: #1a1f1a;
  color: #e8e8e8;
  font-family: Georgia, serif;
  display: flex;
  gap: 20px;
  padding: 20px;
  flex-wrap: wrap;
}

#gameCanvas {
  background: #2c3a2c;
  border: 2px solid #5a6a5a;
  touch-action: none;
  width: 100%;
  max-width: 1920px;
  height: auto;
  aspect-ratio: 1 / 1;
}

#uiColumn {
  width: 320px;
  max-width: 100%;
}

@media (max-width: 700px) {
  body {
    flex-direction: column;
    padding: 10px;
  }
  #uiColumn {
    width: 100%;
  }
}

#clockPanel {
  background: #1f2a1f;
  border: 1px solid #4a5a4a;
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 12px;
  text-align: center;
}

#tabButtons {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

#tabButtons button {
  flex: 1;
  margin: 0;
}

#specializationPanel, #statusPanel, #materialsPanel, #otherVendorsPanel,
#displayPanel, #workerPanel, #storagePanel, #commissionPanel, #devLogPanel {
  background: #26302a;
  border: 1px solid #4a5a4a;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 16px;
}

#devLogPanel {
  max-height: 400px;
  overflow-y: auto;
}

button {
  display: block;
  width: 100%;
  margin: 6px 0;
  padding: 8px;
  background: #4a6a4a;
  color: #e8e8e8;
  border: 1px solid #6a8a6a;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
}

button:hover {
  background: #5a7a5a;
}

h3 {
  margin-top: 0;
  color: #d4af37;
}

small {
  color: #9aa89a;
}

input[type="number"], select {
  background: #1a1f1a;
  color: #e8e8e8;
  border: 1px solid #4a5a4a;
  border-radius: 4px;
  padding: 4px;
}
