/* Fans254 v13.8.4 — authoritative UI corrections loaded last on every page. */
:root{
  --f254-rail-gutter-mobile:12px;
  --f254-rail-gutter-tablet:16px;
  --f254-rail-gutter-desktop:18px;
}

/* Admin-controlled central Create action. */
:is(.f254-social-create-nav,.f254-public-create-button,.f254-bottom-create,.f254-mobile-create-button,[data-open="create"].f254-social-create-nav){
  background:var(--f-create-button-bg,var(--f-primary))!important;
  border-color:var(--f-create-button-bg,var(--f-primary))!important;
  color:var(--f-create-button-icon,#fff)!important;
  fill:var(--f-create-button-icon,#fff)!important;
  background-image:none!important;
}
:is(.f254-social-create-nav,.f254-public-create-button,.f254-bottom-create,.f254-mobile-create-button,[data-open="create"].f254-social-create-nav) :is(svg,use,path,circle,line,polyline,rect){
  color:var(--f-create-button-icon,#fff)!important;
  stroke:currentColor!important;
  fill:none!important;
}
:is(.f254-social-create-nav,.f254-public-create-button,.f254-bottom-create,.f254-mobile-create-button)[disabled]{opacity:.58!important}

/* Exactly one usable custom video-control row. */
[data-feed-video-player],.f254-social-video-player,.f254-linked-post-video,.f254-sponsored-media.is-video{
  position:relative!important;isolation:isolate!important;overflow:hidden!important;background:#02070d!important;
}
[data-feed-video-player] > video,.f254-social-video-player > video,.f254-linked-post-video > video,.f254-sponsored-media.is-video > video{
  display:block!important;width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain!important;background:#02070d!important;
}
[data-feed-video-player] video[controls],.f254-linked-post-video video[controls],.f254-sponsored-media.is-video video[controls]{-webkit-appearance:none!important}
[data-feed-video-player] video::-webkit-media-controls,
[data-feed-video-player] video::-webkit-media-controls-enclosure,
[data-feed-video-player] video::-webkit-media-controls-panel,
[data-feed-video-player] video::-webkit-media-controls-overlay-play-button,
.f254-linked-post-video video::-webkit-media-controls,
.f254-linked-post-video video::-webkit-media-controls-enclosure,
.f254-linked-post-video video::-webkit-media-controls-panel,
.f254-linked-post-video video::-webkit-media-controls-overlay-play-button,
.f254-sponsored-media.is-video video::-webkit-media-controls,
.f254-sponsored-media.is-video video::-webkit-media-controls-enclosure{display:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important}
[data-feed-video-player] > [data-feed-video-controls] ~ [data-feed-video-controls],
[data-feed-video-player] > .f254-feed-video-controls ~ .f254-feed-video-controls,
.f254-linked-post-video > .f254-linked-video-controls ~ .f254-linked-video-controls,
.f254-sponsored-media.is-video > .f254-sponsored-video-controls ~ .f254-sponsored-video-controls{display:none!important}
[data-feed-video-player] > :is([data-feed-video-play],.f254-feed-video-center,.f254-native-play-overlay),
.f254-linked-post-video > :is(.f254-linked-center-play,[data-linked-center-play]){display:none!important}
[data-feed-video-player] > .f254-feed-video-controls{
  z-index:80!important;left:8px!important;right:8px!important;bottom:8px!important;display:flex!important;align-items:center!important;gap:6px!important;
  min-height:40px!important;padding:4px 6px!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:12px!important;
  background:rgba(2,8,15,.82)!important;box-shadow:0 7px 22px rgba(0,0,0,.3)!important;backdrop-filter:blur(9px)!important;
}
[data-feed-video-player] > .f254-feed-video-controls > :is(button,a){
  flex:0 0 31px!important;width:31px!important;height:31px!important;min-width:31px!important;min-height:31px!important;padding:0!important;border:0!important;border-radius:9px!important;
  display:grid!important;place-items:center!important;background:rgba(255,255,255,.08)!important;color:#fff!important;pointer-events:auto!important;touch-action:manipulation!important;
}
[data-feed-video-player] > .f254-feed-video-controls :is(button,a) .f254-icon{width:18px!important;height:18px!important}
[data-feed-video-player] > .f254-feed-video-controls [data-feed-video-progress]{flex:1 1 auto!important;min-width:48px!important;height:24px!important;pointer-events:auto!important;touch-action:pan-x!important}
[data-feed-video-player] > .f254-feed-video-controls .f254-feed-video-counter{font-size:11px!important;white-space:nowrap!important;color:#fff!important}

/* Live feed/watch media must occupy the stage; remove artificial black letterbox masks. */
:is(.f254-live-feed-media,.f254-live-reels-media,.f254-live-surface-media,.f254-live-player-shell,.f254-live-stage){background:#02070d!important}
:is(.f254-live-feed-media,.f254-live-reels-media,.f254-live-surface-media) :is(video,img,iframe,.f254-live-provider-host),
.f254-live-player-shell > :is(video,iframe,.f254-live-stage-media,.f254-live-provider-host){
  width:100%!important;height:100%!important;inset:0!important;display:block!important;border:0!important;object-fit:cover!important;background:#02070d!important;
}
:is(.f254-live-feed-media,.f254-live-reels-media,.f254-live-surface-media)::before,
:is(.f254-live-feed-media,.f254-live-reels-media,.f254-live-surface-media)::after{display:none!important;content:none!important}
.f254-live-room-page .f254-live-stage-media:not(.is-embed),
.f254-live-room-page .f254-live-player-shell > video{object-fit:cover!important}
.f254-live-room-page .f254-live-stage-shade{background:linear-gradient(180deg,rgba(0,0,0,.36),transparent 24%,transparent 72%,rgba(0,0,0,.52))!important}
@media(max-width:760px){
  .f254-live-room-page .f254-live-player-shell{top:0!important;bottom:0!important;inset:0!important;border-radius:0!important}
  .f254-live-room-page .f254-live-stage-media{top:0!important;bottom:0!important;height:100%!important}
  .f254-live-room-page .f254-live-stage-shade{inset:0!important}
}

/* Remove provider-cover bands everywhere while retaining a tiny safe crop for embedded logos. */
.f254-live-surface-provider-mask{display:none!important;width:0!important;height:0!important;background:none!important}
:is(.f254-live-feed-media,.f254-live-reels-media):has(.f254-live-surface-provider,iframe)::before,
:is(.f254-live-feed-media,.f254-live-reels-media):has(.f254-live-surface-provider,iframe)::after{display:none!important;content:none!important;height:0!important;background:none!important}
:is(.f254-live-feed-media,.f254-live-reels-media)>.f254-live-surface-provider,
:is(.f254-live-feed-media,.f254-live-reels-media)>iframe{transform:scale(1.025)!important;transform-origin:center!important}
.f254-live-player-shell>.f254-live-provider-host>iframe,
.f254-live-player-shell>.f254-live-stage-media.is-embed{width:100%!important;height:100%!important;transform:scale(1.025)!important;transform-origin:center!important}

/* One professional horizontal rhythm for Stories and suggestion rails. */
:is(.f254-social-stories,.f254-story-strip-track,.f254-home-suggestions-rail,.f254-home-reel-suggestions-rail,.f254-premium-users-rail,.f254-home-group-rail,.f254-marketplace-suggestion-rail,.f254-social-reels-suggestion-rail,[data-horizontal-rail]){
  box-sizing:border-box!important;display:flex!important;width:100%!important;max-width:100%!important;margin-inline:0!important;overflow-x:auto!important;overflow-y:hidden!important;gap:10px!important;
  padding-inline:max(var(--f254-rail-gutter-mobile),env(safe-area-inset-left)) max(var(--f254-rail-gutter-mobile),env(safe-area-inset-right))!important;scroll-padding-inline:max(var(--f254-rail-gutter-mobile),env(safe-area-inset-left))!important;
  scroll-snap-type:x proximity!important;overscroll-behavior-inline:contain!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important;
}
:is(.f254-social-stories,.f254-story-strip-track,.f254-home-suggestions-rail,.f254-home-reel-suggestions-rail,.f254-premium-users-rail,.f254-home-group-rail,.f254-marketplace-suggestion-rail,.f254-social-reels-suggestion-rail,[data-horizontal-rail])::-webkit-scrollbar{display:none!important}
:is(.f254-social-story,.f254-story-person-card,.f254-home-suggestion-card,.f254-home-reel-card,.f254-premium-user-card,.f254-group-card,.f254-marketplace-card,.f254-social-reel-suggestion){
  scroll-snap-align:start!important;border-radius:16px!important;overflow:hidden!important;
}
@media(min-width:768px){
  :is(.f254-social-stories,.f254-story-strip-track,.f254-home-suggestions-rail,.f254-home-reel-suggestions-rail,.f254-premium-users-rail,.f254-home-group-rail,.f254-marketplace-suggestion-rail,.f254-social-reels-suggestion-rail,[data-horizontal-rail]){padding-inline:max(var(--f254-rail-gutter-tablet),env(safe-area-inset-left)) max(var(--f254-rail-gutter-tablet),env(safe-area-inset-right))!important;scroll-padding-inline:max(var(--f254-rail-gutter-tablet),env(safe-area-inset-left))!important}
}
@media(min-width:1200px){
  :is(.f254-social-stories,.f254-story-strip-track,.f254-home-suggestions-rail,.f254-home-reel-suggestions-rail,.f254-premium-users-rail,.f254-home-group-rail,.f254-marketplace-suggestion-rail,.f254-social-reels-suggestion-rail,[data-horizontal-rail]){padding-inline:var(--f254-rail-gutter-desktop)!important;scroll-padding-inline:var(--f254-rail-gutter-desktop)!important}
}

/* Suggested-user cards: readable hierarchy and Admin-colour Follow action. */
.f254-home-suggestions.is-inline .f254-home-suggestion-card{display:grid!important;grid-template-rows:auto auto auto auto auto!important;align-content:start!important;justify-items:center!important;min-width:0!important;padding:14px 12px 12px!important}
.f254-home-suggestions.is-inline .f254-home-suggestion-card :is(.f254-home-suggestion-name,.f254-suggestion-name){margin-top:9px!important;line-height:1.25!important;text-align:center!important}
.f254-home-suggestions.is-inline .f254-home-suggestion-card :is(.f254-home-suggestion-new,.f254-new-pill){margin-top:8px!important;margin-bottom:8px!important}
.f254-home-suggestions.is-inline .f254-home-suggestion-card:not(:has(.f254-home-suggestion-new)) :is(.f254-home-suggestion-follow,[data-home-suggestion-follow]){margin-top:18px!important}
.f254-home-suggestions.is-inline .f254-home-suggestion-card :is(.f254-home-suggestion-follow,[data-home-suggestion-follow]){width:100%!important;margin-top:8px!important}
:is(.f254-home-suggestion-follow,[data-home-suggestion-follow],.f254-story-person-follow,.f254-horizontal-follow){
  min-height:38px!important;height:38px!important;padding:0 15px!important;border:1px solid var(--f-horizontal-button-bg,var(--f-primary))!important;
  border-radius:50px!important;background:var(--f-horizontal-button-bg,var(--f-primary))!important;color:var(--f-horizontal-button-text,#fff)!important;
  font-size:max(14px,var(--f-type-button-size,14px))!important;font-weight:var(--f-type-button-weight,700)!important;line-height:1!important;
}
.f254-story-person-footer{gap:7px!important;padding:6px 10px 10px!important}
.f254-story-person-footer .f254-story-person-new{margin:0!important;min-height:20px!important;font-size:max(10px,var(--f-type-pill-size,11px))!important}
.f254-story-person-footer .f254-story-person-follow{width:100%!important;height:36px!important;min-height:36px!important;font-size:max(14px,var(--f-type-button-size,14px))!important}

/* Edit Profile: bounded sheet, one true vertical scroller, no dead space under Save. */
html.f254-profile-editor-open,html.f254-profile-editor-open body{overflow:hidden!important;overscroll-behavior:none!important}
.f254-profile-editor-sheet{
  display:flex!important;flex-direction:column!important;width:min(720px,100%)!important;height:min(92dvh,820px)!important;max-height:92dvh!important;
  margin:0 auto!important;overflow:hidden!important;border-radius:22px 22px 0 0!important;
}
.f254-profile-editor-sheet .f254-social-sheet-head{flex:0 0 auto!important;min-height:52px!important;padding:8px 12px!important}
.f254-profile-editor-sheet .f254-social-sheet-body{
  flex:1 1 auto!important;min-height:0!important;max-height:none!important;padding:8px 11px 0!important;overflow-x:hidden!important;overflow-y:auto!important;
  overscroll-behavior-y:contain!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important;
}
.f254-profile-editor{display:block!important;min-height:0!important;height:auto!important;padding:0!important}
.f254-profile-editor-tabs{top:-8px!important;margin:0 0 9px!important;padding:3px!important;scrollbar-width:none!important}
.f254-profile-editor-tabs::-webkit-scrollbar{display:none!important}
.f254-profile-editor-tabs button{height:32px!important;padding:0 9px!important;font-size:11px!important}
.f254-profile-editor-panel{min-height:0!important;padding-bottom:2px!important}
.f254-profile-editor :is(.f254-social-input,.f254-social-select){height:40px!important;min-height:40px!important;padding:7px 10px!important;font-size:14px!important}
.f254-profile-editor .f254-social-textarea{min-height:82px!important;max-height:150px!important;font-size:14px!important}
.f254-profile-image-editor{gap:8px!important;margin-bottom:9px!important}
.f254-profile-image-editor label,.f254-profile-media-picker{height:70px!important;min-height:70px!important}
.f254-profile-editor-footer{
  position:sticky!important;z-index:9!important;bottom:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
  min-height:58px!important;margin:10px -11px 0!important;padding:8px 11px max(8px,env(safe-area-inset-bottom))!important;
  border-top:1px solid var(--f-line)!important;background:var(--f-surface)!important;box-shadow:0 -8px 20px color-mix(in srgb,#000 7%,transparent)!important;
}
.f254-profile-save-btn{min-height:40px!important;height:40px!important;padding-inline:16px!important;border-radius:50px!important}
@media(max-width:560px){
  .f254-profile-editor-sheet{width:100%!important;height:92dvh!important;max-height:92dvh!important}
  .f254-profile-image-editor{grid-template-columns:1fr!important}
  .f254-profile-image-editor label,.f254-profile-media-picker{height:68px!important;min-height:68px!important}
}

/* Carousel dots stay visible on white/light and dark media. */
:is(.f254-social-carousel-dots,.f254-group-carousel-dots){
  position:absolute!important;z-index:25!important;left:50%!important;bottom:11px!important;transform:translateX(-50%)!important;
  display:flex!important;align-items:center!important;gap:6px!important;min-height:24px!important;padding:5px 8px!important;
  border:1px solid rgba(255,255,255,.72)!important;border-radius:50px!important;background:rgba(10,17,26,.68)!important;
  box-shadow:0 4px 16px rgba(0,0,0,.3)!important;backdrop-filter:blur(9px)!important;
}
:is(.f254-social-carousel-dot,.f254-group-carousel-dot){
  display:block!important;width:7px!important;height:7px!important;min-width:7px!important;padding:0!important;border:1px solid rgba(0,0,0,.45)!important;
  border-radius:50%!important;background:#fff!important;box-shadow:0 1px 4px rgba(0,0,0,.35)!important;opacity:.86!important;
}
:is(.f254-social-carousel-dot,.f254-group-carousel-dot).is-active{
  width:9px!important;height:9px!important;min-width:9px!important;background:var(--f-primary,#1688f5)!important;border:2px solid #fff!important;opacity:1!important;
}

/* Group carousel uses the same high-contrast indicator capsule. */
.f254-group-media-dots{position:absolute!important;z-index:25!important;left:50%!important;bottom:11px!important;transform:translateX(-50%)!important;display:flex!important;align-items:center!important;gap:6px!important;min-height:24px!important;padding:5px 8px!important;border:1px solid rgba(255,255,255,.72)!important;border-radius:50px!important;background:rgba(10,17,26,.68)!important;box-shadow:0 4px 16px rgba(0,0,0,.3)!important;backdrop-filter:blur(9px)!important;pointer-events:none!important}
.f254-group-media-dots i{display:block!important;width:7px!important;height:7px!important;min-width:7px!important;border:1px solid rgba(0,0,0,.45)!important;border-radius:50%!important;background:#fff!important;box-shadow:0 1px 4px rgba(0,0,0,.35)!important;opacity:.86!important}
.f254-group-media-dots i.is-active{width:17px!important;min-width:17px!important;border-color:#fff!important;border-radius:50px!important;background:var(--f-primary,#1688f5)!important;opacity:1!important}

/* Subscriber-group premium identity and plan presentation. */
.f254-group-subscriber-pill,.f254-subscriber-cover-badge,.f254-group-review-meta .is-subscriber-pill{display:none!important}
:is(.f254-subscriber-group-avatar,.f254-group-review-avatar,.f254-group-avatar.has-premium){overflow:visible!important;isolation:isolate!important}
:is(.f254-subscriber-avatar-crown,.f254-group-premium-badge,.f254-group-review-avatar>i){
  position:absolute!important;z-index:30!important;right:-7px!important;bottom:-7px!important;display:grid!important;place-items:center!important;
  width:30px!important;height:30px!important;padding:0!important;border:3px solid var(--f-surface)!important;border-radius:50%!important;
  background:var(--f-primary)!important;color:#fff!important;box-shadow:0 5px 15px rgba(0,0,0,.24)!important;overflow:visible!important;
}
:is(.f254-subscriber-avatar-crown,.f254-group-premium-badge,.f254-group-review-avatar>i) .f254-icon{width:15px!important;height:15px!important}
.f254-subscriber-access-gate .f254-subscriber-plans-empty:has(+ .f254-subscriber-plan-grid:not(:empty)),
.f254-subscriber-plans:has(.f254-subscriber-plan) .f254-subscriber-plans-empty{display:none!important}
.f254-subscriber-gate-cta,.f254-group-access-action,[data-open-plans]{min-height:43px!important;padding:0 17px!important;border-radius:50px!important}
.f254-subscriber-plans-dialog{width:min(920px,100%)!important;max-height:92dvh!important;overflow-y:auto!important;overscroll-behavior:contain!important}

/* Group creation review mirrors the published header and never clips the avatar. */
.f254-group-review-preview{overflow:visible!important;border:1px solid var(--f-line)!important;border-radius:18px!important;background:var(--f-surface)!important}
.f254-group-review-cover{position:relative!important;height:clamp(145px,28vw,220px)!important;overflow:hidden!important;border-radius:17px 17px 0 0!important;background:var(--f-surface-2)!important}
.f254-group-review-cover :is(img,.f254-group-review-cover-image){width:100%!important;height:100%!important;object-fit:cover!important}
.f254-group-review-profile{position:relative!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:end!important;gap:12px!important;min-height:82px!important;padding:0 16px 10px!important}
.f254-group-review-avatar{position:relative!important;left:auto!important;bottom:auto!important;width:80px!important;height:80px!important;margin-top:-34px!important;border:4px solid var(--f-surface)!important;border-radius:21px!important;background:var(--f-surface-2)!important;overflow:visible!important}
.f254-group-review-avatar > :is(img,.f254-icon){width:100%!important;height:100%!important;border-radius:16px!important;object-fit:cover!important}
.f254-group-review-title{min-width:0!important;padding-top:10px!important}.f254-group-review-title h3{margin:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.f254-group-review-subscribe{min-height:40px!important;padding:0 14px!important;border-radius:50px!important}
@media(max-width:620px){
  .f254-group-review-profile{grid-template-columns:auto minmax(0,1fr)!important;padding-inline:12px!important}
  .f254-group-review-avatar{width:68px!important;height:68px!important;margin-top:-28px!important}
  .f254-group-review-subscribe{grid-column:1/-1!important;width:100%!important;justify-content:center!important}
}

/* Group media uses the shared carousel/lightbox geometry and Admin sizing. */
:is(.f254-group-media-carousel,.f254-group-carousel,.f254-group-post-media){position:relative!important;overflow:hidden!important;background:var(--f-carousel-stage-bg,var(--f-surface-2))!important}
:is(.f254-group-media-slide,.f254-group-carousel-slide) :is(.f254-group-media-image-button>img,img){
  display:block!important;width:100%!important;max-height:var(--f254-feed-photo-max-mobile,380px)!important;object-position:center!important;
}
:is(.f254-group-media-slide,.f254-group-carousel-slide) :is(.f254-group-media-image-button>img.is-over-mobile-max,img.is-over-mobile-max){height:var(--f254-feed-photo-max-mobile,380px)!important;object-fit:cover!important}
:is(.f254-group-media-slide,.f254-group-carousel-slide) :is(.f254-group-media-image-button>img.is-under-mobile-max,img.is-under-mobile-max){height:auto!important;object-fit:contain!important}
@media(min-width:768px){:is(.f254-group-media-slide,.f254-group-carousel-slide) :is(.f254-group-media-image-button>img,img){max-height:var(--f254-feed-photo-max-tablet,560px)!important;object-fit:contain!important}}

/* Sponsored cards use one feed-action layout on every surface. */
:is(.f254-sponsored-feed,.f254-sponsored-card){overflow:hidden!important;border:1px solid var(--f-line)!important;border-radius:var(--f-card-radius,16px)!important;background:var(--f-feed-bg,var(--f-surface))!important}
:is(.f254-sponsored-feed,.f254-sponsored-card) .f254-sponsored-actions{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:center!important;gap:0!important;min-height:58px!important;
  padding:7px 12px!important;border-top:1px solid var(--f-line)!important;
}
:is(.f254-sponsored-feed,.f254-sponsored-card) .f254-sponsored-actions :is(.f254-social-action,button,a,span.is-static){justify-content:center!important;min-height:42px!important;margin:0!important;padding:0 8px!important;border:0!important;border-radius:10px!important}
:is(.f254-sponsored-feed,.f254-sponsored-card) .f254-sponsored-actions .f254-icon{width:23px!important;height:23px!important}

/* Admin-controlled compact profile cover height. */
.f254-social-profile-cover{height:var(--f254-profile-cover-max-mobile,180px)!important;max-height:var(--f254-profile-cover-max-mobile,180px)!important}
.f254-social-profile-cover>img{width:100%!important;height:100%!important;object-fit:cover!important}
@media(min-width:768px){.f254-social-profile-cover{height:var(--f254-profile-cover-max-tablet,220px)!important;max-height:var(--f254-profile-cover-max-tablet,220px)!important}}
@media(min-width:1200px){.f254-social-profile-cover{height:var(--f254-profile-cover-max-desktop,280px)!important;max-height:var(--f254-profile-cover-max-desktop,280px)!important}}

/* v13.8.4 final specificity pass — match production markup, not test aliases. */
/* Linked/provider posts: one actual Fans254 control strip and no artificial provider bands. */
.f254-linked-post-video>.f254-linked-post-controls{
  z-index:80!important;left:8px!important;right:8px!important;bottom:8px!important;width:auto!important;
  display:flex!important;align-items:center!important;gap:6px!important;min-height:40px!important;padding:4px 6px!important;
  border:1px solid rgba(255,255,255,.16)!important;border-radius:12px!important;background:rgba(2,8,15,.82)!important;
  box-shadow:0 7px 22px rgba(0,0,0,.3)!important;backdrop-filter:blur(9px)!important;pointer-events:auto!important;
}
.f254-linked-post-video>.f254-linked-post-controls>:is(button,a){
  flex:0 0 31px!important;width:31px!important;height:31px!important;min-width:31px!important;min-height:31px!important;
  display:grid!important;place-items:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:9px!important;
  background:rgba(255,255,255,.08)!important;color:#fff!important;pointer-events:auto!important;touch-action:manipulation!important;
}
.f254-linked-post-video:has(.f254-linked-post-provider)::before,
.f254-linked-post-video:has(.f254-linked-post-provider)::after{display:none!important;content:none!important;height:0!important;background:none!important}
.f254-linked-post-video>.f254-linked-post-provider,
.f254-linked-post-video>iframe.f254-linked-post-provider{transform:scale(1.018)!important;transform-origin:center!important}

/* Horizontal user cards only: do not disturb the desktop right-sidebar layout. */
.f254-page-home .f254-home-suggestions.is-inline .f254-home-suggestion-card{
  display:grid!important;grid-template-rows:auto minmax(34px,auto) minmax(18px,auto) minmax(22px,auto) auto!important;
  align-content:start!important;justify-items:center!important;gap:7px!important;min-height:214px!important;padding:13px 11px 11px!important;
}
.f254-page-home .f254-home-suggestions.is-inline .f254-home-suggestion-name{
  grid-row:2!important;width:100%!important;min-height:34px!important;margin:0!important;padding:0 4px!important;
  justify-content:center!important;line-height:1.15!important;text-align:center!important;
}
.f254-page-home .f254-home-suggestions.is-inline .f254-home-suggestion-reason{grid-row:3!important;min-height:18px!important;margin:0!important}
.f254-page-home .f254-home-suggestions.is-inline .f254-home-suggestion-new{
  grid-row:4!important;min-height:20px!important;margin:1px 0 2px!important;padding:3px 9px!important;border-radius:50px!important;
}
html body .f254-page-home .f254-home-suggestions.is-inline .f254-home-suggestion-follow:not(.is-following):not(.is-requested){
  grid-row:5!important;width:100%!important;height:38px!important;min-height:38px!important;margin:4px 0 0!important;padding:0 15px!important;
  border:1px solid var(--f-horizontal-button-bg,var(--f-primary))!important;border-radius:50px!important;
  background-color:var(--f-horizontal-button-bg,var(--f-primary))!important;background-image:none!important;
  color:var(--f-horizontal-button-text,#fff)!important;font-size:max(14px,var(--f-type-button-size,14px))!important;
}
.f254-page-home .f254-home-suggestions.is-inline .f254-home-suggestion-card:not(:has(.f254-home-suggestion-new)) .f254-home-suggestion-follow{margin-top:13px!important}

/* Story-strip user actions: override older 9–13px mobile rules with readable typography. */
.f254-page-home #stories-strip .f254-story-person-footer{gap:7px!important;padding:6px 10px 10px!important}
.f254-page-home #stories-strip .f254-story-person-footer .f254-story-person-new{
  min-height:20px!important;margin:0!important;padding:3px 9px!important;border-radius:50px!important;
  font-size:max(11px,var(--f-type-pill-size,11px))!important;line-height:1!important;
}
html body .f254-page-home #stories-strip .f254-story-person-footer .f254-story-person-follow:not(.is-following):not(.is-requested){
  width:100%!important;height:36px!important;min-height:36px!important;margin:0!important;padding:0 12px!important;
  border:1px solid var(--f-horizontal-button-bg,var(--f-primary))!important;border-radius:50px!important;
  background-color:var(--f-horizontal-button-bg,var(--f-primary))!important;background-image:none!important;
  color:var(--f-horizontal-button-text,#fff)!important;font-size:max(14px,var(--f-type-button-size,14px))!important;
  font-weight:var(--f-type-button-weight,700)!important;line-height:1!important;
}

/* Content-sized profile sheet: long forms scroll, short forms do not leave an empty panel below Save. */
.f254-profile-editor-sheet{height:auto!important;max-height:min(92dvh,820px)!important}
.f254-profile-editor-sheet .f254-social-sheet-body{
  flex:0 1 auto!important;min-height:0!important;max-height:calc(min(92dvh,820px) - 52px)!important;
  overflow-y:auto!important;overflow-x:hidden!important;padding-bottom:0!important;touch-action:pan-y!important;
}
.f254-profile-editor{height:auto!important;min-height:0!important}
.f254-profile-editor-footer{margin-bottom:0!important;padding-bottom:max(8px,env(safe-area-inset-bottom))!important}
@media(max-width:560px){
  .f254-profile-editor-sheet{height:auto!important;max-height:92dvh!important}
  .f254-profile-editor-sheet .f254-social-sheet-body{max-height:calc(92dvh - 52px)!important}
}

/* Admin Create token must win over every mobile/nav legacy rule. */
html body .f254-social-app .f254-social-bottom-nav>button.f254-social-create-nav,
html body .f254-social-app .f254-social-bottom-nav>.f254-social-create-nav,
html body .f254-social-app .f254-social-desktop-nav [data-tablet-sidebar-item="create"],
html body .f254-page-home #stories-strip .f254-story-card__create-button{
  background:var(--f-create-button-bg,var(--f-primary))!important;border-color:var(--f-create-button-bg,var(--f-primary))!important;
  color:var(--f-create-button-icon,#fff)!important;box-shadow:0 9px 24px color-mix(in srgb,var(--f-create-button-bg,var(--f-primary)) 28%,transparent)!important;
}
html body .f254-social-app .f254-social-bottom-nav>.f254-social-create-nav :is(svg,use,path,line,polyline,circle,rect),
html body .f254-social-app .f254-social-desktop-nav [data-tablet-sidebar-item="create"] :is(svg,use,path,line,polyline,circle,rect){
  color:var(--f-create-button-icon,#fff)!important;stroke:currentColor!important;fill:none!important;
}

/* Live: fill the actual frame without opaque top/bottom cover bands. */
.f254-live-surface-provider-mask{display:none!important}
.f254-live-room-page .f254-live-player-shell::before,
.f254-live-room-page .f254-live-player-shell::after{display:none!important;content:none!important;width:0!important;height:0!important;background:none!important}
.f254-live-room-page .f254-live-stage-shade{background:linear-gradient(180deg,rgba(0,0,0,.17),transparent 14%,transparent 82%,rgba(0,0,0,.26))!important}
.f254-live-feed-media>.f254-live-surface-provider,
.f254-live-reels-media>.f254-live-surface-provider,
.f254-live-feed-media>iframe,
.f254-live-reels-media>iframe{inset:-1.4%!important;width:102.8%!important;height:102.8%!important;max-width:none!important;max-height:none!important}

/* Shared rail geometry: first and last cards are fully reachable on every device. */
.f254-page-home :is(#stories-strip,.f254-home-suggestions,.f254-home-reel-suggestions,.f254-premium-users,.f254-home-group-suggestions){overflow:hidden!important}
.f254-page-home :is(.f254-story-strip-track,.f254-home-suggestions-rail,.f254-home-reel-suggestions-rail,.f254-premium-users-rail,.f254-home-group-rail){
  padding-inline:max(14px,env(safe-area-inset-left)) max(14px,env(safe-area-inset-right))!important;
  scroll-padding-inline:max(14px,env(safe-area-inset-left))!important;gap:10px!important;
}

/* Premium avatar badge always sits above the cover/profile shell. */
.f254-group-header,.f254-group-title-row,.f254-subscriber-group-avatar{overflow:visible!important}
.f254-subscriber-group-avatar{position:relative!important;z-index:12!important}
.f254-subscriber-group-avatar>.f254-subscriber-avatar-crown{z-index:40!important;right:-7px!important;bottom:-7px!important}

/* v13.8.4 final suggestion containment: legacy Admin heights could be shorter than the real name/New/Follow composition. */
@media(max-width:767px){
  .f254-page-home .f254-home-suggestions.is-inline .f254-home-suggestion-card{
    height:max(var(--f254-hs-users-mobile-height,218px),252px)!important;
    min-height:252px!important;
  }
}
@media(min-width:768px) and (max-width:1199px){
  .f254-page-home .f254-home-suggestions.is-inline .f254-home-suggestion-card{
    height:max(var(--f254-hs-users-tablet-height,226px),258px)!important;
    min-height:258px!important;
  }
}

/* v13.8.4 subscriber CTA fallback: never render white text on a transparent plan button when an old Appearance cache lacks component tokens. */
:is(.f254-subscriber-group-page,.f254-subscriber-modal-backdrop,.f254-subscriber-plans) .f254-group-primary-action:not(.is-joined){
  background:var(--f-button-active-bg,var(--f-primary,var(--f-blue,#1688f5)))!important;
  border-color:var(--f-button-active-bg,var(--f-primary,var(--f-blue,#1688f5)))!important;
  color:var(--f-button-active-text,#fff)!important;
  border-radius:50px!important;
  box-shadow:0 8px 20px color-mix(in srgb,var(--f-button-active-bg,var(--f-primary,var(--f-blue,#1688f5))) 22%,transparent)!important;
}

/* Fans254 v13.8.7 — group feed edges and compact subscriber header. */
:is(.f254-public-group-page,.f254-private-group-page,.f254-subscriber-group-page) :is(.f254-group-post,.f254-group-post-media,.f254-group-media-carousel,.f254-group-video-shell,.f254-group-post-media figure,.f254-group-post-media img,.f254-group-post-media video){
  border-radius:0!important;
}
:is(.f254-public-group-page,.f254-private-group-page,.f254-subscriber-group-page) .f254-group-post{overflow:hidden!important}
.f254-subscriber-group-page .f254-subscriber-group-avatar{
  position:absolute!important;
  z-index:12!important;
}
.f254-subscriber-group-page .f254-group-title-row{padding-top:56px!important}
@media(max-width:767px){
  .f254-subscriber-group-page .f254-group-title-row{padding-top:49px!important}
  .f254-subscriber-group-page .f254-group-header{min-height:0!important;padding-bottom:13px!important}
}


/* Fans254 v13.8.12 — every group feed media wrapper uses the same square edges as Home. */
html body:is(.f254-public-group-page,.f254-private-group-page,.f254-subscriber-group-page) :is(
  .f254-group-post,.f254-group-post-media,.f254-group-media-carousel,.f254-group-media-track,
  .f254-group-media-slide,.f254-group-media-image-button,.f254-group-media-video,
  .f254-group-media-video .f254-social-video-player,.f254-group-video-shell,
  .f254-group-post-media figure,.f254-group-post-media picture,.f254-group-post-media img,.f254-group-post-media video
){border-radius:0!important}
html body:is(.f254-public-group-page,.f254-private-group-page,.f254-subscriber-group-page) :is(.f254-group-post,.f254-group-post-media,.f254-group-media-carousel,.f254-group-media-slide,.f254-group-media-image-button,.f254-group-media-video){overflow:hidden!important}


/* Fans254 v13.8.13 — keep group carousel geometry unchanged while centering shorter images. */
:is(.f254-group-media-slide,.f254-group-carousel-slide).is-image{display:flex!important;align-items:center!important;justify-content:center!important;background:var(--f-carousel-stage-bg,var(--f-surface-2))!important}
:is(.f254-group-media-slide,.f254-group-carousel-slide).is-image>:is(img,.f254-group-media-image-button){align-self:center!important}


/* v13.8.17 — Admin bio typography applies consistently to profile and every group type. */
.f254-social-profile-bio,
.f254-social-profile-summary .f254-social-profile-bio,
.f254-group-description,
.f254-public-group-description,
.f254-private-group-description,
.f254-subscriber-group-description,
.f254-group-hero-description,
[data-group-description]{
  font-size:var(--f-bio-font-size,14px)!important;
  font-weight:var(--f-bio-font-weight,400)!important;
  max-width:var(--f-bio-max-width,680px)!important;
  width:100%;
  overflow-wrap:anywhere;
}


/* Fans254 v13.8.18 — Admin-controlled Add Story button by theme and device. */
html body .f254-page-home #stories-strip .f254-story-card__create-button,
html body .f254-page-home [data-stories-strip] .f254-story-card__create-button{
  width:var(--f-story-add-width,34px)!important;
  height:var(--f-story-add-height,34px)!important;
  min-width:var(--f-story-add-width,34px)!important;
  min-height:var(--f-story-add-height,34px)!important;
  max-width:var(--f-story-add-width,34px)!important;
  max-height:var(--f-story-add-height,34px)!important;
  padding:0!important;
  border:2px solid var(--f-story-add-border,var(--f-surface))!important;
  border-radius:50%!important;
  background:var(--f-story-add-bg,var(--f-create-button-bg))!important;
  color:var(--f-story-add-icon,var(--f-create-button-icon))!important;
  box-sizing:border-box!important;
}
html body .f254-page-home #stories-strip .f254-story-card__create-button svg,
html body .f254-page-home [data-stories-strip] .f254-story-card__create-button svg{
  color:var(--f-story-add-icon,var(--f-create-button-icon))!important;
  stroke:currentColor!important;
}


/* Fans254 v13.8.19 — persistent Home discovery and global desktop columns. */
.f254-page-home .f254-social-inline-trending[data-home-inline-trending]{display:block!important;visibility:visible!important;opacity:1!important}
.f254-social-app.is-home-discovery-sequence-hide-trending .f254-social-inline-trending,
.f254-social-app.is-home-premium-sequence-hide-trending .f254-social-inline-trending{display:block!important}

.f254-page-profile .f254-social-profile-tabs{display:flex!important;justify-content:flex-start!important;grid-template-columns:none!important;overflow-x:auto!important}
.f254-page-profile .f254-social-profile-tab{flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:none!important;padding-inline:10px!important;white-space:nowrap!important}

@media(min-width:1200px){
  html:not(.f254-surface-embedded) body .f254-social-app{
    position:relative!important;align-items:start!important;overflow:visible!important;min-height:100dvh!important;
  }
  html:not(.f254-surface-embedded) body .f254-social-left{
    position:sticky!important;position:-webkit-sticky!important;top:0!important;align-self:start!important;
    display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;
    height:100dvh!important;max-height:100dvh!important;overflow:hidden!important;transform:none!important;
  }
  html:not(.f254-surface-embedded) body .f254-social-left .f254-tablet-sidebar-scroll{
    display:block!important;min-height:0!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;
  }
  html:not(.f254-surface-embedded) body .f254-social-left .f254-tablet-sidebar-footer{display:grid!important;flex:0 0 auto!important}
  html:not(.f254-surface-embedded) body .f254-social-right{
    position:sticky!important;position:-webkit-sticky!important;top:0!important;align-self:start!important;
    height:100dvh!important;max-height:100dvh!important;overflow-x:hidden!important;overflow-y:auto!important;
    overscroll-behavior-y:contain!important;transform:none!important;
  }
  html:not(.f254-surface-embedded) body .f254-social-main{min-height:100dvh!important;overflow:visible!important}
}

/* Fans254 v13.8.19 final desktop rail coverage: shared, Group and Reels columns stay visible while only their own content scrolls. */
@media(min-width:1200px){
  html:not(.f254-surface-embedded),
  html:not(.f254-surface-embedded) body{
    overflow-x:clip!important;
  }
  html:not(.f254-surface-embedded) body .f254-social-app,
  html:not(.f254-surface-embedded) body .f254-social-main{
    contain:none!important;
  }
  html:not(.f254-surface-embedded) body :is(.f254-social-right,.f254-public-group-right,.f254-reels-right){
    position:sticky!important;
    position:-webkit-sticky!important;
    top:0!important;
    align-self:start!important;
    height:100dvh!important;
    max-height:100dvh!important;
    min-height:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    transform:none!important;
  }
  html:not(.f254-surface-embedded) body .f254-social-left{
    flex:0 0 auto!important;
    min-height:0!important;
  }
}

/* Fans254 v13.8.24 — unified clickable hashtags. */
.f254-hashtag-link{color:var(--f254-social-accent,#1687f8);text-decoration:none;font:inherit;overflow-wrap:anywhere}
.f254-hashtag-link:hover,.f254-hashtag-link:focus-visible{text-decoration:underline;text-underline-offset:2px}

/* v13.8.24 — unified Discover hashtag results */
.f254-discover-entity-list{display:grid;gap:10px}
.f254-discover-entity{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;text-decoration:none}
.f254-discover-entity>span{min-width:0}
.f254-discover-entity strong,.f254-discover-entity small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.f254-discover-entity-media{width:48px;height:48px;border-radius:12px;overflow:hidden;background:var(--f254-social-muted,#eef2f7)}
.f254-discover-entity-media img{display:block;width:100%;height:100%;object-fit:cover}

/* Fans254 v13.8.45 — final cross-surface caption continuity. */
.f254-feed-caption{
  display:block!important;
  min-width:0!important;
  white-space:pre-wrap!important;
  overflow-wrap:anywhere!important;
}
.f254-feed-caption-owner{
  display:inline!important;
  margin:0!important;
  color:var(--f-text,var(--f254-text,#111))!important;
  font:inherit!important;
  font-weight:850!important;
  line-height:inherit!important;
  white-space:nowrap!important;
  overflow-wrap:normal!important;
}
.f254-feed-caption-gap{display:inline!important;white-space:nowrap!important;font:inherit!important}
.f254-feed-caption>.f254-caption-copy{display:inline!important;margin:0!important;color:inherit!important;font:inherit!important;line-height:inherit!important;white-space:inherit!important}
html[data-theme="dark"] .f254-feed-caption-owner,
html[data-theme="dark"] body .f254-feed-caption-owner{color:var(--f-text,var(--f254-text,#f6f8fb))!important}

/* Fans254 v13.8.45 — final inline Marketplace suggestion alignment after all theme CSS. */
.f254-marketplace-suggestions.is-inline .f254-marketplace-suggestion-rail{align-items:stretch!important;padding-bottom:18px!important}
.f254-marketplace-suggestions.is-inline .f254-marketplace-card,
.f254-marketplace-suggestions.is-inline .f254-sponsored-product-card{--f254-product-view-icon-size:19px;--f254-product-view-font-size:10px;height:auto!important;align-self:stretch!important}
.f254-marketplace-suggestions.is-inline :is(.f254-marketplace-card-body,.f254-sponsored-product-copy){padding-bottom:12px!important;overflow:visible!important}
.f254-marketplace-suggestions.is-inline .f254-marketplace-card-views,
.f254-marketplace-suggestions.is-inline .f254-sponsored-product-views{min-height:24px!important;display:flex!important;align-items:center!important;gap:6px!important;overflow:visible!important;font-size:var(--f254-product-view-font-size,12px)!important;line-height:1!important}
.f254-marketplace-suggestions.is-inline .f254-marketplace-card-views .f254-icon,
.f254-marketplace-suggestions.is-inline .f254-sponsored-product-views .f254-icon{width:var(--f254-product-view-icon-size,22px)!important;height:var(--f254-product-view-icon-size,22px)!important;min-width:var(--f254-product-view-icon-size,22px)!important;flex:0 0 var(--f254-product-view-icon-size,22px)!important;overflow:visible!important}
.f254-marketplace-suggestions.is-inline .f254-sponsored-product-title{grid-template-columns:24px minmax(0,1fr)!important;gap:6px!important}
.f254-marketplace-suggestions.is-inline .f254-sponsored-product-title .f254-sponsored-avatar{width:24px!important;height:24px!important;min-width:24px!important}
.f254-marketplace-suggestions.is-inline .f254-marketplace-card-meta{min-height:25px!important;padding-bottom:1px!important;overflow:visible!important}
.f254-marketplace-suggestions.is-inline .f254-marketplace-card-meta .is-location{min-height:22px!important;overflow:visible!important}
.f254-marketplace-suggestions.is-inline .f254-marketplace-card-meta .is-location .f254-icon{width:18px!important;height:18px!important;min-width:18px!important;flex:0 0 18px!important;overflow:visible!important}
.f254-marketplace-suggestions.is-inline .f254-sponsored-product-foot{padding-bottom:2px!important;overflow:visible!important}


/* v13.8.45 group header: keep the action visible and reset the mobile title grid safely. */
.f254-group-header,.f254-group-title-row,.f254-group-title-copy{box-sizing:border-box!important;min-width:0!important;overflow:visible!important}
.f254-group-title-row{width:100%!important}
.f254-group-title-row>.f254-group-primary-action{position:relative!important;z-index:6!important;flex:0 0 auto!important;max-width:100%!important;white-space:nowrap!important}
.f254-group-title-row>.f254-group-primary-action>span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
@media(max-width:767px){
  .f254-group-header{padding-inline:12px!important;padding-bottom:14px!important}
  .f254-group-title-row{display:grid!important;grid-template-columns:minmax(0,1fr) max-content!important;align-items:start!important;gap:10px!important}
  .f254-group-title-row>.f254-group-primary-action{width:auto!important;min-width:0!important;max-width:48vw!important;margin:0!important;padding-inline:11px!important}
}

/* v13.8.45 inline product rail: remove the legacy fixed card height that hid location and date. */
.f254-marketplace-suggestions.is-inline{overflow:hidden!important}
.f254-marketplace-suggestions.is-inline .f254-marketplace-suggestion-rail{
  display:flex!important;align-items:stretch!important;height:auto!important;min-height:0!important;max-height:none!important;
  overflow-x:auto!important;padding-bottom:16px!important;clip-path:none!important;
}
.f254-marketplace-suggestions.is-inline .f254-marketplace-suggestion-rail>.f254-marketplace-card,
.f254-marketplace-suggestions.is-inline .f254-marketplace-suggestion-rail>.f254-sponsored-product-card{
  height:auto!important;min-height:286px!important;max-height:none!important;align-self:stretch!important;overflow:hidden!important;
}
.f254-marketplace-suggestions.is-inline :is(.f254-marketplace-card-cover,.f254-sponsored-product-media){flex:0 0 auto!important}
.f254-marketplace-suggestions.is-inline :is(.f254-marketplace-card-body,.f254-sponsored-product-copy){
  display:flex!important;flex:1 1 auto!important;flex-direction:column!important;height:auto!important;min-height:154px!important;max-height:none!important;padding-bottom:11px!important;overflow:visible!important;
}
.f254-marketplace-suggestions.is-inline :is(.f254-marketplace-card-meta,.f254-sponsored-product-foot){
  position:static!important;flex:0 0 auto!important;margin-top:auto!important;min-height:26px!important;height:auto!important;max-height:none!important;padding-bottom:1px!important;overflow:visible!important;
}
.f254-marketplace-suggestions.is-inline .f254-marketplace-card-meta .is-location{min-width:0!important;overflow:hidden!important}
.f254-marketplace-suggestions.is-inline .f254-marketplace-card-meta .is-location b{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
@media(min-width:768px) and (max-width:1199px){
  .f254-marketplace-suggestions.is-inline .f254-marketplace-suggestion-rail>.f254-marketplace-card,
  .f254-marketplace-suggestions.is-inline .f254-marketplace-suggestion-rail>.f254-sponsored-product-card{min-height:304px!important}
}


/* v13.8.45 hotfix: Group pages and native feed videos must remain visible while JS initializes. */
.f254-groups-page #social-app,.f254-public-group-page #social-app,.f254-private-group-page #social-app,.f254-subscriber-group-page #social-app{visibility:visible!important;opacity:1!important;min-height:100dvh!important}
.f254-social-video-player video,.f254-group-media-video video{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;background:#000!important}
.f254-group-post-media .f254-social-video-player,.f254-group-media-carousel .f254-social-video-player{min-height:220px!important}
@media(max-width:767px){.f254-group-post-media .f254-social-video-player,.f254-group-media-carousel .f254-social-video-player{min-height:210px!important}}

/* v13.4.63 Groups homepage recovery: keep the server-rendered catalogue shell visible while deferred data starts. */
html body.f254-groups-page #social-app > main.f254-groups-main > :is(.f254-groups-hero,.f254-groups-search,.f254-groups-tabs,#groups-app){visibility:visible!important;opacity:1!important;color:var(--f-text,#101828)!important}
html body.f254-groups-page #social-app > main.f254-groups-main > .f254-groups-hero{position:relative!important;z-index:1!important}
html body.f254-groups-page #social-app > main.f254-groups-main > #groups-app .f254-social-loading{display:grid!important;min-height:120px!important;place-items:center!important;color:var(--f-muted,#667085)!important}
html body.f254-groups-page #social-app > main.f254-groups-main{background:var(--f-surface,#fff)!important}


/* Fans254 v13.4.64 — one final Admin-owned feed SVG/action authority. */
:where(
  .f254-social-actions,
  .f254-group-post-actions,
  .f254-group-surface-actions,
  .f254-live-surface-actions,
  .f254-sponsored-actions
){
  min-height:52px!important;
  padding-block:0!important;
  padding-inline:clamp(7px,1.5vw,12px)!important;
  gap:clamp(1px,.55vw,6px)!important;
  border-top:var(--f-border-width,1px) solid var(--f-line)!important;
  background:var(--f-surface)!important;
  color:var(--f-feed-icon,var(--f-muted))!important;
}
:where(
  .f254-social-actions,
  .f254-group-post-actions,
  .f254-group-surface-actions,
  .f254-live-surface-actions,
  .f254-sponsored-actions
) :where(.f254-social-action,.f254-gx-action,.f254-gx-share,.f254-feed-analytics-action,button,a,.is-static){
  min-height:50px!important;
  margin-block:0!important;
  color:var(--f-feed-icon,var(--f-muted))!important;
  font-family:var(--f-font-social,var(--f-font-ui))!important;
  font-size:var(--f-type-feed-action-size,11px)!important;
  font-weight:var(--f-type-feed-action-weight,560)!important;
  line-height:1!important;
}
:where(
  .f254-social-actions,
  .f254-group-post-actions,
  .f254-group-surface-actions,
  .f254-live-surface-actions,
  .f254-sponsored-actions,
  .f254-social-more,
  .f254-group-post-menu,
  [data-live-surface-menu],
  .f254-sponsored-menu
) :where(.f254-icon,svg){
  width:var(--f-feed-icon-size,25px)!important;
  height:var(--f-feed-icon-size,25px)!important;
  color:inherit!important;
  stroke:currentColor!important;
  stroke-width:var(--f-feed-svg-stroke-width,2)!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
:where(.f254-social-more,.f254-group-post-menu,[data-live-surface-menu],.f254-sponsored-menu,.f254-social-audience-indicator){
  color:var(--f-feed-icon,var(--f-muted))!important;
}
:where(
  .f254-social-actions,
  .f254-group-post-actions,
  .f254-group-surface-actions,
  .f254-live-surface-actions,
  .f254-sponsored-actions
) :where(.is-active,[aria-pressed="true"]){
  color:var(--f-feed-icon-active,var(--f-primary))!important;
}
:where(
  .f254-social-actions,
  .f254-group-post-actions,
  .f254-group-surface-actions,
  .f254-live-surface-actions,
  .f254-sponsored-actions
) :where([data-count],[data-sponsored-like-count],[data-sponsored-comment-count],[data-sponsored-view-count],[data-sponsored-save-count],[data-live-surface-likes],[data-live-surface-viewers]){
  color:inherit!important;
}
/* Keep captions as one inline flow; Smart Copy decides 2 media lines or 8 text-only lines. */
.f254-feed-caption,
.f254-live-feed-card .f254-live-surface-copy.f254-feed-caption{
  display:block!important;
  white-space:normal!important;
  line-height:1.42!important;
}
.f254-feed-caption-owner,
.f254-feed-caption>.f254-caption-copy,
.f254-feed-caption>.f254-smart-copy-preview,
.f254-feed-caption .f254-smart-copy-more{
  display:inline!important;
  vertical-align:baseline!important;
  margin:0!important;
}
.f254-feed-caption-owner{margin-inline-end:.38em!important}
.f254-feed-caption .f254-smart-copy-more{white-space:nowrap!important}
[data-promote-content][hidden]{display:none!important}

/* Vertical Reels and sponsored Reel tools consume the same Admin feed SVG palette. */
:where(.f254-reels-actions,.f254-live-reels-actions,.f254-sponsored-reel-actions) :where(.f254-reels-action,.f254-social-action,button,.is-static){
  color:var(--f-feed-icon,var(--f-muted))!important;
}
:where(.f254-reels-actions,.f254-live-reels-actions,.f254-sponsored-reel-actions) :where(.f254-icon,svg){
  width:var(--f-feed-icon-size,25px)!important;
  height:var(--f-feed-icon-size,25px)!important;
  color:inherit!important;
  stroke:currentColor!important;
  stroke-width:var(--f-feed-svg-stroke-width,2)!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
:where(.f254-reels-actions,.f254-live-reels-actions,.f254-sponsored-reel-actions) :where(.is-active,[aria-pressed="true"]){
  color:var(--f-feed-icon-active,var(--f-primary))!important;
}
:where(.f254-reels-action-count,.f254-live-reels-actions span){color:inherit!important}

/* v13.4.64 strict feed-icon authority: beat legacy !important selectors and keep every feed surface on Admin Appearance values. */
html body :is(
  .f254-social-actions.f254-social-actions,
  .f254-group-post-actions.f254-group-post-actions,
  .f254-group-surface-actions.f254-group-surface-actions,
  .f254-live-surface-actions.f254-live-surface-actions,
  .f254-sponsored-actions.f254-sponsored-actions,
  .f254-reels-actions.f254-reels-actions,
  .f254-live-reels-actions.f254-live-reels-actions,
  .f254-sponsored-reel-actions.f254-sponsored-reel-actions,
  .f254-live-room-actions.f254-live-room-actions,
  .f254-live-top-actions.f254-live-top-actions
){
  color:var(--f-feed-icon,var(--f-muted))!important;
}
html body :is(
  .f254-social-actions.f254-social-actions,
  .f254-group-post-actions.f254-group-post-actions,
  .f254-group-surface-actions.f254-group-surface-actions,
  .f254-live-surface-actions.f254-live-surface-actions,
  .f254-sponsored-actions.f254-sponsored-actions,
  .f254-reels-actions.f254-reels-actions,
  .f254-live-reels-actions.f254-live-reels-actions,
  .f254-sponsored-reel-actions.f254-sponsored-reel-actions,
  .f254-live-room-actions.f254-live-room-actions,
  .f254-live-top-actions.f254-live-top-actions
) :is(
  .f254-social-action.f254-social-action,
  .f254-gx-action.f254-gx-action,
  .f254-gx-share.f254-gx-share,
  .f254-feed-analytics-action.f254-feed-analytics-action,
  .f254-reels-action.f254-reels-action,
  button[class][class],
  a[class][class],
  .is-static.is-static
){
  color:var(--f-feed-icon,var(--f-muted))!important;
}
html body :is(
  .f254-social-actions.f254-social-actions,
  .f254-group-post-actions.f254-group-post-actions,
  .f254-group-surface-actions.f254-group-surface-actions,
  .f254-live-surface-actions.f254-live-surface-actions,
  .f254-sponsored-actions.f254-sponsored-actions,
  .f254-reels-actions.f254-reels-actions,
  .f254-live-reels-actions.f254-live-reels-actions,
  .f254-sponsored-reel-actions.f254-sponsored-reel-actions,
  .f254-live-room-actions.f254-live-room-actions,
  .f254-live-top-actions.f254-live-top-actions,
  .f254-social-more.f254-social-more,
  .f254-group-post-menu.f254-group-post-menu,
  .f254-sponsored-menu.f254-sponsored-menu,
  .f254-live-comment-menu.f254-live-comment-menu,
  [data-live-surface-menu][data-live-surface-menu]
) :is(svg.f254-icon.f254-icon,svg[class][class]){
  width:var(--f-feed-icon-size,25px)!important;
  height:var(--f-feed-icon-size,25px)!important;
  color:inherit!important;
  stroke:currentColor!important;
  stroke-width:var(--f-feed-svg-stroke-width,2)!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
html body :is(
  .f254-social-more.f254-social-more,
  .f254-group-post-menu.f254-group-post-menu,
  .f254-sponsored-menu.f254-sponsored-menu,
  .f254-live-comment-menu.f254-live-comment-menu,
  .f254-social-audience-indicator.f254-social-audience-indicator,
  [data-live-surface-menu][data-live-surface-menu]
){
  color:var(--f-feed-icon,var(--f-muted))!important;
}
html body :is(
  .f254-social-actions.f254-social-actions,
  .f254-group-post-actions.f254-group-post-actions,
  .f254-group-surface-actions.f254-group-surface-actions,
  .f254-live-surface-actions.f254-live-surface-actions,
  .f254-sponsored-actions.f254-sponsored-actions,
  .f254-reels-actions.f254-reels-actions,
  .f254-live-reels-actions.f254-live-reels-actions,
  .f254-sponsored-reel-actions.f254-sponsored-reel-actions,
  .f254-live-room-actions.f254-live-room-actions,
  .f254-live-top-actions.f254-live-top-actions
) :is(.is-active.is-active,[aria-pressed="true"][aria-pressed="true"]){
  color:var(--f-feed-icon-active,var(--f-primary))!important;
}
html body :is(
  .f254-social-actions.f254-social-actions,
  .f254-group-post-actions.f254-group-post-actions,
  .f254-group-surface-actions.f254-group-surface-actions,
  .f254-live-surface-actions.f254-live-surface-actions,
  .f254-sponsored-actions.f254-sponsored-actions,
  .f254-reels-actions.f254-reels-actions,
  .f254-live-reels-actions.f254-live-reels-actions,
  .f254-sponsored-reel-actions.f254-sponsored-reel-actions
) :is([data-count][data-count],.f254-reels-action-count.f254-reels-action-count,[data-sponsored-like-count][data-sponsored-like-count],[data-sponsored-comment-count][data-sponsored-comment-count],[data-sponsored-view-count][data-sponsored-view-count],[data-sponsored-save-count][data-sponsored-save-count],[data-live-surface-likes][data-live-surface-likes],[data-live-surface-viewers][data-live-surface-viewers]){
  color:inherit!important;
}


/* v13.4.68 active Home subheader icon authority. The filled SVG must remain
   visible and consume the Admin active feed-icon colour. */
.f254-home-subheader__item .f254-subheader-icon-fill{
  display:none!important;
  opacity:1!important;
  color:inherit!important;
  fill:currentColor!important;
  stroke:none!important;
}
.f254-home-subheader__item .f254-subheader-icon-fill use{fill:currentColor!important;stroke:none!important}
.f254-home-subheader__item:is(.is-active,.is-pressed,[aria-current="page"],:active){
  color:var(--f-feed-icon-active,var(--f-primary,#1687ff))!important;
}
.f254-home-subheader__item:is(.is-active,.is-pressed,[aria-current="page"],:active) .f254-subheader-icon-outline{display:none!important}
.f254-home-subheader__item:is(.is-active,.is-pressed,[aria-current="page"],:active) .f254-subheader-icon-fill{display:block!important}

/* One responsive caption rhythm for every feed family. Smart Copy measures the
   real content width and provides 2 media lines / 8 text-only lines. */
:is(
  .f254-social-post.has-lower-caption>.f254-social-post-body,
  .f254-social-feed-reel.has-lower-caption>.f254-social-post-body,
  .f254-group-post.has-lower-caption>.f254-group-post-body,
  .f254-group-surface-card.has-lower-caption>.f254-social-post-body,
  .f254-live-feed-card>.f254-live-surface-copy,
  .f254-sponsored-feed>.f254-sponsored-copy,
  .f254-sponsored-card>.f254-sponsored-copy
){
  margin:0!important;
  padding-block:10px 11px!important;
  padding-inline:12px!important;
  min-height:0!important;
  line-height:1.42!important;
  overflow-wrap:anywhere!important;
}
:is(
  .f254-social-post:not(.has-lower-caption)>.f254-social-post-body,
  .f254-group-post:not(.has-lower-caption)>.f254-group-post-body,
  .f254-group-surface-card:not(.has-lower-caption)>.f254-social-post-body
){padding-block:10px 11px!important;padding-inline:12px!important;line-height:1.42!important}
:is(.f254-feed-caption,.f254-sponsored-copy,.f254-live-surface-copy).f254-smart-copy.has-more{
  overflow:hidden!important;
  padding-bottom:11px!important;
}
:is(.f254-feed-caption,.f254-sponsored-copy,.f254-live-surface-copy) .f254-smart-copy-more{
  display:inline!important;
  white-space:nowrap!important;
  line-height:inherit!important;
  vertical-align:baseline!important;
}

:is(.f254-social-post,.f254-social-feed-reel,.f254-group-post,.f254-group-surface-card,.f254-live-feed-card,.f254-sponsored-feed,.f254-sponsored-card)>
:is(.f254-feed-caption,.f254-social-post-body.f254-live-surface-copy,.f254-social-post-body.f254-sponsored-copy,.f254-group-post-body){
  margin-block:0!important;
  padding-block:10px 11px!important;
  padding-inline:12px!important;
  line-height:1.42!important;
}


/* v13.4.69 — dark-media SVG authority.
   Reels and Live overlays always sit on media, so they consume the Admin dark
   feed-icon palette even while the surrounding page is in light mode. */
html body :is(
  .f254-reels-actions.f254-reels-actions,
  .f254-live-reels-actions.f254-live-reels-actions,
  .f254-sponsored-reel-actions.f254-sponsored-reel-actions,
  .f254-reels-content.f254-reels-content,
  .f254-live-room-page .f254-live-topbar,
  .f254-live-room-page .f254-live-top-actions,
  .f254-live-room-page .f254-live-action-rail,
  .f254-live-room-page .f254-live-owner-dock,
  .f254-live-room-page .f254-live-player-controls,
  .f254-live-room-page .f254-live-room-actions
){
  --f-feed-icon:var(--f-feed-icon-on-dark,#9eabb9);
  --f-feed-icon-active:var(--f-feed-icon-active-on-dark,#58b0ff);
}
html body :is(
  .f254-reels-actions.f254-reels-actions,
  .f254-live-reels-actions.f254-live-reels-actions,
  .f254-sponsored-reel-actions.f254-sponsored-reel-actions
) :is(.f254-reels-action,.f254-reels-action-count,.is-static,.f254-icon),
html body .f254-reels-content .f254-social-audience-indicator,
html body .f254-reels-content .f254-social-audience-indicator .f254-icon{
  color:var(--f-feed-icon-on-dark,#9eabb9)!important;
  stroke:currentColor!important;
  opacity:1!important;
  visibility:visible!important;
}
html body :is(
  .f254-reels-actions.f254-reels-actions,
  .f254-live-reels-actions.f254-live-reels-actions,
  .f254-sponsored-reel-actions.f254-sponsored-reel-actions
) :is(.is-active,[aria-pressed="true"]){
  color:var(--f-feed-icon-active-on-dark,#58b0ff)!important;
}
html body .f254-reels-content :is(.f254-reels-hashtags,.f254-hashtag-link){
  color:var(--f-link-on-dark,#58b0ff)!important;
  text-decoration:none!important;
}
html body .f254-reels-content :is(.f254-reels-hashtags,.f254-hashtag-link):hover,
html body .f254-reels-content :is(.f254-reels-hashtags,.f254-hashtag-link):focus-visible{
  text-decoration:underline!important;
}

/* The Live watch player must preserve the entire source frame.  No legacy
   cover class or provider-specific rule may crop the media. */
html body.f254-live-room-page .f254-live-player-shell > video.f254-live-stage-media,
html body.f254-live-room-page .f254-live-player-shell > video.f254-live-stage-media.is-cover,
html body.f254-live-room-page .f254-live-stage > video.f254-live-stage-media,
html body.f254-live-room-page .f254-live-stage > video.f254-live-stage-media.is-cover{
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
  background:#000!important;
}

/* Keep Live watch controls, tips and owner reach tools reachable on touch
   devices.  The bottom sheet may overlap the stage, so rails sit above it. */
html body.f254-live-room-page :is(
  .f254-live-action-rail,
  .f254-live-owner-dock,
  .f254-live-topbar,
  .f254-live-top-actions,
  .f254-live-player-controls,
  .f254-live-room-actions
){
  color:var(--f-feed-icon-on-dark,#9eabb9)!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
html body.f254-live-room-page :is(
  .f254-live-action-rail,
  .f254-live-owner-dock,
  .f254-live-player-controls
) :is(button,a,.f254-live-action,.f254-icon){
  color:inherit!important;
}
html body.f254-live-room-page :is(
  .f254-live-action-rail,
  .f254-live-owner-dock,
  .f254-live-player-controls,
  .f254-live-top-actions
) :is(.is-active,[aria-pressed="true"]){
  color:var(--f-feed-icon-active-on-dark,#58b0ff)!important;
}
html body.f254-live-room-page .f254-live-stage.is-chrome-collapsed :is(
  .f254-live-action-rail,
  .f254-live-owner-dock
){
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:none!important;
}
@media(max-width:760px){
  html body.f254-live-room-page .f254-live-action-rail{
    right:10px!important;
    bottom:max(174px,calc(env(safe-area-inset-bottom) + 164px))!important;
    z-index:28!important;
  }
  html body.f254-live-room-page .f254-live-owner-dock{
    bottom:max(118px,calc(env(safe-area-inset-bottom) + 108px))!important;
    z-index:27!important;
  }
  html body.f254-live-room-page .f254-live-player-controls{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:none!important;
    z-index:29!important;
  }
}

/* Discover must stay within the visible popup width on every breakpoint. */
.f254-discover-dialog{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  overflow-x:hidden!important;
}
.f254-discover-dialog .f254-social-discover-search{
  position:sticky!important;
  top:0!important;
  z-index:4!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:7px!important;
  width:100%!important;
  min-width:0!important;
  padding:4px 0 10px!important;
  background:var(--f-modal-bg,var(--f-surface))!important;
}
.f254-discover-dialog .f254-social-discover-search .f254-social-input{
  width:100%!important;
  min-width:0!important;
  height:38px!important;
  min-height:38px!important;
  padding:0 11px!important;
  font-size:14px!important;
}
.f254-discover-dialog .f254-social-discover-search .f254-social-btn{
  width:auto!important;
  min-width:78px!important;
  height:38px!important;
  min-height:38px!important;
  padding:0 14px!important;
  font-size:14px!important;
  white-space:nowrap!important;
}
.f254-discover-dialog #discover-results,
.f254-discover-dialog #discover-results > *,
.f254-discover-dialog :is(.f254-social-post,.f254-social-repost,.f254-social-feed-reel,.f254-sponsored-feed-card,.f254-discover-entity-list){
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.f254-discover-dialog #discover-results{
  overflow-x:hidden!important;
}
.f254-discover-dialog :is(img,video,iframe,.f254-social-post-media,.f254-social-carousel,.f254-social-carousel-track){
  max-width:100%!important;
}
.f254-discover-dialog .f254-social-carousel-track{
  min-width:0!important;
}
@media(max-width:760px){
  .f254-social-sheet-lg:has(.f254-discover-dialog){
    width:100%!important;
    max-width:100%!important;
    height:min(92dvh,calc(var(--f254-visible-height,100dvh) - 12px))!important;
    max-height:min(92dvh,calc(var(--f254-visible-height,100dvh) - 12px))!important;
    margin:0!important;
  }
  .f254-social-sheet-lg:has(.f254-discover-dialog) .f254-social-sheet-body{
    min-width:0!important;
    padding:8px 10px max(12px,env(safe-area-inset-bottom))!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
  }
}
@media(max-width:420px){
  .f254-discover-dialog .f254-social-discover-search{
    gap:5px!important;
  }
  .f254-discover-dialog .f254-social-discover-search .f254-social-btn{
    min-width:70px!important;
    padding-inline:10px!important;
  }
}

/* Fans254 v13.4.70 — final feed, Live and Group parity authority. */
:where(.f254-page-home,.f254-page-profile,.f254-public-group-page,.f254-private-group-page,.f254-subscriber-group-page)
:is(.f254-social-post-body,.f254-feed-caption,.f254-group-post-body,.f254-live-surface-copy,.f254-sponsored-caption,.f254-social-repost-quote){
  box-sizing:border-box!important;
  margin-block:0!important;
  padding:8px 12px 12px!important;
  line-height:1.38!important;
  overflow:visible!important;
}
:where(.f254-page-home,.f254-page-profile,.f254-public-group-page,.f254-private-group-page,.f254-subscriber-group-page)
:is(.f254-social-post-body,.f254-feed-caption,.f254-group-post-body,.f254-live-surface-copy,.f254-sponsored-caption) .f254-smart-copy-more{
  display:inline!important;
  margin:0 0 0 .22em!important;
  padding:0!important;
  line-height:inherit!important;
  vertical-align:baseline!important;
}
html body :is(.f254-social-actions,.f254-feed-actions-row,.f254-live-surface-actions,.f254-group-post-actions,.f254-group-surface-actions,.f254-sponsored-actions){
  box-sizing:border-box!important;
  min-height:44px!important;
  margin-block:0!important;
  padding-top:2px!important;
  padding-bottom:2px!important;
  align-items:center!important;
}
html body :is(.f254-live-surface-actions,.f254-group-post-actions,.f254-group-surface-actions){padding-inline:var(--f254-feed-action-inline,10px)!important}
html body :is(.f254-live-surface-actions,.f254-group-post-actions,.f254-group-surface-actions) :is(button,a,.f254-social-action){min-height:40px!important;height:40px!important;padding-block:0!important}

/* Group cards consume exactly the same Admin media-height tokens as Home. */
html body :is(.f254-group-media-video,.f254-group-post-media,.f254-group-surface-media) video{
  width:100%!important;
  max-height:var(--f254-feed-video-max-desktop,580px)!important;
  object-fit:contain!important;
  object-position:center!important;
}
html body :is(.f254-group-media-image-button img,.f254-group-post-media img,.f254-group-surface-media img){
  width:100%!important;
  max-height:var(--f254-feed-photo-max-desktop,620px)!important;
  object-position:center!important;
}
@media(min-width:768px) and (max-width:1199px){
  html body :is(.f254-group-media-video,.f254-group-post-media,.f254-group-surface-media) video{max-height:var(--f254-feed-video-max-tablet,500px)!important}
  html body :is(.f254-group-media-image-button img,.f254-group-post-media img,.f254-group-surface-media img){max-height:var(--f254-feed-photo-max-tablet,480px)!important}
}
@media(max-width:767px){
  html body :is(.f254-group-media-video,.f254-group-post-media,.f254-group-surface-media) video{max-height:var(--f254-feed-video-max-mobile,400px)!important}
  html body :is(.f254-group-media-image-button img,.f254-group-post-media img,.f254-group-surface-media img){max-height:var(--f254-feed-photo-max-mobile,380px)!important}
  html body .f254-group-media-image-button img.is-over-mobile-max{height:var(--f254-feed-photo-max-mobile,380px)!important;object-fit:cover!important}
  html body .f254-group-media-image-button img.is-under-mobile-max{height:auto!important;object-fit:contain!important}
}

/* Calm borderless controls; the media remains visually dominant. */
html body .f254-feed-video-controls,
html body .f254-live-player-controls{
  border:0!important;
  background:rgb(2 9 19 / 42%)!important;
  background-image:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  box-shadow:0 3px 12px rgb(0 0 0 / 24%)!important;
}
html body .f254-feed-video-controls :is(button,a),
html body .f254-live-player-controls button{border:0!important;box-shadow:none!important;background:transparent!important}
html body :is(.f254-live-feed-media,.f254-live-reels-media)>.f254-live-surface-sound{
  border:0!important;
  border-radius:7px!important;
  background:rgb(2 9 19 / 38%)!important;
  box-shadow:0 2px 7px rgb(0 0 0 / 34%)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

/* The Live watch player bar auto-hides after activity but remains keyboard/touch reachable. */
html body.f254-live-room-page .f254-live-player-controls{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transform:translateY(8px)!important;
  transition:opacity .2s ease,transform .2s ease,visibility .2s ease!important;
}
html body.f254-live-room-page .f254-live-player-shell.is-controls-visible .f254-live-player-controls,
html body.f254-live-room-page .f254-live-player-controls:focus-within{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:none!important;
}


/* Fans254 v13.4.71 — reliable active mobile subheader icon. Some Android/WebView
   builds do not paint external filled symbols consistently, so the outline is
   always the active fallback and consumes the Admin active SVG colour. */
.f254-home-subheader__item:is(.is-active,.is-pressed,[aria-current="page"],:active) .f254-subheader-icon-outline{
  display:block!important;
  color:var(--f-feed-icon-active,var(--f-primary,#1687ff))!important;
  opacity:1!important;
  visibility:visible!important;
  stroke:currentColor!important;
  fill:none!important;
}
.f254-home-subheader__item:is(.is-active,.is-pressed,[aria-current="page"],:active) .f254-subheader-icon-fill{display:none!important}

/* v13.4.71 final active subheader paint fallback, including external <use> SVGs. */
.f254-home-subheader__item:is(.is-active,.is-pressed,[aria-current="page"],:active){
  color:var(--f-feed-icon-active,var(--f-primary,#1687ff))!important;
}
.f254-home-subheader__item:is(.is-active,.is-pressed,[aria-current="page"],:active) .f254-subheader-icon-outline,
.f254-home-subheader__item:is(.is-active,.is-pressed,[aria-current="page"],:active) .f254-subheader-icon-outline use{
  display:block!important;opacity:1!important;visibility:visible!important;
  color:inherit!important;stroke:currentColor!important;fill:none!important;
}
.f254-home-subheader__item:is(.is-active,.is-pressed,[aria-current="page"],:active) .f254-subheader-icon-outline{
  width:var(--f-feed-icon-size-mobile,23px)!important;height:var(--f-feed-icon-size-mobile,23px)!important;
}

/* v13.5.04 — user-requested forced feed spacing, badge, suggestion and video-control overrides. */
html body :is(.f254-social-post,.f254-social-feed-reel,.f254-group-post,.f254-group-surface-card,.f254-live-feed-card,.f254-sponsored-feed,.f254-sponsored-card) > :is(.f254-feed-caption,.f254-social-post-body.f254-live-surface-copy,.f254-social-post-body.f254-sponsored-copy,.f254-group-post-body){
  padding:5px 12px 10px!important;
}
html body .f254-social-post.has-lower-caption > .f254-social-post-body,
html body .f254-group-post.has-lower-caption > .f254-group-post-body{
  padding:5px 12px 6px!important;
}
html body :where(.f254-page-home,.f254-page-profile) .f254-social-actions,
html body :where(.f254-page-home,.f254-page-profile) .f254-feed-actions-row{
  border-top:none!important;
}
html body :is(
  .f254-social-post:not(.has-lower-caption) > .f254-social-post-body,
  .f254-group-post:not(.has-lower-caption) > .f254-group-post-body,
  .f254-group-surface-card:not(.has-lower-caption) > .f254-social-post-body
){
  padding-block:1px 11px!important;
}
html body .f254-page-home .f254-home-suggestions.is-inline .f254-home-suggestion-new{
  background:#9c27b0!important;
  color:#f7f7f7!important;
  border-color:#9c27b0!important;
}
html body .f254-social-badge{
  top:1px!important;
  padding:0 4px!important;
  background:#e91e63!important;
}
html body .f254-social-video-player .f254-feed-video-controls{
  border:none!important;
  border-radius:12px!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}


/* v13.5.05 — user-requested forced feed poll colors, spacing and border overrides. */
html body .f254-feed-poll-option > i{
  background:color-mix(in srgb,#03a9f4 15%,#03a9f4)!important;
}
html body .f254-feed-poll-option.is-selected > i{
  background:#e91e63!important;
}
html body span.f254-feed-poll-option-label{
  color:#fff!important;
}
html body .f254-feed-poll{
  border:none!important;
}
html body .f254-social-repost-original > .f254-social-post > .f254-feed-poll{
  padding:1px!important;
  gap:11px!important;
}
html body :where(.f254-feed-poll > header > b,.f254-feed-poll > footer > b){
  background:#019d9d!important;
  color:#fff!important;
}

/* v13.5.08 — effective mobile/desktop force rules. The page classes live on <body>,
   so these selectors intentionally target body.f254-page-* instead of a descendant. */
html body.f254-page-home .f254-social-actions,
html body.f254-page-home .f254-feed-actions-row,
html body.f254-page-profile .f254-social-actions,
html body.f254-page-profile .f254-feed-actions-row,
html body .f254-page-home .f254-social-actions,
html body .f254-page-home .f254-feed-actions-row,
html body .f254-page-profile .f254-social-actions,
html body .f254-page-profile .f254-feed-actions-row{
  border-top:0!important;
  border-top-width:0!important;
  border-top-style:none!important;
}
html body.f254-page-home .f254-home-suggestions.is-inline .f254-home-suggestion-new,
html body .f254-page-home .f254-home-suggestions.is-inline .f254-home-suggestion-new{
  background:#9c27b0!important;
  color:#f7f7f7!important;
  border-color:#9c27b0!important;
}
html body.f254-page-home #stories-strip .f254-story-person-footer .f254-story-person-new,
html body .f254-page-home #stories-strip .f254-story-person-footer .f254-story-person-new{
  border:0!important;
  background:#9c27b0!important;
  color:#fff!important;
}
html body .f254-verified-badge,
html body [data-verified-badge]{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:12px!important;
  height:12px!important;
  min-width:12px!important;
  max-width:12px!important;
  margin-inline-start:3px!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  color:var(--f254-verified-color,#1877f2)!important;
  vertical-align:1px!important;
  line-height:1!important;
}
html body .f254-verified-badge svg,
html body [data-verified-badge] svg{
  display:block!important;
  width:12px!important;
  height:12px!important;
  min-width:12px!important;
  fill:currentColor!important;
}
@media (max-width:900px){
  html body.f254-page-home .f254-social-actions,
  html body.f254-page-home .f254-feed-actions-row,
  html body.f254-page-profile .f254-social-actions,
  html body.f254-page-profile .f254-feed-actions-row{border-top:0!important;border-top-width:0!important;border-top-style:none!important}
  html body.f254-page-home .f254-home-suggestions.is-inline .f254-home-suggestion-new{background:#9c27b0!important;color:#f7f7f7!important;border-color:#9c27b0!important}
  html body.f254-page-home #stories-strip .f254-story-person-footer .f254-story-person-new{border:0!important;background:#9c27b0!important;color:#fff!important}
}


/* v13.5.09 — final forced Home Story-strip positioning and typography on every viewport. */
html body.f254-page-home #stories-strip .f254-story-person-card.has-new-member .f254-story-person-profile,
html body .f254-page-home #stories-strip .f254-story-person-card.has-new-member .f254-story-person-profile{
  bottom:2px!important;
}
html body.f254-page-home #stories-strip .f254-story-person-copy strong,
html body .f254-page-home #stories-strip .f254-story-person-copy strong{
  color:#fff!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.8!important;
  top:110px!important;
  position:absolute!important;
  background:#ffffff0d!important;
  width:100%!important;
}
html body.f254-page-home #stories-strip .f254-story-person-footer .f254-story-person-follow,
html body .f254-page-home #stories-strip .f254-story-person-footer .f254-story-person-follow{
  height:29px!important;
  min-height:29px!important;
  font-size:14px!important;
}
@media (max-width:900px){
  html body.f254-page-home #stories-strip .f254-story-person-card.has-new-member .f254-story-person-profile{bottom:2px!important}
  html body.f254-page-home #stories-strip .f254-story-person-copy strong{
    color:#fff!important;font-size:14px!important;font-weight:700!important;line-height:1.8!important;
    top:110px!important;position:absolute!important;background:#ffffff0d!important;width:100%!important;
  }
  html body.f254-page-home #stories-strip .f254-story-person-footer .f254-story-person-follow{
    height:29px!important;min-height:29px!important;font-size:14px!important;
  }
}


/* v13.5.12 — newest popup/toast always stacks above its launcher; Facebook-style verified tick. */
html body [data-f254-entitlement-layer].f254-social-overlay,
html body .f254-entitlement-layer.f254-social-overlay{
  position:fixed!important;
  inset:0!important;
  isolation:isolate!important;
  pointer-events:auto!important;
  z-index:2147483200!important;
}
html body [data-f254-entitlement-layer]>.f254-social-sheet{
  position:relative!important;
  z-index:1!important;
  pointer-events:auto!important;
}
html body :is(#social-toast-root,#reels-toast-root,.f254-social-toast-root){
  position:fixed!important;
  z-index:2147483210!important;
  pointer-events:none!important;
  isolation:isolate!important;
}
html body :is(#social-toast-root,#reels-toast-root,.f254-social-toast-root) .f254-social-toast{
  position:relative!important;
  pointer-events:auto!important;
  z-index:1!important;
}
html body .f254-verified-badge,
html body [data-verified-badge]{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:12px!important;
  height:12px!important;
  min-width:12px!important;
  max-width:12px!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:var(--f254-verified-color,#1877f2)!important;
  color:#fff!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
html body .f254-verified-badge svg,
html body [data-verified-badge] svg{
  display:none!important;
}
html body .f254-verified-badge::after,
html body [data-verified-badge]::after{
  content:""!important;
  display:block!important;
  width:5px!important;
  height:2.8px!important;
  margin-top:-1px!important;
  border-left:1.7px solid #fff!important;
  border-bottom:1.7px solid #fff!important;
  transform:rotate(-45deg)!important;
  transform-origin:center!important;
  box-sizing:border-box!important;
}


/* Fans254 v13.5.18 — exclusive one-color identity ticks on every surface. */
html body .f254-verified-badge,
html body [data-verified-badge]{
  position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 14px!important;width:14px!important;height:14px!important;min-width:14px!important;max-width:14px!important;
  margin-inline-start:4px!important;padding:0!important;border:0!important;outline:0!important;border-radius:50%!important;
  background:transparent!important;background-image:none!important;color:var(--f254-verified-color,#1877f2)!important;
  box-shadow:none!important;overflow:visible!important;vertical-align:-.12em!important;line-height:1!important;
}
html body .f254-verified-badge svg,html body [data-verified-badge] svg{
  display:block!important;width:14px!important;height:14px!important;min-width:14px!important;max-width:14px!important;
  color:inherit!important;fill:currentColor!important;overflow:visible!important;
}
html body .f254-verified-badge::before,html body .f254-verified-badge::after,
html body [data-verified-badge]::before,html body [data-verified-badge]::after{content:none!important;display:none!important}
html body :is(.f254-tablet-sidebar-account,.f254-mobile-sidebar-profile,.f254-social-account-summary) strong,
html body :is(.f254-live-surface-header,.f254-live-feed-card,.f254-live-reels-card) :is(.f254-social-primary-name,.f254-live-reels-name){display:inline-flex!important;align-items:center!important;min-width:0!important}
