:is(.gallery, .shots).yk-screen-preview {
  display: grid;
  grid-template-columns: minmax(190px, .9fr) minmax(0, 1fr);
  grid-template-areas: "screen picker";
  grid-auto-flow: row;
  align-items: center;
  gap: clamp(18px, 4vw, 48px);
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(14px, 3.5vw, 32px);
  overflow: visible;
  border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  border-radius: 24px;
  background: color-mix(in srgb, currentColor 4%, transparent);
}
.yk-screen-stage { grid-area: screen; min-width: 0; }
.yk-screen-stage figure { margin: 0; }
.yk-screen-stage figure[hidden] { display: none; }
.yk-screen-stage figure img {
  display: block;
  width: min(100%, 242px);
  height: auto;
  margin: 0 auto;
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  box-shadow: 0 16px 36px #0003;
}
.yk-screen-stage figure figcaption { display: none; }
.yk-screen-picker { grid-area: picker; display: grid; gap: 8px; min-width: 0; }
.yk-screen-picker button {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 55px;
  padding: 7px 10px;
  border: 1px solid color-mix(in srgb, currentColor 15%, transparent);
  border-radius: 11px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .9rem;
  line-height: 1.28;
  font-weight: 650;
  text-align: start;
  cursor: pointer;
}
.yk-screen-picker button:hover { background: color-mix(in srgb, currentColor 7%, transparent); }
.yk-screen-picker button[aria-selected="true"] {
  border-color: var(--green, var(--accent, currentColor));
  box-shadow: inset 0 0 0 1px var(--green, var(--accent, currentColor));
  background: color-mix(in srgb, currentColor 9%, transparent);
}
.yk-screen-picker img {
  display: block;
  width: 32px;
  height: 44px;
  object-fit: cover;
  object-position: top;
  border-radius: 4px;
}
.yk-swipe-preview { touch-action: pan-y pinch-zoom; }
:is(.gallery, .shots).yk-mobile-preview { display: none; }
@media (max-width: 899px) {
  .gallery.yk-mobile-preview.yk-screen-preview { display: grid; margin-block: 16px 28px; }
  .story-grid:has(> .yk-mobile-preview.yk-screen-preview) .step-phone { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .yk-screen-stage figure:not([hidden]) img { animation: yk-screen-in .3s ease-out both; }
  @keyframes yk-screen-in { from { opacity: .64; translate: 0 5px; } to { opacity: 1; translate: 0; } }
}
@media (max-width: 620px) {
  :is(.gallery, .shots).yk-screen-preview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "picker" "screen";
    gap: 19px;
    border-radius: 16px;
  }
  .yk-screen-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yk-screen-picker button { font-size: .8rem; gap: 7px; min-height: 49px; padding: 7px 8px; }
  .yk-screen-stage figure img { width: min(100%, 210px); }
}
@media (max-width: 420px) {
  .yk-screen-picker button { display: flex; overflow-wrap: anywhere; }
  .yk-screen-picker img { display: none; }
}
