/* samples/project_app/domino_36_03.css 2026/09/08 */

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #141414;
}

body {
  display: grid;
  place-items: center;
  font-family: sans-serif;
}

#domino-stage {
  position: relative;
  width: 960px;
  height: 720px;
  max-width: 100vw;
  max-height: 100vh;
  overflow: hidden;
  background: #141414;
}

#canvas {
  display: block;
  width: 960px;
  height: 720px;
  max-width: 100%;
  max-height: 100%;
}

#status {
  position: absolute;
  top: 14px;
  left: 14px;
  max-width: 520px;
  margin: 0;
  padding: 8px 10px;
  color: #f3f3f3;
  background: rgb(0 0 0 / 48%);
  font: 12px/1.35 ui-monospace, SFMono-Regular, monospace;
  white-space: pre-wrap;
  pointer-events: none;
}

#board-controls,
#playback-controls {
  position: absolute;
  display: flex;
  gap: 7px;
}

#board-controls {
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
}

#playback-controls {
  right: 18px;
  bottom: 18px;
}

button {
  min-width: 38px;
  min-height: 34px;
  border: 0;
  border-radius: 5px;
  color: #ffffff;
  background: rgb(25 25 25 / 82%);
  cursor: pointer;
  font: 14px sans-serif;
}

button:hover:enabled {
  background: rgb(70 70 70 / 90%);
}

button:disabled {
  cursor: default;
  opacity: 0.45;
}

#runtime-error {
  position: absolute;
  inset: 12px;
  margin: 0;
  padding: 12px;
  color: #ffb8b8;
  background: rgb(55 0 0 / 92%);
  white-space: pre-wrap;
}
