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

#garten {
  display: block;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  touch-action: none;
  outline: none;
}

.dev {
  position: fixed;
  left: 8px;
  bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: calc(100vw - 16px);
  font: 12px/1 ui-monospace, monospace;
}

.dev button {
  padding: 5px 7px;
  border: 0;
  border-radius: 4px;
  background: rgba(20, 24, 28, 0.72);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.dev button.on {
  background: #c2456d;
}

.dev span {
  padding: 5px 7px;
  border-radius: 4px;
  background: rgba(20, 24, 28, 0.72);
  color: #fff;
}

.back {
  position: fixed;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(250, 244, 230, 0.86);
  color: #4a3b2a;
  box-shadow: 0 2px 10px rgba(40, 30, 15, 0.22);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.back svg {
  display: block;
  width: 24px;
  height: 24px;
  margin: auto;
}

.back:hover {
  background: #fffaf0;
  transform: translateX(-2px);
}

.back[hidden] {
  display: none;
}

.dev {
  left: 76px;
  max-width: calc(100vw - 84px);
}

.back.prev,
.back.next {
  top: 50%;
  bottom: auto;
  margin-top: -23px;
}

.back.prev {
  left: max(14px, env(safe-area-inset-left));
}

.back.next {
  left: auto;
  right: max(14px, env(safe-area-inset-right));
}

.back.next svg {
  transform: scaleX(-1);
}

.back.next:hover {
  transform: translateX(2px);
}
