/* Shared full-page scenery for every Minecraft tool. */
.has-world {
  /* A layout container would make fixed descendants follow the long page. */
  container-type: normal;
  isolation: isolate;
}
.world-backdrop {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  background: #d8e7df;
  pointer-events: none;
}
.world-backdrop picture, .world-backdrop img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.world-backdrop img { object-fit: cover; object-position: 50% 50%; }
.world-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(248 247 239 / 32%), rgb(248 247 239 / 12%) 35%, transparent 70%);
}
.has-world .site-header::before {
  inset: 0;
  background: rgb(255 254 248 / 94%);
  border: 1px solid rgb(255 254 248 / 85%);
  border-radius: 0 0 5px 5px;
}

@media (max-aspect-ratio: 1/1) {
  .world-backdrop::after { background: linear-gradient(180deg, rgb(248 247 239 / 18%), transparent 52%); }
}
