/* Loading hints affect only media containers; existing dimensions remain intact. */
.rb-perf-pending{background:linear-gradient(110deg,#eee9f7 24%,#faf8ff 48%,#eee9f7 73%)!important;background-size:230% 100%!important}
.rb-perf-pending.rb-perf-shimmer-on{animation:rb-perf-shimmer 1.65s linear infinite!important}
.rb-perf-pending>img:not([src=""]){background:inherit!important}
.rb-perf-pending>video{background:transparent!important}
.rb-perf-pending.rbui-preview-awaiting-frame>video{visibility:hidden!important}
@keyframes rb-perf-shimmer{to{background-position:-230% 0}}
@media(prefers-reduced-motion:reduce){.rb-perf-pending{animation:none!important}}

/* Branded placeholder: a non-interactive overlay that never changes media sizing. */
.rb-brand-position{position:relative!important}
.rb-brand-layer{position:absolute!important;inset:0!important;z-index:1;display:block!important;width:auto!important;height:auto!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:inherit!important;box-shadow:none!important;background:linear-gradient(145deg,#fbf9ff,#eee8fa)!important;opacity:0;visibility:hidden;pointer-events:none!important;transition:opacity .32s ease,visibility 0s linear .32s;overflow:hidden}
.rb-brand-layer.is-pending{opacity:1;visibility:visible;transition:none}
.rb-brand-layer:after{content:"";position:absolute;inset:0;background-image:var(--rb-brand-logo,none);background-repeat:no-repeat;background-position:center;background-size:clamp(26px,30%,92px) auto;mix-blend-mode:multiply;pointer-events:none}
/* Keep the central play affordance and caption visible on homepage previews. */
.rbui-home-preview-phone>.rb-brand-layer{z-index:2}
.rbui-home-preview-phone>.rb-brand-layer:after{background-position:center 32%}
/* Native video controls remain visible and interactive beneath the loading area. */
.rb-brand-layer.rb-brand-video-controls{bottom:42px!important}
.rbp-gallery-thumb>.rb-brand-layer:after,.rbp-ready-thumb>.rb-brand-layer:after{background-size:40% auto}
@media(prefers-reduced-motion:reduce){.rb-brand-layer{transition:none!important}}
