/* Whole-photo fallback remains unchanged outside motorcycle cover thumbnails. */
html body #phone #scroll .screen [data-photo-url][data-photo-kind]{position:relative;isolation:isolate;overflow:hidden;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;background-color:var(--surface-2,#10272e)!important;filter:none!important}
/* Motorcycle cover thumbnails fill their frame even before detection or when
   local workers are unavailable. Detail galleries and other categories stay contain. */
html body #phone #scroll .screen [data-photo-url][data-photo-kind="bikes"]:not(#detailGalleryOpen){background-size:cover!important}
/* Retire legacy blur/contain pseudo-images only on the opted-in Home frame.
   The original background remains the centered-cover fallback underneath. */
html body #phone #s-home[data-home-refresh] #latestRail .v2-product-image[data-photo-url]::before,html body #phone #s-home[data-home-refresh] #latestRail .v2-product-image[data-photo-url]::after{content:none!important;display:none!important;background-image:none!important}
html body #phone #s-detail #detailGalleryOpen[data-photo-url] #detailGalleryImage{object-fit:contain!important;object-position:center!important;filter:none!important;position:relative;z-index:0}
/* Above the original photo, below badges/compare/gallery controls (z3–5). */
html body #phone .screen [data-photo-url]>.photo-frame-layer{position:absolute;inset:0;display:block;z-index:2;overflow:hidden;pointer-events:none;direction:ltr;background:var(--surface-2,#10272e)}
html body #phone .screen [data-photo-url]>.photo-frame-layer[hidden]{display:none!important}
html body #phone .screen .photo-frame-window{position:absolute;overflow:hidden;pointer-events:none;display:block;direction:ltr}
html body #phone .screen .photo-frame-image{position:absolute;display:block;max-width:none!important;max-height:none!important;min-width:0!important;min-height:0!important;border:0!important;border-radius:0!important;padding:0!important;margin:0!important;object-fit:fill!important;object-position:0 0!important;filter:none!important;transform:none!important;transition:none!important;user-select:none;-webkit-user-drag:none}
html body #phone .screen [data-photo-url]>.photo-frame-layer~:is(.featured-star,.trade-badge,.fav-toggle){z-index:3}
html body #phone #s-detail .listing-detail-copy{border:1px solid var(--border,var(--line));border-radius:20px;padding:18px;background:var(--surface);margin:18px 0;min-width:0;overflow-wrap:anywhere}
html body #phone #s-detail .listing-detail-copy>.block-t{margin:0 0 10px}
html body #phone #s-detail .listing-detail-copy>.desc{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
html body #phone #s-detail .listing-detail-copy>.desc+.block-t{margin-top:18px;padding-top:16px;border-top:1px solid var(--border,var(--line))}
