/* はじめての方への余白に、配色に合わせた森を描く。 */
body { isolation: isolate; --start-forest: url("guide/start-forest-light.webp"); }
:root[data-theme="dark"] body { --start-forest: url("guide/start-forest-dark.webp"); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body { --start-forest: url("guide/start-forest-dark.webp"); }
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--start-forest) center / cover no-repeat;
  opacity: .46;
}
main.wrap {
  background: linear-gradient(to right, transparent, color-mix(in srgb, var(--bg) 90%, transparent) 16px  calc(100% - 16px), transparent);
}
@media (max-width: 600px) {
  body::before {
    background-size: auto 100%;
    background-position: 12% center;
    opacity: .32;
  }
  main.wrap {
    background: linear-gradient(to right, transparent, color-mix(in srgb, var(--bg) 80%, transparent) 12px calc(100% - 12px), transparent);
  }
}
