/* SPDX-License-Identifier: GPL-3.0-or-later */
/* Open25-DM32 homepage only. Screen images are unchanged public renderer output. */
.showcase-home .welcome { width: min(calc(100% - 40px), 880px); gap: 24px; padding-block: 36px; }
.edition-showcase { display: grid; gap: 12px; }
.preview-controls { display: flex; justify-content: flex-end; }
.preview-controls label { display: inline-flex; align-items: center; gap: 7px; color: #586577; font-size: 12px; cursor: pointer; }
.preview-controls input { width: 15px; height: 15px; margin: 0; accent-color: var(--blue); }
.edition-previews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.edition-preview { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); min-width: 0; }
.edition-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; }
.edition-heading h2 { margin: 0; font-size: 20px; letter-spacing: -.3px; }
.edition-status { display: inline-flex; border-radius: 999px; padding: 4px 9px; font-size: 11px; line-height: 1.35; font-weight: 600; white-space: nowrap; }
.classic-status { background: #e9f3ed; color: #2c6548; }
.next-status { background: #f7eedf; color: #7a5722; }
.preview-display { position: relative; width: min(100%, 228px); aspect-ratio: 3 / 4; overflow: hidden; background: #17202c; border: 6px solid #263345; border-radius: 7px; box-shadow: 0 5px 14px #182a3d18; }
.preview-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; opacity: 0; animation: preview-cycle 10s linear infinite; }
.preview-frame:first-child { opacity: 1; }
.preview-frame:nth-child(2) { animation-delay: -5s; }
.edition-preview p { color: #586577; max-width: 38ch; font-size: 14px; line-height: 1.55; text-align: center; }
.edition-showcase:has(#pause-previews:checked) .preview-frame { animation-play-state: paused; }
.showcase-home .tool-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.showcase-home .tool-choice { padding: 22px; }
.showcase-home .tool-choice h2 { font-size: 20px; }
@keyframes preview-cycle { 0%, 40% { opacity: 1; } 50%, 90% { opacity: 0; } 100% { opacity: 1; } }
@media (max-width: 600px) {
  .showcase-home .welcome { width: calc(100% - 32px); gap: 22px; padding-block: 28px; }
  .edition-previews { gap: 12px; }
  .edition-preview { padding: 14px 12px; gap: 14px; }
  .edition-heading { flex-direction: column; gap: 7px; }
  .edition-heading h2 { font-size: 18px; }
  .edition-status { font-size: 10px; padding: 4px 7px; }
  .preview-display { border-width: 4px; }
  .edition-preview p { font-size: 12px; }
  .showcase-home .tool-choices { grid-template-columns: 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .preview-frame { animation: none; opacity: 0; }
  .preview-frame:first-child { opacity: 1; }
  .preview-controls { display: none; }
}
