.mr-shell .mr-thumb-frame {position:relative;display:block;width:max-content;max-width:100%;line-height:0;}
.mr-shell .mr-thumb-placeholder {height:var(--mr-catalogue-image-height,220px);aspect-ratio:3/4;background:#efefed;display:grid;place-items:center;}
.mr-shell .mr-thumb-placeholder > img.mr-type-icon {width:72%;height:72%;object-fit:contain;max-width:100%;margin:0;}
.mr-shell .mr-thumb-badges {position:absolute;bottom:6px;right:6px;display:flex;gap:4px;line-height:1;}
.mr-shell .mr-thumb-badge {display:flex;align-items:center;gap:3px;background:#171717;color:white;padding:4px;border-radius:2px;font-size:12px;}
.mr-shell .mr-thumb-badge img.mr-type-icon {width:17px;height:17px;object-fit:contain;filter:invert(1);margin:0;}
.mr-shell .mr-card .mr-thumb-placeholder,.mr-shell .mr-component-gallery .mr-thumb-placeholder {height:var(--mr-thumb-height,220px);}
@media(max-width:700px){.mr-shell .mr-archive .mr-thumb-placeholder{height:var(--mr-catalogue-mobile-image-height,150px);}}
.mr-shell .mr-card .mr-thumb-placeholder > img.mr-type-icon {width:72% !important;height:72% !important;margin:0;}
.mr-shell .mr-card .mr-thumb-badge img.mr-type-icon {width:17px !important;height:17px !important;margin:0;}
.mr-shell .mr-card .mr-thumb-frame {margin-bottom:8px;}
.mr-shell .mr-card .mr-thumb-frame > img.ma-optimized-preview {margin-bottom:0;}
.mr-shell .mr-archive .ma-results-content-unit {display:flex;flex-wrap:wrap;gap:20px;list-style:none;padding:0;}
.mr-shell .mr-archive .ma-results-content-unit li {width:min-content;min-width:100px;border:0;padding:0;}
.mr-shell .mr-content-unit-inline-icon {display:inline-block;width:1.4em;height:1.4em;vertical-align:middle;margin-right:.35em;}
.mr-shell .mr-content-unit-inline-icon img {width:100%;height:100%;object-fit:contain;}

/* Landing strip: explicit card geometry prevents intrinsic sizing of off-screen slides. */
.mr-shell .mr-new-objects > .mr-strip {
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(var(--mr-thumb-height) + 110px);
    align-items: flex-start;
}
.mr-shell .mr-new-objects > .mr-strip > .swiper-wrapper {
    height: auto !important;
    min-height: 0 !important;
    align-items: flex-start;
}
.mr-shell .mr-new-objects .mr-card {
    --mr-card-width: calc(var(--mr-thumb-height) * .75);
    width: var(--mr-card-width);
    flex: 0 0 var(--mr-card-width);
    min-width: 0;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(var(--mr-thumb-height) + 110px);
    overflow: hidden;
}
.mr-shell .mr-new-objects .mr-card:has(img.ma-preview-landscape) {
    --mr-card-width: calc(var(--mr-thumb-height) * 4 / 3);
}
.mr-shell .mr-new-objects .mr-card .mr-thumb-frame,
.mr-shell .mr-new-objects .mr-card .mr-placeholder {
    width: 100%;
    height: var(--mr-thumb-height);
    max-width: 100%;
}
.mr-shell .mr-new-objects .mr-card img:not(.mr-type-icon) {
    width: 100% !important;
    height: var(--mr-thumb-height) !important;
    object-fit: cover;
}
.mr-shell .mr-new-objects .mr-card > a,
.mr-shell .mr-new-objects .mr-card > small {
    overflow-wrap: anywhere;
    word-break: normal;
}
.mr-shell .mr-new-objects .mr-card .mr-card-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/* Material frames: preserve outer preview geometry. */
.mr-shell .mr-object-thumb > img.ma-optimized-preview {box-sizing:border-box;display:block;}
.mr-shell .mr-object-frame-photo > img.ma-optimized-preview {border:1px solid #222;padding:11px;background:#fff;}
.mr-shell .mr-object-frame-advertisement > img.ma-optimized-preview {border:1px solid #222;padding:30px;background:#fff;}
/* Independent counters share a single bottom-right alignment, including placeholders. */
.mr-shell .mr-object-counts {
    bottom:6px;right:6px;z-index:2;gap:4px;max-width:calc(100% - 12px);
    flex-wrap:wrap;justify-content:flex-end;align-items:flex-end;
}
.mr-shell .mr-object-counts .mr-thumb-badge {
    background:#fff;color:#222;border:1px solid #222;border-radius:2px;
    padding:3px 5px;gap:4px;font-size:12px;line-height:1;
    font-variant-numeric:tabular-nums;white-space:nowrap;
}
.mr-shell .mr-object-counts .mr-thumb-badge img.mr-type-icon {
    width:15px !important;height:15px !important;filter:none;margin:0;
}

/* Native touch scrolling for the bounded landing archive only. */
.mr-shell .mr-new-objects > .mr-native-archive {
    display: flex;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    touch-action: auto;
    overscroll-behavior-x: contain;
    gap: 20px;
}
.mr-shell .mr-new-objects > .mr-native-archive > .mr-card {
    scroll-snap-align: start;
    flex-shrink: 0;
}
.mr-shell .mr-new-objects .mr-load-status:empty {display:none;}
.mr-shell .mr-new-objects .mr-load-status {font-size:.875rem;padding:4px 0;}
.mr-shell .mr-new-objects .mr-load-retry[hidden] {display:none;}
