/* Adapted-format art direction. Native approved layouts never enter this scope. */
.pfs-social-card.pfs-lab-r2.pfs-adapted {
  --pfs-layout-x: 1;
  --pfs-layout-y: 1;
  --pfs-layout-type: 1;
}
.pfs-social-card.pfs-lab-r2.pfs-adapted.pfs-format-feed {
  width: 1080px !important; height: 1350px !important;
  --pfs-layout-y: .703125; --pfs-layout-type: .82;
}
.pfs-social-card.pfs-lab-r2.pfs-adapted.pfs-format-square {
  width: 1080px !important; height: 1080px !important;
  --pfs-layout-y: .8; --pfs-layout-type: .84;
}
.pfs-social-card.pfs-lab-r2.pfs-adapted.pfs-format-story {
  width: 1080px !important; height: 1920px !important;
  --pfs-layout-y: 1.4222222222; --pfs-layout-type: 1.08;
}
.pfs-social-card.pfs-lab-r2.pfs-adapted.pfs-format-wide {
  width: 1920px !important; height: 1080px !important;
  --pfs-layout-x: 1.7777777778; --pfs-layout-y: .8; --pfs-layout-type: 1.12;
}
.pfs-social-card.pfs-lab-r2.pfs-adapted.pfs-format-classic {
  width: 1200px !important; height: 900px !important;
  --pfs-layout-x: 1.1111111111; --pfs-layout-y: .6666666667; --pfs-layout-type: .82;
}
.pfs-social-card.pfs-adapted.pfs-native-story.pfs-format-square,
.pfs-social-card.pfs-adapted.pfs-native-story.pfs-format-wide { --pfs-layout-y: .5625; }
.pfs-social-card.pfs-adapted.pfs-native-story.pfs-format-classic { --pfs-layout-y: .46875; }
/* Native logo mounts preserve logo proportions rather than stretching with boxes. */
.pfs-social-card.pfs-adapted [data-pfs-logo-mount] { flex-shrink: 0; }
.pfs-social-card.pfs-adapted [data-pfs-logo-mount] svg { object-fit: contain; }
/* Numbered photo callouts remain circles when the surrounding layout changes ratio. */
.pfs-social-card.pfs-lab-r2.pfs-adapted.pfs-source-card-assets .pin,
.pfs-social-card.pfs-lab-r2.pfs-adapted.pfs-source-card-hatched-logos .pin {
  width: calc(48px * var(--pfs-layout-type));
  height: calc(48px * var(--pfs-layout-type));
}
