/* Fans254 V1204 combined static CSS; original order preserved. */

/* --- /assets/css/fans254-v1074-video-first-frame.css --- */
/* V1074: show the authorized poster until the first decoded frame. */
.social-shell .social-post-video-player.f1074-await-frame,
.social-shell .social-reel-media.f1074-await-frame{position:relative}
.social-shell .social-post-video-player.f1074-await-frame::after,
.social-shell .social-reel-media.f1074-await-frame::after{
 content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
 background-color:#000;background-image:var(--f1074-poster,none);
 background-size:contain;background-repeat:no-repeat;background-position:center;
}
/* Preserve the separate admin height caps: only their existing cropped
   media uses cover for the temporary poster. Never change the real video. */
.social-shell .social-post-video-player.f1074-await-frame[data-f1069-cropped]::after,
.social-shell .social-post-video-player.f1074-await-frame:has(>video.f1057-mobile-cover)::after{
 background-size:cover;
}
.social-shell .social-post-video-player.f1074-await-frame .social-video-controls,
.social-shell .social-post-video-player.f1074-await-frame .f1028-feed-reels-open,
.social-shell .social-post-video-player.f1074-await-frame .f755-media-failure,
.social-shell .social-reel-media.f1074-await-frame .social-reel-play{
 z-index:4;
}

.social-shell .social-post-video-player.f1074-await-frame.f755-has-media-failure::after,
.social-shell .social-reel-media.f1074-await-frame.f755-has-media-failure::after{display:none}


/* --- /assets/css/fans254-v1200-media-loading.css --- */
/* V1202: High-contrast Instagram-story gradient spinner. One compositor-only
 * pseudo element, no images, SVG fetches, backdrop filters or scroll handlers. */
.social-shell [data-f1200-media-stage]{position:relative}
.social-shell [data-f1200-media-stage][data-f1200-media-loading]::before{
  content:"";position:absolute;top:50%;left:50%;width:32px;height:32px;
  box-sizing:border-box;border:3px solid #e1306c;border-top-color:#fdc468;
  border-right-color:#f77737;border-bottom-color:#c13584;border-radius:50%;
  background:conic-gradient(from -35deg,#ffdc80 0%,#fcaf45 16%,#f77737 32%,#e1306c 49%,#c13584 66%,#833ab4 84%,#ffdc80 100%);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 calc(100% - 3px));
  mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 calc(100% - 3px));
  transform:translate3d(-50%,-50%,0);animation:f1200-media-turn .85s linear infinite;
  z-index:3;pointer-events:none;filter:drop-shadow(0 0 1px rgba(0,0,0,.34));
  will-change:transform;
}
@keyframes f1200-media-turn{from{transform:translate3d(-50%,-50%,0) rotate(0)}to{transform:translate3d(-50%,-50%,0) rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.social-shell [data-f1200-media-stage][data-f1200-media-loading]::before{animation-duration:1.85s}}
/* Keep real controls, links, carousel arrows and permission/retry notices clickable. */
.social-shell .social-post-video-player[data-f1200-media-stage] .social-video-controls,
.social-shell .social-post-video-player[data-f1200-media-stage] .f1028-feed-reels-open,
.social-shell .social-post-video-player[data-f1200-media-stage] .f755-media-failure,
.social-shell .social-reel-media[data-f1200-media-stage] .social-reel-play{
  z-index:4;
}
/* The V1074 native-poster layer remains behind the spinner. */
.social-shell [data-f1200-media-stage].f755-has-media-failure::before{display:none!important}


/* --- /assets/css/fans254-v1077-reel-poster.css --- */
/* V1077: maintain the exact existing Reels-grid geometry and fit with still posters. */
.social-reels-grid .social-reel-thumbnail img[data-v1077-reel-poster]{
 display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;
}
.social-reels-grid .social-reel-thumbnail img[data-v1077-reel-poster].is-cover{object-fit:cover;}

