/* Shared screenshot treatment for the six-app comparison. */
.prose .app-preview {
  --preview-paper: #f4f0e7;
  --preview-ink: #292b35;
  margin: 1.5rem 0 2rem;
  border: 1px solid #ded9ce;
  border-radius: 16px;
  overflow: hidden;
  background: var(--preview-paper);
}

.app-preview__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 14px 20px;
  border-bottom: 1px solid #ded9ce;
  color: var(--preview-ink);
  font-size: 13px;
  line-height: 1.5;
}

.app-preview__label { font-weight: 700; }
.app-preview__platform { text-align: right; color: #5c5d64; }

.app-preview__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  height: 420px;
  background-image: radial-gradient(#d7d2c7 0.7px, transparent 0.7px);
  background-size: 12px 12px;
}

.prose .app-preview__stage img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  border-radius: 8px;
  box-shadow: 0 8px 24px #24212a20;
}

.app-preview__stage--devices {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px;
  gap: 24px;
  height: auto;
  padding-block: 28px;
}

.prose .app-preview__device {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  gap: 12px;
  color: var(--preview-ink);
  text-decoration: none;
}

.app-preview__device span {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.prose .app-preview__device img { width: 100%; }
.app-preview__device:focus-visible { outline: 2px solid #6d28d9; outline-offset: 6px; }

.prose .app-preview figcaption {
  padding: 12px 20px;
  margin: 0;
  background: #fffdf8;
  border-top: 1px solid #ded9ce;
  color: #62616a;
  font-size: 12px;
  line-height: 1.6;
}

.app-comparison-scroll { max-width: 100%; overflow-x: auto; }
.app-comparison-scroll:focus-visible { outline: 2px solid #6d28d9; outline-offset: 4px; }
.prose .app-comparison-scroll table { min-width: 660px; }
.app-comparison-scroll td:nth-last-child(-n+2) { white-space: nowrap; }

@media (max-width: 600px) {
  .app-preview__header { padding: 12px 14px; font-size: 12px; }
  .app-preview__stage { height: 340px; padding: 18px; }
  .app-preview__stage--wide { height: auto; min-height: 180px; }
  .app-preview__stage--devices { height: auto; grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .app-preview__device--mobile { width: 148px; justify-self: center; }
  .prose .app-preview figcaption { padding: 12px 14px; }
}
