/* The dialog and its backdrop now share the body stacking context. */
body>.amzx-bio-modal-v15850{z-index:2147483001!important;isolation:isolate;transform:none!important;filter:none!important;opacity:1}
body>.modal-backdrop{z-index:2147483000!important}
/* Fallback only when the native energy layer is absent. Uses the same decoded
   art, keeps all avatar/frame geometry, and animates opacity on the compositor. */
#profile .amzx-energy-v15320>.amzx-avatar-art-v1392.amzx-missing-glow-v15850{isolation:isolate}
#profile .amzx-missing-glow-v15850::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(135deg,var(--amzx-energy,#60a5fa),var(--amzx-energy2,#fbbf24));-webkit-mask:var(--amzx-glow-art-850) center/contain no-repeat;mask:var(--amzx-glow-art-850) center/contain no-repeat;filter:blur(5px);opacity:.65;animation:amzx-missing-glow-850 var(--amzx-pulse-speed,7s) ease-in-out infinite}
@keyframes amzx-missing-glow-850{0%,100%{opacity:.38}45%{opacity:.95}70%{opacity:.55}}
@media(prefers-reduced-motion:reduce){#profile .amzx-missing-glow-v15850::before{animation:none;opacity:.7}}
/* Layout1 needs a bounded viewport just like the original layout2/3 banners.
   Absolutely positioned media cannot expand the viewport to its natural height. */
#profile .amzx-header-banner-layout1-v15850{position:relative!important;display:block!important;overflow:hidden!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:16/6!important;flex:none!important;border-radius:20px;margin:0!important;background-size:cover;background-position:center}
#profile .amzx-header-banner-layout1-v15850>.amzx-header-banner-media:not(iframe){position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;min-height:0!important;object-fit:cover!important;object-position:center!important;margin:0!important}
#profile .amzx-header-banner-layout1-v15850>.amzx-header-banner-youtube{position:absolute!important;inset:auto!important;left:50%!important;top:50%!important;width:100%;height:100%;margin:0!important}
@supports not(aspect-ratio:16/6){#profile .amzx-header-banner-layout1-v15850{height:0!important;padding-top:37.5%!important}}

/* Restore the lightly overlapping identity without resizing the photo/artwork. */
#profile.amzx-profile-shell .amzx-profile-head>.amzx-header-banner-layout1-v15850+.amzx-avatar-frame-root-v1392{margin-top:-64px!important;margin-bottom:var(--amzx-header-frame-clearance-851,40px)!important;z-index:8!important;flex-shrink:0!important}
#profile.amzx-profile-shell .amzx-profile-head>.amzx-header-banner-layout1-v15850+.amzx-avatar-frame-root-v1392+.amzx-profile-meta-stack-v15188{margin-top:0!important;margin-bottom:2px!important}
#profile.amzx-profile-shell .amzx-profile-head>.amzx-header-banner-layout1-v15850~.amzx-profile-name-v15188{margin-top:0!important;margin-bottom:0!important}
