:root {
  --paper: #fff;
  --ink: #34312e;
  --control-size: 44px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

#scene {
  position: fixed;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.scene-switch {
  position: fixed;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--control-size);
  height: var(--control-size);
  border: 1px solid rgb(52 49 46 / 12%);
  border-radius: 50%;
  color: var(--ink);
  background: rgb(255 255 255 / 86%);
  box-shadow: 0 2px 12px rgb(52 49 46 / 10%);
  backdrop-filter: blur(8px);
  cursor: pointer;
  touch-action: manipulation;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.scene-switch:hover:not(:disabled) {
  background: #fff;
  transform: rotate(20deg);
}

.scene-switch:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.scene-switch:disabled {
  opacity: 0.55;
  cursor: wait;
}

.scene-switch svg {
  width: 21px;
  height: 21px;
  pointer-events: none;
}
