:root {
  color-scheme: dark;
  background: #101019;
  color: #f4f0fa;
  font-family: system-ui, sans-serif;
}

body {
  margin: 0;
}

main {
  position: relative;
  height: 100vh;
  height: 100dvh;
}

.scene {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 47% center;
}

.scene:focus-visible {
  outline: 2px solid #ffe2a6;
  outline-offset: -4px;
}

.playback {
  position: absolute;
  z-index: 1;
  inset: 12px auto auto 12px;
  padding: 8px 12px;
  border: 1px solid #665a77;
  border-radius: 8px;
  color: inherit;
  background: #282135;
  font: inherit;
}

.playback:not(:focus-visible) {
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
