/* Keep the original model-sheet drawing as the foreground. */
@supports (mask-image: url("")) or (-webkit-mask-image: url("")) {
  .jipa-profile-story .jipa-model-portrait {
    width: min(100%, 20rem);
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: end center;
    aspect-ratio: 452 / 506;
    padding-bottom: 5.5%;
    background: #e5d2ac url('/media/bumbleton-portrait-window.svg') center / 100% 100% no-repeat;
    box-shadow: 0 0 0 1px #dbc6a5;
  }
  .jipa-model-portrait::before {
    content: "";
    position: absolute;
    inset: auto 15% 6% 15%;
    height: 7%;
    background: #553d28;
    opacity: .21;
    border-radius: 50%;
    filter: blur(5px);
  }
  .jipa-profile-story .jipa-model-portrait img {
    z-index: 1;
    width: 76%;
    -webkit-mask: url('/media/jipa-standard-outline.svg') center / 100% 100% no-repeat;
    mask: url('/media/jipa-standard-outline.svg') center / 100% 100% no-repeat;
  }
  @media(max-width:600px) {
    .jipa-profile-story .jipa-model-portrait { width: min(70%, 13rem); padding-bottom: 4%; }
  }
}
