/* B-only fallback: fixed, image-aligned masks and gently moving detail layers. */
.portal-panel--b .mural-detail{
  position:absolute;
  inset:0;
  z-index:1;
  display:none;
  overflow:hidden;
  pointer-events:none;
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-size:cover;
  mask-size:cover;
  -webkit-mask-position:58% 47%;
  mask-position:58% 47%;
  mask-mode:alpha;
}
.portal-panel--b .mural-detail--hair{
  -webkit-mask-image:url("./mural-hair-mask-b.svg");
  mask-image:url("./mural-hair-mask-b.svg");
}
.portal-panel--b .mural-detail--cloth{
  -webkit-mask-image:url("./mural-cloth-mask-b.svg");
  mask-image:url("./mural-cloth-mask-b.svg");
}
.portal-panel--b .mural-detail-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  object-position:58% 47%;
  transform-origin:70% 45%;
  pointer-events:none;
}
.portal-panel--b[data-motion="on"][data-flow-ready="false"] .mural-detail{
  display:block;
}
.portal-panel--b[data-motion="on"][data-flow-ready="false"] .mural-detail--hair .mural-detail-image{
  animation:mural-hair-flow-b 20s ease-in-out -6.5s infinite;
  will-change:transform;
}
.portal-panel--b[data-motion="on"][data-flow-ready="false"] .mural-detail--cloth .mural-detail-image{
  animation:mural-cloth-flow-b 24s ease-in-out -15.5s infinite;
  will-change:transform;
}
.portal-panel--b[data-motion-paused="true"] .mural-detail-image{
  animation-play-state:paused!important;
}
@keyframes mural-hair-flow-b{
  0%,100%{transform:translate3d(-2px,1px,0) rotate(-.025deg)}
  50%{transform:translate3d(3px,-1.5px,0) rotate(.035deg)}
}
@keyframes mural-cloth-flow-b{
  0%,100%{transform:translate3d(-1px,2px,0) rotate(.025deg)}
  50%{transform:translate3d(2px,-3px,0) rotate(-.035deg)}
}
@media(max-width:640px){
  .portal-panel--b .mural-detail{
    -webkit-mask-position:65% center;
    mask-position:65% center;
  }
  .portal-panel--b .mural-detail-image{object-position:65% center}
}
