
/* v1070: /assets/css/fans254-v998-responsive-corrections.css */
/* Fans254 V998 - strictly scoped fixes; no media resizing or billing changes. */
/* Locked Reels: keep the purchase banner and back navigation, but no nonfunctional
   sound or playback transport while entitlement remains locked. */
.social-reel-watch.f998-locked-reel-active .social-reel-header-sound,
.social-reel-watch.f998-locked-reel-active > [data-reel-controls],
.social-reel-watch.f998-locked-reel-active > .social-reel-progress{display:none!important;pointer-events:none!important}
/* The underlying teaser must never expose independent native controls. */
.social-reel-watch .social-locked-reel video[data-preview-only]{pointer-events:none!important}
/* Marketplace must fill its existing main column, not spill over the sidebar. */
.social-shell[data-social-section="marketplace"] .social-column{max-width:none!important;min-width:0;width:100%!important}
.social-shell[data-social-section="marketplace"] :is(.mk-page,.mk-product-page,.ms-page,.mj-page,.mkr-page){max-width:none!important;width:100%;box-sizing:border-box;min-width:0}
.social-shell[data-social-section="marketplace"] :is(.mk-hero,.mk-main,.mk-search,.mk-tabs,.mk-desktop-actions){max-width:none}
@media(min-width:651px){
 .social-shell[data-social-section="marketplace"] .social-layout{
  grid-template-columns:clamp(67px,16vw,205px) minmax(0,1fr)!important;
  width:100%!important;max-width:none!important;box-sizing:border-box!important;
  padding:0 clamp(8px,1vw,18px)!important;gap:clamp(8px,1.2vw,18px)!important;
  margin:0 auto!important;
 }
 .social-shell[data-social-section="marketplace"] .social-column{grid-column:2;align-self:stretch;border-radius:0;min-height:calc(100dvh - 65px)}
 .social-shell[data-social-section="marketplace"] .social-sidebar{grid-column:1;top:75px;min-width:0}
 .social-shell[data-social-section="marketplace"] .social-rail{display:none!important}
}
@media(max-width:760px){
 .social-shell[data-social-section="marketplace"] .social-layout{padding-left:0!important;padding-right:0!important;width:100%!important;max-width:none!important}
 .social-shell[data-social-section="marketplace"] .social-column{border:0;border-radius:0;box-shadow:none}
 .social-shell[data-social-section="marketplace"] .mk-hero{padding-inline:clamp(12px,3.5vw,18px)}
 .social-shell[data-social-section="marketplace"] .mk-main{padding-inline:clamp(10px,3vw,16px)}
 /* Opening the navigation drawer must not leave the fixed listing buttons on top. */
 .social-shell.drawer-open[data-social-section="marketplace"] :is(.mk-sticky-cta,.mkpd-actions-mobile,.ms-bottom,.mj-mobile-bar){visibility:hidden!important;pointer-events:none!important}
 .social-shell[data-social-section="marketplace"] :is(.mk-sticky-cta,.mkpd-actions-mobile,.ms-bottom,.mj-mobile-bar){max-width:100vw;box-sizing:border-box}
}
@media(min-width:651px) and (max-width:760px){
 .social-shell[data-social-section="marketplace"] :is(.mk-sticky-cta,.mkpd-actions-mobile,.ms-bottom,.mj-mobile-bar){left:67px!important;right:0!important;width:auto!important}
}
/* Dating navigation: full bleed to the viewport on mobile, pill tabs and round icon tabs. */
@media(max-width:650px){
 .social-shell[data-social-section="dating"] .f254-date-app{width:100%;max-width:none;padding-inline:0!important;box-sizing:border-box;min-width:0}
 .social-shell[data-social-section="dating"] .f254-date-app .f732-dating-tabs{width:100%;max-width:none;box-sizing:border-box;margin:0 0 14px!important;padding:7px 9px!important;border-radius:0!important;gap:6px;overflow-x:auto}
 .social-shell[data-social-section="dating"] .f732-dating-tabs>button:not(.f769-mini-tab):not(.f716-tabs-wallet){border-radius:50px!important}
 .social-shell[data-social-section="dating"] .f732-dating-tabs>.f769-mini-tab{flex:0 0 43px;width:43px;min-width:43px;height:43px;min-height:43px;border-radius:50%!important;padding:0!important;justify-content:center;overflow:hidden;font-size:0!important;gap:0!important}
 .social-shell[data-social-section="dating"] .f732-dating-tabs>.f769-mini-tab .social-icon{width:20px;height:20px;flex:none}
 .social-shell[data-social-section="dating"] .f254-date-app :is(.f254-date-discover,.f716-scan,.f716-matches-view,.f769-dating-extra,.f254-date-setup){padding-inline:12px;box-sizing:border-box;max-width:100%}
 .social-shell[data-social-section="dating"] .f926-exit-mobile{left:12px!important;right:12px!important;bottom:calc(14px + env(safe-area-inset-bottom));width:auto!important;min-height:50px;justify-content:center;color:#fff!important}
 .social-shell[data-social-section="dating"] .f926-exit-mobile *{color:#fff!important}
 /* Scan has its own full-width primary Scan now control: never cover it with Exit. */
 .social-shell[data-social-section="dating"] .f254-date-app:has([data-f716-scan]:not([hidden]))>.f926-exit-mobile{display:none!important}
 .social-shell[data-social-section="dating"] .f763-date-utility .f998-real-bell{display:block;width:25px;height:25px;stroke:currentColor;stroke-width:1.9;fill:none}
}
@media(prefers-reduced-motion:reduce){.social-reel-watch.f998-locked-reel-active [data-reel-controls]{transition:none!important}}


/* v1070: /assets/css/fans254-v1000-market-fullbleed.css */
/* Fans254 V1000: marketplace full-width responsive card recovery.
   Scoped to the Marketplace route only; no feed/profile layout changes. */
.social-shell[data-social-section="marketplace"] .social-column,
.social-shell[data-social-section="marketplace"] .mk-page {min-width:0;max-width:none;box-sizing:border-box}
.social-shell[data-social-section="marketplace"] .mk-grid {min-width:0;align-items:stretch}
.social-shell[data-social-section="marketplace"] .mk-grid > * {min-width:0;max-width:100%;box-sizing:border-box}
@media (max-width:650px) {
  /* Make the green Marketplace hero actually touch both phone edges, even if
     an older template's main-column padding survives a cached stylesheet. */
  .social-shell[data-social-section="marketplace"] .social-layout {
    display:block!important; padding-left:0!important;padding-right:0!important;
    margin-left:0!important;margin-right:0!important;width:100%!important;max-width:none!important;
  }
  .social-shell[data-social-section="marketplace"] .social-column,
  .social-shell[data-social-section="marketplace"] .mk-page {
    width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;
    padding-left:0!important;padding-right:0!important;border-left:0!important;border-right:0!important;
  }
  .social-shell[data-social-section="marketplace"] .mk-hero {
    width:100%!important;max-width:none!important;box-sizing:border-box;
    margin-left:0!important;margin-right:0!important;border-radius:0!important;
    padding-inline:clamp(12px,3.4vw,18px)!important;
  }
  /* V1002: preserve the original two-column mobile Marketplace product grid,
     including when the feed contains one product or one native sponsored ad. */
  .social-shell[data-social-section="marketplace"] .mk-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}
  .social-shell[data-social-section="marketplace"] .mk-main {width:100%;max-width:none;padding-inline:clamp(8px,2.7vw,13px)!important;box-sizing:border-box}
}
@media(min-width:651px){
  /* Respect the visible desktop/tablet sidebar; use all remaining space. */
  .social-shell[data-social-section="marketplace"] .social-layout>.social-column{min-width:0;width:100%!important;max-width:none!important}
  .social-shell[data-social-section="marketplace"] .mk-main {max-width:none!important;width:100%;box-sizing:border-box}
}


/* v1070: /assets/css/fans254-v999-desktop-workspaces.css */
/* V999: desktop Studio/Live Watch layout only. No video object-fit, source, billing,
   or payment-route changes. All buttons are the EXISTING action nodes. */
@media(min-width:1120px){
  /* STUDIO: remove the redundant top card after its navigation/actions have
     been relocated into the statistics bar (no duplicate nodes). */
  .social-shell:has([data-live-studio]) .f254-studio-v722.f999-desktop-ready{
    width:calc(100% - 24px)!important;max-width:1600px!important;
    padding:8px 0 12px!important;min-height:100dvh!important;
  }
  .social-shell:has([data-live-studio]) .f254-studio-v722.f999-desktop-ready>.f254-v722-heading,
  .social-shell:has([data-live-studio]) .f254-studio-v722.f999-desktop-ready>.f895-source-quick,
  .social-shell:has([data-live-studio]) .f254-studio-v722.f999-desktop-ready>.f6-studio-nav{
    display:none!important;
  }
  .social-shell:has([data-live-studio]) .f254-studio-v722.f999-desktop-ready>.f254-v722-metrics{
    display:flex!important;align-items:stretch!important;gap:6px!important;
    margin:0 0 8px!important;width:100%!important;
  }
  .social-shell:has([data-live-studio]) .f254-studio-v722.f999-desktop-ready>.f254-v722-metrics>.f254-v722-metric{
    flex:1 1 0!important;width:auto!important;min-width:0!important;
    min-height:56px!important;height:56px!important;padding:5px 7px!important;
  }
  .social-shell:has([data-live-studio]) .f254-studio-v722.f999-desktop-ready .f254-v722-metric-icon{
    flex:0 0 27px!important;width:27px!important;height:27px!important;
  }
  .social-shell:has([data-live-studio]) .f254-studio-v722.f999-desktop-ready .f254-v722-metric small{font-size:10px!important}
  .f999-studio-nav{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex:0 0 auto;min-width:0}
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f999-studio-nav .f972-desktop-back,
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f999-studio-nav .f254-v722-explore,
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f999-studio-nav .f987-owner-watch{
    display:inline-flex!important;min-height:38px!important;height:38px!important;align-items:center;
    gap:5px!important;padding:4px 9px!important;border-radius:11px!important;
    background:var(--social-surface,#fff)!important;border:1px solid var(--social-border,#d9e3ee)!important;
    color:var(--social-text,#18283d)!important;font-size:12px!important;text-decoration:none!important;
  }
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f999-studio-nav .f883-header-actions{
    display:flex!important;align-items:center!important;gap:5px!important;min-width:0!important;
  }
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f999-studio-nav .f883-end-live:not([hidden]){
    display:inline-flex!important;align-items:center;min-height:38px!important;padding:5px 9px!important;
    border-radius:11px!important;background:#dd2147!important;color:#fff!important;
  }
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f999-studio-nav .f883-end-live[hidden],
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f999-studio-nav .f987-owner-watch[hidden]{display:none!important}
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f999-studio-nav svg{width:16px;height:16px}
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f254-v722-grid{
    grid-template-columns:minmax(0,1.84fr) minmax(290px,.82fr)!important;gap:9px!important;
  }
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f254-v722-primary{gap:0!important}
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f254-v722-preview-card{
    padding:51px 7px 7px!important;overflow:visible!important;
  }
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f254-v722-preview-card>.f254-v722-tools{
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
    position:absolute!important;top:7px!important;left:8px!important;right:8px!important;
    inset:7px 8px auto 8px!important;width:auto!important;height:38px!important;gap:5px!important;
    padding:0!important;margin:0!important;overflow:visible!important;
  }
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f254-v722-preview-card>.f254-v722-tools>:is(button,.f254-v722-meter-tile){
    flex:0 0 36px!important;width:36px!important;min-width:36px!important;height:36px!important;
    min-height:36px!important;border-radius:11px!important;
  }
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f254-v722-preview-card>.f254-v722-tools>.f985-studio-setup{
    display:flex!important;position:relative!important;flex:1 1 auto!important;
    min-width:0!important;width:auto!important;max-width:none!important;height:36px!important;
    margin:0 0 0 auto!important;padding:0!important;gap:5px!important;
    border:0!important;background:transparent!important;box-shadow:none!important;
  }
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f254-v722-tools>.f985-studio-setup button{
    display:inline-flex!important;position:relative!important;align-items:center!important;justify-content:center!important;
    flex:1 1 37px!important;min-width:31px!important;max-width:58px!important;
    width:40px!important;height:36px!important;min-height:36px!important;
    padding:5px!important;border-radius:11px!important;gap:0!important;
    transition:transform .15s ease,border-color .15s ease!important;
  }
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f254-v722-tools>.f985-studio-setup button>span{
    position:absolute!important;width:1px!important;height:1px!important;
    clip-path:inset(50%)!important;overflow:hidden!important;white-space:nowrap!important;
    padding:0!important;margin:-1px!important;
  }
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f254-v722-tools>.f985-studio-setup button>svg{
    flex:0 0 19px!important;width:19px!important;height:19px!important;
  }
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f254-v722-tools>.f985-studio-setup .f985-setup-primary{
    flex:1 1 86px!important;min-width:78px!important;max-width:105px!important;
    background:#1877f2!important;color:#fff!important;border-color:#1877f2!important;
  }
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f254-v722-tools>.f985-studio-setup .f985-setup-primary>span{
    position:static!important;width:auto!important;height:auto!important;clip-path:none!important;
    overflow:visible!important;margin:0!important;font-size:11px!important;font-weight:800!important;
  }
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f254-v722-tools>.f985-tips-toggle:not([hidden]){
    display:inline-flex!important;position:relative!important;top:auto!important;right:auto!important;
    flex:0 0 83px!important;width:83px!important;height:36px!important;
    min-width:0!important;margin:0!important;padding:4px!important;border-radius:11px!important;
  }
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f883-live-quick-actions{
    display:none!important; /* its existing sidebar panels + four Studio settings proxies remain */
  }
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f254-v722-stage{
    height:clamp(350px,calc(100dvh - 165px),820px)!important;
    max-height:none!important;min-height:0!important;
  }
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f254-v722-communication{
    height:clamp(390px,calc(100dvh - 96px),850px)!important;max-height:none!important;
  }
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f254-v722-side{
    top:8px!important;min-width:0!important;
  }
  /* Individual desktop settings sheet: only the selected original form area.
     The original form/input instances remain in place and keep their handlers. */
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f254-v722-details.f985-form-visible{
    inset:50% auto auto 50%!important;transform:translate(-50%,-50%)!important;
    width:min(92vw,530px)!important;max-width:530px!important;height:auto!important;
    max-height:min(88dvh,800px)!important;overflow-y:auto!important;padding:17px!important;
    border-radius:19px!important;
  }
  .social-shell:has([data-live-studio]) .f254-studio-v722 .f254-v722-details.f985-form-visible[data-f999-panel="details"]{
    width:min(92vw,650px)!important;max-width:650px!important;
  }
  .social-shell:has([data-live-studio]) .f254-v722-details[data-f999-panel] :is(.f987-settings-nav,.f254-v722-card-head,.f913-context-head,.f916-panel-hint,.f983-setup-feedback,.f894-source-guidance){display:none!important}
  .social-shell:has([data-live-studio]) .f254-v722-details[data-f999-panel] .f883-form-columns{
    display:block!important;grid-template-columns:none!important;
  }
  .social-shell:has([data-live-studio]) .f254-v722-details[data-f999-panel] :is(.f883-form-core,.f883-form-price,.f254-v722-details-grid){width:100%!important;max-width:none!important}
  .social-shell:has([data-live-studio]) .f254-v722-details[data-f999-panel="source"] :is(.f883-form-price,.f254-v722-switches,.f254-v722-details-grid,.f254-v722-schedule,.f983-scheduled-confirm){display:none!important}
  .social-shell:has([data-live-studio]) .f254-v722-details[data-f999-panel="source"] .f883-form-core>:is(.f254-v722-switches,.f254-v722-schedule,.f983-scheduled-confirm){display:none!important}
  .social-shell:has([data-live-studio]) .f254-v722-details[data-f999-panel="pricing"] .f883-form-core>:not(.f254-v722-switches),
  .social-shell:has([data-live-studio]) .f254-v722-details[data-f999-panel="pricing"] .f254-v722-details-grid{display:none!important}
  .social-shell:has([data-live-studio]) .f254-v722-details[data-f999-panel="pricing"] .f254-v722-switches>:not([data-v920-tip-row]){display:none!important}
  .social-shell:has([data-live-studio]) .f254-v722-details[data-f999-panel="details"] .f883-form-core{display:none!important}
  .social-shell:has([data-live-studio]) .f254-v722-details[data-f999-panel="details"] .f883-form-price>:not(.f254-v722-details-grid){display:none!important}
  .social-shell:has([data-live-studio]) .f254-v722-details[data-f999-panel="details"] .f254-v722-details-grid{display:grid!important}
  .social-shell:has([data-live-studio]) .f254-v722-details[data-f999-panel="moderation"] .f883-form-core>:not(.f254-v722-switches),
  .social-shell:has([data-live-studio]) .f254-v722-details[data-f999-panel="moderation"] :is(.f883-form-price,.f254-v722-details-grid){display:none!important}
  .social-shell:has([data-live-studio]) .f254-v722-details[data-f999-panel="moderation"] .f254-v722-switches>:is([data-v920-tip-row],[data-f254-entitlement]){display:none!important}
  .social-shell:has([data-live-studio]) .f254-v722-details[data-f999-panel] .f254-v722-actions{
    display:flex!important;gap:8px!important;margin:15px 0 0!important;padding:0!important;
  }
  .social-shell:has([data-live-studio]) .f254-v722-details[data-f999-panel="pricing"] .f254-v722-actions{display:none!important}
  .social-shell:has([data-live-studio]) .f254-v722-details[data-f999-panel]::before{
    content:attr(aria-label);display:block;margin:2px 0 13px;padding:0 45px 11px 0;
    font-size:18px;font-weight:850;letter-spacing:-.025em;
    color:var(--social-text,#16243b);border-bottom:1px solid var(--social-border,#dae3ee);
  }
  .social-shell:has([data-live-studio]) .f254-v722-details[data-f999-panel] .f985-settings-close{
    float:none!important;display:flex!important;justify-content:flex-end!important;margin-left:auto!important;
    min-height:36px!important;
  }
  /* WATCH: hide redundant top bar after its original back + earnings actions
     have been relocated beside Follow/Share and the original post 3-dot menu. */
  .social-shell .f928-live-watch-page.f999-watch-ready{
    grid-template-columns:minmax(0,1.72fr) minmax(300px,.82fr)!important;
    grid-template-rows:minmax(0,1fr) auto!important;align-content:stretch!important;
    gap:9px 12px!important;max-width:1600px!important;width:calc(100% - 24px)!important;
    height:100dvh!important;min-height:0!important;box-sizing:border-box!important;padding:8px 0!important;
    overflow:hidden!important;
  }
  .social-shell .f928-live-watch-page.f999-watch-ready>.f928-watch-header{display:none!important}
  .social-shell .f928-live-watch-page.f999-watch-ready>article.social-post{
    grid-column:1!important;grid-row:1!important;display:flex!important;min-height:0!important;
    height:100%!important;overflow:hidden!important;padding:8px!important;gap:4px!important;
  }
  .social-shell .f928-live-watch-page.f999-watch-ready>article.social-post>.f254-live-player{
    flex:1 1 auto!important;min-height:0!important;display:flex!important;flex-direction:column!important;
  }
  .social-shell .f928-live-watch-page.f999-watch-ready>article.social-post>.f254-live-player .f254-live-visual:not(:fullscreen){
    flex:1 1 auto!important;height:auto!important;min-height:0!important;max-height:none!important;
    aspect-ratio:auto!important;
  }
  .social-shell .f928-live-watch-page.f999-watch-ready>article.social-post>.social-post-top{
    flex:0 0 auto!important;min-height:49px!important;padding:4px 3px!important;
    display:flex!important;align-items:center!important;gap:8px!important;
  }
  .social-shell .f928-live-watch-page.f999-watch-ready .social-post-author{display:flex!important;flex-direction:column!important;min-width:0!important;gap:1px!important}
  .social-shell .f928-live-watch-page.f999-watch-ready .social-post-author>.social-post-text{
    display:block!important;position:static!important;margin:1px 0 0!important;padding:0!important;
    max-width:100%!important;font-size:12px!important;line-height:1.25!important;
    color:var(--social-muted,#60718b)!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;
  }
  .social-shell .f928-live-watch-page.f999-watch-ready .social-post-author .social-post-byline{display:none!important}
  .social-shell .f928-live-watch-page.f999-watch-ready .f988-watch-creator-actions{margin-left:auto!important;flex:0 0 auto!important;gap:6px!important}
  .social-shell .f928-live-watch-page.f999-watch-ready .f999-watch-inline{display:inline-flex;align-items:center;gap:5px;flex:none}
  .social-shell .f928-live-watch-page.f999-watch-ready .f999-watch-inline :is(.f928-watch-leave,.f937-watch-earnings){
    display:inline-flex!important;position:relative!important;align-items:center!important;justify-content:center!important;
    inset:auto!important;transform:none!important;width:36px!important;height:36px!important;
    min-height:36px!important;min-width:36px!important;margin:0!important;padding:6px!important;
    background:var(--social-muted-bg,#f2f5fa)!important;border:1px solid var(--social-border,#dce4ef)!important;
    border-radius:11px!important;color:var(--social-text,#14233b)!important;
  }
  .social-shell .f928-live-watch-page.f999-watch-ready .f999-watch-inline .f928-watch-leave span{display:none!important}
  .social-shell .f928-live-watch-page.f999-watch-ready .f999-watch-inline svg{width:17px!important;height:17px!important}
  .social-shell .f928-live-watch-page.f999-watch-ready .social-post-top>.social-post-more-wrap{display:block!important;margin-left:0!important}
  .social-shell .f928-live-watch-page.f999-watch-ready>.f929-reaction-rail{
    grid-column:1!important;grid-row:2!important;position:relative!important;
    display:flex!important;align-items:center!important;flex-wrap:nowrap!important;min-height:65px!important;
    height:65px!important;padding:6px 10px!important;gap:9px!important;
    z-index:7!important;pointer-events:auto!important;
  }
  .social-shell .f928-live-watch-page.f999-watch-ready>.f929-reaction-rail :is(button,.f973-gift-choices button){
    cursor:pointer!important;pointer-events:auto!important;touch-action:manipulation!important;
  }
  /* V1001: gift presets remain direct siblings of the reactions rail.
     Their authorized desktop presentation is scoped in v1001-desktop-gifts.css. */
  .social-shell .f928-live-watch-page.f999-watch-ready>.f254-live-viewer-chat{
    grid-column:2!important;grid-row:1/3!important;top:0!important;position:relative!important;
    height:100%!important;min-height:0!important;max-height:none!important;
  }
  .social-shell .f928-live-watch-page .f999-watch-fullscreen{display:inline-flex!important;pointer-events:auto!important;cursor:pointer!important}
  .social-shell .f928-live-watch-page .f254-live-controls{pointer-events:auto!important;z-index:30!important}
  .social-shell .f928-live-watch-page.f999-watch-ready .f929-reaction-rail .f929-heart-button:not(:disabled){display:inline-flex!important;opacity:1!important;pointer-events:auto!important}
  .social-shell .f928-live-watch-page.f999-watch-ready .f929-reaction-rail button:hover:not(:disabled),
  .social-shell .f928-live-watch-page.f999-watch-ready .f973-gift-choices button:hover:not(:disabled){transform:translateY(-1px)!important;filter:brightness(.98)}
  .social-shell .f928-live-watch-page.f999-watch-ready :is(button,a):focus-visible{outline:3px solid #1877f2!important;outline-offset:2px!important}
}
@media(prefers-reduced-motion:reduce){.f999-watch-ready button{transition:none!important;transform:none!important}}


/* v1070: /assets/css/fans254-v1001-desktop-gifts.css */
/* V1001 · Restore the V973/V989 desktop watch gift surface, retaining the
   original Live Watch entitlement conditions and checkout handlers.
   V999 moved .f973-gift-shortcuts INSIDE .f929-reaction-rail, while V973's
   original authorized selector needs it as a DIRECT child of watch. JS V1001
   restores that direct-child relationship. This layer only styles desktop. */
@media (min-width:1120px) {
  .social-shell .f928-live-watch-page.f999-watch-ready > .f929-reaction-rail {
    grid-row:2!important;grid-column:1!important;
    justify-self:start!important;align-self:stretch!important;
    flex:0 0 auto!important;box-sizing:border-box!important;
    width:clamp(146px,23%,225px)!important;max-width:28%!important;
    min-width:0!important;margin:0!important;
    padding:6px 10px!important;height:65px!important;
    gap:8px!important;overflow:visible!important;
  }
  .social-shell .f928-live-watch-page.f999-watch-ready > .f929-reaction-rail .f975-react-caption {
    min-width:0!important;flex:1 1 auto!important;
    font-size:12px!important;font-weight:800!important;
  }
  .social-shell .f928-live-watch-page.f999-watch-ready > .f929-reaction-rail .f975-react-caption small {
    display:none!important;
  }
  .social-shell .f928-live-watch-page.f999-watch-ready > .f929-reaction-rail .f929-heart-button {
    flex:0 0 auto!important;display:inline-flex!important;
    min-height:42px!important;min-width:42px!important;
    cursor:pointer!important;
  }
  /* The source-based gift relay controls eligibility, not any CSS-only claim. */
  .social-shell .f928-live-watch-page.f999-watch-ready > .f973-gift-shortcuts{
    display:none!important;
  }
  /* The eligibility selector intentionally requires the ORIGINAL gift relay to
     be enabled by the creator's tips permission. Do not show gifts for owner,
     disabled tips, or ended broadcasts. */
  .social-shell .f928-live-watch-page.f999-watch-ready:not([data-f996-ended="1"]):has(> .f929-reaction-rail > .f929-gift-button:not([hidden])) > .f973-gift-shortcuts:not([hidden]) {
    display:flex!important;grid-column:1!important;grid-row:2!important;
    justify-self:end!important;align-self:stretch!important;
    position:relative!important;inset:auto!important;
    box-sizing:border-box!important;
    width:calc(100% - clamp(146px,23%,225px) - 9px)!important;
    max-width:none!important;min-width:0!important;
    height:65px!important;min-height:65px!important;
    margin:0!important;padding:6px 9px!important;gap:8px!important;
    align-items:center!important;flex-wrap:nowrap!important;
    z-index:8!important;opacity:1!important;pointer-events:auto!important;
    border:1px solid var(--social-border,#dce4ef)!important;
    border-radius:14px!important;
    background:var(--social-surface,#fff)!important;
  }
  .social-shell .f928-live-watch-page.f999-watch-ready > .f973-gift-shortcuts .f973-gift-intro {
    display:flex!important;min-width:0!important;max-width:none!important;
    flex:0 0 91px!important;font-size:12px!important;
  }
  .social-shell .f928-live-watch-page.f999-watch-ready > .f973-gift-shortcuts .f973-gift-choices {
    display:flex!important;flex:1 1 auto!important;min-width:0!important;
    justify-content:stretch!important;align-items:center!important;
    gap:5px!important;flex-wrap:nowrap!important;
  }
  .social-shell .f928-live-watch-page.f999-watch-ready > .f973-gift-shortcuts .f973-gift-choices button {
    display:inline-flex!important;flex:1 1 0!important;width:auto!important;
    min-width:0!important;min-height:43px!important;height:44px!important;
    padding:4px 5px!important;gap:4px!important;
    align-items:center!important;justify-content:center!important;
    cursor:pointer!important;pointer-events:auto!important;
    touch-action:manipulation!important;
    transition:transform .15s ease,box-shadow .15s ease!important;
  }
  .social-shell .f928-live-watch-page.f999-watch-ready > .f973-gift-shortcuts .f973-gift-choices button>span{font-size:19px!important;line-height:1!important}
  .social-shell .f928-live-watch-page.f999-watch-ready > .f973-gift-shortcuts .f973-gift-choices button>strong{font-size:11px!important}
  .social-shell .f928-live-watch-page.f999-watch-ready > .f973-gift-shortcuts .f973-gift-choices button>small{font-size:9px!important}
  .social-shell .f928-live-watch-page.f999-watch-ready > .f973-gift-shortcuts .f973-gift-choices button:hover:not(:disabled){transform:translateY(-2px)!important;box-shadow:0 4px 12px #153d731f!important}
  .social-shell .f928-live-watch-page.f999-watch-ready > .f973-gift-shortcuts .f973-gift-choices button:focus-visible {outline:3px solid #1877f2!important;outline-offset:2px!important}
  /* The gift picker is an overlay, not a new feed row. Keep the existing modal
     and its secure checkout above both player and chat while opened. */
  .social-shell .f928-live-watch-page.f943-gifts-open {overflow:visible!important}
  .social-shell .f928-live-watch-page .f943-gift-picker:not([hidden]) {z-index:20000!important;pointer-events:auto!important}
  @media (max-width:1260px){
    .social-shell .f928-live-watch-page.f999-watch-ready > .f973-gift-shortcuts .f973-gift-intro{display:none!important}
  }
  @media (max-height:720px){
    .social-shell .f928-live-watch-page.f999-watch-ready > .f929-reaction-rail,
    .social-shell .f928-live-watch-page.f999-watch-ready > .f973-gift-shortcuts:not([hidden]){height:57px!important;min-height:57px!important}
    .social-shell .f928-live-watch-page.f999-watch-ready > .f973-gift-shortcuts .f973-gift-choices button{min-height:40px!important;height:40px!important}
  }
}
@media (prefers-reduced-motion:reduce){
 .f928-live-watch-page .f973-gift-choices button{transition:none!important;transform:none!important}
}

/* Ended broadcasts must never expose reaction or purchase controls, even if
   V999's more-specific desktop flex layout has already initialized. */
@media (min-width:1120px){
 .social-shell .f928-live-watch-page.f999-watch-ready[data-f996-ended="1"] > :is(.f929-reaction-rail,.f973-gift-shortcuts,.f943-gift-picker),
 .social-shell .f928-live-watch-page.f999-watch-ready:has([data-live-player].is-off-air) > :is(.f929-reaction-rail,.f973-gift-shortcuts,.f943-gift-picker){display:none!important}
}

