:root {
  color-scheme: light;
  font-family: Arial;
  background: #fff;
  color: #000;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #fff;
}

.shell {
  width: min(100vw, 1360px);
  padding: 18px;
}

canvas {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 108px);
  border: 2px solid #000;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  color: #000;
  font-size: 13px;
}

.controls div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 12px;
  border: 2px solid #000;
  border-radius: 0;
  background: #fff;
}

.controls strong {
  color: #000;
}

.controls span {
  white-space: nowrap;
}

@media (max-width: 820px) {
  .shell {
    padding: 10px;
  }

  canvas {
    max-height: calc(100vh - 150px);
  }

  .controls {
    grid-template-columns: 1fr;
    font-size: 12px;
  }

  .controls div {
    flex-wrap: wrap;
  }
}
