@layer ryra-paywall-strip {
/* One readable, horizontally scrollable screenshot row per app. */
html body .ry-paywalls-reference .pw-gallery, html body .ry-paywalls-latest .ws-pwa-track {
  display: grid !important; grid-template-columns: none !important;
  grid-auto-flow: column !important; grid-auto-columns: 260px !important;
  align-items: start !important; justify-content: start !important; gap: 16px !important;
  min-width: 0 !important; max-width: 100% !important; overflow-x: auto !important; overflow-y: hidden !important;
  overscroll-behavior-x: contain !important; scroll-snap-type: x proximity !important;
  scroll-padding-inline: 1px !important; padding-bottom: 12px !important;
  scrollbar-width: thin !important; scrollbar-color: #b8b8ab #f3f3ed !important;
}
html body .ry-paywalls-reference .pw-shot-card, html body .ry-paywalls-latest .ws-pwa-shot { scroll-snap-align: start !important; }
@media (max-width:1050px) {
  html body .ry-paywalls-reference .pw-gallery, html body .ry-paywalls-latest .ws-pwa-track { grid-auto-columns: 240px !important; }
}
@media (max-width:760px) {
  html body .ry-paywalls-reference .pw-gallery, html body .ry-paywalls-latest .ws-pwa-track { grid-auto-columns: 220px !important; gap: 12px !important; }
}
html body .ry-paywalls-reference .pw-captures > div { top: auto !important; bottom: 25px !important; }

/* A soft frame keeps the full image visible and rounds the image itself. */
html body .ry-paywalls-reference .pw-gallery, html body .ry-paywalls-latest .ws-pwa-track { align-items: stretch !important; --pw-screen-height: 520px !important; }
html body .ry-paywalls-reference .pw-shot-card, html body .ry-paywalls-latest .ws-pwa-shot {
  padding: 10px !important; border-radius: 23px !important; border-color: #e5e5dd !important;
  box-shadow: 0 4px 14px #20202d08, 0 1px 3px #20202d05 !important;
}
html body .ry-paywalls-reference .pw-shot-open, html body .ry-paywalls-latest .ws-pwa-shot > .ws-ai-pwshot {
  display: flex !important; align-items: center !important; justify-content: center !important;
  height: var(--pw-screen-height) !important; padding: 6px !important; border-radius: 17px !important;
  background: #f4f4ef !important; box-shadow: inset 0 0 0 1px #20202d06 !important;
}
html body .ry-paywalls-reference .pw-shot-open img, html body .ry-paywalls-latest .ws-pwa-shot > .ws-ai-pwshot img {
  width: auto !important; height: auto !important; max-width: 100% !important; max-height: 100% !important;
  aspect-ratio: auto !important; object-fit: contain !important; border-radius: 12px !important;
  background: #fff !important; box-shadow: 0 1px 5px #20202d10 !important;
}
@media (max-width:1050px) { html body .ry-paywalls-reference .pw-gallery, html body .ry-paywalls-latest .ws-pwa-track { --pw-screen-height: 480px !important; } }
@media (max-width:760px) { html body .ry-paywalls-reference .pw-gallery, html body .ry-paywalls-latest .ws-pwa-track { --pw-screen-height: 435px !important; } }

html body .ry-paywalls-latest .ws-pwa-shot { display: flex !important; flex-direction: column !important; flex: 0 0 260px !important; min-width: 0 !important; border: 1px solid #e5e5dd !important; background: #fff !important; }
html body .ry-paywalls-latest .ws-pwa-shot > .ws-ai-pwshot { aspect-ratio: auto !important; }
html body .ry-paywalls-latest .ws-pwa-shot > .ws-ai-pwshot::before, html body .ry-paywalls-latest .ws-pwa-shot > .ws-ai-pwshot::after { display: none !important; }
html body .ry-paywalls-latest .ws-pwa-shot .ws-pwa-dl { margin-top: auto !important; }
html body .ry-paywalls-latest .ws-pwa-track::-webkit-scrollbar { display: block !important; height: 7px !important; }
html body .ry-paywalls-latest .ws-pwa-track::-webkit-scrollbar-thumb { border-radius: 8px !important; background: #b8b8ab !important; }

html body .ry-paywalls-latest .ws-pwa-shot > .ws-ai-pwshot .ws-ai-pwscreen { display: contents !important; }
html body .ry-paywalls-latest .ws-pwa-shot .ws-ai-pwscreen::before, html body .ry-paywalls-latest .ws-pwa-shot .ws-ai-pwscreen::after { display: none !important; }

html body .ry-paywalls-latest .ws-pwa-shot > .ws-ai-pwshot { margin: 0 !important; width: 100% !important; overflow: hidden !important; }
}
