/* Native PSP theme specimens. Scoped to these two cards only. */
.included-themes:has(.dd-theme-card) { align-items: stretch; gap: 22px; }
.dd-theme-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #49464d;
  background: #101114;
  box-shadow: inset 0 1px 0 #e4e2da0c;
}
.dd-theme-eyebrow {
  display: block;
  color: #c9c5ba;
  font: 9px/1.5 var(--mono, monospace);
  letter-spacing: .11em;
}
.dd-theme-card h3 { font-family: var(--display, sans-serif); font-weight: 700; }

/* Equal-width native center slices, not squeezed full-screen thumbnails.
   The frame layouts and large center gauge remain recognizable under copy. */
.dd-theme-slices { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); opacity: .62; pointer-events: none; }
.dd-theme-slice { position: relative; overflow: hidden; min-width: 0; border-right: 1px solid #d5dbda35; }
.dd-theme-slice:last-child { border-right: 0; }
.dd-theme-slice img {
  position: absolute;
  top: 0;
  left: 50%;
  width: auto;
  max-width: none;
  height: 100%;
  transform: translateX(-50%);
  object-fit: cover;
  image-rendering: pixelated;
  filter: saturate(.9);
}
.dd-standard-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, #06080bf2 0, #06080bc7 25%, #07090b45 54%, #07090b87 73%, #06080bf5 100%);
}
.dd-standard-copy { position: relative; z-index: 2; padding: 27px 28px 155px; }
.dd-standard-heading { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; margin-top: 18px; }
.dd-theme-count { font: 90px/.9 var(--display, sans-serif); color: #f3f0e5; text-shadow: 0 2px 16px #000; }
.dd-standard-heading h3 { margin: 0 0 9px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.02; color: #f4f0e6; }
.dd-standard-heading p { margin: 0; max-width: 245px; font-size: 12px; line-height: 1.6; color: #d4d4d1; }
.dd-standard-key { position: absolute; left: 0; bottom: 0; right: 0; padding: 24px 14px 17px; z-index: 2; }
.dd-standard-key ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; list-style: none; margin: 0; padding: 0; }
.dd-standard-key li { color: #e5e5de; font: 8px/1.55 var(--mono, monospace); text-align: center; letter-spacing: .015em; }
.dd-standard-key li span { display: block; color: #ddc775; font-size: 10px; margin-bottom: 4px; }
.dd-standard-key > p { margin: 17px 0 0; color: #9fa4a6; font: 7px/1.5 var(--mono, monospace); letter-spacing: .045em; text-align: center; }
.dd-standard-key > p span { padding: 0 5px; }

.dd-infernal-preview { border-color: #74452d; background: #17100c; }
.dd-infernal-heading { padding: 22px 25px 18px; background: linear-gradient(125deg, #1d1511, #15110f); }
.dd-infernal-heading .dd-theme-eyebrow { color: #c6a68c; }
.dd-infernal-heading h3 { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 4px; font-size: 39px; line-height: 1.05; color: #f3d4ac; }
.dd-infernal-heading h3 span { color: #f0a056; font-size: 29px; }
.dd-infernal-heading p { margin: 0; font-size: 12px; color: #bfae9e; }
.dd-infernal-screen { position: relative; width: 100%; aspect-ratio: 480 / 272; overflow: hidden; background: #030406; border-top: 1px solid #79502f; border-bottom: 1px solid #62422b; }
.dd-infernal-screen img,
.dd-infernal-screen video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: contain; image-rendering: pixelated; }
.dd-infernal-screen video[hidden] { display: none; }
.dd-theme-preview-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 15px; }
.dd-theme-preview-controls > span { font: 7px/1.6 var(--mono, monospace); color: #b8a696; letter-spacing: .025em; }
.dd-theme-preview-controls button { flex: 0 0 auto; border: 1px solid #967043; background: #2c2115; color: #e8d7b7; font: 9px/1.3 var(--mono, monospace); padding: 8px 10px; min-height: 32px; cursor: pointer; }
.dd-theme-preview-controls button:hover { background: #44301b; border-color: #c49a5d; color: #fff0c9; }
.dd-theme-preview-controls button:focus-visible { outline: 2px solid #ffdf75; outline-offset: 3px; }
.dd-theme-preview-controls button[disabled] { cursor: default; opacity: .65; }

@media (max-width: 1050px) and (min-width: 601px) {
  .dd-standard-copy { padding: 23px 20px 145px; }
  .dd-standard-heading { gap: 14px; }
  .dd-theme-count { font-size: 72px; }
  .dd-standard-heading h3 { font-size: 26px; }
  .dd-standard-heading p { font-size: 11px; }
  .dd-standard-key { padding-inline: 7px; }
  .dd-standard-key li { font-size: 7px; }
  .dd-theme-preview-controls { flex-wrap: wrap; gap: 7px; }
}
@media (max-width: 600px) {
  .dd-standard-preview { min-height: 350px; }
  .dd-standard-copy { padding: 25px 23px 140px; }
  .dd-standard-heading { gap: 19px; }
  .dd-theme-count { font-size: 81px; }
  .dd-standard-heading h3 { font-size: 29px; }
  .dd-standard-key li { font-size: 7px; }
  .dd-infernal-heading { padding: 23px; }
  .dd-infernal-heading h3 { font-size: 37px; }
  .dd-theme-preview-controls { padding: 11px 12px; gap: 8px; }
  .dd-theme-preview-controls > span { font-size: 6.5px; }
}
