/* Original release captures stay uncropped; the existing card players handle motion. */
[data-prod-app] .prod-app-preview {
  background: #f7faff;
  border: 1px solid #d8e4f5;
}

[data-prod-app] .prod-app-preview::before,
[data-prod-app] .prod-app-preview::after {
  content: none;
}

/* Restricted cards keep the same navy dim over images and playing previews. */
.library-card.is-restricted .library-card-visual::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background: rgba(0, 24, 80, 0.34);
  pointer-events: none;
}

.prod-app-preview__screens {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 12px 48px;
}

[data-prod-app] .prod-app-preview__screens img {
  display: block;
  width: auto;
  max-width: calc(50% - 6px);
  height: auto;
  max-height: 100%;
  object-fit: contain;
  filter: none;
  border: 1px solid #d8e4f5;
  border-radius: 8px;
  background: #fff;
}

[data-prod-app] .prod-app-preview video {
  object-fit: contain;
  background: #001850;
  filter: none;
}

[data-prod-app] .service-card__body strong,
[data-prod-app] .library-card-copy strong {
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.library-card[data-prod-app] .prod-app-preview__screens {
  gap: 4px;
  padding: 6px;
}

.library-card[data-prod-app] .prod-app-preview__screens img {
  max-width: calc(50% - 2px);
  border-radius: 3px;
}

/* Individual app destinations retain the full release page and its installation guide. */
.download-row[id^="prod-"] {
  scroll-margin-top: 100px;
}

.download-row[id^="prod-"]:target {
  outline: 2px solid #0068f8;
  outline-offset: 4px;
}

@media (max-width: 720px) {
  [data-prod-app] .service-preview .prod-app-preview__screens {
    padding: 12px 16px 40px;
  }
}
