/* Fans254 V1266: intrinsic feed geometry from first paint, before metadata or scroll.
   Admin image/video caps still apply independently. Reels, live, locked and
   sensitive gated players remain under their original owners. */
/* The media frame never exceeds its feed column on mobile or desktop. */
.social-shell .social-post:not(.social-reel-post) .social-post-video-player[data-feed-player],
.social-shell .social-post:not(.social-reel-post) .social-post-media:not(.social-post-video-player),
.social-shell .social-post:not(.social-reel-post) .f254-feed-gallery {
  max-width:100%;min-width:0;box-sizing:border-box;
}
.social-shell .social-post:not(.social-reel-post) .social-post-media img,
.social-shell .social-post:not(.social-reel-post) .social-post-video-player video {
  max-width:100%;
}
@media(max-width:760px){
 .social-shell .social-post:not(.social-reel-post) .social-post-video-player[data-feed-player][data-f1055-aspect]:not([data-locked-player]),
 .social-shell .social-post:not(.social-reel-post) .social-post-media[data-f1055-aspect]:not(.social-post-video-player):not(.f830-ad-carousel),
 .social-shell .social-post:not(.social-reel-post) .f254-feed-gallery[data-f1055-aspect]{
   display:block!important;position:relative!important;height:auto!important;
   min-height:0!important;aspect-ratio:var(--f1069-source-ratio,var(--f1055-reserved-ratio))!important;
   overflow:hidden!important;
 }
 .social-shell .social-post:not(.social-reel-post) .social-post-video-player[data-feed-player][data-f1055-aspect]:not([data-locked-player]){max-height:var(--f254-feed-video-max,660px)!important}
 .social-shell .social-post:not(.social-reel-post) .social-post-media[data-f1055-aspect]:not(.social-post-video-player):not(.f830-ad-carousel),
 .social-shell .social-post:not(.social-reel-post) .f254-feed-gallery[data-f1055-aspect]{max-height:var(--f254-feed-image-max,660px)!important}
 .social-shell .social-post:not(.social-reel-post) .social-post-video-player[data-feed-player][data-f1055-aspect]:not([data-locked-player])>video[data-feed-video],
 .social-shell .social-post:not(.social-reel-post) .social-post-media[data-f1055-aspect]:not(.social-post-video-player):not(.f830-ad-carousel)>img{
   position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
   max-height:none!important;min-height:0!important;object-fit:contain!important;
 }
 .social-shell .social-post:not(.social-reel-post) .social-post-video-player[data-f1069-cropped][data-f1055-aspect]>video[data-feed-video],
 .social-shell .social-post:not(.social-reel-post) .social-post-media[data-f1069-cropped][data-f1055-aspect]:not(.social-post-video-player)>img{object-fit:cover!important}
 .social-shell .social-post:not(.social-reel-post) .f254-feed-gallery[data-f1055-aspect]>.f254-feed-gallery-track{
   display:flex!important;flex-wrap:nowrap!important;height:100%!important;max-height:none!important;
 }
 .social-shell .social-post:not(.social-reel-post) .f254-feed-gallery[data-f1055-aspect] .f254-feed-slide{
   flex:0 0 100%!important;position:relative!important;height:100%!important;max-height:none!important;
 }
 .social-shell .social-post:not(.social-reel-post) .f254-feed-gallery[data-f1055-aspect] .f254-feed-slide>img{
   display:block!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;
 }
 .social-shell .social-post:not(.social-reel-post) .f254-feed-gallery[data-f1055-aspect][data-f1069-cropped] .f254-feed-slide>img{object-fit:cover!important}
}
/* Dating: loading and state changes cannot resize or recolor the sticky actions. */
.social-shell[data-social-section="dating"] .f254-date-app .f926-setup-actions{
  display:flex!important;align-items:stretch!important;width:100%;min-width:0;gap:9px;
}
.social-shell[data-social-section="dating"] .f254-date-app .f926-setup-actions>.f254-date-continue{
  flex:1 1 0;min-width:0;position:relative;box-sizing:border-box;
  white-space:nowrap;overflow:hidden;height:54px;min-height:54px;max-height:54px;
  background:linear-gradient(110deg,#239dfc,#5948fa,#f52299)!important;
  opacity:1!important;transform:none!important;transition:none!important;
}
.social-shell[data-social-section="dating"] .f254-date-app .f926-setup-actions>.f926-exit-setup{
  flex:0 0 auto;white-space:nowrap;height:54px;min-height:54px;max-height:54px;
  background:linear-gradient(115deg,#f52299,#a527e1)!important;
  opacity:1!important;transform:none!important;transition:none!important;
}
.social-shell[data-social-section="dating"] .f254-date-app [data-date-save] .f254-date-spinner{
  position:absolute;right:10px;top:calc(50% - 9px);margin:0;pointer-events:none;
}
.social-shell[data-social-section="dating"] .f254-date-app .f926-setup-actions>.f254-date-continue:disabled,
.social-shell[data-social-section="dating"] .f254-date-app .f926-setup-actions>.f926-exit-setup:disabled{
  filter:none!important;box-shadow:0 5px 16px #ab258c26!important;
}
.social-shell[data-social-section="dating"] .f254-date-app .f254-date-deck{
  overflow:hidden;max-width:100%;contain:layout style;
}
.social-shell[data-social-section="dating"] .f254-date-app .f254-date-loading,
.social-shell[data-social-section="dating"] .f254-date-app .f254-date-empty{box-sizing:border-box;width:100%;}
@media(max-width:395px){
 .social-shell[data-social-section="dating"] .f254-date-app .f926-setup-actions>.f254-date-continue,
 .social-shell[data-social-section="dating"] .f254-date-app .f926-setup-actions>.f926-exit-setup{height:50px;min-height:50px;max-height:50px;font-size:clamp(11px,3.2vw,15px)}
 .social-shell[data-social-section="dating"] .f254-date-app .f926-setup-actions>.f926-exit-setup{min-width:0;padding-inline:10px}
}
