body.page-booting .op-content {
  visibility: hidden;
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

body.page-booting .dpm-skeleton {
  display: block;
}

.dpm-skeleton {
  display: none;
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0 4rem;
}

body.is-ready .dpm-skeleton {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dpm-skeleton-inner {
  display: grid;
  gap: 2rem;
}

.dpm-skeleton-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.dpm-skeleton-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--clr-border);
}

.dpm-skeleton-card {
  min-height: 140px;
  padding: 1.25rem;
  border-right: 1px solid var(--clr-border);
}

.dpm-skeleton-card:last-child {
  border-right: none;
}

.dpm-skeleton-visual {
  min-height: 280px;
  aspect-ratio: 5 / 4;
  border-radius: 0 72px 0 72px;
}

.skeleton-bone {
  display: block;
  background: linear-gradient(90deg, #ececec 0%, #f6f6f6 45%, #ececec 100%);
  background-size: 220% 100%;
  animation: dpm-skeleton-shimmer 1.4s ease-in-out infinite;
}

.skeleton-bone--title {
  height: 2.4rem;
  width: min(72%, 28rem);
  margin: 0.75rem 0 1.25rem;
}

.skeleton-bone--label {
  height: 0.7rem;
  width: 7.5rem;
}

.skeleton-bone--line {
  height: 0.75rem;
  width: 100%;
  margin-bottom: 0.65rem;
}

.skeleton-bone--line-short {
  width: 58%;
}

.skeleton-bone--media {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border-radius: 0 72px 0 72px;
}

.skeleton-bone--chip {
  height: 0.85rem;
  width: 42%;
  margin-bottom: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .skeleton-bone {
    animation: none;
    background: #ececec;
  }
}

@keyframes dpm-skeleton-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@media (max-width: 1024px) {
  .dpm-skeleton-hero,
  .dpm-skeleton-cards {
    grid-template-columns: 1fr;
  }

  .dpm-skeleton-card {
    border-right: none;
    border-bottom: 1px solid var(--clr-border);
  }

  .dpm-skeleton-visual,
  .skeleton-bone--media {
    min-height: 200px;
    border-radius: 0 48px 0 48px;
  }
}
