/* Gore Burst: ONE PHOTO FIT RULE for all frames, matching the original working frames.
   The previous universal script zoomed the photo to 100% of the frame and masked it.
   That caused severe face cropping. That script is deliberately NOT loaded.
   All frame artworks, including future additions, use the SAME geometry.
*/

/* Set the photo as a circle centered at 50%, at 70% of the complete frame bounds.
   This is the original working visual proportion, independent of the frame ID. */
#gbShopView #gbshopPreview > img#gbshopAvatarImg,
#gb-profile-layer .gbpf-preview > img#gbpf-preview-avatar,
#gb-profile-layer .gbpf-hero-avatar-wrap > img.gbpf-avatar-img,
#gb-profile-layer .gbpf-public-wrap > img.gbpr-public-avatar {
  position:absolute!important;
  inset:auto!important;
  top:15%!important;
  left:15%!important;
  right:auto!important;
  bottom:auto!important;
  width:70%!important;
  height:70%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  transform:none!important;
  object-fit:cover!important;
  object-position:center center!important;
  border-radius:50%!important;
  clip-path:none!important;
  -webkit-clip-path:none!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
  z-index:1!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  box-shadow:none!important;
  filter:none!important;
  animation:none!important;
}
/* All decorative artwork fills the frame's bounding box ON TOP of the same photo. */
#gbShopView #gbshopPreview > img#gbshopFrameImg,
#gb-profile-layer .gbpf-preview > img#gbpf-preview-border,
#gb-profile-layer .gbpf-hero-avatar-wrap > img.gbpf-overlay,
#gb-profile-layer .gbpf-public-wrap > img.gbpf-overlay {
  position:absolute!important;
  inset:0!important;
  top:0!important;
  left:0!important;
  right:auto!important;
  bottom:auto!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  max-width:none!important;
  object-fit:contain!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  z-index:2!important;
  filter:none!important;
  box-shadow:none!important;
  animation:none!important;
  pointer-events:none!important;
}
/* Keep the layout containers square and with isolated layer stacking. */
#gbShopView #gbshopPreview,
#gb-profile-layer .gbpf-preview,
#gb-profile-layer .gbpf-hero-avatar-wrap,
#gb-profile-layer .gbpf-public-wrap {
  position:relative!important;
  aspect-ratio:1 / 1;
  isolation:isolate!important;
  overflow:visible!important;
}
/* The Store artwork itself has no decorative glow. Other neon UI remains. */
#gbShopView .gbshop-frames .gbshop-art img,
#gbShopView #gbshopFrameImg {
  filter:none!important;
  box-shadow:none!important;
}
