/* Section-sized port of the supplied loading.css. */
.wp-loading, .wp-loading * { box-sizing: border-box; }
.wp-loading {
  position: relative;
  width: 100%;
  grid-column: 1 / -1;
  min-height: 260px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0A0A0A;
  border: 0;
  border-radius: 0;
  opacity: 0;
  animation: wp-loading-reveal .01s linear .2s forwards;
}
.wp-loading.compact { min-height: 184px; }
.wp-loader-art { position: relative; width: 100%; max-height: 100%; }
.wp-loader-stage { position: relative; margin: 0 auto; overflow: visible; }
.wp-dot-canvas { display: block; position: absolute; inset: 0; background: #0A0A0A; width: 100%; height: 100%; }
.wp-logo-container {
  position: absolute;
  pointer-events: none;
  transform-origin: 50% 58%;
  will-change: transform, opacity;
}
.wp-logo-container svg { width: 100%; height: 100%; display: block; overflow: visible; }
.wp-loading-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.wp-loading-overlay { position: absolute; z-index: 12; inset: 0; display: grid; place-items: center; min-height: 184px; overflow: hidden; background: #0A0A0A; border-radius: 0; }
.wp-loading-overlay .wp-loading { width: 100%; height: 100%; min-height: 184px; border-color: transparent; border-radius: 0; animation-delay: .04s; }
@keyframes wp-loading-reveal { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wp-loading { animation-delay: 0s; } }

#view > .wp-loading { min-height: calc(100dvh - 130px); }
.wp-loading-overlay { width: 100%; height: 100%; }

/* Loading occupies the visible section, including its padding, with one shared animation. */
#view [data-wp-loading] { visibility: hidden; min-height: 0; height: 0; padding: 0; border: 0; }
.wp-loading-section { position: fixed; z-index: 950; min-height: 0; padding: 0; border: 0; border-radius: 0; }
.wp-loading-section .wp-loader-art { max-height: none; }
#view .wp-loading-overlay { background: transparent; min-height: 0; border: 0; border-radius: 0; box-shadow: none; pointer-events: none; }
.wp-loading-section { box-shadow: none; outline: 0; }
