/* A separate optical field sits behind the content of each dark scene. */
.optotype-scene {
  isolation: isolate;
}
.optotype-field {
  position: absolute;
  inset: 0;
  overflow: clip;
  z-index: -1;
  pointer-events: none;
}
.optotype-field canvas {
  position: sticky;
  top: 0;
  display: block;
  width: 100%;
  height: 100svh;
  max-height: 100%;
}
.field-motion {
  appearance: none;
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgb(247 243 234 / 34%);
  border-radius: 50%;
  background: transparent;
  color: #fcf5e8;
  cursor: pointer;
}
.field-motion[hidden] {
  display: none;
}
.field-motion:focus-visible {
  outline: 2px solid #f9c481;
  outline-offset: 3px;
}
.field-motion::before {
  content: "";
  display: block;
  width: 8px;
  height: 12px;
  box-sizing: content-box;
  border-inline: 2px solid currentColor;
}
.field-motion[aria-pressed="true"]::before {
  width: 0;
  height: 0;
  margin-left: 3px;
  border: solid transparent;
  border-width: 6px 0 6px 10px;
  border-left-color: currentColor;
}
@media (hover: hover) and (pointer: fine) {
  .field-motion:hover {
    background-color: rgb(255 255 255 / 9%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .field-motion {
    display: none;
  }
}
