/* FindMyInk — Flash public gallery parity with the canonical artist profile gallery.
   This file changes only the Flash detail gallery shell. The artist profile remains untouched. */

body.fim-flash-page-document.fim-flash-detail-mode .fim-flash-detail.fim-market-profile-page{
  background:#fff!important;
  background-image:none!important;
}

body.fim-flash-page-document.fim-flash-detail-mode
.fim-market-profile[data-profile-kind="flash"]>.fim-profile-photo-stage{
  position:relative!important;
  isolation:isolate!important;
  left:50%!important;
  width:min(1196px,calc(100vw - 44px))!important;
  max-width:none!important;
  margin:0!important;
  padding:18px 0!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  transform:translateX(-50%)!important;
}

body.fim-flash-page-document.fim-flash-detail-mode
.fim-market-profile[data-profile-kind="flash"]>.fim-profile-photo-stage::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  z-index:0!important;
  top:-14px!important;
  bottom:-18px!important;
  left:50%!important;
  width:100vw!important;
  pointer-events:none!important;
  background:#fff url('/assets/findmyink-damascus-organic-profile.svg') center -14px/cover no-repeat!important;
  opacity:1!important;
  transform:translateX(-50%)!important;
}

body.fim-flash-page-document.fim-flash-detail-mode
.fim-market-profile[data-profile-kind="flash"]>.fim-profile-photo-stage>.fim-profile-photo-rail{
  position:relative!important;
  z-index:1!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:4px 2px 12px!important;
  background:transparent!important;
}

body.fim-flash-page-document.fim-flash-detail-mode
.fim-market-profile[data-profile-kind="flash"]>.fim-profile-photo-stage .fim-profile-photo{
  background:transparent!important;
}

@media(max-width:767px){
  body.fim-flash-page-document.fim-flash-detail-mode
  .fim-market-profile[data-profile-kind="flash"]>.fim-profile-photo-stage{
    width:calc(100vw - 32px)!important;
    padding:12px 0!important;
  }

  body.fim-flash-page-document.fim-flash-detail-mode
  .fim-market-profile[data-profile-kind="flash"]>.fim-profile-photo-stage::before{
    top:-12px!important;
    bottom:-16px!important;
    background-position:center -12px!important;
  }
}
