.screen-gallery { max-width: 1240px; margin: 32px auto 0; text-align: left; }
.screen-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; color:#5d487b; font-size:14px; }
.screen-toolbar > div { display:flex; gap:8px; }
.screen-toolbar button { width:44px; height:44px; border:1px solid #d5c5ed; border-radius:50%; font:inherit; font-size:20px; background:#fff; color:#452770; cursor:pointer; }
.screen-toolbar button:disabled { opacity:.45; cursor:default; }
.screen-toolbar button:not(:disabled):hover { background:#f1e7ff; }
.screen-track { display:grid; grid-auto-flow:column; grid-auto-columns:min(78%, 750px); gap:20px; list-style:none; padding:0 0 16px; margin:0; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-inline:contain; }
.screen-track > li { min-width:0; scroll-snap-align:start; }
.screen-card { height:100%; border:1px solid #e0d5f1; border-radius:18px; background:#faf6ff; overflow:hidden; }
.screen-art { aspect-ratio: 1.85; display:grid; place-items:center; padding:clamp(8px, 3vw, 35px); background: radial-gradient(ellipse at top right,#e6d9ff,transparent 65%),#f4ecff; overflow:hidden; }
.screen-art .psd-dashboard { width:100%; margin:0; }
.screen-art:has(> img + img) { display:flex; justify-content:center; gap:4%; }
.screen-art > img:not(.psd-dashboard) { width:20%; height:auto; }
.screen-caption { padding:18px 22px; }
.screen-caption h3 { margin:0 0 6px; font-size:20px; }
.screen-caption p { margin:0; color:#563f71; line-height:1.45; }
.preview-window { width:100%; align-self:center; border:1px solid #e1d4f3; border-radius:12px; background:white; padding:clamp(8px, 2vw, 22px); box-shadow:0 9px 25px #5f378523; }
.preview-window > strong { display:block; margin-bottom:8px; color:#553488; }
.preview-window > div { display:flex; align-items:center; justify-content:space-between; gap:10px; border-top:1px solid #eee5f6; padding:clamp(4px, 1.1vw, 12px) 0; font-size:clamp(10px, 1.5vw, 15px); }
.preview-window b { padding:4px 7px; border-radius:7px; background:#e9f8cf; color:#3f502a; text-align:center; }
@media(max-width:650px) { .screen-track { grid-auto-columns:91%; gap:12px; } .screen-art { aspect-ratio:1.55; } }

.screen-art > img.screen-capture {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}
.screen-art:has(> .screen-capture) {
  grid-template-rows: minmax(0, 1fr);
  padding: clamp(6px, 1vw, 14px);
}

.screen-art { position: relative; }
.screen-track.is-squeeze {
  --panel-height: clamp(190px, 37vw, 440px);
  display: block;
  position: relative;
  height: var(--panel-height);
  padding: 0;
  overflow: clip;
}
.is-squeeze > li {
  position: absolute;
  top: 0;
  height: 100%;
  transition: left .85s cubic-bezier(.16,1,.3,1), width .85s cubic-bezier(.16,1,.3,1);
}
.is-squeeze .screen-card { border: 0; border-radius: 0; background: none; }
.is-squeeze .screen-caption { display: none; }
.squeeze-panel {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  background: #ebe0fa;
  border: 1px solid #d5c5ed;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
.squeeze-panel:focus-visible { outline: 2px solid #633b9f; outline-offset: -3px; }
.squeeze-panel .screen-art {
  position: absolute;
  width: var(--open-width);
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  aspect-ratio: auto;
}
.squeeze-panel .psd-dashboard { max-height: 100%; object-fit: contain; }
.squeeze-panel .screen-art > img:not(.psd-dashboard) { max-height: 100%; object-fit: contain; }
.squeeze-caption { padding-top: 18px; min-height: 96px; }
.squeeze-caption h3 { margin: 0 0 5px; }
.squeeze-caption p { margin: 0; color: #563f71; }
@media (prefers-reduced-motion: reduce) {
  .is-squeeze > li { transition: none; }
}
