
/* R1043: stable cards; user-driven gallery; no scroll-based motion. */
html body main.app #fitmatch-main-content #fm-r1022-results .fm-r1022-grid .fm-r1022-card .fm-r1022-pics{position:relative!important;display:block!important;width:100%!important;height:auto!important;aspect-ratio:4/5!important;min-height:0!important;max-height:none!important;overflow:hidden!important;background:#f0eef3!important}
html body main.app #fitmatch-main-content #fm-r1022-results .fm-r1022-grid .fm-r1022-card .fm-r1022-pics img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;aspect-ratio:auto!important;display:block!important}
#fm-r1022-results .fm-r1043-gallery-controls{position:absolute;z-index:2;bottom:5px;left:5px;right:5px;display:flex;align-items:center;justify-content:space-between;gap:4px;pointer-events:none}
#fm-r1022-results .fm-r1043-gallery-controls button{box-sizing:border-box;display:grid;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:1px solid #ffffff60;border-radius:10px;background:#181920db;color:#fff;font-size:23px;line-height:1;pointer-events:auto;touch-action:manipulation}
#fm-r1022-results .fm-r1043-count{background:#181920db;color:#fff;padding:4px 7px;border-radius:7px;font-size:11px;font-weight:700;white-space:nowrap}
@media(max-width:720px){html.fm-r1022-on body main.app #fitmatch-main-content #fm-r1022-results>.fm-r1022-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-flow:row!important;align-items:start!important;gap:10px!important;column-count:initial!important}
html.fm-r1022-on body main.app #fitmatch-main-content #fm-r1022-results .fm-r1022-grid>.fm-r1022-card{margin:0!important;width:100%!important;min-width:0!important;background:#fff!important;color:#191820!important}
html.fm-r1022-on body main.app #fitmatch-main-content #fm-r1022-results .fm-r1022-grid>.fm-r1022-card>.fm-r1022-info{background:#fff!important;color:#191820!important}
html.fm-r1022-on body main.app #fitmatch-main-content #fm-r1022-results .fm-r1022-grid>.fm-r1022-card:not(:has(.fm-r1022-pics))>.fm-r1022-info{padding-top:43px!important}
#fm-r1022-results .fm-r1022-card .fm-r1024-more[open] .fm-r1022-actions{display:flex!important}
}
@media(prefers-reduced-motion:no-preference){main.app .fm-release-mobile-nav button,#fm-r1022-results :is(.fm-r1037-save,.fm-r1036-profile,.fm-learn-button,.fm-r1037-tabs button){transition:background-color 150ms ease,color 150ms ease,border-color 150ms ease}}
@media(prefers-reduced-motion:reduce){#fm-r1022-results *,main.app .fm-release-mobile-nav button{animation:none!important;transition:none!important}}
