
/* v1070: /assets/css/ads-redesign-v846.css */
/* Fans254 V8.46 advertising design system. Scoped to creation/review pages; production posts, wallet and live video untouched. */
.ad17-page{--f846-blue:#1877f2;--f846-fg:var(--ad17-text);--f846-sub:var(--ad17-muted);--f846-surface:var(--ad17-card);--f846-tint:color-mix(in srgb,var(--ad17-card) 94%,var(--ad17-text));--f846-rule:color-mix(in srgb,var(--ad17-card) 88%,var(--ad17-text));--f846-radius:15px;--ad17-shadow:none!important}
.ad17-page :is(.ad17-panel,.ad20-preview-workspace,.ad20-render,.ad18-preview-card){box-shadow:none!important}
.ad17-page .ad17-panel{border:1px solid var(--f846-rule);border-radius:var(--f846-radius);margin-bottom:13px}
.ad17-page .ad17-main{max-width:1160px}
.ad17-page .ad17-eyebrow{letter-spacing:.065em;font-size:11px}
.ad17-page .ad17-header-light{background:var(--ad17-bg)!important;border-color:var(--f846-rule);padding-top:17px;padding-bottom:18px}
.ad17-page .ad17-head-copy h1{font-size:clamp(22px,2.8vw,29px)}
.ad17-page .ad17-head-copy p{font-size:12px;line-height:1.45}
.ad17-page .ad17-icon-btn{border:1px solid var(--f846-rule);box-shadow:none;background:var(--f846-surface)}
.ad17-page .ad17-btn{border-radius:11px;min-height:46px}
.ad17-page .ad18-sticky-actions{box-shadow:0 -3px 16px rgba(0,0,0,.055);border-top:1px solid var(--f846-rule);background:var(--f846-surface)}
/* The seven milestones occupy a SINGLE row; no wrapping on phones. */
.ad17-page .ad18-progress,.ad17-source-page .ad18-progress,.ad20-page .ad18-progress{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;grid-template-rows:1fr!important;gap:0!important;max-width:770px!important;width:100%;margin:19px auto 0!important;position:relative;isolation:isolate;overflow:visible}
.ad17-page .ad18-progress:before{content:"";position:absolute;top:18px;left:7%;right:7%;height:2px;background:var(--f846-rule);z-index:-1}
.ad17-page .ad18-progress-step{display:flex!important;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;min-width:0!important;width:100%!important;white-space:nowrap;color:var(--f846-sub);line-height:1.1}
.ad17-page .ad18-progress-step b,.ad20-page .ad18-progress-step b{width:36px!important;height:36px!important;min-width:36px;font-size:12px!important;font-weight:800;border:2px solid var(--f846-rule);background:var(--f846-surface);border-radius:50%;transition:background-color .24s,border-color .24s,transform .24s,box-shadow .24s}
.ad17-page .ad18-progress-step.complete b{background:#e5efff;color:#186bd8;border-color:#a4c7fb}
.ad17-page .ad18-progress-step.current b{background:var(--f846-blue);color:#fff;border-color:var(--f846-blue);box-shadow:0 0 0 4px rgba(24,119,242,.12);animation:f846-pulse .5s ease-out both}
.ad17-page .ad18-progress-step small,.ad20-page .ad18-progress-step small{font-size:10px!important;font-weight:700!important;letter-spacing:-.018em;line-height:1.2;text-align:center;overflow:hidden;text-overflow:ellipsis;max-width:100%}
@keyframes f846-pulse{from{transform:scale(.9);box-shadow:0 0 0 0 rgba(24,119,242,.20)}to{transform:scale(1);box-shadow:0 0 0 4px rgba(24,119,242,.10)}}
/* Consistent section density and inputs; no wide empty skeleton blocks */
.ad18-page .ad18-section,.ad19-page .ad19-card,.ad20-page .ad20-card{padding:clamp(15px,2vw,21px)!important}
.ad18-page .ad18-editor-grid{gap:14px;align-items:start}
.ad18-page .ad18-live-preview{position:sticky;top:12px;padding:15px;max-width:none}
.ad18-page .ad18-preview-head{gap:9px;flex-wrap:wrap;margin-bottom:12px}
.ad18-page .ad18-preview-head h2{font-size:17px!important}
.ad18-page .ad18-preview-tabs{border:1px solid var(--f846-rule);border-radius:10px;background:var(--f846-tint);padding:3px}
.ad18-page .ad18-preview-tabs button{padding:8px 12px;font-size:12px}
.ad18-page .ad18-preview-card{max-width:100%;border:1px solid var(--f846-rule);background:var(--f846-surface);overflow:hidden;border-radius:12px}
.ad18-page .ad18-upload-area{padding:18px!important;min-height:155px!important;border:1.5px dashed color-mix(in srgb,var(--f846-blue) 45%,var(--f846-rule));border-radius:14px;background:var(--f846-tint);gap:7px}
.ad18-page .ad18-upload-icon{width:40px!important;height:40px!important;border-radius:11px}
.ad18-page .ad18-upload-icon .social-icon{width:22px;height:22px}
.ad18-page .ad18-upload-area strong{font-size:15px}
.ad18-page .ad18-upload-area small{font-size:11px}
.ad18-page .ad18-pick-btn{min-height:38px;padding:8px 14px;margin:5px 0 0}
.ad18-page .ad18-pending{margin:14px 0;padding:14px;border:1px solid var(--f846-rule);background:var(--f846-tint);border-radius:13px}
.ad18-page .ad18-staged-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px}
.ad18-page .ad18-staged-item{min-width:0;background:var(--f846-surface);border:1px solid var(--f846-rule);border-radius:11px;padding:8px;box-shadow:none}
.ad18-page .ad18-staged-thumb{height:102px;max-height:102px;overflow:hidden;border-radius:9px;background:var(--f846-tint)}
.ad18-page .ad18-staged-thumb :is(img,video){height:100%;width:100%;object-fit:contain;background:transparent;display:block}
.ad18-page .ad18-staged-actions{display:flex;flex-wrap:wrap;gap:5px}
.ad18-page .ad18-staged-actions button{min-height:30px;font-size:11px}
.ad18-page .ad18-pending-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:11px}
.ad18-page .ad18-uploaded-row{min-height:68px;gap:10px;padding:10px 0;align-items:center}
.ad18-page .ad18-uploaded-thumb{flex:0 0 58px;width:58px;height:58px;border-radius:10px;overflow:hidden;background:var(--f846-tint)}
.ad18-page .ad18-uploaded-thumb :is(img,video){width:100%;height:100%;object-fit:contain}
.ad18-page .ad18-uploaded-row>span{min-width:0;flex:1;overflow:hidden}
.ad18-page .ad18-uploaded-row strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.ad18-page .ad18-uploaded-actions{flex:0 0 auto}
.ad18-page .ad18-library-head{padding-top:9px}
.ad18-page .ad18-uploaded-empty{padding:14px 10px;min-height:0}
/* Preview looks like a real paid Feed post; five native-size actions, no repost for newly uploaded ad */
.ad18-page .ad18-preview-author,.ad20-page .ad20-author{display:flex;align-items:center;gap:9px;padding:12px 12px 7px!important}
.ad18-page .ad18-preview-avatar,.ad20-page .ad20-avatar{height:40px!important;width:40px!important;flex:0 0 40px!important;border-radius:50%;font-size:15px}
.ad18-page .ad18-preview-author>div{flex:1;min-width:0;display:grid;gap:2px}
.ad18-page .ad18-preview-author strong,.ad20-page .ad20-author-label strong{font-size:13px!important;font-weight:750}
.ad18-page .ad18-preview-author small,.ad20-page .ad20-author-label small{font-size:11px!important;color:var(--f846-sub)}
.f846-ad-mark{font-size:11px;color:#1877f2;background:#eaf2ff;border-radius:7px;padding:4px 7px;font-weight:800;line-height:1.2;margin-left:auto;white-space:nowrap}
.ad18-page .ad18-preview-more{margin-left:0;display:grid;place-items:center;width:25px;height:30px;color:var(--f846-sub)}
.ad18-page .ad18-preview-more .social-icon{width:20px;height:20px}
.ad18-page .ad18-preview-copy,.ad20-page .ad20-copy{font-size:13px;line-height:1.5;margin:10px 12px 12px;white-space:pre-line}
.ad18-page .ad18-preview-media{background:transparent;min-height:0;max-height:450px;overflow:hidden}
.ad18-page .ad18-preview-media> :is(img,video){display:block;width:100%;height:auto;max-height:450px;object-fit:contain}
.ad18-page .ad18-preview-cta,.ad20-page .ad20-destination{gap:10px;background:transparent;padding:10px 12px;flex-wrap:wrap;border-bottom:0}
.ad18-page .ad18-preview-cta-btn,.ad20-page .ad20-cta{background:var(--f846-tint);color:var(--f846-fg);border:1px solid var(--f846-rule);padding:9px 13px;border-radius:9px;font-size:12px;font-weight:750}
.f846-preview-actions{display:grid;grid-template-columns:repeat(var(--f846-actions,5),minmax(0,1fr));align-items:center;gap:0;width:100%;min-width:0;margin:0;padding:9px 0;border-top:1px solid var(--f846-rule)}
.f846-preview-actions>span{display:grid;place-items:center;min-width:0;padding:7px 1px;color:var(--f846-sub);line-height:1}
.f846-preview-actions .social-icon{width:21px!important;height:21px!important;max-height:21px!important;stroke-width:1.8}
.ad20-page .f846-preview-actions{--f846-actions:5}
.ad18-page .f846-preview-actions{--f846-actions:5}
.ad18-page .f846-reel-demo .f846-preview-actions,.ad20-page .ad20-reel .f846-preview-actions{border-top:0;background:rgba(20,22,27,.34);backdrop-filter:blur(9px);border-radius:11px;margin-top:5px}
.ad18-page .f846-reel-demo .f846-preview-actions>span,.ad20-page .ad20-reel .f846-preview-actions>span{color:#fff}
/* Admin/creator preview player: one compact full-bleed media frame. Never oversized inside summary */
.ad18-page .f844-video-player,.ad20-page .f844-video-player,[data-ad-approval-page] .f844-video-player{aspect-ratio:16/10;max-height:440px!important;min-height:0!important;position:relative;border-radius:12px;background:#10141b}
.ad18-preview-media .f844-video-player,.ad20-slide .f844-video-player{border-radius:0!important;max-height:430px!important}
.ad18-page .f844-video-player>video,.ad20-page .f844-video-player>video{object-fit:contain!important}
.f844-preview-toolbar{padding:9px 11px!important;gap:10px!important;background:linear-gradient(transparent,rgba(0,0,0,.18));display:flex;align-items:center;min-height:49px}
.f844-preview-toolbar button{background:rgba(18,22,29,.60)!important;border:0!important;box-shadow:none!important;width:34px!important;height:34px!important;min-width:34px!important;flex:0 0 34px!important;border-radius:50%!important;padding:7px!important;color:#fff!important}
.f844-preview-toolbar button .social-icon{display:block;width:18px;height:18px;stroke-width:2}
.f844-preview-toolbar .f844-current{font-size:11px!important;font-variant-numeric:tabular-nums;color:#fff}
.f844-preview-toolbar .f844-duration{font-size:11px!important;font-variant-numeric:tabular-nums;color:#fff}
.f844-preview-seek{appearance:none;-webkit-appearance:none;min-width:0!important;width:100%;height:17px!important;background:transparent!important;accent-color:#67a5ff;padding:0!important;margin:0!important;cursor:pointer}
.f844-preview-seek::-webkit-slider-runnable-track{height:4px;border-radius:20px;background:linear-gradient(to right,#4b9afe 0 var(--f846-scrub,0%),rgba(255,255,255,.55) var(--f846-scrub,0%) 100%)}
.f844-preview-seek::-webkit-slider-thumb{-webkit-appearance:none;width:12px;height:12px;border:2px solid white;background:#1877f2;border-radius:50%;margin-top:-4px;box-shadow:0 1px 4px #0004}
.f844-preview-seek::-moz-range-track{height:4px;background:#c5cbd5;border-radius:20px}
.f844-preview-seek::-moz-range-progress{background:#4b9afe;height:4px}
.f844-preview-bigplay{height:47px!important;width:47px!important;border:0!important;background:rgba(20,25,34,.62)!important;backdrop-filter:blur(6px);font-size:18px;line-height:1}
.f844-preview-bigplay .social-icon{width:21px;height:21px}
.ad18-page .f844-video-player:has(video:playing) .f844-preview-bigplay{display:none!important}
/* Rectangular Reel mockup sized as a real portrait card, never a long blank portrait stage. */
.ad18-page .ad18-preview-reel,.ad20-page .ad20-reel{width:min(100%,340px);max-width:340px;margin-inline:auto;aspect-ratio:9/16;min-height:0!important;max-height:min(72dvh,630px);background:#141820;color:white;border:0;border-radius:15px;overflow:hidden;position:relative}
.ad18-page .ad18-reel-fill,.ad18-page .ad18-reel-fill :is(img,video){height:100%!important;max-height:none;min-height:0;width:100%;object-fit:contain;background:#141820}
.ad18-page .ad18-reel-overlay,.ad20-page .ad20-reel-footer{position:absolute;bottom:0;left:0;right:0;display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:75px 12px 12px;background:linear-gradient(transparent,rgba(0,0,0,.75));color:#fff;min-width:0}
.ad18-page .ad18-reel-overlay p,.ad20-page .ad20-reel-footer p{font-size:12px;line-height:1.42;max-height:46px;overflow:hidden;margin:1px 0}
.f846-reel-author{display:flex;gap:8px;align-items:center}
.f846-reel-author>span:last-child{display:grid;gap:2px}
.f846-reel-author small{font-size:11px;font-weight:700;opacity:.85}
.ad18-page .ad18-reel-overlay .ad18-preview-cta-btn{align-self:flex-start}
.ad20-page .ad20-reel .f844-video-player{position:absolute;inset:0;width:100%;height:100%;max-height:none!important;border-radius:0!important;aspect-ratio:auto}
.ad20-page .ad20-reel .f844-video-player>video{height:100%!important}
.ad20-page .ad20-reel .f844-preview-toolbar{bottom:0;z-index:5;opacity:0;pointer-events:none;transition:opacity .2s}
.ad20-page .ad20-reel .f844-video-player:hover .f844-preview-toolbar,.ad20-page .ad20-reel .f844-video-player:focus-within .f844-preview-toolbar{opacity:1;pointer-events:auto}
.ad20-page .ad20-reel-stage{height:100%;min-height:0!important}
.ad20-page .ad20-reel-stage>img,.ad20-page .ad20-reel-stage>video{object-fit:contain}
/* Summary: thumbnail is a thumb, not a huge full player. */
.ad20-page .ad20-compact-creative{align-items:center;gap:12px;padding:12px;border:1px solid var(--f846-rule);background:var(--f846-tint);margin-bottom:14px;border-radius:13px;min-width:0}
.ad20-page .ad20-cover-thumb{position:relative;flex:0 0 74px!important;width:74px!important;height:82px!important;overflow:hidden;border-radius:10px;background:#111820}
.ad20-page .ad20-cover-thumb img,.ad20-page .ad20-cover-thumb video{display:block;height:100%;width:100%;object-fit:contain!important}
.ad20-page .ad20-cover-thumb .f846-thumb-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:rgba(0,0,0,.50);color:white;pointer-events:none}
.ad20-page .ad20-cover-thumb .f846-thumb-play .social-icon{width:17px;height:17px}
.ad20-page .ad20-compact-creative>div:last-child{flex:1;min-width:0}
.ad20-page .ad20-compact-creative strong{font-size:14px;line-height:1.3;overflow-wrap:anywhere}
.ad20-page .ad20-review-layout{gap:14px}
.ad20-page .ad20-dl>div{padding:11px 0}
.ad20-page .ad20-render{background:var(--f846-surface);border:1px solid var(--f846-rule);box-shadow:none}
.ad20-page .ad20-preview-wrap{padding:12px}
.ad20-page .ad20-gallery:not(.is-carousel){background:transparent}
.ad20-page .ad20-gallery:not(.is-carousel) .ad20-slide{max-height:450px}
.ad20-page .ad20-gallery:not(.is-carousel) .ad20-slide>img{max-height:450px;object-fit:contain}
.ad20-page .ad20-gallery.is-carousel{gap:8px}
.ad20-page .ad20-gallery.is-carousel>.ad20-slide{flex-basis:calc(100% - 47px);max-width:calc(100% - 47px)}
/* Audience: clean targeting controls and meaningful summary, no fake reach count. */
.ad19-page .ad19-layout{gap:14px}
.ad19-page .ad19-summary{position:sticky;top:15px}
.ad19-page .ad19-card-head{gap:11px;margin-bottom:17px}
.ad19-page .ad19-card-head h2{font-size:18px;color:var(--f846-fg)}
.ad19-page .ad19-card-head p{color:var(--f846-sub)}
.ad19-page .ad19-icon{height:39px;width:39px;flex-basis:39px;border-radius:11px;background:color-mix(in srgb,#1877f2 10%,var(--f846-surface));color:#1877f2}
.ad19-page .ad19-radio-box,.ad19-page .ad19-county-item,.ad19-page .ad19-segment label{background:var(--f846-tint);border:1px solid var(--f846-rule);transition:background .2s,border-color .2s}
.ad19-page .ad19-radio-box:has(input:checked),.ad19-page .ad19-county-item:has(input:checked){background:color-mix(in srgb,#1877f2 11%,var(--f846-surface));border-color:color-mix(in srgb,#1877f2 40%,var(--f846-rule));box-shadow:none}
.ad19-page .ad19-summary-icon{height:62px;margin:0 auto 6px;background:none}
.ad19-page .ad19-summary-card>.ad19-simulation-note,.ad19-page .ad19-summary-card>p{background:var(--f846-tint);border-radius:11px;color:var(--f846-sub)}
.ad19-page .ad19-summary-card{padding:18px!important}
/* Budget: a real, immediately reacting simulation with a tactile draggable slider. */
.ad19-page .ad19-budget-input{border-radius:12px;background:var(--f846-tint);border:1px solid var(--f846-rule)}
.ad19-page .ad19-budget-presets{display:flex;flex-wrap:wrap;gap:7px}
.ad19-page .ad19-budget-presets button{border-radius:999px}
.f846-budget-simulator{margin:16px 0 12px;padding:14px 14px 13px;background:var(--f846-tint);border-radius:13px;border:1px solid var(--f846-rule)}
.f846-slider-heading,.f846-slider-scale,.f846-reach-caption{display:flex;justify-content:space-between;align-items:center;gap:10px}
.f846-slider-heading label{font-size:12px;font-weight:750}
.f846-slider-heading output{font-size:12px;color:var(--f846-blue);font-weight:800;font-variant-numeric:tabular-nums}
.f846-budget-simulator input[type=range]{appearance:none;-webkit-appearance:none;display:block;width:100%;height:24px;margin:10px 0 5px;background:transparent;cursor:pointer;touch-action:pan-y}
.f846-budget-simulator input[type=range]::-webkit-slider-runnable-track{height:7px;border-radius:99px;background:linear-gradient(90deg,#1877f2 0 var(--f846-progress,0%),var(--f846-rule) var(--f846-progress,0%) 100%)}
.f846-budget-simulator input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:#1877f2;width:23px;height:23px;border:4px solid white;box-shadow:0 1px 5px #1114;border-radius:50%;margin-top:-8px}
.f846-budget-simulator input[type=range]::-moz-range-track{height:7px;border-radius:99px;background:var(--f846-rule)}
.f846-budget-simulator input[type=range]::-moz-range-progress{height:7px;border-radius:99px;background:#1877f2}
.f846-budget-simulator input[type=range]::-moz-range-thumb{width:18px;height:18px;background:#1877f2;border:3px solid white;border-radius:50%}
.f846-slider-scale span{font-size:10px;color:var(--f846-sub)}
.f846-slider-scale span:nth-child(2){opacity:.8}
.f846-duration-explain{margin:4px 0 13px;color:var(--f846-sub);font-size:12px;line-height:1.5}
.ad19-page .ad19-days input{font-weight:700;font-size:17px}
.f846-simulator-subtitle{font-size:11.5px;color:var(--f846-sub);margin:0 0 11px}
.f846-reach-track{overflow:hidden;position:relative;height:11px;margin:0 0 6px;border-radius:99px;background:var(--f846-rule)}
.f846-reach-fill{height:100%;width:0;border-radius:99px;background:linear-gradient(90deg,#2e88f8,#71b6ff);transition:width .18s ease}
.f846-reach-caption{margin:0 0 11px;font-size:10px;color:var(--f846-sub)}
.ad19-page .ad19-budget-cap{padding:16px;background:color-mix(in srgb,#1877f2 7%,var(--f846-surface));border:1px solid color-mix(in srgb,#1877f2 16%,var(--f846-rule));margin:12px 0}
.ad19-page .ad19-budget-cap>strong{font-size:clamp(24px,3vw,30px)}
.ad19-page .ad19-estimate-grid>div{padding:14px;background:var(--f846-tint);border:1px solid var(--f846-rule)}
.ad19-page .ad19-estimate-grid strong{font-size:clamp(14px,2vw,20px);font-variant-numeric:tabular-nums;transition:opacity .12s ease}
/* Modern switch appearance, preserving real checkbox semantics and required consent. */
.ad17-page .f844-option{display:flex;gap:13px;align-items:flex-start;padding:14px;border:1px solid var(--f846-rule);border-radius:12px;background:var(--f846-surface);cursor:pointer}
.ad17-page .f844-option>input[type=checkbox]{appearance:none!important;-webkit-appearance:none!important;flex:0 0 44px!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:25px!important;min-height:25px!important;position:relative;display:block;opacity:1!important;pointer-events:auto!important;border-radius:999px;border:1px solid var(--f846-rule)!important;background:var(--f846-rule)!important;box-shadow:none!important;transition:background .2s,border-color .2s;cursor:pointer}
.ad17-page .f844-option>input[type=checkbox]:before{content:"";position:absolute;top:2px;left:2px;width:19px;height:19px;background:white;border-radius:50%;box-shadow:0 1px 4px #0002;transition:transform .2s}
.ad17-page .f844-option>input[type=checkbox]:checked{background:#1877f2!important;border-color:#1877f2!important}
.ad17-page .f844-option>input[type=checkbox]:checked:before{transform:translateX(19px)}
.ad17-page .f844-option>input[type=checkbox]:focus-visible{outline:3px solid #87b9ff;outline-offset:2px}
.ad17-page .f844-option span{min-width:0;flex:1}
.ad17-page .f844-option strong{font-size:13px}
.ad17-page .f844-option small{font-size:11px;line-height:1.5;color:var(--f846-sub)}
.ad17-page .ad20-review-column .f844-option{max-width:100%}
/* Theme: stay exactly on the existing site dark body color, only small contrast change in cards. */
html[data-theme=dark] .ad17-page{--ad17-bg:#181a1f;--ad17-card:#202228;--ad17-soft:#252830;--ad17-soft2:#282e39;--ad17-border:#2e323a;--ad17-muted:#abb4c2;--f846-tint:#252830;--f846-rule:#31353d}
html[data-theme=dark] .ad17-page .ad17-header-light{background:#181a1f!important}
html[data-theme=dark] .ad17-page .ad17-panel{background:#202228}
html[data-theme=dark] .ad17-page .ad18-preview-card,html[data-theme=dark] .ad17-page .ad20-render{background:#202228}
html[data-theme=dark] .ad17-page .f846-ad-mark{background:#233751;color:#aed0ff}
html[data-theme=dark] .ad17-page .f844-option{background:#202228;color:#f0f2f5}
html[data-theme=dark] .ad17-page .f844-option small{color:#abb4c2}
html[data-theme=dark] .ad17-page .ad19-budget-cap{background:#242f40}
html[data-theme=dark] .ad17-page .ad19-budget-cap :is(small,span){color:#bdcbe0}
html[data-theme=dark] .ad17-page .ad19-budget-cap>strong{color:#91c2ff}
html[data-theme=dark] .ad17-page .ad18-progress-step.complete b{background:#25354b;color:#bdd9ff;border-color:#355b87}
html[data-theme=dark] .ad17-page .ad18-preview-cta-btn,html[data-theme=dark] .ad17-page .ad20-cta{background:#252830;color:#f5f7fa;border-color:#31353d}
/* Fit cards to mobile without horizontal overflow or giant video; 7 steps still a single row. */
@media(max-width:1000px){.ad18-page .ad18-editor-grid,.ad20-page .ad20-review-layout,.ad20-page .ad20-preview-layout,.ad19-page .ad19-layout{grid-template-columns:1fr!important}.ad18-page .ad18-live-preview,.ad19-page .ad19-summary{position:static;top:auto;width:100%;max-width:650px;margin:0 auto 14px!important}}
@media(max-width:760px){
 .ad17-page .ad17-main{padding:15px 11px 126px}
 .ad17-page .ad18-progress{margin:15px auto 0!important}
 .ad17-page .ad18-progress:before{top:15px}
 .ad17-page .ad18-progress-step b,.ad20-page .ad18-progress-step b{width:30px!important;height:30px!important;min-width:30px!important;font-size:11px!important}
 .ad17-page .ad18-progress-step small,.ad20-page .ad18-progress-step small{font-size:9px!important}
 .ad18-page .ad18-section,.ad19-page .ad19-card,.ad20-page .ad20-card{padding:14px!important}
 .ad18-page .ad18-live-preview{padding:13px}
 .ad18-page .ad18-staged-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ad18-page .ad18-preview-media :is(img,video){max-height:450px}
 .ad18-page .f844-preview-toolbar,.ad20-page .f844-preview-toolbar{gap:6px!important;padding:6px 7px!important;min-height:44px}
 .ad18-page .f844-preview-toolbar button,.ad20-page .f844-preview-toolbar button{width:29px!important;height:29px!important;flex-basis:29px!important;min-width:29px!important;padding:6px!important}
 .ad18-page .f844-preview-toolbar .f844-current,.ad20-page .f844-preview-toolbar .f844-current{font-size:10px!important}
 .ad18-page .f844-preview-toolbar .f844-duration,.ad20-page .f844-preview-toolbar .f844-duration{font-size:10px!important}
 .ad20-page .ad20-preview-wrap{padding:10px}
 .ad18-page .ad18-preview-reel,.ad20-page .ad20-reel{max-height:560px}
 .ad17-page .ad18-sticky-actions{padding:10px 12px calc(10px + env(safe-area-inset-bottom))}
 .ad17-page .ad18-sticky-actions .ad17-btn{font-size:12px!important;min-height:46px;padding:8px 12px}
}
@media(max-width:380px){.ad17-page .ad18-progress-step b,.ad20-page .ad18-progress-step b{width:28px!important;height:28px!important;min-width:28px!important}.ad17-page .ad18-progress-step small,.ad20-page .ad18-progress-step small{font-size:8px!important}.ad18-page .ad18-staged-grid{gap:7px}.ad18-page .f844-preview-toolbar{gap:4px!important}}
@media(prefers-reduced-motion:reduce){.ad17-page .ad18-progress-step.current b{animation:none!important}.ad17-page :is(.f846-reach-fill,.f844-option>input[type=checkbox],.f844-option>input[type=checkbox]:before){transition:none!important}}

.f846-audience-visual{display:flex;gap:11px;align-items:center;margin:12px 0 14px;background:var(--f846-tint);border-radius:12px;padding:13px;border:1px solid var(--f846-rule)}
.f846-audience-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:50%;color:#1877f2;background:color-mix(in srgb,#1877f2 12%,var(--f846-surface))}
.f846-audience-icon .social-icon{width:24px;height:24px}
.f846-audience-visual>div{min-width:0;display:grid;gap:3px}
.f846-audience-visual strong{font-size:12px;line-height:1.3}
.f846-audience-visual small{font-size:10px;color:var(--f846-sub);line-height:1.4}
.f846-view-preview{display:inline-flex;gap:6px;align-items:center;color:#1877f2!important;font-size:11px;font-weight:750;text-decoration:none}
.f846-view-preview .social-icon{width:15px;height:15px}
.ad20-page .ad20-reel-stage>.f846-preview-actions{position:absolute;bottom:10px;left:12px;right:12px;width:calc(100% - 24px);z-index:6;--f846-actions:5}
.ad20-page .ad20-reel-stage>.ad20-reel-footer{bottom:61px}
.ad18-page .f846-reel-demo .ad18-reel-overlay{padding-bottom:10px}
.ad18-page .ad18-reel-fill:has(video){cursor:pointer}
.ad18-page .ad18-reel-fill video::-webkit-media-controls{display:none!important}
.ad18-page .ad18-reel-fill .f846-preview-gesture{display:grid;position:absolute;z-index:7;left:50%;top:40%;transform:translate(-50%,-50%);height:46px;width:46px;border:0;border-radius:50%;background:rgba(0,0,0,.56);color:#fff;place-items:center;cursor:pointer;backdrop-filter:blur(5px)}
.ad18-page .ad18-reel-fill .f846-preview-gesture .social-icon{width:23px;height:23px}
.ad18-page .ad18-reel-fill .f846-preview-gesture[hidden]{display:none}
.ad18-page .ad18-reel-fill .f846-reel-sound{position:absolute;top:10px;right:10px;z-index:8;background:rgba(0,0,0,.53);border:0;border-radius:50%;height:33px;width:33px;color:white;display:grid;place-items:center}
.ad18-page .ad18-reel-fill .f846-reel-sound .social-icon{width:18px;height:18px}

.ad17-page .f846-preview-actions:has(>span:nth-child(6)){--f846-actions:6!important}


/* v1070: /assets/css/ads-native-v847.css */
/* Fans254 V8.47: marketplace-native promoted cards, compact campaign previews, inline wallet top-up */
.f847-native-listing{min-height:0!important;padding:0!important;margin:0!important;background:transparent!important;max-width:100%;width:100%;font-size:inherit}
.f847-native-listing:is(.mk-page,.ms-page,.mj-page,.mkr-page){background:transparent!important;min-height:0!important;padding-bottom:0!important}
.f847-native-listing :is(.mk-grid,.ms-grid,.mj-grid,.mkr-grid){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0;margin:0}
.f847-native-listing .mj-grid,.f847-native-listing .mkr-grid{grid-template-columns:minmax(0,1fr)}
.f847-native-listing :is(.mk-card,.ms-card,.mj-card,.mkr-card){min-width:0;margin:0;max-width:100%;height:auto}
.f847-native-listing .mk-card-photo img{height:auto;max-height:260px}
.f847-native-ad-badge{position:absolute;z-index:2;right:9px;top:9px;display:inline-flex;align-items:center;justify-content:center;min-width:28px;min-height:24px;padding:4px 8px;border:0;border-radius:7px;background:rgba(20,31,40,.83);color:#fff;font-size:11px;font-weight:750;line-height:1;letter-spacing:.01em}
.mk-card-photo .f847-native-ad-badge,.ms-cover .f847-native-ad-badge{left:auto;bottom:auto;right:9px;top:9px}
.mkr-photo{position:relative}.mkr-photo .f847-native-ad-badge{left:auto!important;bottom:auto!important}
.mj-card-top .f847-native-ad-badge{position:static;flex:none;align-self:flex-start;min-width:28px}
.f847-native-listing .mkr-open{text-decoration:none;color:inherit;display:flex}
.ad20-preview-wrap .f847-native-listing{padding:12px!important}
.f830-full-preview-surface .f847-native-listing{max-width:430px;margin-inline:auto!important}
.f847-campaign-media{position:relative;overflow:hidden;isolation:isolate;text-decoration:none;display:flex;align-items:center;justify-content:center;background:var(--ad17-soft,#ecf2fa);border:1px solid var(--ad17-border,#e1e8f3);color:var(--ad-palette,#1769e8)}
.f847-campaign-media img,.f847-campaign-media video{display:block;width:100%;height:100%;min-height:100%;object-fit:cover;object-position:center}
.f847-campaign-media .f847-play-mark{position:absolute;inset:0;display:grid;place-items:center;color:#fff;background:rgba(0,0,0,.12)}
.f847-campaign-media .f847-play-mark svg{width:21px;height:21px;filter:drop-shadow(0 1px 3px #000a)}
.ad17-campaign:has(.f847-campaign-media){align-items:start;column-gap:13px;row-gap:9px}
.ad17-campaign .f847-campaign-media{width:82px;height:90px;flex:0 0 82px;border-radius:12px}
.ad17-campaign .ad17-campaign-copy h3 a{color:inherit;text-decoration:none}
.ad17-campaign .ad17-campaign-copy h3 a:hover{color:var(--ad17-primary,#1769e8)}
.ad17-campaign .ad17-campaign-buttons{align-items:center;gap:7px}
.ad17-campaign .ad17-campaign-buttons .ad17-mini{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:5px;line-height:1.25;text-decoration:none}
.ad17-campaign .ad17-campaign-buttons .ad17-mini svg{width:15px;height:15px}
.f847-wallet-status-bar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:12px 0 0;border:1px solid var(--ad17-border,#e3e9f1);border-radius:13px;background:var(--ad17-surface,#fff);padding:9px 12px;font-size:12px}
.f847-wallet-status-bar b{font-size:13px;font-weight:800;margin-right:auto;font-variant-numeric:tabular-nums}
.f847-wallet-status-bar button,.f847-wallet-topup{cursor:pointer;border:1px solid #b9d2f2;border-radius:9px;padding:8px 11px;background:transparent;color:#1977df;font-weight:700;display:inline-flex;align-items:center;gap:7px}
.f847-wallet-status-bar button:hover,.f847-wallet-topup:hover{background:rgba(25,119,223,.07)}
.f847-wallet-topup{width:100%;justify-content:center;min-height:46px;font:inherit}
.f847-wallet-feedback{display:block;color:var(--ad17-muted,#697588);font-size:12px;line-height:1.5;margin-top:8px}
.f847-recurring-disclosure{font-size:12px;line-height:1.5;padding:9px 14px;color:var(--ad17-muted,#697588);margin:12px 0 0}
[data-f847-duration-fields][hidden]{display:none!important}
html[data-theme=dark] .f847-native-ad-badge{background:#17212deb;color:#fff}
html[data-theme=dark] .f847-campaign-media{background:#273040;border-color:#3b4559;color:#90bbff}
html[data-theme=dark] .f847-wallet-status-bar{background:#242930;border-color:#363d49;color:#eaf0fc}
html[data-theme=dark] .f847-wallet-status-bar button,html[data-theme=dark] .f847-wallet-topup{color:#8ebcff;border-color:#3e526e}
@media(max-width:650px){.ad17-campaign .f847-campaign-media{width:76px;height:86px;flex-basis:76px}.ad17-campaign .ad17-campaign-numbers{padding-left:0;margin-left:89px;min-width:0;max-width:calc(100% - 89px)}.f847-native-listing .mk-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.f847-wallet-status-bar{font-size:11px}}
@media(min-width:760px){.f847-native-listing :is(.mk-grid,.ms-grid){grid-template-columns:repeat(3,minmax(0,1fr))}.f847-native-listing .mkr-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.f847-legacy-refill{display:flex;gap:9px;align-items:flex-start}.f847-legacy-refill input{margin-top:2px;accent-color:#1977df;width:18px;height:18px;flex:none}

.f847-native-inline{display:block;min-width:0;max-width:100%;height:auto;position:relative}.f847-native-inline :is(.mk-card,.ms-card,.mj-card,.mkr-card){width:100%;max-width:100%;height:auto}.f847-native-inline .mk-card-photo img{max-height:260px;height:auto}.mk-grid>.f847-native-inline,.mkr-grid>.f847-native-inline{min-width:0}.f847-native-inline .mkr-open{display:flex}

.f847-native-inline:is(.mk-page,.ms-page,.mj-page,.mkr-page){min-height:0!important;padding:0!important;margin:0!important;background:transparent!important;box-shadow:none!important}.f847-native-inline{width:100%;height:auto!important}.f847-native-inline .mk-card{width:100%}


/* v1070: /assets/css/ads-shared-preview-v848.css */
/* V8.48 — preview containers only; published feed/reel/marketplace styles are authoritative. */
.f848-preview-shell{width:100%;max-width:560px;margin-inline:auto;min-width:0;color:inherit}
.f848-preview-shell .social-post-list{display:block;width:100%;min-width:0;margin:0}
.f848-preview-shell .social-post{width:100%;max-width:100%;margin-inline:0}
.f848-preview-shell :is(a,button,[role=link],[role=button]){cursor:default}
.f848-preview-shell :is(a,button,[role=link],[role=button]):not([data-feed-mute]):not([data-feed-toggle]):not([data-feed-fullscreen]):not([data-reel-toggle]):not([data-reel-caption-more]):not([data-f254-gallery-dir]){pointer-events:none}
.f848-preview-shell .f848-media-empty{display:grid;place-items:center;min-height:180px;background:rgba(115,130,152,.09);color:var(--muted,#8591a0);font-size:13px}
.f848-preview-shell .f848-media-empty>span{padding:22px}
.f848-preview-shell .f830-ad-media{max-width:100%}
.f848-preview-shell .f830-ad-media img{max-width:100%}
.f848-preview-shell .f830-ad-carousel{overflow-x:auto;scroll-snap-type:x mandatory}
.f848-preview-shell .f830-ad-carousel>*{scroll-snap-align:start}
.f848-preview-reel{max-width:440px;margin-inline:auto}
.f848-preview-reel>.social-reel-panel{height:min(76svh,760px);min-height:480px;max-width:100%;overflow:hidden;border-radius:16px;scroll-snap-align:none}
.f848-preview-reel .social-reel-post{height:100%;min-height:0;width:100%}
.f848-preview-reel .social-reel-media{height:100%}
.f848-preview-reel .social-reel-media>img,.f848-preview-reel .social-reel-media>video{height:100%;width:100%}
.f848-preview-reel .f830-reel-identity,.f848-preview-reel .f830-reel-caption,.f848-preview-reel .f830-reel-cta{z-index:5}
.f848-preview-shell :is(.mk-grid,.ms-grid,.mkr-grid,.mj-grid){margin:0;max-width:100%}
.f848-preview-shell .f847-native-listing{width:100%}
.f848-preview-shell .f847-native-listing :is(.mk-card,.ms-card,.mkr-card,.mj-card){max-width:100%}
.ad18-live-preview .f848-preview-shell{max-width:540px}
.ad18-live-preview .f848-preview-reel{max-width:380px}
.ad18-live-preview .f848-preview-reel>.social-reel-panel{height:min(70svh,640px);min-height:430px}
.f848-preview-shell [data-ad18-preview-image]{min-width:0}
.f848-preview-shell [data-ad18-preview-image] video{max-width:100%}
.f848-preview-shell [data-ad18-preview-image].f830-ad-carousel img{height:auto}
html[data-theme=dark] .f848-preview-shell .f848-media-empty{background:rgba(255,255,255,.055);color:#afb5be}
@media(max-width:600px){.f848-preview-shell{width:100%}.f848-preview-reel>.social-reel-panel{height:min(75svh,650px);min-height:440px}.ad18-live-preview .f848-preview-reel>.social-reel-panel{height:550px;min-height:420px}}

.f848-preview-reel .f848-reel-empty{position:absolute;inset:0;display:grid;place-items:center;padding:22px;text-align:center;color:#b3becb;background:#121923}
.f848-preview-feed .f841-ad-sound-control{z-index:3}
.f848-preview-shell [data-ad18-preview-image].f830-ad-carousel{scrollbar-width:none}
.f848-preview-shell [data-ad18-preview-image].f830-ad-carousel::-webkit-scrollbar{display:none}

/* The same .social-shell styles as Home apply, but this is only one card, not a page. */
.f848-preview-shell.social-shell{min-height:0!important;padding:0!important;background:var(--social-surface)!important;display:block;overflow:hidden;isolation:isolate;border-radius:12px}
.f848-preview-shell.social-shell .social-post-list{min-height:0!important}
.f848-preview-shell.social-shell .social-post:not(.social-reel-post){box-shadow:none}
.f848-preview-shell.social-shell .f830-ad-carousel{scroll-snap-type:x mandatory}
.f848-preview-reel.social-shell{background:#12151c!important}
.f848-preview-reel .social-reel-panel{max-width:100%;width:100%}

.f848-admin-preview-tabs{display:flex;gap:8px;padding:10px 0 16px}
.f848-admin-preview-tabs button{border:1px solid var(--social-border,#d8e0ea);border-radius:9px;padding:9px 16px;background:transparent;color:inherit;font-weight:700;font-size:13px;cursor:pointer}
.f848-admin-preview-tabs button[aria-selected=true]{background:#1877f2;border-color:#1877f2;color:#fff}
.f848-admin-preview-surface{min-width:0}
.f848-admin-preview-surface .f848-preview-shell{margin:0 auto}
.f848-admin-preview-surface .f848-preview-reel{max-width:410px}

.f848-preview-reel{position:relative}
.f848-preview-reel .f848-reel-navigation{position:absolute;top:0;left:0;right:0;z-index:18;display:flex;align-items:center;justify-content:space-between;padding:12px 12px 0;background:transparent;pointer-events:none}
.f848-preview-reel .f848-reel-navigation .social-reel-header-sound{pointer-events:auto!important}
.f848-preview-reel .f848-reel-navigation .social-reels-back{display:grid;place-items:center}
.f848-preview-shell video{pointer-events:auto!important;cursor:pointer}
.f848-preview-shell [data-f848-admin-panel][hidden],.f848-preview-shell[hidden]{display:none!important}
/* Override viewport-only height on the original reel component when embedded in a preview. */
.f848-preview-reel.social-shell>.f830-ad-reel-panel>.f830-ad-reel-post,
.f848-preview-reel.social-shell>.social-reel-panel>.social-reel-post{height:100%!important;max-height:100%!important;min-height:0!important}
.f848-preview-reel.social-shell>.social-reel-panel{height:min(76svh,760px)!important;min-height:480px!important;max-height:760px;overflow:hidden!important}
.ad18-live-preview .f848-preview-reel.social-shell>.social-reel-panel{height:min(70svh,640px)!important;min-height:430px!important}
@media(max-width:600px){.f848-preview-reel.social-shell>.social-reel-panel{height:min(75svh,650px)!important;min-height:440px!important}}

/* The native video sound control is retained for cloning, hidden until a file is selected. */
.f848-preview-shell .f848-media-empty .f841-ad-sound-control{display:none!important}
/* The live reel is 100vw; embedded previews must size it to their card, not the browser window. */
.f848-preview-reel.social-shell>.social-reel-panel>.social-reel-post,
.f848-preview-reel.social-shell>.f830-ad-reel-panel>.f830-ad-reel-post{
 width:100%!important;max-width:100%!important;min-width:0!important;flex:0 0 100%!important;
}
.f848-preview-reel.social-shell .social-reel-media{width:100%!important;max-width:100%!important;min-width:0!important}
/* Reels have no sponsored-media seek bar; separate the original CTA and action row in the shorter embedded preview. */
.f848-preview-reel .f830-ad-reel-post>.social-post-actions{bottom:18px!important}


/* v1070: /assets/css/ads-experience-v849.css */
/* Fans254 V8.49 - ads experience only. Existing home/reel/listing renderers stay authoritative.
   Light and dark surfaces follow the current site's body palette. No payment or media hooks. */
.ad17-page{--f849-blue:#1976ed;--f849-cyan:#179cd8;--f849-purple:#7768d8;--f849-amber:#cb8827;--f849-radius:16px;--f849-edge:color-mix(in srgb,var(--ad17-text) 10%,transparent);--f849-glow:color-mix(in srgb,#1877f2 15%,transparent);font-feature-settings:'tnum';}
.ad17-page [hidden],.ad17-page .ad17-head-help[hidden]{display:none!important}
.ad17-page .ad17-main{max-width:1160px}
.ad17-page .ad17-panel{border-radius:var(--f849-radius)!important;background:var(--ad17-card);border:1px solid var(--f849-edge);box-shadow:none!important}
.ad17-page .ad17-eyebrow{color:#2679dc;font-weight:780;letter-spacing:.085em}
.ad17-page :is(.ad17-btn,.ad17-mini,.ad17-filter-tabs a,.ad19-stepper button,.ad17-status-row,.ad18-upload-area){transition:background .17s ease,border-color .17s ease,box-shadow .17s ease,transform .17s ease}
.ad17-page .ad17-btn:focus-visible,.ad17-page .ad17-mini:focus-visible,.ad17-page a:focus-visible,.ad17-page button:focus-visible{outline:2px solid #68aafa;outline-offset:2px}
.ad17-page :is(.ad17-primary,.ad18-pick-btn){background:#1877f2!important;color:#fff!important;border-color:transparent!important;border-radius:12px}
.ad17-page :is(.ad17-primary,.ad18-pick-btn) .social-icon{color:inherit!important}
/* Clean wallet header and actual creator previews, avoiding blank white cards on the dark navy hero. */
.ad17-page:not(.ad18-page):not(.ad19-page):not(.ad20-page)>.ad17-header{background:linear-gradient(110deg,#18263c 0%,#243f67 100%);color:#fff}
.ad17-header .ad17-head-inner{position:relative}
.ad17-page .ad17-brand-glyph.f849-brand{background:linear-gradient(145deg,#1db1ff,#1769ea);width:51px;height:51px;border-radius:14px;box-shadow:0 9px 24px #0c4f9a35}
.ad17-page .ad17-brand-glyph.f849-brand svg{width:27px!important;height:27px!important;max-height:27px!important}
.ad17-page .ad17-head-help[hidden]{visibility:hidden}
.ad17-page .f849-hero-gallery{display:flex;justify-content:flex-end;gap:8px;margin:14px 0 -3px;align-items:center;min-height:38px}
.ad17-page .f849-hero-tile{width:66px;height:68px;display:block;border-radius:11px;overflow:hidden;border:1px solid #ffffff28;background:#202b40}
.ad17-page .f849-hero-tile :is(img,video){display:block;width:100%;height:100%;object-fit:cover}
.ad17-page .f849-hero-glyph{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#ffffff18;color:#b7d9fe}
.ad17-page .f849-hero-glyph svg{width:19px;height:19px}
.ad17-page .f849-hero-illustration{font-size:12px;color:#c7d6eb}
.ad17-page .ad17-head-inner>.f847-wallet-status-bar{display:flex!important;align-items:center;gap:9px;margin:15px 0 0;background:rgba(255,255,255,.09)!important;border:1px solid rgba(255,255,255,.20)!important;color:#f8fbff!important;border-radius:13px;padding:10px 12px;min-height:60px}
.ad17-page .ad17-head-inner>.f847-wallet-status-bar b{color:#fff!important;font-size:17px!important;font-weight:820;line-height:1.4}
.ad17-page .ad17-head-inner>.f847-wallet-status-bar>span{font-size:11px;color:#cbdaf0}
.ad17-page .ad17-head-inner>.f847-wallet-status-bar button{margin-left:auto;color:#fff!important;background:#277ce6!important;border:1px solid #6ca9ec!important;white-space:nowrap;font-size:11px;border-radius:10px;padding:10px 13px;font-weight:760}
.ad17-page .ad17-head-inner>.f847-wallet-status-bar button:hover{background:#1669d6!important}
.ad17-page .ad17-header-light .f847-wallet-status-bar{background:var(--ad17-card)!important;border-color:var(--f849-edge)!important;color:var(--ad17-text)!important}
.ad17-page .ad17-header-light .f847-wallet-status-bar>span{color:var(--ad17-muted)!important}
.ad17-page .ad17-header-light .f847-wallet-status-bar b{color:var(--ad17-text)!important}
.ad17-page .ad17-header-light .f847-wallet-status-bar button{background:var(--ad17-soft)!important;color:#1976de!important;border-color:var(--f849-edge)!important}
/* Dashboard: compact clear statistics, purpose-colored original SVGs and properly differentiated status entries. */
.ad17-page .f849-kpis{gap:11px}
.ad17-page .f849-stat{position:relative;gap:10px;border-radius:16px;padding:17px;overflow:hidden;min-height:135px;justify-content:center}
.ad17-page .f849-stat:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--f849-accent,#1976ed)}
.ad17-page .f849-stat:nth-child(1){--f849-accent:#7b72d8}
.ad17-page .f849-stat:nth-child(2){--f849-accent:#217ce0}
.ad17-page .f849-stat:nth-child(3){--f849-accent:#dc9238}
.ad17-page .f849-stat:nth-child(4){--f849-accent:#198fa8}
.ad17-page .f849-stat .ad17-stat-label{font-size:12px;font-weight:720;color:var(--ad17-muted)}
.ad17-page .f849-stat .ad17-stat-label>.social-icon{width:27px!important;height:27px!important;max-height:27px!important;padding:5px;border-radius:8px;background:color-mix(in srgb,var(--f849-accent) 12%,var(--ad17-card));color:var(--f849-accent);stroke-width:2.2}
.ad17-page .f849-stat strong{font-size:clamp(21px,2.7vw,27px);color:var(--ad17-text);line-height:1.2}
.ad17-page .f849-stat small{font-size:11px}
.ad17-page .f849-overview{padding:20px!important}
.ad17-page .f849-live-meta{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--ad17-muted);white-space:nowrap}
.ad17-page .f849-live-meta i{height:7px;width:7px;background:#2386e8;border-radius:50%;box-shadow:0 0 0 3px #1977f220;animation:f849-breathe 2s ease-in-out infinite}
.ad17-page .f849-status-grid{gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}
.ad17-page .f849-status-grid .ad17-status-row{border:1px solid var(--f849-edge);background:var(--ad17-card);border-radius:12px;min-height:62px;padding:10px 12px}
.ad17-page .f849-status-grid .ad17-status-row:hover,.ad17-page .f849-status-grid .ad17-status-row.selected{background:var(--ad17-soft2);border-color:color-mix(in srgb,var(--f849-blue) 35%,var(--f849-edge))}
.ad17-page .f849-status-grid .ad17-status-icon{width:39px;height:39px;flex:0 0 39px;border-radius:11px}
.ad17-page .f849-status-grid .ad17-status-icon svg{width:21px!important;height:21px!important;stroke-width:2.15}
.ad17-page .f849-status-grid .ad17-status-label{font-size:12px}
.ad17-page .f849-status-grid .ad17-status-row strong{font-size:16px}
.ad17-page .ad17-campaigns{border-radius:16px}
.ad17-page .ad17-campaign-buttons .ad17-mini{border-radius:9px;background:var(--ad17-soft);font-weight:730}
.ad17-page .ad17-filter-tabs a{padding:9px 14px}
/* Milestone tracker: native shared markup; connected progress, crisp ticks and active scale. */
.ad17-page .f849-progress{padding:3px 0 9px;max-width:850px!important;gap:0!important}
.ad17-page .f849-progress:before{height:3px!important;border-radius:10px;background:var(--f849-edge)!important;top:20px!important}
.ad17-page .f849-progress:after{content:"";position:absolute;z-index:-1;top:20px;left:7%;height:3px;width:calc(var(--f849-step-completion) * .86);border-radius:6px;background:#1877f2;transition:width .3s ease}
.ad17-page .f849-progress .ad18-progress-step{gap:8px!important;color:var(--ad17-muted)}
.ad17-page .f849-progress .ad18-progress-step b{height:40px!important;width:40px!important;min-width:40px!important;border:2px solid var(--f849-edge)!important;background:var(--ad17-card)!important;color:var(--ad17-muted)!important;font-weight:800;font-size:12px!important;border-radius:50%;display:grid;place-items:center;box-shadow:none!important}
.ad17-page .f849-progress .ad18-progress-step.complete b{border-color:#8cbcff!important;background:#e6f2ff!important;color:#1874de!important}
.ad17-page .f849-progress .ad18-progress-step.complete b .social-icon{width:20px!important;height:20px!important;max-height:20px!important;stroke-width:2.7}
.ad17-page .f849-progress .ad18-progress-step.current b{border-color:#1777f2!important;color:#fff!important;background:linear-gradient(145deg,#2999ff,#1267d8)!important;transform:scale(1.08);box-shadow:0 0 0 4px rgba(24,119,242,.12)!important;animation:f849-step-in .3s ease both}
.ad17-page .f849-progress .ad18-progress-step.current small{color:#1777ed;font-weight:800}
.ad17-page .f849-progress .ad18-progress-step small{font-size:11px!important;font-weight:650!important}
.ad17-page .f849-progress .f849-step-current{font-style:normal}
/* Editor budget is the most prominent control. */
.ad19-page .ad19-main{max-width:1160px!important}
.ad19-page .ad19-layout{grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr);gap:17px}
.ad19-page .ad19-card,.ad19-page .ad19-summary-card{padding:21px!important;border-radius:16px!important}
.ad19-page .ad19-card-head{gap:12px;margin-bottom:19px}
.ad19-page .ad19-card-head h2{font-size:18px;margin-top:4px}
.ad19-page .ad19-card-head p{font-size:12px;line-height:1.6}
.ad19-page .ad19-icon{width:44px;height:44px;min-width:44px;border-radius:13px;background:#e6f1ff;color:#116cdb}
.ad19-page .ad19-icon.f849-icon-calendar{background:#f0ebff;color:#6956bf}
.ad19-page .ad19-icon.f849-icon-info{background:#e8f7ff;color:#167fab}
.ad19-page .ad19-icon svg{width:24px!important;height:24px!important;max-height:24px!important;stroke-width:2.15}
.ad19-page .ad19-label{font-size:12px;font-weight:760}
.ad19-page .ad19-budget-input{height:76px!important;min-height:76px!important;background:var(--ad17-card);padding:0 12px 0 17px;border:1.5px solid color-mix(in srgb,#1877f2 37%,var(--f849-edge));border-radius:14px}
.ad19-page .ad19-budget-input>span{font-size:14px;font-weight:810;color:#1769d7}
.ad19-page .ad19-budget-input>input{font-size:31px!important;line-height:1.2;letter-spacing:-.04em;font-weight:860!important;color:var(--ad17-text)!important}
.ad19-page .ad19-stepper button{width:41px;height:41px;border-radius:12px;background:var(--ad17-soft)!important;color:var(--ad17-text)!important;font-size:24px;line-height:1}
.ad19-page .f846-budget-simulator{background:var(--ad17-soft)!important;border:1px solid var(--f849-edge)!important;border-radius:14px;margin:15px 0 8px;padding:15px!important}
.ad19-page .f846-slider-heading{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:15px}
.ad19-page .f846-slider-heading label{color:var(--ad17-text);font-size:12px;font-weight:760}
.ad19-page .f846-slider-heading output{font-size:14px;font-weight:820;color:#1877f2}
.ad19-page input[type=range][data-f846-budget-slider]{display:block;width:100%;height:23px;appearance:none;-webkit-appearance:none;outline:none;background:transparent;cursor:pointer;touch-action:pan-y}
.ad19-page input[type=range][data-f846-budget-slider]::-webkit-slider-runnable-track{height:6px;border-radius:10px;background:linear-gradient(90deg,#1877f2 var(--f846-progress,0%),color-mix(in srgb,var(--ad17-text) 10%,var(--ad17-card)) var(--f846-progress,0%))}
.ad19-page input[type=range][data-f846-budget-slider]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;height:23px;width:23px;margin-top:-9px;background:#1877f2;border:4px solid #fff;border-radius:50%;box-shadow:0 1px 7px #1269d066}
.ad19-page input[type=range][data-f846-budget-slider]::-moz-range-track{height:6px;border-radius:10px;background:var(--f849-edge)}
.ad19-page input[type=range][data-f846-budget-slider]::-moz-range-progress{height:6px;border-radius:10px;background:#1877f2}
.ad19-page input[type=range][data-f846-budget-slider]::-moz-range-thumb{height:17px;width:17px;background:#1877f2;border:4px solid #fff;border-radius:50%}
.ad19-page .f846-slider-scale{font-size:10px;line-height:1.4;color:var(--ad17-muted);display:flex;justify-content:space-between;gap:8px;margin-top:10px}
.ad19-page .ad19-budget-presets{gap:7px}
.ad19-page .ad19-budget-presets button{border-radius:10px;padding:9px 12px}
.ad19-page .ad19-budget-presets button.is-active{background:#e7f0ff;color:#146dde}
.ad19-page .ad19-days input{font-size:21px!important;font-weight:760;background:var(--ad17-card)!important;height:61px}
.ad19-page .f844-option{align-items:center;gap:13px;padding:15px!important;border-radius:13px!important;background:var(--ad17-soft)!important}
.ad19-page .f844-option strong{display:block;margin-bottom:5px;font-size:13px}
.ad19-page .f844-option small{display:block;font-size:11px}
.ad19-page .ad19-billing-info>div{padding:12px;border:1px solid var(--f849-edge);background:var(--ad17-soft);border-radius:11px}
/* Live estimator: readable values and meaningful comparison, never empty placeholders once scripted. */
.ad19-page .ad19-budget-summary{background:var(--ad17-card)}
.ad19-page .ad19-budget-summary>h2{font-size:19px}
.ad19-page .ad19-budget-summary>.f846-simulator-subtitle{background:transparent;color:var(--ad17-muted);padding:0;margin:8px 0 0;font-size:11.5px}
.ad19-page .ad19-budget-cap{display:flex;align-items:flex-start;padding:18px!important;gap:6px!important;margin:15px 0 16px;background:color-mix(in srgb,#1977f2 8%,var(--ad17-card))!important;border:1px solid color-mix(in srgb,#1977f2 22%,var(--f849-edge))!important;border-radius:15px}
.ad19-page .ad19-budget-cap .f849-estimate-mark{display:grid;place-items:center;height:34px;width:34px;border-radius:10px;background:#d3e6ff;color:#1977f2;margin-bottom:2px}
.ad19-page .ad19-budget-cap .f849-estimate-mark svg{width:21px;height:21px}
.ad19-page .ad19-budget-cap>small{color:var(--ad17-muted);font-size:12px;font-weight:660}
.ad19-page .ad19-budget-cap>strong{font-size:clamp(31px,4vw,42px)!important;line-height:1.12;letter-spacing:-.05em;font-weight:860;color:#1974dc}
.ad19-page .ad19-budget-cap>span{font-size:12px;color:var(--ad17-text);font-weight:550}
.ad19-page .f846-reach-track{margin:12px 0 8px;height:10px;border-radius:14px;overflow:hidden;background:var(--ad17-soft)}
.ad19-page .f846-reach-fill{background:linear-gradient(90deg,#1877f2,#29a6e8);height:100%;min-width:0;transition:width .22s ease}
.ad19-page .f846-reach-caption{display:flex;justify-content:space-between;gap:10px;font-size:10px;margin:0 0 16px;color:var(--ad17-muted)}
.ad19-page .ad19-estimate-grid{gap:10px}
.ad19-page .ad19-estimate-grid>div{display:grid;gap:8px;padding:14px 12px;border-radius:13px;background:var(--ad17-soft)!important;border:1px solid var(--f849-edge)!important}
.ad19-page .ad19-estimate-grid strong{font-size:clamp(15px,1.7vw,19px);overflow-wrap:anywhere;color:var(--ad17-text);font-variant-numeric:tabular-nums}
.ad19-page .ad19-estimate-grid span{font-size:11px;color:var(--ad17-muted)}
.ad19-page .ad19-estimate-grid .f849-estimate-icon{width:33px;height:33px;border-radius:10px;display:grid;place-items:center;color:#1574e5;background:#e1efff}
.ad19-page .ad19-estimate-grid .f849-estimate-icon.f849-click{color:#a66a15;background:#fff0d9}
.ad19-page .ad19-estimate-grid .f849-estimate-icon svg{width:19px;height:19px;max-height:19px}
.ad19-page .ad19-simulation-note{border-radius:12px;background:transparent!important;border-top:1px solid var(--f849-edge);padding:14px 0 4px!important;color:var(--ad17-muted);margin-top:17px!important}
.ad19-page .ad19-summary-card dl{margin-top:10px}
/* Files waiting for upload are compact rows, not fake oversized video players. */
.ad18-page .ad18-upload-area{min-height:140px!important;border:1.4px dashed color-mix(in srgb,#1877f2 38%,var(--f849-edge))!important;background:var(--ad17-soft);border-radius:14px;padding:15px!important}
.ad18-page .ad18-upload-icon{border-radius:13px;background:#e3f0ff;color:#1877f2}
.ad18-page .ad18-upload-area .ad18-pick-btn{min-height:40px}
.ad18-page .ad18-pending{padding:13px;border:1px solid var(--f849-edge);border-radius:14px;background:var(--ad17-card);box-shadow:none}
.ad18-page .ad18-staged-grid{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
.ad18-page .ad18-staged-item.f849-staged-item{display:grid;grid-template-columns:80px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;min-height:90px;padding:7px 9px;background:var(--ad17-soft);border:1px solid var(--f849-edge);border-radius:11px}
.ad18-page .ad18-staged-item .ad18-staged-thumb{height:76px!important;width:80px!important;max-height:76px!important;border-radius:9px;background:#121820;overflow:hidden;position:relative}
.ad18-page .ad18-staged-item .ad18-staged-thumb :is(img,video){width:100%;height:100%;max-height:100%;object-fit:contain;pointer-events:none;display:block}
.ad18-page .ad18-staged-item .ad18-staged-thumb:has(video):after{content:'▶';display:grid;place-items:center;position:absolute;right:5px;bottom:5px;width:21px;height:21px;border-radius:7px;color:#fff;background:#0008;font-size:10px}
.ad18-page .ad18-staged-item .f849-file-details{display:grid;min-width:0;gap:4px;align-content:center}
.ad18-page .ad18-staged-item .f849-file-details strong{font-size:12px;line-height:1.3;font-weight:730;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ad18-page .ad18-staged-item .f849-file-details small{padding:0;color:var(--ad17-muted);font-size:10px}
.ad18-page .ad18-staged-item .ad18-staged-actions{display:flex;flex-direction:column;align-items:stretch;gap:5px}
.ad18-page .ad18-staged-item .ad18-staged-actions button{width:auto;min-height:30px;white-space:nowrap;padding:5px 10px;border:1px solid var(--f849-edge);border-radius:9px;color:var(--ad17-text);background:var(--ad17-card);font-size:11px;font-weight:650}
.ad18-page .ad18-pending-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}
.ad18-page .ad18-pending-actions>.ad17-btn{min-height:40px;flex:1;max-width:200px}
.ad18-page .ad18-uploaded-list .ad18-uploaded-row{padding:10px 0}
.ad18-page .ad18-uploaded-thumb{height:55px!important;width:55px!important;flex-basis:55px!important}
.ad18-page .ad18-uploaded-thumb :is(img,video){object-fit:contain}
/* Change the palette only for the advertising chrome, not original content previews. */
html[data-theme=dark] .ad17-page{--f849-edge:#343944;--ad17-bg:#181a1f;--ad17-card:#202329;--ad17-soft:#272b33;--ad17-soft2:#293242;--ad17-text:#f1f4fa;--ad17-muted:#aeb9ca}
html[data-theme=dark] .ad17-page .ad17-panel{background:#202329!important;border-color:var(--f849-edge)}
html[data-theme=dark] .ad17-page .ad17-eyebrow{color:#84baff}
html[data-theme=dark] .ad17-page .ad19-icon,html[data-theme=dark] .ad17-page .ad18-upload-icon{background:#2a3951;color:#a3caff}
html[data-theme=dark] .ad17-page .ad19-icon.f849-icon-calendar{background:#343044;color:#c4b3ff}
html[data-theme=dark] .ad17-page .ad19-icon.f849-icon-info{background:#273849;color:#98caff}
html[data-theme=dark] .ad17-page .f849-stat .ad17-stat-label svg{background:color-mix(in srgb,var(--f849-accent) 15%,#202329)}
html[data-theme=dark] .ad17-page .f849-status-grid .ad17-status-row{background:#262a31;border-color:#343944}
html[data-theme=dark] .ad17-page .f849-status-grid .ad17-status-row.selected{background:#26364d}
html[data-theme=dark] .ad17-page .f849-progress .ad18-progress-step b{background:#22262e!important;color:#b3bed0!important;border-color:#485160!important}
html[data-theme=dark] .ad17-page .f849-progress .ad18-progress-step.complete b{background:#263b56!important;border-color:#3777bb!important;color:#a9d1ff!important}
html[data-theme=dark] .ad17-page .f849-progress .ad18-progress-step.current b{background:linear-gradient(145deg,#2e95ff,#1767d5)!important;border-color:#2788ff!important;color:#fff!important}
html[data-theme=dark] .ad17-page .ad19-budget-input{background:#24272e}
html[data-theme=dark] .ad17-page .ad19-budget-input>span,html[data-theme=dark] .ad17-page .f846-slider-heading output{color:#9ecaff}
html[data-theme=dark] .ad17-page .ad19-budget-cap{background:#233149!important;border-color:#375577!important}
html[data-theme=dark] .ad17-page .ad19-budget-cap>strong{color:#a4ceff}
html[data-theme=dark] .ad17-page .ad19-budget-cap .f849-estimate-mark{background:#304b6a;color:#b5daff}
html[data-theme=dark] .ad17-page .ad19-estimate-grid .f849-estimate-icon{background:#293d55;color:#a1caff}
html[data-theme=dark] .ad17-page .ad19-estimate-grid .f849-estimate-icon.f849-click{background:#413724;color:#ffce82}
html[data-theme=dark] .ad17-page .f844-option{background:#272b33!important;border-color:#343944!important}
html[data-theme=dark] .ad17-page .ad19-budget-presets button.is-active{background:#273e5e;color:#b8d6ff}
html[data-theme=dark] .ad17-page .ad19-card .ad19-hint{color:#b6c1d0}
@media(min-width:900px){.ad17-page .f849-hero-gallery{position:absolute;top:0;right:0;margin-top:0}.ad17-page .ad17-header:has(.f849-hero-gallery) .ad17-title-row{padding-right:220px}}
@media(max-width:1000px){.ad19-page .ad19-layout{grid-template-columns:1fr!important}}
@media(max-width:760px){
 .ad17-page .ad17-header{padding:19px 13px 21px}
 .ad17-page .f849-progress .ad18-progress-step b{width:34px!important;height:34px!important;min-width:34px!important;font-size:11px!important}
 .ad17-page .f849-progress:before,.ad17-page .f849-progress:after{top:17px!important}
 .ad17-page .f849-progress .ad18-progress-step small{font-size:9px!important;letter-spacing:-.025em}
 .ad17-page .ad17-main{padding:15px 12px 119px}
 .ad17-page .f849-stat{padding:14px;min-height:114px;border-radius:13px}
 .ad17-page .f849-stat strong{font-size:22px}
 .ad17-page .f849-status-grid{grid-template-columns:1fr}
 .ad17-page .f849-overview{padding:15px!important}
 .ad17-page .f849-hero-gallery{margin:11px 0 -5px;min-height:0}
 .ad17-page .f849-hero-tile{width:48px;height:48px;border-radius:9px}
 .ad19-page .ad19-card,.ad19-page .ad19-summary-card{padding:15px!important}
 .ad19-page .ad19-budget-input>input{font-size:29px!important}
 .ad19-page .ad19-estimate-grid strong{font-size:17px}
 .ad19-page .ad19-card-head h2{font-size:17px}
 .ad18-page .ad18-staged-item.f849-staged-item{grid-template-columns:67px minmax(0,1fr) auto;gap:7px;padding:7px}
 .ad18-page .ad18-staged-item .ad18-staged-thumb{width:67px!important;height:65px!important;max-height:65px!important}
 .ad18-page .ad18-staged-item .ad18-staged-actions button{padding:5px 7px;font-size:10px}
}
@media(max-width:370px){.ad17-page .f849-progress .ad18-progress-step b{width:30px!important;min-width:30px!important;height:30px!important}.ad17-page .f849-progress:before,.ad17-page .f849-progress:after{top:15px!important}.ad17-page .ad17-head-inner>.f847-wallet-status-bar{flex-wrap:wrap}.ad17-page .f849-stat{padding:11px}.ad17-page .f849-stat strong{font-size:20px}}
@keyframes f849-breathe{50%{box-shadow:0 0 0 5px #1977f214}}
@keyframes f849-step-in{from{transform:scale(.85);opacity:.65}to{transform:scale(1.08);opacity:1}}
@media(prefers-reduced-motion:reduce){.ad17-page .f849-progress .ad18-progress-step.current b,.ad17-page .f849-live-meta i{animation:none!important}}
/* Shared two-tone icon treatment for the seven-step editor, without modifying global site icons. */
.ad17-page .ad17-icon-btn{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:12px;color:var(--ad17-text);background:var(--ad17-card);border:1px solid var(--f849-edge);box-shadow:none}
.ad17-page .ad17-icon-btn svg{width:21px!important;height:21px!important;stroke-width:2.4}
.ad17-page .ad17-section-heading .ad17-eyebrow{color:#2879dc}
.ad17-page :is(.ad17-source-glyph,.ad17-panel-mark,.ad18-upload-icon,.ad18-type-icon){border-radius:12px;background:color-mix(in srgb,#1979ee 12%,var(--ad17-card));color:#1979ee}
.ad17-page :is(.ad17-source-glyph,.ad17-panel-mark,.ad18-upload-icon,.ad18-type-icon)>svg{stroke-width:2.2}
.ad17-page :is(.ad19-icon,.ad17-source-glyph,.ad18-type-icon,.ad17-panel-mark){box-shadow:none}
.ad17-page .ad18-sticky-actions{border:0;border-top:1px solid var(--f849-edge);border-radius:0;background:var(--ad17-card);box-shadow:0 -4px 18px #080e1812}
.ad17-page .ad18-sticky-actions .ad17-primary .social-icon{width:20px!important;height:20px!important;stroke-width:2.3}
.ad17-page .ad19-budget-presets button:focus-visible,.ad17-page .ad18-preview-tabs button:focus-visible{outline:2px solid #1877f2;outline-offset:2px}
.ad17-page .ad18-preview-tabs button{border-radius:9px}
.ad17-page .ad18-preview-tabs button.active{background:linear-gradient(120deg,#1977ec,#238aff);color:#fff}
.ad17-page .ad19-page .ad19-estimate-grid strong{line-height:1.3}
html[data-theme=dark] .ad17-page .ad17-status-icon.ad17-running,
html[data-theme=dark] .ad17-page .ad17-status-icon.ad17-completed{background:#293e60;color:#a6ceff}
html[data-theme=dark] .ad17-page .ad17-status-icon.ad17-paused{background:#343944;color:#c2c9d5}
html[data-theme=dark] .ad17-page .ad17-status-icon.ad17-pending{background:#443927;color:#ffd38c}
html[data-theme=dark] .ad17-page .ad17-status-icon.ad17-rejected{background:#482d3a;color:#ffb2c1}
html[data-theme=dark] .ad17-page :is(.ad17-source-glyph,.ad17-panel-mark,.ad18-upload-icon,.ad18-type-icon){background:#2b3e5a;color:#9dc8ff}


/* v1070: /assets/css/profile-interests-v828.css */
/* Fans254 V8.28 — compact, accessible Edit Profile interests. Public profile has no interest chips. */
.f254-pe-modal .f823-edit-interests{min-width:0;width:100%;padding:12px 0 10px;margin:3px 0 0;border-top:1px solid var(--pe-border);background:transparent;overflow:visible}
.f254-pe-modal .f823-edit-interests>strong{display:block;font-size:13px;line-height:1.4;color:var(--pe-text);font-weight:800}
.f254-pe-modal .f823-edit-interests>p{margin:4px 0 12px;color:var(--pe-muted);font-size:11px;line-height:1.5}
.f254-pe-modal .f828-pick{display:block;width:100%;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent!important;box-shadow:none;color:var(--pe-text)}
.f254-pe-modal .f828-pick-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 11px;min-width:0}
.f254-pe-modal .f828-pick-summary{display:flex;flex-direction:column;gap:2px;line-height:1.35}
.f254-pe-modal .f828-pick-summary>strong{color:var(--pe-text);font-size:12px;font-weight:800}
.f254-pe-modal .f828-pick-summary>small{color:var(--pe-muted);font-size:10px;font-weight:550}
.f254-pe-modal .f828-add{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:34px;padding:7px 12px;border:1px solid var(--pe-primary)!important;border-radius:9px;background:transparent!important;color:var(--pe-primary)!important;font-size:11px;font-weight:790;cursor:pointer;transition:background .16s,color .16s}
.f254-pe-modal .f828-add:hover{background:color-mix(in srgb,var(--pe-primary) 10%,transparent)!important}
.f254-pe-modal :is(.f828-selected-grid,.f828-available-grid){display:flex;flex-wrap:wrap;align-items:flex-start;gap:7px;max-width:100%;min-width:0;margin:0;padding:0;overflow:visible}
.f254-pe-modal .f828-chip{position:relative!important;display:inline-flex!important;align-items:center;width:auto!important;min-width:0!important;max-width:100%;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;cursor:pointer}
/* Fix: the profile editor's generic input rule was expanding visually-hidden checkboxes
   to 100% width / 40px height and making all interest pills overflow other fields. */
.f254-pe-modal .f828-chip>input[type=checkbox]{position:absolute!important;inset:auto!important;left:0!important;top:0!important;display:block!important;width:1px!important;min-width:1px!important;max-width:1px!important;height:1px!important;min-height:0!important;max-height:1px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;opacity:0!important;overflow:hidden!important;clip-path:inset(50%);pointer-events:none}
.f254-pe-modal .f828-chip>span{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;max-width:100%;width:auto;min-height:31px;padding:7px 11px;border:1px solid var(--pe-border);border-radius:999px;background:transparent!important;color:var(--pe-text)!important;font-size:11px;line-height:1.25;font-weight:670;white-space:normal;overflow-wrap:anywhere;box-shadow:none;transition:background .16s,border-color .16s,color .16s}
.f254-pe-modal .f828-chip:has(input:checked)>span{background:var(--pe-primary)!important;border-color:var(--pe-primary)!important;color:#fff!important}
.f254-pe-modal .f828-chip>input:focus-visible+span{outline:2px solid var(--pe-primary);outline-offset:3px}
.f254-pe-modal .f828-chip .f828-remove{color:#fff;font-size:13px;font-weight:700;line-height:1;opacity:.85}
.f254-pe-modal .f828-chip .f828-plus{color:var(--pe-primary);font-size:13px;font-weight:700;line-height:1}
.f254-pe-modal .f828-empty{font-size:11px;color:var(--pe-muted);padding:8px 0;margin:0}
.f254-pe-modal .f828-more-selected,.f254-pe-modal .f828-load-more{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 2px;background:transparent!important;border:0!important;color:var(--pe-primary)!important;font-size:11px;font-weight:780;cursor:pointer}
.f254-pe-modal .f828-more-selected{margin-top:5px}
.f254-pe-modal .f828-validation{margin:6px 0 0;font-size:10px;color:#da5766;line-height:1.4}
.f254-pe-modal .f828-choices-panel{width:100%;min-width:0;margin-top:12px;padding:12px 0 0;border-top:1px solid var(--pe-border);background:transparent!important;overflow:hidden}
.f254-pe-modal .f828-search{display:flex!important;align-items:center;gap:10px;width:100%;min-height:39px;margin:0 0 12px;padding:0 11px;border:1px solid var(--pe-border);border-radius:10px;background:var(--pe-bg)!important;color:var(--pe-muted);overflow:hidden}
.f254-pe-modal .f828-search>span{flex:none;font-size:18px;line-height:1}
.f254-pe-modal .f828-search>input[type=search]{display:block!important;flex:1;min-width:0!important;width:100%!important;height:37px!important;min-height:37px!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:var(--pe-text)!important;font-weight:500;font-size:12px}
.f254-pe-modal .f828-search:focus-within{border-color:var(--pe-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--pe-primary) 12%,transparent)}
.f254-pe-modal .f828-no-results{margin:4px 0;color:var(--pe-muted);font-size:11px}
.f254-pe-modal .f828-load-more{width:100%;min-height:39px;margin:12px 0 0;border:1px solid var(--pe-border)!important;border-radius:9px;background:var(--pe-bg)!important}
.f254-pe-modal .f828-pick [hidden],.f254-pe-modal .f828-pick label[hidden]{display:none!important}
@media(min-width:720px){.f254-pe-modal .f828-selected-grid,.f254-pe-modal .f828-available-grid{gap:8px}.f254-pe-modal .f828-chip>span{font-size:11.5px;min-height:33px;padding:8px 12px}}
@media(max-width:420px){.f254-pe-modal .f828-pick-header{gap:7px}.f254-pe-modal .f828-chip>span{font-size:10.5px;min-height:30px;padding:7px 10px}.f254-pe-modal .f828-add{font-size:10.5px;min-height:33px;padding:7px 10px}.f254-pe-modal .f828-search{min-height:40px}}
@media(prefers-reduced-motion:reduce){.f254-pe-modal .f828-pick *{transition:none!important}}


/* v1070: /assets/css/reels-navigation-v843.css */
/* V8.43 - Reels fill the actual visible viewport as Chrome's toolbar changes.
   Avoid svh letterboxing when arriving through a Feed fullscreen link. */
.social-shell:has(.social-reel-watch),
.social-shell:has(.social-reel-watch) .social-layout,
.social-shell:has(.social-reel-watch) .social-column {min-height:100dvh!important;}
.social-reel-watch{height:100dvh!important;max-height:100dvh!important;}
.social-reel-watch .social-reel-scroller{height:100dvh!important;}
.social-reel-watch .social-reel-panel{height:100dvh!important;}
.social-reel-watch .social-reel-post,
.social-reel-watch .f830-ad-reel-post{height:100dvh!important;max-height:100dvh!important;}
/* Fit video according to its native aspect ratio (the is-cover class is assigned
   by the shared metadata fitting routine). Do not force all Reels to cover. */
/* Compact organic playback transport at the very bottom. No duplicate speaker. */
.f843-reel-transport{position:fixed;bottom:max(7px,env(safe-area-inset-bottom,0px));
  left:50%;transform:translateX(-50%);width:min(calc(100% - 28px),492px);
  display:flex;align-items:center;gap:9px;z-index:40;padding:4px 8px;
  min-height:29px;border-radius:10px;background:rgba(10,15,24,.30);
  backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);color:#fff;
  font-size:11px;font-weight:650;box-sizing:border-box;}
.f843-reel-transport[hidden]{display:none!important;}
.f843-reel-transport button{border:0;background:transparent;color:#fff;
  width:26px;height:27px;padding:4px;flex:0 0 26px;display:grid;place-items:center;cursor:pointer;}
.f843-reel-transport button .social-icon{width:17px;height:17px;}
.f843-reel-transport.is-paused .f843-when-playing,
.f843-reel-transport:not(.is-paused) .f843-when-paused{display:none;}
.f843-reel-transport time{flex:0 0 auto;min-width:32px;text-align:center;font-variant-numeric:tabular-nums;}
.f843-reel-transport input[type=range]{flex:1 1 0;min-width:35px;height:16px;
  margin:0;accent-color:#7ab5ff;cursor:pointer;}
.f843-reel-transport button:focus-visible,.f843-reel-transport input:focus-visible{outline:2px solid #9bd0ff;outline-offset:2px;}
/* V1355: the existing V1347 flex stack supplies dynamic transport clearance. */
@media(max-width:390px){.f843-reel-transport{width:calc(100% - 22px);gap:5px;padding:3px 6px;}}
@media(prefers-reduced-motion:reduce){.f843-reel-transport{transition:none!important;}}

/* The former 2px stream-position indicator must not look like a second video seek bar. */
.social-reel-watch>.social-reel-progress{display:none!important;}


/* v1070: /assets/css/reels-fit-actions-v845.css */
/* Fans254 V8.45: restore original media-fit rules and responsive Reel controls.
   Scope to Reel watch and discovery; never force feed/player/live camera fit. */
.social-reel-watch .social-reel-post .social-reel-media video[data-reel-video],
.social-reels-grid .social-reel-thumbnail video[data-fit-media] {
  object-fit:contain!important;
}
.social-reel-watch .social-reel-post .social-reel-media video[data-reel-video].is-cover,
.social-reels-grid .social-reel-thumbnail video[data-fit-media].is-cover {
  object-fit:cover!important;
}
/* The video element paints the poster as well: its poster and frames share fit. */
.social-reel-watch [data-reel-controls] {
  transition:opacity .18s ease,visibility .18s ease,transform .18s ease;
  will-change:opacity;
}
.social-reel-watch.f845-transport-hidden [data-reel-controls] {
  opacity:0!important;visibility:hidden!important;
  pointer-events:none!important;transform:translate(-50%,9px)!important;
}
.social-reel-watch.f845-transport-visible [data-reel-controls]:not([hidden]) {
  opacity:1!important;visibility:visible!important;pointer-events:auto!important;
}
/* V1355: obsolete individual Reel bottom offsets removed; the V1347 stack controls clearance. */
/* Single time label at the right; the second, left-side timer was removed. */
.social-shell .f843-reel-transport{gap:9px!important;}
.social-shell .f843-reel-transport [data-reel-duration]{min-width:35px!important;}
/* Every visible native Reel action takes an equal share of the entire row.
   display:contents flattens the existing left/right wrappers while retaining
   their DOM nodes, event listeners and current action behavior. This adapts
   automatically when Tips/Share or any other optional action is absent. */
.social-shell .social-reel-watch .social-reel-post > .social-post-actions,
.social-shell .social-reel-watch .social-reel-post.f830-ad-reel-post > .social-post-actions.f830-ad-actions.f842-ad-actions {
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  grid-template-columns:none!important;gap:0!important;
  width:auto!important;min-width:0!important;
}
.social-shell .social-reel-watch .social-reel-post > .social-post-actions > .social-post-actions-left,
.social-shell .social-reel-watch .social-reel-post > .social-post-actions > .social-actions-right {
  display:contents!important;
}
.social-shell .social-reel-watch .social-reel-post > .social-post-actions .social-post-tool {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:1 1 0!important;width:0!important;min-width:0!important;
  max-width:none!important;margin:0!important;padding:7px 2px!important;
  gap:3px!important;box-sizing:border-box!important;
}
.social-shell .social-reel-watch .social-reel-post > .social-post-actions .social-post-tool .social-icon {
  width:22px!important;height:22px!important;min-width:22px!important;
  flex:0 0 22px!important;
}
.social-shell .social-reel-watch .social-reel-post > .social-post-actions .social-action-count {
  flex:0 0 auto;max-width:32px;overflow:hidden;text-overflow:ellipsis;
}
/* Reels Share is now inside the normal or sponsored three-dots menu.
   Feed and live-feed (non-Reel) Share stays unchanged. */
@media (max-width:390px) {
  .social-shell .social-reel-watch .social-reel-post > .social-post-actions {padding:6px 5px!important;}
  .social-shell .social-reel-watch .social-reel-post > .social-post-actions .social-post-tool{padding-left:1px!important;padding-right:1px!important;}
}
@media (prefers-reduced-motion:reduce){
  .social-reel-watch [data-reel-controls]{transition:none!important;}
  .social-shell .social-reel-watch .social-reel-post > .social-post-top,
  .social-shell .social-reel-watch .social-reel-post > .social-post-actions,
  .social-shell .social-reel-watch .social-reel-post > .f254-reel-caption-wrap{transition:none!important;}
}
/* V1355: obsolete per-piece bottom transition removed; parent stack animates clearance. */


/* v1070: /assets/css/ads-preview-native-v850.css */
/* V8.50: The ONLY purpose of this stylesheet is to embed the existing delivered
   Feed and Reel advertisement components in a smaller private preview.
   No rules here apply to the live Home feed, Reels, wallet, or marketplace. */

/* Media editor, Preview step and administrator preview share a real Reel surface,
   not a separate drawing. The screen is the native 9:16 frame, so it never
   ends with an artificial footer strip. */
.f848-preview-reel.f848-preview-shell.social-shell {
  width:100%;max-width:420px;min-width:0;margin-inline:auto;
  background:#101319!important;border-radius:16px!important;
  position:relative;overflow:hidden;isolation:isolate;
}
.ad18-live-preview .f848-preview-reel.f848-preview-shell.social-shell{max-width:390px}
.f848-preview-reel.f848-preview-shell.social-shell > .social-reel-panel {
  display:block;position:relative;width:100%;height:auto!important;
  aspect-ratio:9 / 16;min-height:0!important;max-height:none!important;
  overflow:hidden!important;border-radius:16px!important;
}
.f848-preview-reel.f848-preview-shell.social-shell > .social-reel-panel > .social-reel-post {
  display:block;position:absolute!important;inset:0;width:100%!important;height:100%!important;
  min-height:0!important;max-height:none!important;overflow:hidden!important;
  border-radius:inherit;
}
.f848-preview-reel.f848-preview-shell.social-shell .social-reel-post > .social-reel-media {
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  min-height:0!important;max-height:none!important;margin:0!important;
  overflow:hidden!important;background:#101319;
}
.f848-preview-reel.f848-preview-shell.social-shell .social-reel-media > :is(video,img){
  position:absolute!important;inset:0!important;display:block!important;
  width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
  object-position:center center;object-fit:contain!important;margin:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;
}
.f848-preview-reel.f848-preview-shell.social-shell .social-reel-media > video.is-cover,
.f848-preview-reel.f848-preview-shell.social-shell .social-reel-media > img.f830-reel-photo{object-fit:cover!important}
.f848-preview-reel.f848-preview-shell.social-shell .social-reel-post > .social-post-top.f830-reel-identity {
  position:absolute!important;left:13px!important;right:13px!important;top:auto!important;
  bottom:204px!important;min-height:45px!important;max-height:58px!important;
  padding:0!important;margin:0!important;display:flex!important;
  align-items:center!important;gap:9px!important;z-index:12!important;
}
.f848-preview-reel.f848-preview-shell.social-shell .social-reel-post > .f830-reel-caption {
  position:absolute!important;left:13px!important;right:13px!important;
  bottom:132px!important;top:auto!important;min-width:0!important;
  max-width:calc(100% - 26px)!important;max-height:61px!important;
  border-radius:11px!important;padding:8px 10px!important;margin:0!important;
  background:rgba(7,11,17,.43)!important;z-index:12!important;
}
.f848-preview-reel.f848-preview-shell.social-shell .social-reel-post > .f830-reel-cta,
.f848-preview-reel.f848-preview-shell.social-shell .social-reel-post > .f837-reel-website {
  position:absolute!important;left:13px!important;right:auto!important;
  top:auto!important;bottom:77px!important;min-height:40px!important;height:auto!important;
  max-width:calc(100% - 26px)!important;width:max-content!important;
  padding:9px 15px!important;margin:0!important;z-index:13!important;
  white-space:nowrap!important;box-sizing:border-box!important;
  box-shadow:none!important;border-radius:10px!important;
}
.f848-preview-reel.f848-preview-shell.social-shell .social-reel-post > .f830-ad-actions.f842-ad-actions {
  position:absolute!important;top:auto!important;left:13px!important;right:13px!important;
  bottom:13px!important;height:54px!important;min-height:54px!important;
  max-width:calc(100% - 26px)!important;width:auto!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:0!important;padding:5px 8px!important;margin:0!important;
  border:0!important;border-radius:13px!important;background:rgba(10,15,23,.42)!important;
  color:#fff!important;box-sizing:border-box!important;z-index:11!important;
  backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);
}
.f848-preview-reel.f848-preview-shell.social-shell .social-reel-post > .f830-ad-actions.f842-ad-actions > :is(.social-post-actions-left,.social-actions-right){display:contents!important}
.f848-preview-reel.f848-preview-shell.social-shell .social-reel-post > .f830-ad-actions.f842-ad-actions .social-post-tool{
  flex:1 1 0!important;max-width:none!important;min-width:0!important;width:0!important;
  min-height:44px!important;display:inline-flex!important;justify-content:center!important;
  align-items:center!important;padding:6px 2px!important;margin:0!important;
}
.f848-preview-reel.f848-preview-shell.social-shell .social-reel-post > .f830-ad-actions.f842-ad-actions .social-post-tool svg{width:22px!important;height:22px!important;min-width:22px!important}
.f848-preview-reel.f848-preview-shell.social-shell .social-reel-post.f830-no-caption > .social-post-top.f830-reel-identity{bottom:137px!important}
.f848-preview-reel.f848-preview-shell.social-shell .social-reel-post.f830-no-cta > .social-post-top.f830-reel-identity{bottom:151px!important}
.f848-preview-reel.f848-preview-shell.social-shell .social-reel-post.f830-no-cta > .f830-reel-caption{bottom:77px!important}
.f848-preview-reel.f848-preview-shell.social-shell .f848-reel-navigation{
  position:absolute!important;inset:0 0 auto!important;height:64px;z-index:30!important;
  display:flex;align-items:flex-start;justify-content:space-between;padding:13px!important;
  background:none!important;pointer-events:none;
}
.f848-preview-reel.f848-preview-shell.social-shell .f848-reel-navigation .social-reels-back,
.f848-preview-reel.f848-preview-shell.social-shell .f848-reel-navigation .social-reel-header-sound{
  width:40px!important;height:40px!important;border-radius:50%!important;
  flex:0 0 40px;display:grid;place-items:center;box-shadow:none!important;
  background:rgba(10,14,21,.54)!important;color:#fff!important;
  border:1px solid rgba(255,255,255,.10)!important;
}
.f848-preview-reel .f848-reel-navigation .social-reels-back{pointer-events:none!important}
.f848-preview-reel .f848-reel-navigation .social-reel-header-sound{pointer-events:auto!important;cursor:pointer!important}
/* Prevent the production Reel from inheriting unrelated page-wide overlays in
   the editor. Its actual header, caption, CTA and action SVGs remain identical. */
.f848-preview-reel.f848-preview-shell.social-shell .f830-reel-identity .social-verified{flex-shrink:0}
.f848-preview-reel.f848-preview-shell.social-shell .f830-reel-caption .social-post-text{overflow:hidden!important}
.f848-preview-reel.f848-preview-shell.social-shell .f830-ad-reel-post .f830-reel-author{min-width:0!important}
.f848-preview-reel.f848-preview-shell.social-shell .social-post-more-wrap{pointer-events:none!important}
/* A draft with no media is an honest compact upload prompt, not a tall mock
   reel consisting of empty skeleton space and non-functional action buttons. */
.ad18-live-preview .f848-preview-reel.f850-no-media > .social-reel-panel {
  height:220px!important;min-height:220px!important;aspect-ratio:auto!important;
}
.ad18-live-preview .f848-preview-reel.f850-no-media .f830-ad-reel-post > :is(.f830-reel-identity,.f830-reel-caption,.f830-reel-cta,.f830-ad-actions),
.ad18-live-preview .f848-preview-reel.f850-no-media .f848-reel-navigation{display:none!important}
.f848-preview-reel .f850-reel-empty{position:absolute;inset:0;display:flex;flex-direction:column;
  gap:10px;align-items:center;justify-content:center;text-align:center;
  background:linear-gradient(150deg,#18202f,#0e131d);color:#edf3fb;padding:22px;z-index:5}
.f848-preview-reel .f850-reel-placeholder-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;
  background:#1877f225;color:#80bdff}
.f848-preview-reel .f850-reel-placeholder-icon svg{width:24px;height:24px}
.f848-preview-reel .f850-reel-empty strong{font-size:15px;font-weight:760}
.f848-preview-reel .f850-reel-empty small{font-size:12px;line-height:1.5;color:#adbcd0;max-width:220px}
/* Feed previews reproduce the delivered sponsored card, minus organic video
   transport controls (live sponsored videos are sound-only). */
.f848-preview-feed [data-ad18-preview-image].social-post-video-player,
.f848-preview-feed [data-ad18-preview-image].f850-native-preview-video{position:relative;max-height:450px;overflow:hidden;background:#151a22;border-radius:12px}
.f848-preview-feed [data-ad18-preview-image].f850-native-preview-video > video,
.f848-preview-feed [data-ad18-preview-image] > video[data-f850-preview-video]{display:block;width:100%;max-width:100%;height:auto;max-height:450px;object-fit:contain;background:transparent}
.f848-preview-shell [data-f850-preview-video]::-webkit-media-controls,
.f848-preview-shell [data-f850-preview-video]::-webkit-media-controls-enclosure{display:none!important}
.f848-preview-feed .f850-preview-sound{position:absolute;right:12px;bottom:12px;z-index:7}
.f848-preview-feed .f850-preview-sound button{width:35px;height:35px;padding:7px;border-radius:50%;
  border:1px solid rgba(255,255,255,.14);background:rgba(12,17,24,.60);color:#fff;display:grid;place-items:center;cursor:pointer!important}
.f848-preview-feed .f850-preview-sound button .social-icon{width:19px;height:19px}
.f848-preview-feed .f850-preview-sound button .when-audible{display:none}
.f848-preview-feed .f850-preview-sound button:not(.is-muted) .when-audible{display:block}
.f848-preview-feed .f850-preview-sound button:not(.is-muted) .when-muted{display:none}
.f848-preview-feed .f848-media-empty .f850-preview-sound{display:none!important}
.f848-preview-shell .f850-preview-sound [data-f850-preview-mute]{pointer-events:auto!important}
.f848-preview-feed .f850-preview-sound button:focus-visible,
.f848-preview-reel .social-reel-header-sound:focus-visible{outline:2px solid #84bbff;outline-offset:2px}
/* All preview-media tiles remain aligned to their published action row. */
.f848-preview-shell .f830-sponsored > .social-post-actions{max-width:100%;box-sizing:border-box}
@media(max-width:420px){
 .f848-preview-reel.f848-preview-shell.social-shell .social-reel-post>.social-post-top.f830-reel-identity{bottom:198px!important}
 .f848-preview-reel.f848-preview-shell.social-shell .social-reel-post>.f830-reel-caption{bottom:127px!important}
 .f848-preview-reel.f848-preview-shell.social-shell .social-reel-post>.f830-reel-cta{bottom:74px!important}
 .f848-preview-reel.f848-preview-shell.social-shell .social-reel-post>.f830-ad-actions.f842-ad-actions{bottom:12px!important;height:51px!important;min-height:51px!important}
}
@media(prefers-reduced-motion:reduce){.f848-preview-shell *{transition:none!important;animation:none!important}}


/* v1070: /assets/css/ads-creation-clarity-v851.css */
/* V8.51 — only Ads Manager and ad-creation header/form presentation.
   No changes to published advertising, posts, delivery or payments. */
.ad17-page > .ad17-header.ad17-header-light,
.ad17-page > .ad17-header.ad17-header-light .ad17-title-row {
 color:var(--ad17-text)!important;
}
.ad17-page > .ad17-header.ad17-header-light .ad17-head-copy h1{
 color:var(--ad17-text)!important;
 opacity:1!important;
 -webkit-text-fill-color:currentColor!important;
 text-shadow:none!important;
}
.ad17-page > .ad17-header.ad17-header-light .ad17-head-copy p{
 color:var(--ad17-muted)!important;
}
.ad17-page > .ad17-header.ad17-header-light .ad17-eyebrow{
 color:#236ecb!important;
}
html[data-theme=dark] .ad17-page > .ad17-header.ad17-header-light .ad17-eyebrow {color:#86baff!important}
.ad17-page .f851-required-label{font-size:11px;font-weight:750;color:#bc3b4e;letter-spacing:0;margin-left:5px}
html[data-theme=dark] .ad17-page .f851-required-label{color:#ff96a9}
.ad17-page .ad18-fields input[name="headline"]:focus-visible{outline:2px solid #1877f2;outline-offset:2px}
.ad17-page .ad18-fields input[name="headline"][aria-invalid="true"]{border-color:#bd4258!important}
.ad17-page .f851-field-error{display:block;margin:4px 0 7px;font-size:12px;color:#ba3754}
.ad17-page .f851-description-hint{display:block;margin:6px 0 2px;color:var(--ad17-muted);font-size:11px;line-height:1.45}
@media(max-width:760px){.ad17-page > .ad17-header.ad17-header-light .ad17-head-copy h1{font-size:clamp(22px,5.1vw,28px)!important}}


/* v1070: /assets/css/ads-cta-keyboard-v852.css */
/* Fans254 V8.52: minimal, scoped CTA controls and mobile composer layout. */
.f852-contact-options{padding:15px;margin:12px 0 18px;border:1px solid var(--ad17-border,#dce4ef);border-radius:16px;background:var(--ad17-panel,#fff)}
.f852-contact-options[hidden],.f852-contact-options [hidden],[data-ad852-standard-url][hidden]{display:none!important}
.f852-contact-options h3{font-size:15px;font-weight:800;margin:0 0 3px;color:var(--ad17-text,var(--social-text,#15233b))}
.f852-contact-options>p{font-size:12px;color:var(--ad17-muted,var(--social-muted,#708099));margin:0 0 12px}
.f852-contact-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:11px}
.f852-contact-choices label{display:flex;align-items:center;gap:8px;min-height:47px;padding:10px;border-radius:12px;border:1px solid var(--ad17-border,#dce4ef);font-size:12px;font-weight:700;color:var(--ad17-text,var(--social-text,#15233b));background:var(--ad17-soft,#f5f7fb);cursor:pointer}
.f852-contact-choices label:has(input:checked){background:var(--ad17-soft2,#eaf3ff);border-color:var(--blue,#1877f2)}
.f852-contact-choices input{accent-color:var(--blue,#1877f2);width:16px;height:16px;flex:none}
.f852-contact-options .ad18-fields{margin-top:10px}
.f852-contact-options input[type=url],.f852-contact-options input[type=tel]{max-width:100%;min-height:46px}
.f852-contact-options small{display:block;font-size:11px;color:var(--ad17-muted,#728199);line-height:1.45}
html[data-theme=dark] .f852-contact-options{background:var(--ad17-panel,#23262d)}
/* Paid ad quote in the existing Messenger: contrast on outgoing blue bubbles. */
.f254-msg-bubble-row.mine .mk808-msg-in-bubble{background:#ffffff1f!important;color:#fff!important}
.f254-msg-bubble-row.mine .mk808-msg-in-bubble em{color:#e6f0ff!important}
.f254-msg-bubble-row.mine .mk808-msg-in-bubble small{color:#d6e6ff!important;opacity:1}
.f254-msg-composer-line textarea,.social-comment-form textarea{scroll-margin-bottom:12px}
@media(max-width:899px){
 html.f852-composing .f254-msg-root:not([hidden]){top:var(--f852-visible-top,0px)!important;bottom:auto!important;height:var(--f852-visible-height,100dvh)!important;max-height:var(--f852-visible-height,100dvh)!important}
 html.f852-composing .f254-msg-dialog{height:100%!important;max-height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important}
 html.f852-composing .f254-msg-body{min-height:0!important;flex:1 1 auto!important}
 html.f852-composing .f254-msg-chat{min-height:0!important}
 html.f852-composing .f254-msg-chat-active{min-height:0!important}
 html.f852-composing .f254-msg-history{min-height:0!important;flex:1 1 auto!important;overflow-y:auto!important}
 html.f852-composing .f254-msg-composer{flex:none!important;padding-bottom:max(8px,env(safe-area-inset-bottom))!important}
 html.f852-composing .f254-media-lightbox:not([hidden]){top:var(--f852-visible-top,0px)!important;bottom:auto!important;height:var(--f852-visible-height,100dvh)!important;max-height:var(--f852-visible-height,100dvh)!important}
 html.f852-composing .f254-media-lightbox .f254-lightbox-detail{max-height:calc(var(--f852-visible-height,100dvh) - 58px)!important;overscroll-behavior:contain!important}
 html.f852-composing .f254-media-lightbox .social-comments{scroll-margin-bottom:12px}
 html.f852-composing .social-shell .f776-story-viewer.social-modal:not([hidden]){position:fixed!important;top:var(--f852-visible-top,0px)!important;left:0!important;bottom:auto!important;transform:none!important;height:var(--f852-visible-height,100dvh)!important;max-height:var(--f852-visible-height,100dvh)!important}
 html.f852-composing .social-reel-post .social-comments{bottom:var(--f852-keyboard-gap,0px)!important;max-height:calc(var(--f852-visible-height,100dvh) - 60px)!important;height:min(65dvh,calc(var(--f852-visible-height,100dvh) - 60px))!important}
}
@media(max-width:500px){.f852-contact-choices{grid-template-columns:1fr}.f852-contact-choices label{min-height:40px}}


/* v1070: /assets/css/auth-onboarding-v853.css */
/* Fans254 V8.53 — guest-auth + onboarding refresh only.
   Uses the exact existing homepage F logo partial and app.css theme tokens.
   No changes to authentication, onboarding validation or payment routes. */

/* Site-default light and dark: avoid alternate auth palettes. */
.auth-layout--refresh {
  --auth-ground:var(--bg,#fff);
  --auth-ink:var(--ink,#142136);
  --auth-muted:var(--muted,#677487);
  --auth-stroke:var(--line,#e5eaf0);
  --auth-surface:var(--surface,#fff);
  --auth-field:var(--input,#f7f9fc);
  background:var(--auth-ground)!important;
  color:var(--auth-ink)!important;
}
.auth-layout--refresh .auth-content--refresh {
  background:var(--auth-ground)!important;
  color:var(--auth-ink)!important;
}
.auth-layout--refresh .auth-mode-switch,
.auth-layout--refresh .auth-back-button {display:none!important;}
.auth-layout--refresh .auth-visual--refresh,
.auth-layout--refresh .auth-hero-media,
.auth-layout--refresh .auth-mobile-visual {background:var(--auth-ground)!important;}
/* The underlying hero is not washed-out: fade is confined to its final edge. */
.auth-layout--refresh .auth-hero-image {
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 84%,rgba(0,0,0,.98) 88%,rgba(0,0,0,.68) 94%,transparent 100%)!important;
  mask-image:linear-gradient(to bottom,#000 0%,#000 84%,rgba(0,0,0,.98) 88%,rgba(0,0,0,.68) 94%,transparent 100%)!important;
}
.auth-layout--refresh .auth-hero-overlay,
html[data-theme="light"] .auth-layout--refresh .auth-hero-overlay {
  background:linear-gradient(180deg,rgba(6,13,25,.33) 0%,rgba(6,13,25,.04) 28%,transparent 58%)!important;
}
.auth-layout--refresh .auth-visual-topbar .brand-logo {display:inline-flex!important;justify-content:center;}
.auth-layout--refresh .auth-visual-topbar .brand-word {display:none!important;}
.auth-layout--refresh .brand-logo .brand-icon {width:64px;height:64px;max-height:none;filter:drop-shadow(0 5px 12px rgba(2,34,83,.23));}
.auth-layout--refresh .auth-visual-topbar {z-index:8;}
.auth-layout--refresh .auth-title,
html[data-theme="light"] .auth-layout--refresh .auth-title {
  text-align:center;color:var(--auth-ink)!important;
  font-size:clamp(28px,3.1vw,42px);font-weight:800;
  letter-spacing:-.046em;line-height:1.13;margin:0 0 11px;
}
.auth-layout--refresh .auth-title span {color:#1877f2;}
.auth-layout--refresh .auth-copy,
html[data-theme="light"] .auth-layout--refresh .auth-copy {
  color:var(--auth-muted)!important;text-align:center;
  max-width:440px;font-size:clamp(13px,1.15vw,15px);
  line-height:1.55;margin:0 auto 23px;
}
.auth-layout--refresh .auth-card--refresh {animation:f853-enter .38s cubic-bezier(.17,.73,.28,1) both;}
.auth-layout--refresh .auth-form-area--refresh {align-items:center;}
.auth-layout--refresh .auth-card--refresh,.auth-layout--refresh .auth-form-wrap {max-width:440px;}
.auth-layout--refresh .auth-welcome-note {display:none;}
.auth-layout--refresh .auth-footer {color:var(--auth-muted)!important;font-size:11px;margin-top:22px;}
.auth-layout--refresh .auth-terms {color:var(--auth-muted)!important;line-height:1.5;font-size:11px;margin-top:15px;}
.auth-layout--refresh .auth-switch-line {color:var(--auth-muted)!important;margin-top:17px;}
.auth-layout--refresh .auth-switch-line a {color:var(--blue,#1877f2);}
.auth-layout--refresh .auth-divider {color:var(--auth-muted);margin:15px 0;}
.auth-layout--refresh .auth-divider::before,
.auth-layout--refresh .auth-divider::after {background:var(--auth-stroke)!important;}
.auth-layout--refresh .auth-social-button,
html[data-theme="light"] .auth-layout--refresh .auth-social-button--email,
html[data-theme="light"] .auth-layout--refresh .auth-social-button--glass {
  min-height:46px;padding:11px 15px;border-radius:13px;
  font-size:14px;font-weight:740;
  border:1px solid var(--auth-stroke)!important;
  background:var(--auth-surface)!important;color:var(--auth-ink)!important;
  box-shadow:none!important;
}
.auth-layout--refresh .auth-social-button--google,
html[data-theme="light"] .auth-layout--refresh .auth-social-button--google {
  background:var(--auth-surface)!important;color:var(--auth-ink)!important;
  border:1px solid var(--auth-stroke)!important;box-shadow:none!important;
}
.auth-layout--refresh .auth-social-button svg {width:19px;height:19px;}
.auth-layout--refresh .auth-social-button .google-symbol {width:22px!important;height:22px!important;}
.auth-layout--refresh .button-primary.auth-submit-button,
.auth-layout--refresh .auth-primary-link {
  width:100%;min-height:48px;border:1px solid #1267df;border-radius:13px;
  padding:11px 16px;font-size:15px;font-weight:760;
  background:#1877f2;color:#fff;box-shadow:none;
}
.auth-layout--refresh .auth-primary-link svg{width:17px;height:17px;}
.auth-layout--refresh .button-primary.auth-submit-button:hover:not(:disabled) {background:#0969de;box-shadow:0 5px 16px #1877f21b;}
.auth-layout--refresh .field {margin-bottom:12px;}
.auth-layout--refresh .field .input-wrap,
html[data-theme="light"] .auth-layout--refresh .field .input-wrap {
  background:var(--auth-field)!important;
  min-height:48px;border:1px solid var(--auth-stroke)!important;
  padding:0 13px;border-radius:13px;box-shadow:none;
}
.auth-layout--refresh .field .input-wrap:focus-within {
  border-color:#1877f2!important;
  box-shadow:0 0 0 2px #1877f21c!important;
}
.auth-layout--refresh .field .input-wrap input,
html[data-theme="light"] .auth-layout--refresh .field .input-wrap input {
  font-size:14px;color:var(--auth-ink)!important;
}
.auth-layout--refresh .field .input-wrap input::placeholder {color:var(--auth-muted)!important;opacity:.86;}
.auth-layout--refresh .field .input-wrap svg {width:18px;height:18px;}
.auth-layout--refresh .forgot-line {margin-bottom:15px;}
.auth-layout--refresh .forgot-line a {color:var(--blue,#1877f2);font-size:12px;}
.auth-layout--refresh .auth-action-stack {gap:10px;}
.auth-layout--refresh .f254-signup-location-pair select {
  min-width:0;max-width:100%;border-radius:12px!important;
  background:var(--auth-field)!important;color:var(--auth-ink)!important;
  border:1px solid var(--auth-stroke)!important;
}
.auth-layout--refresh .auth-birth-label {font-size:12px;color:var(--auth-ink)!important;}
@keyframes f853-enter {from {opacity:0;transform:translateY(9px)} to {opacity:1;transform:translateY(0)}}

/* Mobile: exact homepage F mark in the center, no wordmark or extra theme switch. */
@media(max-width:699px){
  .auth-layout--refresh .auth-content--refresh {background:var(--auth-ground)!important;padding-bottom:max(17px,env(safe-area-inset-bottom));}
  .auth-layout--refresh .auth-mobile-visual {
    height:clamp(172px,26dvh,235px)!important;
    background:var(--auth-ground)!important;
  }
  .auth-layout--refresh.auth-layout--welcome .auth-mobile-visual {height:clamp(210px,32dvh,280px)!important;}
  .auth-layout--refresh.auth-layout--register .auth-mobile-visual {height:clamp(166px,23dvh,209px)!important;}
  .auth-layout--refresh.auth-layout--recover .auth-mobile-visual {height:clamp(170px,24dvh,225px)!important;}
  .auth-layout--refresh .auth-mobile-visual .auth-hero-image {
    object-position:50% 44%;
    -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 71%,rgba(0,0,0,.96) 78%,rgba(0,0,0,.55) 89%,transparent 100%)!important;
    mask-image:linear-gradient(to bottom,#000 0%,#000 71%,rgba(0,0,0,.96) 78%,rgba(0,0,0,.55) 89%,transparent 100%)!important;
  }
  .auth-layout--refresh .auth-mobile-visual .auth-visual-topbar {
    position:absolute;top:clamp(18px,4dvh,36px);left:50%;right:auto;
    width:max-content;transform:translateX(-50%);display:flex;justify-content:center;
  }
  .auth-layout--refresh .auth-mobile-visual .brand-icon {width:65px!important;height:65px!important;}
  .auth-layout--refresh .auth-form-area--refresh {padding:4px 18px 12px;margin-top:0;}
  .auth-layout--refresh .auth-title {font-size:clamp(27px,7vw,35px);text-align:center;margin:0 0 12px;}
  .auth-layout--refresh .auth-copy {font-size:13px;margin:0 auto 21px;}
  .auth-layout--refresh .auth-card--refresh.is-email .auth-title {margin-bottom:19px;}
  .auth-layout--refresh .auth-footer {margin:20px 12px 4px;}
  .auth-layout--refresh .auth-terms {margin-top:14px;}
  .auth-layout--refresh .auth-social-button {min-height:47px;font-size:14px;padding:10px 12px;}
  .auth-layout--refresh .auth-welcome-login {margin-top:9px;}
  .auth-layout--refresh .field .input-wrap {min-height:48px;}
  .auth-layout--refresh .button-primary.auth-submit-button {min-height:49px;}
}
@media(min-width:700px){
  .auth-layout--refresh .auth-visual-topbar {left:50%;transform:translateX(-50%);}
  .auth-layout--refresh .auth-hero-image {
    -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 78%,rgba(0,0,0,.75) 92%,transparent 100%)!important;
    mask-image:linear-gradient(90deg,#000 0%,#000 78%,rgba(0,0,0,.75) 92%,transparent 100%)!important;
  }
  .auth-layout--refresh .auth-visual--refresh::after {display:none!important;}
}

/* Onboarding — reuse the same site background and narrow, calm strokes. */
.f823-ob {background:var(--bg,#fff)!important;color:var(--ink,#142136)!important;
  padding:clamp(16px,3vw,35px) 14px 72px;}
.f823-frame {max-width:880px;padding:clamp(18px,3vw,35px);
  color:var(--ink,#142136);background:var(--surface,#fff)!important;
  border:1px solid var(--line,#e5eaf0)!important;border-radius:20px;
  box-shadow:0 8px 30px rgba(16,35,70,.035)!important;
  overflow:visible;animation:f853-enter .36s ease-out both;}
.f823-brand {display:flex;align-items:center;gap:10px;justify-content:space-between;
  font-size:inherit;letter-spacing:0;color:var(--ink,#142136)!important;}
.f823-brand>.f853-onboard-logo {display:flex;align-items:center;min-width:0;}
.f823-brand .brand-logo {display:inline-flex;align-items:center;gap:8px;
  font-size:clamp(17px,2.2vw,21px);font-weight:820;color:var(--ink,#142136);}
.f823-brand .brand-mark,.f823-brand .brand-icon{width:36px;height:36px;display:block;}
.f823-brand .brand-word {color:var(--ink,#142136)!important;}
.f823-brand>span {font-size:10px;letter-spacing:.09em;font-weight:750;color:var(--muted,#667487)!important;text-align:right;}
.f823-step {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:24px 0 28px;}
.f823-step>span {position:relative;min-height:45px;padding:12px 8px;
  display:grid;place-items:center;font-size:12px;font-weight:730;
  background:var(--input,#f6f8fb)!important;color:var(--muted,#68778c)!important;
  border:1px solid var(--line,#e4eaf0);border-radius:11px;}
.f823-step>span.is-current {background:#1877f2!important;color:#fff!important;border-color:#1877f2;
  box-shadow:0 3px 12px #1877f21e;}
.f823-step>span.is-done {background:var(--blue-soft,#e8f2ff)!important;color:var(--blue,#1877f2)!important;
  border-color:color-mix(in srgb,var(--blue,#1877f2) 21%,transparent);}
.f823-heading {text-align:center;max-width:690px;margin:0 auto 20px;}
.f823-kicker {font-size:11px;letter-spacing:.13em;color:var(--blue,#1877f2);}
.f823-heading h1 {font-size:clamp(26px,4vw,38px);letter-spacing:-.045em;line-height:1.12;margin:8px 0 11px;
  color:var(--ink,#142136)!important;font-weight:790;}
.f823-heading p,.f823-frame>p {max-width:630px;margin-left:auto;margin-right:auto;text-align:center;
  color:var(--muted,#68778c)!important;line-height:1.55;font-size:13px;}
.f823-frame form {gap:14px;margin-top:21px;}
.f823-frame form>label,.f823-two>label {font-size:12px;font-weight:720;color:var(--ink,#142136)!important;}
.f823-frame label small {color:var(--muted,#68778c)!important;}
.f823-frame input:not([type=file]):not([type=checkbox]),
.f823-frame select,.f823-frame textarea,
html[data-theme="dark"] .f823-frame input:not([type=file]):not([type=checkbox]),
html[data-theme="dark"] .f823-frame select,html[data-theme="dark"] .f823-frame textarea {
  min-height:44px;border-radius:12px;padding:10px 12px;
  font-size:13px;color:var(--ink,#142136)!important;
  border:1px solid var(--line,#e5eaf0)!important;background:var(--input,#f7f9fc)!important;
  box-shadow:none;}
.f823-frame input:focus,.f823-frame select:focus,.f823-frame textarea:focus {
  border-color:#1877f2!important;box-shadow:0 0 0 2px #1877f21a!important;}
.f823-photos {margin-bottom:47px;}
.f823-cover {height:155px;border-radius:16px;background:linear-gradient(120deg,#1458b5,#177cf0 65%,#65b5ff);}
.f823-cover>span.f853-cover-action {display:flex;align-items:center;gap:7px;line-height:1.1;padding:9px 11px;
  font-size:12px;border:1px solid #ffffff60;border-radius:11px;backdrop-filter:blur(6px);}
.f853-cover-action svg {width:16px;height:16px;flex:none;}
.f823-avatar {width:86px;height:86px;bottom:-35px;border-color:var(--surface,#fff);background:#1877f2;}
.f823-avatar>span svg {width:28px;height:28px;color:#fff;}
.f823-person,.f823-pick,.f823-password,
html[data-theme="dark"] .f823-person,html[data-theme="dark"] .f823-pick,
html[data-theme="dark"] .f823-password {
  background:var(--surface,#fff)!important;border:1px solid var(--line,#e4eaf0)!important;
  border-radius:14px;box-shadow:none;}
.f823-person {transition:transform .2s ease,border-color .2s ease;}
.f823-person:hover{transform:translateY(-1px);border-color:#1877f25e!important;}
.f823-person button {background:var(--blue-soft,#eaf2ff)!important;color:var(--blue,#1877f2)!important;
  border:1px solid #1877f24f;border-radius:11px;padding:8px 12px;}
.f823-person button.is-following{background:var(--input,#f4f6f9)!important;color:var(--muted)!important;border-color:var(--line)!important;}
.f823-person strong {color:var(--ink,#142136);}
.f823-person small,.f823-person em {color:var(--muted,#68778c);}
.f823-chip>span,html[data-theme="dark"] .f823-chip>span {
  background:var(--input,#f7f9fc)!important;color:var(--ink,#142136)!important;
  border:1px solid var(--line,#e5eaf0)!important;border-radius:12px;
  transition:transform .18s ease,background .18s ease,border-color .18s ease;}
.f823-chip:has(input:checked)>span,html[data-theme="dark"] .f823-chip:has(input:checked)>span {
  background:var(--blue-soft,#eaf3ff)!important;color:var(--blue,#1877f2)!important;
  border-color:#1877f288!important;}
.f823-chip:active>span {transform:scale(.98);}
.f823-primary {display:inline-flex;align-items:center;justify-content:center;gap:9px;
  background:#1877f2;border:1px solid #126ce6!important;border-radius:12px;
  min-height:46px;padding:11px 18px;font-size:13px;font-weight:770;box-shadow:none;
  transition:background .2s ease,transform .2s ease;}
.f823-primary:hover {background:#0969df;transform:translateY(-1px);}
.f823-primary svg {height:17px;width:17px;flex:none;}
.f823-back {display:inline-flex;align-items:center;min-height:42px;color:var(--blue,#1877f2);}
.f823-big-icon {background:var(--blue-soft,#eaf2ff);color:#1877f2;border-radius:16px;height:66px;width:66px;}
.f823-big-icon svg {width:29px;height:29px;}
.f823-muted {color:var(--muted,#68778c);}
.f823-verify {max-width:600px;}
.f823-verify h1 {color:var(--ink,#142136);}
html[data-theme="dark"] .f823-ob {background:var(--bg,#181a1f)!important;}
html[data-theme="dark"] .f823-frame {background:var(--surface,#22252c)!important;}
@media(min-width:700px){
  .f823-two {grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
  .f823-frame {margin-top:6px;}
}
@media(max-width:699px){
  .f823-ob {padding:7px 0 44px;}
  .f823-frame {padding:20px 17px 27px;border:0!important;border-radius:0;box-shadow:none!important;
    background:var(--bg,#fff)!important;}
  html[data-theme="dark"] .f823-frame{background:var(--bg,#181a1f)!important;}
  .f823-brand .brand-mark,.f823-brand .brand-icon {width:40px;height:40px;}
  .f823-brand .brand-word {font-size:19px;}
  .f823-step {margin:22px 0 26px;gap:8px;}
  .f823-step>span {font-size:11px;min-height:43px;padding:9px 3px;}
  .f823-heading h1 {font-size:28px;}
  .f823-heading p {font-size:13px;}
  .f823-frame .f823-two {grid-template-columns:1fr;gap:13px;}
  .f823-cover {height:145px;}
  .f823-people {grid-template-columns:1fr;}
  .f823-primary {width:100%;}
  .f823-actions {justify-content:stretch;gap:10px;}
  .f823-pick,.f823-password {background:var(--surface,#fff)!important;}
}
@media(prefers-reduced-motion:reduce){
  .auth-layout--refresh .auth-card--refresh,.f823-frame{animation:none!important;}
  .f823-primary,.f823-chip>span,.f823-person {transition:none!important;}
}


/* v1070: /assets/css/auth-onboarding-v854.css */
/* V8.54 — fix guest hero/logo, mobile balance, onboarding actions, organic repost spacing.
   Surgical overrides only: logo markup is still screens.partials.logo, exactly as home.
   Existing auth, follow and posting actions are not replaced. */

/* The actual Fans254 home-header SVG has a blue rounded-square gradient.  Show
   the whole existing <svg>, not the old guest-only white F glyph presentation. */
.auth-layout--refresh .auth-visual-topbar .brand-logo {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:max-content!important;margin:0!important;gap:0!important;
  transform:none!important;filter:none!important;
}
.auth-layout--refresh .auth-visual-topbar .brand-word {display:none!important;}
.auth-layout--refresh .auth-visual-topbar .brand-mark {
  display:block!important;flex:none!important;position:relative!important;
  width:100%!important;height:100%!important;line-height:0!important;
  background:none!important;border:0!important;box-shadow:none!important;
}
.auth-layout--refresh .auth-visual-topbar .brand-icon {
  display:block!important;width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;overflow:visible!important;
  opacity:1!important;filter:drop-shadow(0 9px 22px rgba(0,26,65,.24))!important;
}
.auth-layout--refresh .auth-visual-topbar .brand-icon rect {fill:url(#fans254-brand-blue)!important;opacity:1!important;}
.auth-layout--refresh .auth-visual-topbar .brand-icon path {visibility:visible!important;}

/* Large, single shared F symbol, responsive like established social login
   layouts while retaining Fans254's own mark and the supplied hero image. */
@media(min-width:1100px) {
  .auth-layout--refresh .auth-visual-topbar {
    top:34%;left:50%;right:auto;transform:translate(-50%,-50%);
  }
  .auth-layout--refresh .auth-visual-topbar .brand-logo {width:174px!important;height:174px!important;}
}
@media(min-width:700px) and (max-width:1099px) {
  .auth-layout--refresh .auth-visual-topbar {
    top:30%;left:50%;right:auto;transform:translate(-50%,-50%);
  }
  .auth-layout--refresh .auth-visual-topbar .brand-logo {width:119px!important;height:119px!important;}
}

/* Avoid a stranded footer or dead blank screen on short welcome/login steps.
   The hero is taller; the form flexes within the remaining viewport. */
@media(max-width:699px) {
  .auth-layout--refresh .auth-content--refresh {
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    justify-content:flex-start!important;min-height:100vh!important;min-height:100dvh!important;
    padding:0 0 max(14px,env(safe-area-inset-bottom))!important;
    background:var(--bg,#fff)!important;
  }
  .auth-layout--refresh .auth-mobile-visual {
    display:block!important;flex:0 0 auto!important;
    height:clamp(255px,36dvh,345px)!important;overflow:hidden!important;
  }
  .auth-layout--refresh.auth-layout--welcome .auth-mobile-visual,
  .auth-layout--refresh.auth-layout--login .auth-mobile-visual {
    height:clamp(275px,39dvh,385px)!important;
  }
  .auth-layout--refresh.auth-layout--register .auth-mobile-visual {
    height:clamp(260px,34dvh,336px)!important;
  }
  .auth-layout--refresh.auth-layout--recover .auth-mobile-visual {
    height:clamp(255px,34dvh,335px)!important;
  }
  .auth-layout--refresh .auth-mobile-visual .auth-visual-topbar {
    top:42%!important;left:50%!important;right:auto!important;
    transform:translate(-50%,-50%)!important;
    width:max-content!important;height:auto!important;
  }
  .auth-layout--refresh .auth-mobile-visual .auth-visual-topbar .brand-logo {
    width:92px!important;height:92px!important;
  }
  .auth-layout--refresh .auth-mobile-visual .auth-hero-image {
    object-position:50% 46%!important;
    -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 76%,rgba(0,0,0,.91) 86%,rgba(0,0,0,.36) 96%,transparent 100%)!important;
    mask-image:linear-gradient(to bottom,#000 0%,#000 76%,rgba(0,0,0,.91) 86%,rgba(0,0,0,.36) 96%,transparent 100%)!important;
  }
  .auth-layout--refresh .auth-mobile-visual .auth-hero-overlay,
  html[data-theme="light"] .auth-layout--refresh .auth-mobile-visual .auth-hero-overlay {
    background:linear-gradient(180deg,rgba(3,8,21,.20),transparent 45%)!important;
  }
  .auth-layout--refresh .auth-form-area--refresh {
    display:flex!important;flex:1 0 auto!important;min-height:0!important;
    align-items:center!important;justify-content:center!important;
    width:100%!important;margin:0!important;
    padding:clamp(12px,2.8vh,25px) 20px 12px!important;
  }
  .auth-layout--refresh.auth-layout--register .auth-form-area--refresh,
  .auth-layout--refresh.auth-layout--login:has(.is-email) .auth-form-area--refresh {
    flex:0 0 auto!important;align-items:flex-start!important;
  }
  .auth-layout--refresh .auth-card--refresh {
    width:min(100%,440px)!important;margin:0 auto!important;
  }
  .auth-layout--refresh .auth-footer {
    flex:0 0 auto!important;margin:0 auto!important;
    padding:12px 16px 4px!important;
    max-width:480px!important;line-height:1.45!important;
    color:var(--muted,#6b7585)!important;
  }
  .auth-layout--refresh .auth-title {font-size:clamp(26px,6.65vw,34px)!important;line-height:1.15!important;}
  .auth-layout--refresh .auth-copy {font-size:13px!important;margin-bottom:21px!important;}
}
@media(max-width:359px) {
  .auth-layout--refresh .auth-mobile-visual .auth-visual-topbar .brand-logo {width:78px!important;height:78px!important;}
  .auth-layout--refresh .auth-form-area--refresh {padding-inline:15px!important;}
}

/* Keep the onboarding wizard primary actions visible while the user scrolls a
   long interests list or suggestions page. Browser chrome + safe-area aware. */
@media(max-width:699px) {
  .f823-ob {padding:7px 0 calc(98px + env(safe-area-inset-bottom))!important;}
  /* A transformed animated ancestor would trap position:fixed inside the form. */
  .f823-frame {padding-bottom:24px!important;animation:none!important;transform:none!important;will-change:auto!important;}
  .f823-frame form>.f823-actions,
  .f823-frame form .f823-actions {
    position:fixed!important;z-index:70!important;
    left:0!important;right:0!important;bottom:0!important;
    display:grid!important;grid-template-columns:1fr!important;
    align-items:center!important;justify-content:stretch!important;
    gap:10px!important;margin:0!important;
    padding:10px max(14px,env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-right))!important;
    background:var(--bg,#fff)!important;
    border-top:1px solid var(--line,#e1e7f0)!important;
    box-shadow:0 -7px 19px rgba(10,26,47,.055)!important;
  }
  .f823-frame form .f823-actions.f854-has-back {
    grid-template-columns:minmax(92px,.36fr) minmax(0,1fr)!important;
  }
  .f823-frame .f823-actions .f823-primary {
    width:100%!important;min-width:0!important;min-height:48px!important;
    padding:10px 10px!important;border-radius:12px!important;
    font-size:clamp(11px,3.3vw,13px)!important;
    line-height:1.16!important;white-space:normal!important;
  }
  .f823-frame .f823-actions .f823-primary svg {height:16px!important;width:16px!important;flex:none!important;}
  .f823-frame .f823-actions .f823-back {
    display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;
    min-height:48px!important;width:100%!important;margin:0!important;
    border-radius:12px!important;border:1px solid var(--line,#dfe5ef)!important;
    background:var(--input,#f7f9fc)!important;color:var(--ink,#111827)!important;
    font-weight:750!important;font-size:13px!important;line-height:1!important;
  }
  .f823-frame .f823-actions .f823-back svg {width:17px;height:17px;flex:none;}
  .f823-frame .f823-actions [data-f823-message] {
    position:absolute!important;display:none!important;
    left:14px;right:14px;bottom:calc(100% + 6px);
    margin:0!important;padding:10px 13px!important;
    background:var(--surface,#fff);color:var(--muted,#667487);
    border:1px solid var(--line,#e4e9f0);border-radius:11px;
    text-align:center;font-size:12px;box-shadow:0 5px 15px rgba(0,0,0,.06);
  }
  .f823-frame .f823-actions [data-f823-message]:not(:empty) {display:block!important;}
  .f823-frame .f823-actions [data-f823-message].is-error {color:#d93a48!important;}
}
/* On large screens, keep a real Back button beside Continue, not above it. */
@media(min-width:700px) {
  .f823-frame .f823-actions.f854-has-back {display:flex;flex-wrap:nowrap;justify-content:space-between;gap:12px;}
  .f823-frame .f823-actions.f854-has-back .f823-back {
    display:inline-flex;align-items:center;justify-content:center;gap:6px;
    padding:12px 18px;border:1px solid var(--line,#e5eaf0);border-radius:11px;
    background:var(--input,#f7f9fc);color:var(--ink,#111827);white-space:nowrap;
  }
  .f823-frame .f823-actions.f854-has-back .f823-back svg {width:17px;height:17px;}
  .f823-frame .f823-actions.f854-has-back .f823-primary {width:auto;min-width:180px;}
}

/* Repost label: inset icon and name together, with breathing room above author.
   Restrict to ordinary feed posts; never alter full-screen reels or ad units. */
.social-shell .social-post:not(.social-reel-post) > .f254-repost-context {
  margin:4px 0 8px 11px!important;padding:0 0 2px!important;
}
.social-shell .social-post:not(.social-reel-post) > .f254-repost-context .f254-repost-line {
  display:flex!important;align-items:center!important;gap:7px!important;
  margin:0 0 3px!important;min-height:21px!important;line-height:1.35!important;
}
.social-shell .social-post:not(.social-reel-post) > .f254-repost-context .f254-repost-line svg {
  width:17px!important;height:17px!important;flex:none!important;
}
.social-shell .social-post:not(.social-reel-post) > .f254-repost-context + .social-post-top {
  margin-top:3px!important;
}
.social-shell .social-post:not(.social-reel-post):has(> .f254-repost-context) {
  padding-bottom:10px!important;
}
@media(prefers-reduced-motion:reduce) {
  .auth-layout--refresh .auth-card--refresh {animation:none!important;}
}


/* V977 — Registration onboarding and email verification only.
   Shared auth palette and input geometry; solid fills, no gradient backgrounds.
   Overrides are deliberately scoped: no effect on login, feed, reels, Studio. */
.f823-ob.f977-onboard {
  --f977-ground:#f3f6fb;--f977-card:#fff;--f977-soft:#f6f9fe;
  --f977-soft-blue:#eaf3ff;--f977-field:#f7f9fc;
  --f977-line:#dfe6f0;--f977-ink:#142136;--f977-muted:#617187;
  --f977-blue:#1877f2;
  background:var(--f977-ground)!important;
  padding:clamp(12px,2.2vw,30px) 12px 100px!important;
  color:var(--f977-ink)!important;
  min-height:100dvh;
}
.f823-ob.f977-onboard .f823-frame {
  width:100%;max-width:990px;margin:0 auto!important;
  border:1px solid var(--f977-line)!important;border-radius:22px!important;
  background:var(--f977-card)!important;color:var(--f977-ink)!important;
  box-shadow:0 8px 28px rgba(21,39,66,.055)!important;
  padding:clamp(17px,2.6vw,32px)!important;overflow:visible;
}
.f823-ob.f977-onboard .f823-brand {
  gap:10px;padding:0 0 15px;border-bottom:1px solid var(--f977-line);
}
.f823-ob.f977-onboard .f823-brand .brand-logo {gap:10px;max-width:100%;}
.f823-ob.f977-onboard .f823-brand>span {
  color:var(--f977-muted)!important;letter-spacing:.075em;font-size:clamp(9px,1.35vw,11px);
}
.f823-ob.f977-onboard .f823-step {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0!important;
}
.f823-ob.f977-onboard .f823-step>span {
  min-width:0;min-height:46px;display:flex;align-items:center;justify-content:center;
  border-radius:13px;background:var(--f977-soft)!important;
  border:1px solid var(--f977-line)!important;
  color:var(--f977-muted)!important;padding:10px 7px;font-size:clamp(11px,1.6vw,13px)!important;
  font-weight:760;transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
.f823-ob.f977-onboard .f823-step>span.is-current {
  color:#fff!important;background:var(--f977-blue)!important;border-color:var(--f977-blue)!important;
  box-shadow:0 4px 14px rgba(24,119,242,.13);
}
.f823-ob.f977-onboard .f823-step>span.is-done {
  background:var(--f977-soft-blue)!important;color:#135cb5!important;border-color:#d0e4ff!important;
}
.f823-ob.f977-onboard .f823-heading {
  max-width:none;margin:0 0 18px;padding:18px 15px;
  border:1px solid #e7edf7;border-radius:16px;background:var(--f977-soft);
}
.f823-ob.f977-onboard .f823-kicker {color:var(--f977-blue)!important;font-weight:830;letter-spacing:.11em;}
.f823-ob.f977-onboard .f823-heading h1 {font-size:clamp(23px,3.3vw,34px)!important;margin:7px 0 9px!important;line-height:1.16;letter-spacing:-.035em;}
.f823-ob.f977-onboard .f823-heading p,
.f823-ob.f977-onboard .f823-frame>p {
  margin:0 auto;color:var(--f977-muted)!important;max-width:690px;font-size:clamp(12px,1.5vw,14px)!important;line-height:1.55;
}
.f823-ob.f977-onboard .f823-frame form {gap:16px;margin-top:14px;}
.f823-ob.f977-onboard .f823-frame form>label,
.f823-ob.f977-onboard .f823-two>label {
  font-size:13px!important;font-weight:750!important;gap:7px;color:var(--f977-ink)!important;
}
.f823-ob.f977-onboard .f823-frame :is(input:not([type="file"]):not([type="checkbox"]):not([type="hidden"]),select,textarea) {
  width:100%;min-width:0;min-height:49px;padding:12px 14px!important;
  border:1px solid var(--f977-line)!important;border-radius:13px!important;
  background:var(--f977-field)!important;color:var(--f977-ink)!important;
  box-shadow:none!important;font-size:14px!important;font-weight:520;
  transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease;
}
.f823-ob.f977-onboard .f823-frame :is(input:not([type="file"]),select,textarea)::placeholder {color:#8090a5;opacity:1;}
.f823-ob.f977-onboard .f823-frame :is(input:not([type="file"]),select,textarea):focus-visible {
  outline:none!important;border-color:var(--f977-blue)!important;
  box-shadow:0 0 0 3px rgba(24,119,242,.12)!important;
}
.f823-ob.f977-onboard .f823-frame input[readonly] {opacity:.8;}
.f823-ob.f977-onboard .f823-photos {
  padding:10px 10px 0;margin:0 0 55px;
  border:1px solid var(--f977-line);border-radius:18px;background:var(--f977-soft);
}
.f823-ob.f977-onboard .f823-cover {
  height:clamp(142px,21vw,185px);border-radius:14px;
  background:var(--f977-blue)!important; /* a single solid blue, never a linear gradient */
  padding:12px;transition:filter .18s ease;
}
.f823-ob.f977-onboard .f823-cover:hover {filter:brightness(.99);}
.f823-ob.f977-onboard .f823-cover>span.f853-cover-action {
  display:inline-flex;gap:8px;align-items:center;justify-content:center;
  background:#fff!important;color:#125bb4!important;
  border:1px solid #fff!important;border-radius:999px!important;
  padding:10px 14px!important;box-shadow:0 3px 12px rgba(12,42,84,.13);
  font-weight:780!important;line-height:1.2;backdrop-filter:none!important;
  transition:transform .17s ease,box-shadow .17s ease;
}
.f823-ob.f977-onboard .f823-cover:hover>span.f853-cover-action {transform:translateY(-1px);box-shadow:0 5px 14px rgba(12,42,84,.16);}
.f823-ob.f977-onboard .f823-cover .f853-cover-action small {color:#637b99!important;}
.f823-ob.f977-onboard .f823-avatar {
  width:92px;height:92px;left:22px;bottom:-42px;background:var(--f977-blue)!important;
  border:5px solid var(--f977-card)!important;border-radius:50%!important;
  box-shadow:0 5px 18px rgba(15,49,100,.19)!important;
}
.f823-ob.f977-onboard .f823-avatar img {width:100%;height:100%;object-fit:cover;border-radius:50%;}
.f823-ob.f977-onboard :is(.f823-pick,.f823-password,.f823-person) {
  background:var(--f977-soft)!important;border:1px solid var(--f977-line)!important;
  border-radius:16px;box-shadow:none!important;
}
.f823-ob.f977-onboard .f823-pick {padding:16px;}
.f823-ob.f977-onboard .f823-search input {background:var(--f977-card)!important;}
.f823-ob.f977-onboard .f823-chip>span {
  background:var(--f977-card)!important;color:var(--f977-ink)!important;
  border:1px solid var(--f977-line)!important;border-radius:999px;
  padding:10px 13px;
}
.f823-ob.f977-onboard .f823-chip:has(input:checked)>span {
  background:var(--f977-soft-blue)!important;color:#1268d6!important;border-color:#88baff!important;
}
.f823-ob.f977-onboard .f823-person {padding:14px;gap:12px;}
.f823-ob.f977-onboard .f823-person button {
  background:var(--f977-blue)!important;color:#fff!important;border:1px solid var(--f977-blue)!important;
  min-height:37px;border-radius:11px;font-weight:760;transition:background-color .17s ease,transform .17s ease;
}
.f823-ob.f977-onboard .f823-person button.is-following {
  background:#e7edf6!important;border-color:#d4deeb!important;color:#56677d!important;
}
.f823-ob.f977-onboard .f823-person button:hover {transform:translateY(-1px);}
.f823-ob.f977-onboard .f823-actions .f823-primary,
.f823-ob.f977-onboard .f823-primary {
  min-height:49px;border-radius:13px!important;padding:11px 20px;
  color:#fff!important;background:var(--f977-blue)!important;
  border:1px solid #1266d9!important;box-shadow:none!important;font-size:14px;font-weight:780;
  transition:background-color .16s ease,transform .16s ease,box-shadow .16s ease;
}
.f823-ob.f977-onboard .f823-primary:hover:not(:disabled) {background:#0969de!important;box-shadow:0 6px 15px rgba(24,119,242,.14)!important;transform:translateY(-1px);}
.f823-ob.f977-onboard .f823-primary:active:not(:disabled) {transform:scale(.985);}
.f823-ob.f977-onboard .f823-back {border-radius:12px!important;}
/* Verification card: no giant gap, clear hierarchy and accessible actions. */
.f823-ob.f977-onboard .f823-frame.f823-verify {
  max-width:710px!important;text-align:center;margin-top:0!important;
}
.f823-ob.f977-onboard .f823-verify .f823-brand {margin-bottom:16px;}
.f823-ob.f977-onboard .f823-big-icon {
  margin:14px auto 12px;width:67px;height:67px;
  background:var(--f977-soft-blue)!important;border:1px solid #d5e7ff;
  border-radius:19px;color:var(--f977-blue);
}
.f823-ob.f977-onboard .f823-verify h1 {
  font-size:clamp(25px,4vw,33px);color:var(--f977-ink)!important;
  margin:7px 0 10px;letter-spacing:-.035em;
}
.f823-ob.f977-onboard .f823-verify>p {
  max-width:560px;margin:0 auto 15px!important;color:var(--f977-muted)!important;
  line-height:1.55;font-size:14px!important;overflow-wrap:anywhere;
}
.f823-ob.f977-onboard .f823-verify .f867-verify-form {
  max-width:none;width:100%;margin:16px auto 8px;text-align:left;
  padding:20px;border:1px solid var(--f977-line);border-radius:17px;
  background:var(--f977-soft);
  display:grid;gap:10px;
}
.f823-ob.f977-onboard .f823-verify .f867-verify-form label,
.f823-ob.f977-onboard .f867-email-edit label {font-size:13px;color:var(--f977-ink);font-weight:760;}
.f823-ob.f977-onboard .f823-verify #f867-code {
  letter-spacing:clamp(.18em,1vw,.30em);font-weight:800;font-size:clamp(19px,4vw,26px)!important;
  text-align:center;background:var(--f977-card)!important;min-height:59px;
  font-variant-numeric:tabular-nums;
}
.f823-ob.f977-onboard .f867-verify-form .f823-muted {
  margin:1px 0 3px;text-align:left;font-size:12px!important;color:var(--f977-muted);
}
.f823-ob.f977-onboard .f867-verify-form .f823-primary {width:100%;}
.f823-ob.f977-onboard .f867-resend {
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;
  width:100%;margin:5px auto 10px;padding:9px 12px;
  background:transparent;text-align:center;
}
.f823-ob.f977-onboard .f867-resend .f867-link {
  width:auto!important;min-height:41px;padding:9px 14px;
  background:var(--f977-soft-blue);border:1px solid #d7e7fe;
  border-radius:12px;color:#1266cd;font-size:13px;font-weight:780;
  transition:background-color .16s ease,transform .16s ease;
}
.f823-ob.f977-onboard .f867-resend .f867-link:not(:disabled):hover {background:#daecff;transform:translateY(-1px);}
.f823-ob.f977-onboard .f867-resend .f867-link:disabled {opacity:.5;cursor:not-allowed;}
.f823-ob.f977-onboard .f867-resend #f867-cooldown {font-size:12px;color:var(--f977-muted);}
.f823-ob.f977-onboard .f867-email-edit {
  max-width:none;width:100%;margin:8px auto 0;
  border:1px solid var(--f977-line);border-radius:15px;
  background:var(--f977-soft);overflow:hidden;text-align:left;
}
.f823-ob.f977-onboard .f867-email-edit>summary {
  display:flex;align-items:center;justify-content:center;gap:10px;
  list-style:none;min-height:51px;padding:12px 15px;
  color:#1267d3;font-size:14px;font-weight:790;
  cursor:pointer;transition:background-color .16s ease;
}
.f823-ob.f977-onboard .f867-email-edit>summary::-webkit-details-marker{display:none;}
.f823-ob.f977-onboard .f867-email-edit>summary:hover {background:var(--f977-soft-blue);}
.f823-ob.f977-onboard .f867-email-edit .f977-edit-chevron {transition:transform .18s ease;}
.f823-ob.f977-onboard .f867-email-edit[open] .f977-edit-chevron {transform:rotate(180deg);}
.f823-ob.f977-onboard .f867-email-edit>form {
  margin:0;padding:17px;border-top:1px solid var(--f977-line);
  display:grid;gap:8px;
}
.f823-ob.f977-onboard .f867-email-edit>form .f823-primary {width:100%;margin-top:4px;}
.f823-ob.f977-onboard .f867-info {color:#16734f;}
.f823-ob.f977-onboard .f867-error {color:#be2e45;}
/* Small phones: near-full-width cards without losing the existing fixed footer. */
@media(max-width:699px){
  .f823-ob.f977-onboard {padding:10px 10px calc(108px + env(safe-area-inset-bottom))!important;}
  .f823-ob.f977-onboard .f823-frame {border-radius:18px!important;border:1px solid var(--f977-line)!important;padding:16px 14px 24px!important;}
  .f823-ob.f977-onboard .f823-step {gap:7px;margin:15px 0!important;}
  .f823-ob.f977-onboard .f823-step>span {min-height:44px;padding:9px 3px;}
  .f823-ob.f977-onboard .f823-heading {padding:15px 11px;margin-bottom:14px;}
  .f823-ob.f977-onboard .f823-heading h1 {font-size:clamp(22px,6vw,28px)!important;}
  .f823-ob.f977-onboard .f823-photos {margin-bottom:52px;}
  .f823-ob.f977-onboard .f823-cover {height:clamp(145px,34vw,175px);}
  .f823-ob.f977-onboard .f823-cover>span.f853-cover-action {padding:9px 11px!important;font-size:12px;}
  .f823-ob.f977-onboard .f823-avatar {left:15px;width:86px;height:86px;bottom:-40px;}
  .f823-ob.f977-onboard .f823-verify .f867-verify-form {padding:14px;margin-top:14px;}
  .f823-ob.f977-onboard .f823-verify .f823-brand {margin-bottom:12px;}
  .f823-ob.f977-onboard .f823-big-icon {margin:12px auto 10px;}
  .f823-ob.f977-onboard .f823-frame form .f823-actions {background:var(--f977-card)!important;border-top:1px solid var(--f977-line)!important;}
  .f823-ob.f977-onboard .f823-frame .f823-actions .f823-primary {min-height:49px!important;font-size:clamp(12px,3.3vw,14px)!important;}
}
@media(min-width:700px){
  .f823-ob.f977-onboard .f823-two {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(prefers-reduced-motion:reduce){
  .f823-ob.f977-onboard :is(.f823-frame,.f823-primary,.f823-person,.f823-person button,.f823-step>span,.f823-chip>span,.f867-email-edit summary,.f977-edit-chevron,.f867-link,.f823-cover) {animation:none!important;transition:none!important;transform:none!important;}
}
html[data-theme="dark"] .f823-ob.f977-onboard {
  --f977-ground:#141920;--f977-card:#1c242e;--f977-soft:#24303d;
  --f977-soft-blue:#1f3956;--f977-field:#242f3d;
  --f977-line:#394655;--f977-ink:#f2f5fa;--f977-muted:#a7b8cb;
}
html[data-theme="dark"] .f823-ob.f977-onboard .f823-heading {border-color:#364659;}
html[data-theme="dark"] .f823-ob.f977-onboard .f823-step>span.is-done {color:#bedaff!important;border-color:#42638a!important;}
html[data-theme="dark"] .f823-ob.f977-onboard .f823-cover .f853-cover-action {background:#fff!important;color:#135fbb!important;}
html[data-theme="dark"] .f823-ob.f977-onboard .f823-chip:has(input:checked)>span {color:#cae4ff!important;}


/* v1070: /assets/css/fans254-v855-fixes.css */
/* V8.55 — scoped Ads edit confirmation, center Create menu, mobile keyboard safety. */
.f855-revision-dialog[hidden],.f855-revision-backdrop[hidden],.f855-create-menu[hidden],.f855-create-backdrop[hidden]{display:none!important}
.f855-revision-backdrop{position:fixed;inset:0;z-index:4100;background:rgba(9,15,26,.58);backdrop-filter:blur(3px)}
.f855-revision-dialog{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:min(390px,calc(100vw - 32px));z-index:4101;box-sizing:border-box;background:var(--ad17-card,var(--social-surface,#fff));color:var(--ad17-text,var(--social-text,#172235));border:1px solid var(--ad17-border,var(--social-border,#e2e7ef));border-radius:23px;box-shadow:0 24px 80px rgba(0,0,0,.27);padding:23px 21px 19px;text-align:left}
.f855-revision-icon{display:grid;place-items:center;width:43px;height:43px;margin-bottom:13px;border-radius:14px;background:rgba(24,119,242,.1);color:var(--blue,#1877f2)}
.f855-revision-icon svg{width:21px;height:21px}
.f855-revision-dialog h2{margin:0 0 8px;font-size:19px;font-weight:800;line-height:1.28;color:inherit}
.f855-revision-dialog p{font-size:14px;line-height:1.55;color:var(--ad17-muted,var(--social-muted,#66758b));margin:0 0 20px}
.f855-revision-actions{display:flex;gap:10px;justify-content:flex-end}
.f855-revision-actions button{border:1px solid var(--social-border,#d9e1ed);border-radius:12px;padding:0 15px;min-height:43px;font-size:13px;font-weight:750;cursor:pointer}
.f855-revision-cancel{background:var(--ad17-soft,var(--social-muted-bg,#f3f6fa));color:var(--ad17-text,var(--social-text,#1c293b))}
.f855-revision-confirm{background:var(--blue,#1877f2);color:#fff;border-color:transparent!important;flex:1}
.f855-revision-confirm:disabled{opacity:.6;cursor:wait}
.f855-create-backdrop{position:fixed;inset:0;z-index:33;background:rgba(13,18,28,.16)}
.f855-create-menu{position:fixed;z-index:34;bottom:calc(72px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(264px,calc(100vw - 28px));display:grid;gap:2px;box-sizing:border-box;padding:8px;border:1px solid var(--social-border,#dce4ef);background:var(--social-surface,#fff);color:var(--social-text,#18243a);border-radius:17px;box-shadow:0 16px 50px rgba(13,34,69,.24);animation:f855-create-in .14s ease-out}
.f855-create-option{display:flex;align-items:center;gap:12px;width:100%;text-align:left;min-height:47px;padding:6px 9px;border:0;border-radius:11px;text-decoration:none;background:transparent;color:inherit;font-size:13px;font-weight:740;white-space:nowrap;cursor:pointer}
.f855-create-option:hover,.f855-create-option:focus-visible{background:var(--social-muted-bg,#edf3fb)}
.f855-create-symbol{height:35px;width:35px;display:grid;place-items:center;flex:none;border-radius:10px;background:#e9f2ff;color:#1877f2}
.f855-create-symbol svg{width:20px;height:20px}
.f855-symbol-market{background:#fff1de;color:#aa650f}.f855-symbol-space{background:#efe6ff;color:#764ad1}.f855-symbol-ad{background:#e3f4f4;color:#087f84}
html[data-theme=dark] .f855-create-symbol{background:#223b5d;color:#8dc2ff}
html[data-theme=dark] .f855-symbol-market{background:#453725;color:#ffc174}
html[data-theme=dark] .f855-symbol-space{background:#38294f;color:#c5a2ff}
html[data-theme=dark] .f855-symbol-ad{background:#244047;color:#9cdae0}
.social-shell .social-mobile-create[aria-expanded=true] .social-icon{transform:rotate(45deg);transition:transform .16s}
@keyframes f855-create-in{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}
@media(min-width:761px){.f855-create-menu,.f855-create-backdrop{display:none!important}}
@media(prefers-reduced-motion:reduce){.f855-create-menu{animation:none}}
/* VisualViewport-driven composers: show the entire input/footer inside the visible area
   rather than using layout-viewport 100vh after the Android IME opens. */
@media(max-width:899px){
 html.f855-keyboard-visible .social-shell .f776-story-viewer.social-modal:not([hidden]){position:fixed!important;inset:auto!important;top:var(--f855-vv-top,0px)!important;left:0!important;bottom:auto!important;transform:none!important;width:100vw!important;max-width:100vw!important;height:var(--f855-vv-height,100dvh)!important;max-height:var(--f855-vv-height,100dvh)!important;border-radius:0!important}
 html.f855-keyboard-visible .f776-story-viewer .f776-story-canvas{height:100%!important;min-height:0!important}
 html.f855-keyboard-visible .f776-story-viewer .f776-story-sheet:not([hidden]){max-height:calc(var(--f855-vv-height,100dvh) - 10px)!important;height:auto;min-height:0!important;padding-bottom:10px!important;overflow:hidden!important}
 html.f855-keyboard-visible .f776-story-viewer .f776-story-sheet-content{overflow-y:auto!important;min-height:0!important;overscroll-behavior:contain}
 html.f855-keyboard-visible .f776-story-viewer .f776-story-reply-form textarea{min-height:60px!important;max-height:24dvh;resize:none;scroll-margin-bottom:65px}
 html.f855-keyboard-visible .f254-msg-root:not([hidden]){position:fixed!important;inset:auto 0 auto 0!important;top:var(--f855-vv-top,0px)!important;max-height:var(--f855-vv-height,100dvh)!important;height:var(--f855-vv-height,100dvh)!important}
 html.f855-keyboard-visible .social-shell .f254-composer:not([hidden]){bottom:var(--f855-vv-bottom,0px)!important;max-height:calc(var(--f855-vv-height,100dvh) - 6px)!important}
 html.f855-keyboard-visible .social-shell .f254-media-lightbox:not([hidden]){position:fixed!important;inset:auto 0 auto 0!important;top:var(--f855-vv-top,0px)!important;height:var(--f855-vv-height,100dvh)!important;max-height:var(--f855-vv-height,100dvh)!important}
 html.f855-keyboard-visible .social-reel-post .social-comments:not([hidden]){bottom:var(--f855-vv-bottom,0px)!important;max-height:calc(var(--f855-vv-height,100dvh) - 30px)!important;overflow-y:auto}
 html.f855-keyboard-visible .social-shell .social-modal:not(.f776-story-viewer):not(.f254-composer):not([hidden]):has(textarea:focus,input:focus,[contenteditable="true"]:focus){position:fixed!important;top:calc(var(--f855-vv-top,0px) + 5px)!important;bottom:auto!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;max-height:calc(var(--f855-vv-height,100dvh) - 10px)!important;overflow-y:auto!important;overscroll-behavior:contain}
}


/* v1070: /assets/css/fans254-v856-overlays.css */
/* Fans254 V8.56 — contained, keyboard-safe, Twitter-style comment overlays. */
.f856-comment-scrim[hidden],.social-comments[hidden]{display:none!important}
.f856-comment-scrim{position:fixed;inset:0;z-index:3990;background:rgba(6,12,25,.54);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
html.f856-comments-open:has(.social-comments:not([hidden])) body{overflow:hidden!important}
/* Never let the normal bottom navigation cover a comment sheet. */
html.f856-comments-open .social-bottom-nav,html.f856-comments-open .f855-create-menu,html.f856-comments-open .f855-create-backdrop{pointer-events:none!important}
/* The photo viewer lives directly under body (outside .social-shell).
   Carry the same theme variables to its comment overlay in both themes. */
.f254-media-lightbox{--social-surface:#fff;--social-muted-bg:#f3f6fa;--social-text:#152033;--social-muted:#66778f;--social-border:#e9edf3}
html[data-theme="dark"] .f254-media-lightbox{--social-surface:#25282e;--social-muted-bg:#2e333b;--social-text:#f1f3f7;--social-muted:#aab4c1;--social-border:#353941}
/* Feed / single post / Reel: one bounded comment sheet with an anchored composer. */
.social-post .social-comments:not([hidden]){
  box-sizing:border-box;position:fixed!important;z-index:4500!important;
  left:50%!important;right:auto!important;top:auto!important;bottom:var(--f856-bottom,0px)!important;
  transform:translateX(-50%)!important;display:flex!important;flex-direction:column;
  width:min(100vw,565px)!important;height:min(76dvh,700px)!important;
  max-height:calc(var(--f856-vh,100dvh) - 24px)!important;min-height:0!important;
  margin:0!important;padding:0!important;border:1px solid var(--social-border,#e7ebf3)!important;
  border-bottom:0!important;border-radius:22px 22px 0 0!important;
  background:var(--social-surface,#fff)!important;color:var(--social-text,#172235)!important;
  overflow:hidden!important;overscroll-behavior:contain;box-shadow:0 -14px 60px rgba(0,0,0,.24)!important;
  isolation:isolate;
}
.social-post .social-comments:not([hidden]) .social-comments-head{
  box-sizing:border-box;flex:0 0 auto;min-height:61px;display:flex;align-items:center;justify-content:space-between;
  margin:0!important;padding:15px 17px 12px;border-bottom:1px solid var(--social-border,#e8edf3);
  font-size:16px;font-weight:800;background:var(--social-surface,#fff);color:inherit;
}
.social-comments-head strong{font-size:16px;font-weight:800}
.social-comments-head [data-comments-close]{display:grid;place-items:center;min-width:34px;min-height:34px;border-radius:50%;color:var(--social-muted,#778299)!important;background:var(--social-muted-bg,#f3f6fa)}
.social-comments-head [data-comments-close] .social-icon{width:19px;height:19px}
.social-comments .social-comment-list{box-sizing:border-box;flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;padding:10px 17px 12px}
.social-comments .social-no-comments{font-size:13px;line-height:1.5;padding:18px 0;color:var(--social-muted,#7b8598)}
.social-comments .f813-load-feed-comments{margin:0 15px 10px;align-self:center;flex:none}
.social-comments .social-comment-form{
  display:grid!important;grid-template-columns:minmax(0,1fr) 36px 40px;gap:8px!important;
  align-items:end;flex:0 0 auto;min-height:70px;
  padding:10px 13px max(12px,env(safe-area-inset-bottom))!important;
  margin:0!important;border-top:1px solid var(--social-border,#e3e9f0);
  background:var(--social-surface,#fff)!important;z-index:3;position:relative;box-sizing:border-box;
}
.social-comments .social-comment-form textarea{
  box-sizing:border-box;width:100%!important;max-width:none!important;min-width:0!important;
  min-height:43px!important;max-height:148px!important;height:43px;
  grid-column:1;grid-row:1;overflow-y:auto;resize:none!important;
  border:1px solid var(--social-border,#dce4ef);border-radius:14px!important;
  background:var(--social-muted-bg,#f5f7fa);color:var(--social-text,#172235);
  line-height:1.45;font-size:16px!important;padding:11px 12px!important;outline-offset:1px;
}
.social-comments .social-comment-form .social-comment-attach{width:36px;min-height:42px;grid-column:2;grid-row:1;display:grid;place-items:center;margin:0;color:var(--blue,#1877f2)}
.social-comments .social-comment-form .social-send-button{height:40px;width:40px;min-width:40px;grid-column:3;grid-row:1;border-radius:12px;margin:0;color:white!important}
.social-comments .social-comment-form .social-replying:not([hidden]){grid-column:1/-1;grid-row:1;font-size:12px}
.social-comments .social-comment-form:has(.social-replying:not([hidden])) textarea,
.social-comments .social-comment-form:has(.social-replying:not([hidden])) .social-comment-attach,
.social-comments .social-comment-form:has(.social-replying:not([hidden])) .social-send-button{grid-row:2}
.social-comments .social-comment-form .social-form-error:not(:empty){grid-column:1/-1;grid-row:auto;margin:0}
.social-comments .social-comment-media :is(img,video){max-height:min(35vh,270px)}
/* Reel popups must outrank in-player controls, progress and caption. */
html.f856-reel-comments-open .social-reel-watch{z-index:4300!important}
html.f856-reel-comments-open .social-reel-watch .social-reel-scroller{position:relative;z-index:44!important;overflow-y:hidden!important}
html.f856-reel-comments-open .social-reel-post:has(.social-comments:not([hidden])){z-index:2!important;overflow:visible!important}
html.f856-reel-comments-open .social-reel-post:has(.social-comments:not([hidden])):before{content:"";position:absolute;inset:0;z-index:60;background:rgba(4,9,19,.55);pointer-events:none}
html.f856-reel-comments-open .social-reel-watch .social-reel-post .social-comments:not([hidden]){z-index:300!important;height:min(75dvh,710px)!important}
html.f856-reel-comments-open .social-reel-watch .social-reel-navigation,
html.f856-reel-comments-open .social-reel-watch .f843-reel-transport,
html.f856-reel-comments-open .social-reel-watch [data-reel-controls],
html.f856-reel-comments-open .social-reel-watch .social-reel-progress{visibility:hidden!important;pointer-events:none!important}
html.f856-reel-comments-open .social-reel-post:has(.social-comments:not([hidden]))>.social-post-top,
html.f856-reel-comments-open .social-reel-post:has(.social-comments:not([hidden]))>.social-post-actions,
html.f856-reel-comments-open .social-reel-post:has(.social-comments:not([hidden]))>.f254-reel-caption-wrap{pointer-events:none!important}
/* All 3-dot Reel menus open ABOVE their trigger, never under the caption/actions. */
.social-shell .social-reel-post>.social-post-top:has(.social-post-menu:not([hidden])){z-index:150!important}
.social-shell .social-reel-post>.social-post-top .social-post-more-wrap:has(.social-post-menu:not([hidden])){z-index:160!important;isolation:isolate}
.social-shell .social-reel-post>.social-post-top .social-post-menu:not([hidden]){
  top:auto!important;bottom:calc(100% + 8px)!important;right:0!important;left:auto!important;
  z-index:180!important;border-radius:14px!important;
  box-shadow:0 15px 45px rgba(0,0,0,.36)!important;
  max-height:min(44dvh,330px);overflow-y:auto;
}
/* Photo theater: image stays behind a separately scrolling post pane; comments form
   is *never* left at the bottom of an unrelated scroll container. */
.f254-media-lightbox:has(.social-comments:not([hidden])){z-index:5200!important}
.f254-media-lightbox:has(.social-comments:not([hidden])):before{content:"";position:fixed;inset:0;background:rgba(4,8,16,.46);z-index:7;pointer-events:none}
.f254-media-lightbox:has(.social-comments:not([hidden])) .f254-lightbox-detail{overflow:visible!important;z-index:8!important}
.f254-media-lightbox .social-post .social-comments:not([hidden]){z-index:200!important}
/* Report/repost/caption modals on Reels must be above the transport. */
.social-shell:has(.social-reel-watch) .social-modal:not([hidden]){z-index:5500!important}
.social-shell:has(.social-reel-watch) .social-modal-backdrop:not([hidden]){z-index:5490!important}
.social-shell:has(.social-reel-watch) .f827-report-backdrop:not([hidden]){z-index:5500!important}
/* Keep site-owned dialogs above Reels seek controls. */
.social-reel-watch .f254-reel-caption-modal:not([hidden]){z-index:500!important}
/* Auto-growing text composers, including Messenger, story replies and comments. */
.f254-msg-composer textarea,.f776-story-reply-form textarea,.social-comment-form textarea,.member-conversation textarea,.f254-reply-composer textarea{resize:none!important;overflow-y:auto;max-height:150px;min-width:0}
.f254-msg-composer-line{align-items:flex-end!important}
.f254-msg-composer-line textarea{max-height:132px!important;font-size:16px!important;line-height:1.42!important}
.f776-story-reply-form textarea{max-height:150px!important;font-size:16px!important;line-height:1.45!important}
@media(max-width:899px){
 /* Work around legacy 100dvh *minimum* that prevented the story from shrinking
    even when V8.55 set the correct height. */
 html.f856-composing .social-shell .f776-story-viewer.social-modal:not([hidden]){
  box-sizing:border-box;position:fixed!important;inset:auto!important;
  left:0!important;top:var(--f856-vtop,0px)!important;right:auto!important;bottom:auto!important;
  transform:none!important;width:100vw!important;max-width:100vw!important;
  min-height:0!important;height:var(--f856-vh,100dvh)!important;max-height:var(--f856-vh,100dvh)!important;
  border-radius:0!important;overflow:hidden!important;
 }
 html.f856-composing .f776-story-viewer .f776-story-canvas{box-sizing:border-box;height:100%!important;max-height:100%!important;min-height:0!important;overflow:hidden!important}
 html.f856-composing .f776-story-viewer .f776-story-sheet:not([hidden]){
  box-sizing:border-box;position:absolute!important;left:0;right:0;bottom:0!important;top:auto!important;
  max-height:calc(100% - 8px)!important;min-height:0!important;
  overflow:hidden!important;display:flex!important;flex-direction:column;
  padding-bottom:8px!important;
 }
 html.f856-composing .f776-story-viewer .f776-story-sheet-content{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain}
 html.f856-composing .f776-story-viewer .f776-story-reply-form{flex:0 0 auto;min-height:0}
 html.f856-composing .f776-story-viewer .f776-story-reply-form textarea{min-height:65px!important;max-height:min(150px,24vh)!important;resize:none!important}
 html.f856-composing .f254-msg-root:not([hidden]){
  box-sizing:border-box;inset:auto 0 auto 0!important;top:var(--f856-vtop,0px)!important;
  min-height:0!important;height:var(--f856-vh,100dvh)!important;max-height:var(--f856-vh,100dvh)!important;
 }
 html.f856-composing .f254-msg-root .f254-msg-dialog{height:100%!important;max-height:100%!important;min-height:0!important}
 html.f856-composing .f254-msg-root .f254-msg-history{min-height:0!important;overflow-y:auto!important}
 html.f856-composing .social-shell .f254-media-lightbox:not([hidden]){
  box-sizing:border-box;inset:auto 0 auto 0!important;top:var(--f856-vtop,0px)!important;
  min-height:0!important;height:var(--f856-vh,100dvh)!important;max-height:var(--f856-vh,100dvh)!important;
 }
 html.f856-composing .social-shell .f254-composer:not([hidden]){bottom:var(--f856-bottom,0px)!important;max-height:var(--f856-vh,100dvh)!important}
 html.f856-composing .social-shell .social-modal:not(.f776-story-viewer):not(.f254-composer):not([hidden]):has(textarea:focus,input:focus,[contenteditable=true]:focus){max-height:calc(var(--f856-vh,100dvh) - 14px)!important;overflow-y:auto!important}
 html.f856-ime-open .social-post .social-comments:not([hidden]){
  bottom:var(--f856-bottom,0px)!important;
  height:min(75dvh,calc(var(--f856-vh,100dvh) - 8px))!important;
  max-height:calc(var(--f856-vh,100dvh) - 8px)!important;
  border-radius:18px 18px 0 0!important;
 }
 html.f856-ime-open .social-comments .social-comment-form{padding-bottom:8px!important}
 html.f856-ime-open .f254-msg-composer{padding-bottom:7px!important}
 html.f856-ime-open .f776-story-sheet{padding-bottom:8px!important}
 /* Mobile feed & photo viewer: compact viewer and raised post pane. */
 .f254-media-lightbox:not([hidden]) .f254-lightbox-stage{height:55dvh!important;max-height:55dvh!important;flex:0 0 55dvh!important;padding-top:40px!important}
 .f254-media-lightbox:not([hidden]) .f254-lightbox-stage>img{max-height:calc(55dvh - 50px)!important}
 .f254-media-lightbox:not([hidden]) .f254-lightbox-detail{height:47dvh!important;max-height:calc(100dvh - 64px)!important;padding-bottom:max(12px,env(safe-area-inset-bottom))!important}
 .f254-media-lightbox.is-expanded .f254-lightbox-stage{height:24dvh!important;max-height:24dvh!important;flex-basis:24dvh!important}
 .f254-media-lightbox.is-expanded .f254-lightbox-stage>img{max-height:calc(24dvh - 43px)!important}
 .f254-media-lightbox.is-expanded .f254-lightbox-detail{height:78dvh!important}
 html.f856-composing .f254-media-lightbox .f254-lightbox-stage{height:18%!important;max-height:18%!important;flex-basis:18%!important}
 html.f856-composing .f254-media-lightbox .f254-lightbox-detail{height:84%!important;max-height:84%!important}
 .social-post .social-comments:not([hidden]){width:100vw!important;max-width:100vw!important;border-left:0!important;border-right:0!important}
}
@media(min-width:900px){
 .social-shell .social-post:not(.social-reel-post) .social-comments:not([hidden]){
   width:min(570px,calc(100vw - 44px))!important;height:min(75vh,740px)!important;
   bottom:50%!important;transform:translate(-50%,50%)!important;
   border-radius:20px!important;border-bottom:1px solid var(--social-border)!important;
 }
 .social-shell .social-reel-post .social-comments:not([hidden]){width:min(520px,calc(100vw - 36px))!important;border-radius:20px 20px 0 0!important}
 .f254-media-lightbox .social-post .social-comments:not([hidden]){width:min(410px,calc(100vw - 42px))!important;left:auto!important;right:12px!important;bottom:50%!important;transform:translateY(50%)!important;border-radius:18px!important}
}
@media(max-width:380px){.social-comments .social-comment-form{grid-template-columns:minmax(0,1fr) 30px 36px;gap:5px!important;padding-left:8px!important;padding-right:8px!important}}
@media(prefers-reduced-motion:reduce){.social-comments,.f856-comment-scrim{animation:none!important;transition:none!important}}


/* v1070: /assets/css/fans254-v858-refinements.css */
/* Fans254 V8.58 — comments composer sizing & advertiser confirmations.
   Scoped to existing overlay and Ads Manager components. */
.social-comments .social-comment-form{
  min-height:0!important;
  align-items:center!important;
  gap:7px!important;
  padding:8px 12px max(9px,env(safe-area-inset-bottom))!important;
}
.social-comments .social-comment-form textarea{
  display:block!important;
  height:42px;min-height:42px!important;max-height:144px!important;
  padding:9px 12px!important;
  margin:0!important;border-radius:13px!important;
  line-height:1.42!important;font-size:16px!important;
  overflow-y:hidden;scrollbar-width:none!important;-ms-overflow-style:none!important;
  resize:none!important;appearance:none;-webkit-appearance:none;
}
.social-comments .social-comment-form textarea::-webkit-scrollbar,
.f254-media-lightbox .f254-lightbox-detail::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
.social-comments .social-comment-form textarea::-webkit-resizer{display:none!important}
.f254-media-lightbox .f254-lightbox-detail{scrollbar-width:none!important}
.social-comments .social-comment-form .social-comment-attach{min-height:37px!important;height:37px!important;align-self:center!important}
.social-comments .social-comment-form .social-send-button{width:38px!important;min-width:38px!important;height:38px!important;align-self:center!important}
.social-comments .social-comment-form .social-replying:not([hidden]){margin-bottom:2px}
.social-comments .social-comment-form .social-replying:not([hidden]) ~ textarea,
.social-comments .social-comment-form .social-replying:not([hidden]) ~ .social-comment-attach,
.social-comments .social-comment-form .social-replying:not([hidden]) ~ .social-send-button{grid-row:2}
/* Don't let obsolete scrollbars or parent padding masquerade as extra input height. */
.f254-media-lightbox .social-comments .social-comment-form textarea{width:100%!important;min-width:0!important;max-width:100%!important}
/* Keep the manager buttons usable in touch WebViews and their complete labels readable. */
.ad17-page .ad17-campaign-buttons{position:relative;z-index:2;pointer-events:auto!important}
.ad17-page .ad17-campaign-buttons :is(a,button,form){pointer-events:auto!important}
.ad17-page .ad17-campaign-buttons :is(a,button){touch-action:manipulation;white-space:nowrap;min-height:36px}
.ad17-page .ad17-campaign-buttons form[hidden]{display:none!important}
.ad17-page:has(.f855-revision-dialog:not([hidden])){overflow:visible!important}
.ad17-page .f855-revision-backdrop{z-index:9900!important}
.ad17-page .f855-revision-dialog{z-index:9901!important}
.f855-revision-dialog.f858-cancel-dialog .f855-revision-icon{background:color-mix(in srgb,#e24b5f 10%,var(--ad17-card,#fff));color:#cf344d}
.f855-revision-dialog.f858-cancel-dialog .f855-revision-confirm{background:#c6384e!important}
.f855-revision-dialog .f855-revision-actions{gap:9px}
.f855-revision-dialog .f855-revision-actions button{min-height:44px;font-size:13px}
html[data-theme=dark] .f855-revision-dialog.f858-cancel-dialog .f855-revision-icon{background:#42313b;color:#ff9aa8}
@media(max-width:760px){
  .social-comments .social-comment-form{grid-template-columns:minmax(0,1fr) 34px 38px!important}
  .social-comments .social-comment-form textarea{max-height:min(144px,29dvh)!important}
  .ad17-page .ad17-campaign-buttons{gap:7px;flex-wrap:wrap}
  .ad17-page .ad17-campaign-buttons :is(a,button){font-size:12px!important}
}
@media(prefers-reduced-motion:reduce){.f855-revision-dialog{animation:none!important}}


/* v1070: /assets/css/fans254-v859-comments-lightbox.css */
/* Fans254 V8.59: responsive, scroll-isolated comments and compact photo lightbox.
   Presentation overrides only; feed/reel navigation, actions and video engine remain unchanged. */
.f254-media-lightbox{--social-surface:#fff;--social-muted-bg:#f4f6f9;--social-border:#e5e9f0;--social-muted:#647085;--social-text:#142033}
html[data-theme="dark"] .f254-media-lightbox{--social-surface:#24272d;--social-muted-bg:#2e3239;--social-border:#393f49;--social-muted:#adb8c7;--social-text:#f2f4f8}
/* Comment panel owns the touch and wheel scroll; neither post view nor feed scrolls behind it. */
html.f856-comments-open{overflow:hidden!important;overscroll-behavior:none!important}
html.f856-comments-open body{overflow:hidden!important;overscroll-behavior:none!important}
.social-post .social-comments:not([hidden]){
  box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
  height:min(76dvh,720px)!important;
  max-height:calc(var(--f856-vh,100dvh) - 10px)!important;
  min-height:0!important;
  overflow:hidden!important;overscroll-behavior:contain!important;
  border:0!important;border-radius:22px 22px 0 0!important;
  background:var(--social-surface,#fff)!important;color:var(--social-text,#13233a)!important;
  box-shadow:0 -12px 38px rgba(0,0,0,.2)!important;
  contain:layout style;
}
.social-post .social-comments.f859-many-comments:not([hidden]){height:min(89dvh,900px)!important}
.social-post .social-comments.f859-expanded:not([hidden]){
  height:calc(var(--f856-vh,100dvh) - 10px)!important;
  max-height:calc(var(--f856-vh,100dvh) - 10px)!important;
}
html.f856-reel-comments-open .social-reel-watch .social-reel-post .social-comments:not([hidden]){height:min(76dvh,720px)!important}
html.f856-reel-comments-open .social-reel-watch .social-reel-post .social-comments.f859-many-comments:not([hidden]){height:min(89dvh,900px)!important}
html.f856-reel-comments-open .social-reel-watch .social-reel-post .social-comments.f859-expanded:not([hidden]){height:calc(var(--f856-vh,100dvh) - 10px)!important;max-height:calc(var(--f856-vh,100dvh) - 10px)!important}
.social-post .social-comments:not([hidden]) .social-comments-head{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  padding:7px 14px 9px!important;min-height:59px!important;
  border-bottom:1px solid var(--social-border,#e9edf3)!important;
  position:relative;z-index:2;flex:0 0 auto;
}
.social-comments-head .f859-comments-expand{
  background:none;border:0;color:inherit;align-self:stretch;display:flex;justify-content:center;align-items:center;
  flex:1;min-width:0;gap:8px;cursor:pointer;touch-action:manipulation;position:relative;
  padding:9px 30px 2px;font:inherit;
}
.social-comments-head .f859-comments-expand strong{font-size:15px;font-weight:750;line-height:1.3}
.social-comments-head .f859-comments-count{font-size:11px;font-weight:550;color:var(--social-muted,#68778d)}
.social-comments-head .f859-comments-grip{position:absolute;width:37px;height:4px;top:0;left:50%;transform:translateX(-50%);background:var(--social-muted,#7d8a9c);opacity:.55;border-radius:10px}
.social-comments-head [data-comments-close]{z-index:2;border:0;box-shadow:none!important;width:33px;height:33px;min-width:33px;min-height:33px}
.social-comments .social-comment-list{
  position:relative!important;flex:1 1 auto!important;min-height:0!important;
  overflow-y:auto!important;overflow-x:hidden!important;
  overscroll-behavior-y:contain!important;touch-action:pan-y!important;
  -webkit-overflow-scrolling:touch!important;scrollbar-width:none!important;
  padding:9px 14px 18px!important;
  scrollbar-gutter:auto!important;
}
.social-comments,.social-comments .social-comment-list,.social-comments .social-comment-form textarea,.f254-media-lightbox .f254-lightbox-detail{scrollbar-width:none!important;-ms-overflow-style:none!important}
.social-comments::-webkit-scrollbar,.social-comments *::-webkit-scrollbar,.f254-media-lightbox .f254-lightbox-detail::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}
.social-comments .social-comment-list::-webkit-scrollbar-thumb{background:transparent!important}
.social-comments .social-comment{
  box-sizing:border-box;position:relative;display:flex;align-items:flex-start;gap:10px;
  padding:12px 0!important;min-width:0;border:0!important;
}
.social-comments .social-comment + .social-comment:not([data-comment-depth="1"]):not([data-comment-depth="2"]):not([data-comment-depth="3"]){border-top:1px solid color-mix(in srgb,var(--social-border,#e5e9f0),transparent 45%)!important}
.social-comments .social-comment .social-avatar-sm{width:35px;height:35px;min-width:35px;flex-shrink:0}
.social-comments .social-comment-body{min-width:0;overflow-wrap:anywhere}
.social-comments .social-comment-body strong{font-size:13px!important;color:var(--social-text,#172233)}
.social-comments .social-comment-body .social-comment-text{font-size:13px!important;line-height:1.46!important;margin:4px 0 6px!important;white-space:pre-wrap;overflow-wrap:anywhere}
.social-comments .social-comment-reply,.social-comments .social-comment-delete{font-size:11px!important;font-weight:600;margin:0 11px 0 0;padding:4px 0!important;min-height:25px}
.social-comments .social-comment-is-reply{margin-left:0!important;padding-left:0!important;border-left:0!important}
.social-comments .social-comment[data-comment-depth="1"]{margin-left:min(8vw,29px)!important;padding-left:10px!important}
.social-comments .social-comment[data-comment-depth="2"]{margin-left:min(13vw,48px)!important;padding-left:10px!important}
.social-comments .social-comment[data-comment-depth="3"]{margin-left:min(16vw,59px)!important;padding-left:9px!important}
/* Thread connectors stop at each reply, not one uninterrupted grey column. */
.social-comments .social-comment[data-comment-depth="1"]::before,
.social-comments .social-comment[data-comment-depth="2"]::before,
.social-comments .social-comment[data-comment-depth="3"]::before{
  content:"";position:absolute;left:0;top:0;height:23px;width:7px;
  border-left:1.5px solid var(--social-border,#dce3ed);
  border-bottom:1.5px solid var(--social-border,#dce3ed);
  border-bottom-left-radius:8px;pointer-events:none;
}
.social-comments .social-comment-media{margin-top:7px;max-width:min(100%,300px)!important}
.social-comments .social-comment-media :is(img,video){width:auto!important;max-width:100%!important;max-height:min(28dvh,230px)!important;border-radius:11px!important;object-fit:contain!important}
.social-comments .social-comment-form{
  flex:0 0 auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) 34px 38px!important;
  gap:7px!important;align-items:center!important;
  border-top:1px solid var(--social-border,#e8eaf1)!important;
  background:var(--social-surface,#fff)!important;
  padding:9px 12px max(10px,env(safe-area-inset-bottom))!important;
  margin:0!important;z-index:3;
}
.social-comments .social-comment-form textarea{
  box-sizing:border-box!important;display:block!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:40px;min-height:40px!important;max-height:min(140px,29dvh)!important;
  border:1px solid var(--social-border,#dce3ef)!important;border-radius:20px!important;
  background:var(--social-muted-bg,#f4f6f9)!important;color:var(--social-text,#16243b)!important;
  padding:9px 12px!important;margin:0!important;resize:none!important;
  line-height:1.35!important;font-size:16px!important;
  overflow-x:hidden!important;overflow-y:hidden;
  box-shadow:none!important;appearance:none!important;-webkit-appearance:none!important;
  scrollbar-gutter:auto!important;
}
.social-comments .social-comment-form textarea::-webkit-resizer{display:none!important}
.social-comments .social-comment-form .social-comment-attach{grid-column:2;grid-row:1;width:34px!important;min-height:38px!important;align-self:center!important}
.social-comments .social-comment-form .social-send-button{grid-column:3;grid-row:1;width:38px!important;height:38px!important;min-width:38px!important;align-self:center!important}
.social-comments .social-comment-form .social-replying:not([hidden]){grid-row:1;grid-column:1/-1}
.social-comments .social-comment-form:has(.social-replying:not([hidden])) :is(textarea,.social-comment-attach,.social-send-button){grid-row:2}
.social-comments .social-comment-form .social-form-error:not(:empty){grid-column:1/-1}
/* Photo viewer: tighter image/post division, information pane fills available screen,
   and actions sit at the bottom like in the normal feed. */
.f254-media-lightbox .f254-lightbox-detail .social-post-actions{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.32fr)!important;
  gap:4px!important;align-items:center!important;
  width:100%!important;max-width:100%!important;
  margin:auto 0 0!important;padding:11px 0 max(10px,env(safe-area-inset-bottom))!important;
  position:sticky!important;bottom:0!important;z-index:4!important;
  background:var(--social-surface,#fff)!important;
  border-top:1px solid var(--social-border,#e9edf3)!important;
  border-bottom:0!important;
}
.f254-media-lightbox .f254-lightbox-detail .social-post-actions-left,
.f254-media-lightbox .f254-lightbox-detail .social-actions-right{
  display:grid!important;align-items:center!important;gap:0!important;width:100%!important;min-width:0!important;
  margin:0!important;
}
.f254-media-lightbox .f254-lightbox-detail .social-post-actions-left{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.f254-media-lightbox .f254-lightbox-detail .social-actions-right{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.f254-media-lightbox .f254-lightbox-detail .social-post-tool{
  display:flex!important;justify-content:center!important;align-items:center!important;
  width:100%!important;min-width:0!important;max-width:none!important;
  padding:8px 1px!important;min-height:40px!important;margin:0!important;gap:3px!important;
}
.f254-media-lightbox .f254-lightbox-detail .social-post-tool .social-icon{width:21px!important;height:21px!important}
.f254-media-lightbox .f254-lightbox-detail .social-action-label{display:none!important}
.f254-media-lightbox .f254-lightbox-detail .social-action-count{font-size:10px!important;white-space:nowrap}
.f254-media-lightbox:has(.social-comments:not([hidden])) .f254-lightbox-close,
.f254-media-lightbox:has(.social-comments:not([hidden])) .f254-lightbox-arrow,
.f254-media-lightbox:has(.social-comments:not([hidden])) .f735-lightbox-header{visibility:hidden!important;pointer-events:none!important}
.f254-media-lightbox:has(.social-comments:not([hidden])) .f254-lightbox-detail{overscroll-behavior:contain!important}
@media(max-width:899px){
  .f254-media-lightbox:not([hidden]){display:flex!important;flex-direction:column!important;height:100dvh!important;max-height:100dvh!important;overflow:hidden!important}
  .f254-media-lightbox:not([hidden]) .f254-lightbox-stage{
    box-sizing:border-box!important;flex:0 0 49dvh!important;
    height:49dvh!important;max-height:49dvh!important;
    min-height:0!important;padding:43px 8px 6px!important;
  }
  .f254-media-lightbox:not([hidden]) .f254-lightbox-stage>img{max-height:calc(49dvh - 50px)!important;max-width:100%!important}
  .f254-media-lightbox:not([hidden]) .f254-lightbox-detail{
    box-sizing:border-box!important;position:absolute!important;
    left:0!important;right:0!important;bottom:0!important;
    height:53dvh!important;max-height:calc(100dvh - 54px)!important;
    display:flex!important;flex-direction:column!important;
    padding:0 12px!important;overflow-y:auto!important;overflow-x:hidden!important;
    overscroll-behavior-y:contain!important;border-radius:19px 19px 0 0!important;
  }
  .f254-media-lightbox .f735-lightbox-header{flex:0 0 auto!important;top:0!important}
  .f254-media-lightbox .f254-lightbox-detail>.social-post{
    box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
    flex:1 0 auto!important;min-height:calc(100% - 51px)!important;padding:10px 0 0!important;
    margin:0!important;
  }
  .f254-media-lightbox .f254-lightbox-detail>.social-post .social-post-top{flex:0 0 auto}
  .f254-media-lightbox.is-expanded .f254-lightbox-stage{height:14dvh!important;max-height:14dvh!important;flex:0 0 14dvh!important}
  .f254-media-lightbox.is-expanded .f254-lightbox-stage>img{max-height:calc(14dvh - 42px)!important}
  .f254-media-lightbox.is-expanded .f254-lightbox-detail{height:88dvh!important;max-height:calc(100dvh - 13px)!important}
  html.f856-composing .f254-media-lightbox:not([hidden]) .f254-lightbox-detail{max-height:var(--f856-vh,100dvh)!important}
  .f254-media-lightbox:has(.social-comments:not([hidden])) .f254-lightbox-detail{overflow-y:visible!important}
  .f254-media-lightbox .social-post .social-comments:not([hidden]){left:0!important;right:0!important;width:100vw!important;max-width:100vw!important;transform:none!important}
  .social-shell .social-post .social-comments:not([hidden]){width:100vw!important;max-width:100vw!important}
}
@media(min-width:900px){
 .social-post .social-comments:not([hidden]){width:min(560px,calc(100vw - 32px))!important}
 .f254-media-lightbox .f254-lightbox-detail .social-post-actions{margin-top:auto!important}
 .f254-media-lightbox .social-post .social-comments:not([hidden]){right:14px!important;left:auto!important;bottom:50%!important;transform:translateY(50%)!important;max-height:calc(100dvh - 80px)!important}
 .f254-media-lightbox .social-post .social-comments.f859-expanded:not([hidden]){height:calc(100dvh - 80px)!important}
}
@media(max-width:360px){
 .social-comments .social-comment-form{grid-template-columns:minmax(0,1fr) 30px 36px!important;gap:5px!important;padding-inline:7px!important}
 .social-comments .social-comment-form .social-comment-attach{width:30px!important}
 .social-comments .social-comment-form .social-send-button{width:36px!important;min-width:36px!important}
}
@media(prefers-reduced-motion:reduce){.social-comments,.social-comments *{scroll-behavior:auto!important;transition-duration:0s!important}}

/* Minimal loading state, never a large blank or skeleton card. */
.f859-comments-loading{margin:12px 15px;padding:7px 10px;font-size:13px;color:var(--social-muted,#697589)}


/* v1070: /assets/css/fans254-v860-reels-comments.css */
/* V8.60 – scoped to the real Reel/watch & existing comment forms. */
/* Reposter row: icon + username, without redundant "reposted" caption or the gap beneath it. */
.social-shell .social-post:not(.social-reel-post)> .f254-repost-context{
  margin:2px 0 3px 11px!important;padding:0!important;
}
.social-shell .social-post:not(.social-reel-post)> .f254-repost-context .f254-repost-line{
  margin-bottom:0!important;min-height:19px!important;gap:6px!important;
}
.social-shell .social-post:not(.social-reel-post)> .f254-repost-context + .social-post-top{margin-top:0!important}
/* Preserve all existing Reel actions, but remove the full-width misted block. */
.social-shell .social-reel-watch .social-reel-post > .social-post-actions{
  background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  box-shadow:none!important;border:0!important;border-radius:0!important;
  padding:4px 0!important;gap:7px!important;
}
.social-shell .social-reel-watch .social-reel-post > .social-post-actions .social-post-tool{
  flex:1 1 0!important;min-height:42px!important;min-width:0!important;
  border:1px solid rgba(255,255,255,.13)!important;
  border-radius:16px!important;background:rgba(28,44,75,.72)!important;
  color:#fff!important;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);
  padding:7px 3px!important;
}
.social-shell .social-reel-watch .social-reel-post > .social-post-actions [data-post-toggle="like"]{background:rgba(170,44,88,.78)!important}
.social-shell .social-reel-watch .social-reel-post > .social-post-actions [data-post-comments]{background:rgba(39,105,202,.78)!important}
.social-shell .social-reel-watch .social-reel-post > .social-post-actions [data-post-toggle="repost"]{background:rgba(107,70,164,.79)!important}
.social-shell .social-reel-watch .social-reel-post > .social-post-actions [data-post-analytics]{background:rgba(35,91,135,.78)!important}
.social-shell .social-reel-watch .social-reel-post > .social-post-actions [data-post-toggle="bookmark"]{background:rgba(98,99,119,.82)!important}
.social-shell .social-reel-watch .social-reel-post > .social-post-actions [data-commerce-open="tip"]{background:rgba(182,107,35,.8)!important}
.social-shell .social-reel-watch .social-reel-post > .social-post-actions .social-post-tool:focus-visible{outline:2px solid #fff!important;outline-offset:3px}
@media(max-width:420px){.social-shell .social-reel-watch .social-reel-post > .social-post-actions{gap:5px!important}.social-shell .social-reel-watch .social-reel-post > .social-post-actions .social-post-tool{border-radius:13px!important}}
/* Keep the actual V8.43 transport visible, retaining one seek bar and one video element. */
.social-reel-watch.f845-transport-hidden [data-reel-controls]:not([hidden]),
.social-reel-watch [data-reel-controls]:not([hidden]){
  opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateX(-50%)!important;
}
.social-reel-watch [data-reel-fullscreen]{width:31px;min-width:31px;flex:0 0 31px;touch-action:manipulation}
.social-reel-watch [data-reel-fullscreen] svg{width:19px!important;height:19px!important}
.social-reel-watch [data-reel-fullscreen] .f860-fullscreen-exit{display:none}
.social-reel-watch.f860-fullscreen [data-reel-fullscreen] .f860-fullscreen-enter{display:none}
.social-reel-watch.f860-fullscreen [data-reel-fullscreen] .f860-fullscreen-exit{display:inline-flex}
/* Fullscreen reuses the exact original video DOM node: no duplication/reinit. */
.social-reel-watch.f860-fullscreen:fullscreen,
.social-reel-watch.f860-fullscreen:-webkit-full-screen{
  position:fixed!important;inset:0!important;width:100vw!important;
  height:100dvh!important;max-height:100dvh!important;margin:0!important;
  background:#000!important;overflow:hidden!important;
}
.social-reel-watch.f860-fullscreen .social-reel-scroller{
  position:absolute!important;inset:0!important;height:100%!important;
  overflow:hidden!important;scroll-snap-type:none!important;
}
.social-reel-watch.f860-fullscreen .social-reel-panel:not(.f860-current){visibility:hidden!important;pointer-events:none!important}
.social-reel-watch.f860-fullscreen .social-reel-panel.f860-current{
  position:fixed!important;inset:0!important;width:100%!important;height:100%!important;
  margin:0!important;z-index:1!important;scroll-snap-align:none!important;
}
.social-reel-watch.f860-fullscreen .social-reel-post,
.social-reel-watch.f860-fullscreen .social-reel-media{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  max-height:none!important;margin:0!important;background:#000!important;
}
.social-reel-watch.f860-fullscreen .social-reel-media video[data-reel-video]{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  object-fit:contain!important;max-width:none!important;max-height:none!important;
}
/* If orientation locking is blocked on Android, rotate only horizontal footage,
   while leaving the transport upright/readable; portrait footage never rotates. */
@media(orientation:portrait){
  .social-reel-watch.f860-fullscreen.f860-wide-reel.f860-landscape-fallback .social-reel-media video[data-reel-video]{
    top:50%!important;left:50%!important;inset:auto!important;
    width:100dvh!important;height:100vw!important;
    transform:translate(-50%,-50%) rotate(90deg)!important;object-fit:contain!important;
  }
}
.social-reel-watch.f860-fullscreen :is(.social-reel-navigation,.social-reel-progress,.social-reel-play),
.social-reel-watch.f860-fullscreen .f860-current :is(.social-post-top,.social-post-actions,.f254-reel-caption-wrap,.social-post-menu){
  visibility:hidden!important;pointer-events:none!important;
}
/* Same playback strip, with the existing sound button moved into its row. */
.social-reel-watch.f860-fullscreen .f843-reel-transport{
  display:flex!important;position:fixed!important;bottom:max(12px,env(safe-area-inset-bottom))!important;
  left:50%!important;width:min(95vw,720px)!important;
  transform:translateX(-50%)!important;padding:8px 10px!important;
  border-radius:15px!important;min-height:44px!important;z-index:999!important;
  background:rgba(12,15,23,.75)!important;backdrop-filter:blur(6px)!important;
}
.social-reel-watch.f860-fullscreen [data-reel-controls] [data-reel-sound]{
  position:static!important;display:grid!important;place-items:center!important;
  flex:0 0 32px!important;width:32px!important;height:32px!important;
  min-width:32px!important;min-height:32px!important;margin:0!important;
  padding:4px!important;border:0!important;background:transparent!important;
  color:white!important;border-radius:8px!important;box-shadow:none!important;
  backdrop-filter:none!important;
}
.social-reel-watch.f860-fullscreen [data-reel-controls] [data-reel-sound] .social-icon{width:20px!important;height:20px!important}
.social-reel-watch.f860-fullscreen [data-reel-controls] button{width:30px!important;height:32px!important;flex:0 0 30px!important}
.social-reel-watch.f860-fullscreen [data-reel-controls] [data-reel-transport-seek]{flex:1 1 0!important;min-width:24px!important}
.social-reel-watch.f860-fullscreen [data-reel-controls] time{color:#fff!important}
/* Media preview appears *before* Send, for existing feed/live/repost/reel/lightbox comment forms. */
.social-comments .social-comment-form .f860-comment-media-preview{
  position:relative;grid-column:1/-1!important;grid-row:auto!important;
  display:flex;align-items:center;gap:10px;padding:8px 40px 8px 8px;
  min-width:0;border:1px solid var(--social-border,#dae2ee);border-radius:13px;
  background:var(--social-muted-bg,#f5f7fa);overflow:hidden;
}
.social-comments .f860-comment-media-preview :is(img,video){
  width:min(100px,25vw)!important;height:94px!important;max-height:94px!important;
  object-fit:contain!important;background:#111827;border-radius:9px;flex:0 0 auto;
}
.social-comments .f860-comment-media-preview .f860-preview-name{
  display:block;flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;
  white-space:nowrap;font-size:12px;color:var(--social-text,#18283e);
}
.social-comments .f860-comment-media-preview .f860-preview-remove{
  position:absolute;right:7px;top:7px;width:29px;height:29px;border-radius:50%;
  display:grid;place-items:center;background:var(--social-surface,#fff);border:1px solid var(--social-border,#d8e0ee);
  color:var(--social-text,#18283e);font-size:21px;line-height:1;cursor:pointer;
}
.social-comments .social-comment-form:has(.social-replying:not([hidden])) .f860-comment-media-preview{grid-row:3!important}
.social-comments .social-comment-form:not(:has(.social-replying:not([hidden]))) .f860-comment-media-preview{grid-row:2!important}
.social-comments .social-comment-form .social-form-error:not(:empty){grid-row:auto!important}
/* X-style rounded thread elbows, scoped to actual nested-comment ancestry. */
.social-comments .social-comment[data-comment-depth="1"],
.social-comments .social-comment[data-comment-depth="2"],
.social-comments .social-comment[data-comment-depth="3"]{isolation:isolate}
.social-comments .social-comment:is([data-comment-depth="1"],[data-comment-depth="2"],[data-comment-depth="3"])::before{
  width:15px!important;height:23px!important;left:-9px!important;top:7px!important;
  border-left:2px solid var(--social-border,#d0d8e3)!important;
  border-bottom:2px solid var(--social-border,#d0d8e3)!important;
  border-radius:0 0 0 12px!important;
}
.social-comments .social-comment[data-comment-depth="0"]:has(+ .social-comment[data-comment-depth="1"])::after,
.social-comments .social-comment[data-comment-depth="1"]:has(+ .social-comment[data-comment-depth="2"])::after,
.social-comments .social-comment[data-comment-depth="2"]:has(+ .social-comment[data-comment-depth="3"])::after{
  content:"";position:absolute;left:17px;top:51px;bottom:-18px;
  width:2px;background:var(--social-border,#d0d8e3);border-radius:6px;pointer-events:none;
}
/* Keep admin settings logo preview aligned with the actual brand partial. */
.f860-brand-preview{display:flex;align-items:center;gap:13px;margin-bottom:14px;padding:14px!important}
.f860-brand-preview img{display:block;width:54px;height:54px;flex:0 0 54px}
.f860-brand-preview span{display:grid;gap:4px;min-width:0}
.f860-brand-preview strong{font-size:14px}
.f860-brand-preview small{font-size:12px;color:var(--muted,#738094)}
@media(min-width:900px){
 .social-reel-watch.f860-fullscreen .f843-reel-transport{width:min(75vw,800px)!important}
 .social-comments .social-comment-form .f860-comment-media-preview{max-width:100%}
}
@media(prefers-reduced-motion:reduce){.social-reel-watch [data-reel-controls]{transition:none!important}}
/* No underlying post/reel dialogs may appear above the fullscreen video controls. */
.social-reel-watch.f860-fullscreen :is(.social-comments,.f254-reel-caption-modal,.social-post-menu),
.social-reel-watch.f860-fullscreen .f860-current .social-reel-play{display:none!important}
.social-reel-watch.f860-fullscreen .social-reel-media video[data-reel-video].is-cover{object-fit:contain!important}

/* V8.61 - Fullscreen stabilization. Keep current video composited during
   native Android orientation transitions, without a separate poster/placeholder. */
.social-reel-watch[data-f861-fullscreen-lock="1"]{contain:none!important;}
.social-reel-watch.f860-fullscreen .social-reel-scroller{transform:none!important;will-change:auto!important;}
.social-reel-watch.f860-fullscreen .social-reel-panel.f860-current{
  position:absolute!important;inset:0!important;transform:none!important;
  opacity:1!important;visibility:visible!important;
  content-visibility:visible!important;contain:none!important;
}
.social-reel-watch.f860-fullscreen .social-reel-panel.f860-current .social-reel-post{
  transform:none!important;contain:none!important;content-visibility:visible!important;
  opacity:1!important;visibility:visible!important;
}
.social-reel-watch.f860-fullscreen .social-reel-panel.f860-current .social-reel-media{
  z-index:0!important;contain:none!important;content-visibility:visible!important;
}
.social-reel-watch.f860-fullscreen .social-reel-panel.f860-current video[data-reel-video]{
  visibility:visible!important;opacity:1!important;display:block!important;
  transform:none;animation:none!important;transition:none!important;
  object-position:center center!important;pointer-events:none!important;
}
@media(orientation:portrait){
  .social-reel-watch.f860-fullscreen.f860-wide-reel.f860-landscape-fallback .f860-current video[data-reel-video]{
    transform:translate(-50%,-50%) rotate(90deg)!important;
  }
}
.social-reel-watch.f860-fullscreen .f843-reel-transport{
  z-index:2147483000!important;transition:none!important;animation:none!important;
  width:min(calc(100vw - 20px),720px)!important;
}
.social-reel-watch.f861-fullscreen-entering .f843-reel-transport,
.social-reel-watch.f861-fullscreen-exiting .f843-reel-transport{transition:none!important}


/* v1070: /assets/css/fans254-v862-ads-comments-actions.css */
/* V8.62 - Restore existing shared blur; never change Reel fullscreen/transport or media elements. */
.social-shell .social-reel-watch .social-reel-post > .social-post-actions{
  background:rgba(19,22,31,.49)!important;
  -webkit-backdrop-filter:blur(12px)!important;backdrop-filter:blur(12px)!important;
  border:1px solid rgba(255,255,255,.17)!important;
  border-radius:17px!important;box-shadow:0 4px 22px rgba(0,0,0,.13)!important;
  gap:0!important;padding:5px 8px!important;
}
.social-shell .social-reel-watch .social-reel-post > .social-post-actions .social-post-tool,
.social-shell .social-reel-watch .social-reel-post > .social-post-actions [data-post-toggle="like"],
.social-shell .social-reel-watch .social-reel-post > .social-post-actions [data-post-comments],
.social-shell .social-reel-watch .social-reel-post > .social-post-actions [data-post-toggle="repost"],
.social-shell .social-reel-watch .social-reel-post > .social-post-actions [data-post-analytics],
.social-shell .social-reel-watch .social-reel-post > .social-post-actions [data-post-toggle="bookmark"],
.social-shell .social-reel-watch .social-reel-post > .social-post-actions [data-commerce-open="tip"]{
  background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  border:0!important;border-radius:9px!important;box-shadow:none!important;
  color:#fff!important;min-height:39px!important;
}
.social-shell .social-reel-watch .social-reel-post > .social-post-actions .social-post-tool.is-liked{color:#ff87a0!important}
.social-shell .social-reel-watch .social-reel-post > .social-post-actions .social-post-tool.is-active:not(.is-liked){color:#82baff!important}
/* Sponsored ad comments use the same sheet/header/list/composer CSS structure as organic feed comments. */
html.f862-ad-comments-open,html.f862-ad-comments-open body{overflow:hidden!important;overscroll-behavior:none!important}
.f862-ad-comments-backdrop{position:fixed;inset:0;z-index:9199;background:rgba(6,11,22,.54);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.f862-ad-sheet[hidden]{display:none!important}
.f862-ad-sheet:not([hidden]){
  box-sizing:border-box!important;position:fixed!important;
  z-index:9200!important;inset:auto 0 var(--f862-keyboard-inset,0px) 0!important;
  width:100%!important;max-width:100%!important;
  height:min(76dvh,720px)!important;max-height:calc(var(--f862-available-height,100dvh) - 4px)!important;
  min-height:0!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:22px 22px 0 0!important;
  display:flex!important;flex-direction:column!important;
  overflow:hidden!important;overscroll-behavior:contain!important;
  box-shadow:0 -18px 58px rgba(0,0,0,.3)!important;
  background:var(--social-surface,#fff)!important;color:var(--social-text,#172235)!important;
}
.f862-ad-sheet .social-comments-head{
  box-sizing:border-box;position:relative;display:flex!important;justify-content:center!important;align-items:center!important;
  flex:0 0 61px!important;min-height:61px!important;margin:0!important;padding:14px 58px 8px!important;
  border-bottom:1px solid var(--social-border,#e5e9f0)!important;background:inherit!important;
}
.f862-ad-sheet .social-comments-head strong{font-size:16px!important;font-weight:750!important}
.f862-ad-sheet .f862-sheet-grip{position:absolute;left:calc(50% - 19px);top:8px;width:38px;height:4px;border-radius:8px;background:var(--social-muted,#76869a);opacity:.5}
.f862-ad-sheet .social-comments-head [data-ad-comments-close]{position:absolute;right:16px;top:15px;display:grid;place-items:center;width:36px;height:36px;background:var(--social-muted-bg,#f3f6fa);border:0;border-radius:50%;color:var(--social-muted,#67778c)!important}
.f862-ad-sheet .social-comments-head [data-ad-comments-close] svg{width:19px;height:19px}
.f862-ad-sheet .f830-comment-items{
  display:block!important;flex:1 1 auto!important;box-sizing:border-box!important;min-height:0!important;
  padding:13px clamp(14px,3vw,22px) 18px!important;margin:0!important;
  max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;
  overscroll-behavior-y:contain!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch;
  scrollbar-width:none!important;
}
.f862-ad-sheet .f830-comment-items::-webkit-scrollbar{width:0!important;display:none!important}
.f862-ad-sheet .f830-comment-line{display:block!important;padding:13px 0!important;font-size:14px!important;line-height:1.5!important;border-bottom:1px solid var(--social-border,#e3e9f0)!important}
 .f862-ad-sheet .f830-comment-line{display:flex!important;gap:10px!important;align-items:flex-start!important}
.f862-ad-sheet .f862-ad-comment-avatar{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:var(--social-muted-bg,#e8eff8);font-weight:750;font-size:15px;overflow:hidden}
.f862-ad-sheet .f862-ad-comment-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.f862-ad-sheet .f830-comment-line .social-comment-body{flex:1;min-width:0}
.f862-ad-sheet .f830-comment-line strong{font-size:14px!important;font-weight:750!important}
.f862-ad-sheet .f830-comment-line small{font-size:11px!important}
.f862-ad-sheet .f830-comment-line p{margin:5px 0 0!important;font-size:14px!important;white-space:pre-wrap}
.f862-ad-sheet .f830-comment-note{padding:24px 0!important;font-size:14px!important;color:var(--social-muted,#748093)!important}
.f862-ad-sheet .f830-comment-form{
  box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr) 42px!important;
  align-items:center!important;gap:9px!important;flex:0 0 auto!important;
  margin:0!important;padding:10px clamp(12px,3vw,20px) max(12px,env(safe-area-inset-bottom))!important;
  border-top:1px solid var(--social-border,#e5e9f0)!important;background:inherit!important;
}
.f862-ad-sheet .f830-comment-form textarea{
  box-sizing:border-box!important;grid-column:1!important;grid-row:1!important;
  width:100%!important;min-width:0!important;height:40px;min-height:40px!important;max-height:144px!important;
  margin:0!important;padding:9px 13px!important;border:1px solid var(--social-border,#dde4ed)!important;
  border-radius:21px!important;background:var(--social-muted-bg,#f5f7fa)!important;
  color:var(--social-text,#16243b)!important;font:inherit!important;font-size:16px!important;line-height:1.35!important;
  appearance:none!important;resize:none!important;overflow-y:auto!important;scrollbar-width:none!important;
}
.f862-ad-sheet .f830-comment-form textarea::-webkit-scrollbar,.f862-ad-sheet .f830-comment-form textarea::-webkit-resizer{display:none!important}
.f862-ad-sheet .f830-comment-send{
  box-sizing:border-box!important;grid-column:2!important;grid-row:1!important;
  display:grid!important;place-items:center!important;width:42px!important;height:42px!important;min-width:42px!important;
  margin:0!important;padding:0!important;background:var(--blue,#1877f2)!important;color:white!important;
  border:0!important;border-radius:13px!important;opacity:1!important;
}
.f862-ad-sheet .f830-comment-send .social-icon{width:20px!important;height:20px!important;color:#fff!important;stroke:currentColor!important}
.f862-ad-sheet .f830-comment-send.is-busy .social-icon{display:none!important}
.f862-ad-sheet .f830-comment-send.is-busy .social-spinner{display:block!important;color:#fff!important;width:18px;height:18px}
/* Show either the paper-plane icon or its spinner, never both. Applies to organic feed, repost, live-feed, Reel and lightbox comments. */
.social-comment-form .social-send-button.is-busy > svg,
.social-comment-form .social-send-button[aria-busy="true"] > svg,
.f254-v722-chat-form button.is-busy > svg,
.f254-v722-chat-form button[aria-busy="true"] > svg{display:none!important}
.social-comment-form .social-send-button.is-busy .social-spinner,
.f254-v722-chat-form button.is-busy .social-spinner{display:block!important}
/* Same treatment for live video chat composer: only one submit state. */
.f254-v722-chat-form button[type="submit"].is-busy{display:grid!important;place-items:center!important}
/* Lightbox: normal feed action order, consistently distributed; final bookmark occupies the far-right cell. */
.f254-media-lightbox .f254-lightbox-detail .social-post-actions{
  display:flex!important;justify-content:space-between!important;align-items:center!important;
  gap:0!important;width:100%!important;max-width:100%!important;
  padding-inline:clamp(2px,1.5vw,10px)!important;box-sizing:border-box!important;
}
.f254-media-lightbox .f254-lightbox-detail .social-post-actions > .social-post-actions-left,
.f254-media-lightbox .f254-lightbox-detail .social-post-actions > .social-actions-right{display:contents!important}
.f254-media-lightbox .f254-lightbox-detail .social-post-actions .social-post-tool{
  flex:1 1 0!important;width:0!important;min-width:0!important;max-width:none!important;
  margin:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;padding:9px 2px!important;
}
.f254-media-lightbox .f254-lightbox-detail .social-post-actions .social-post-tool.social-bookmark-action{margin-left:auto!important;margin-right:0!important}
.f254-media-lightbox .f254-lightbox-detail .social-post-actions .social-post-tool .social-icon{width:22px!important;height:22px!important}
@media(min-width:900px){
 .f862-ad-sheet:not([hidden]){left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(560px,calc(100vw - 24px))!important;max-width:560px!important;border-radius:20px!important;bottom:max(22px,var(--f862-keyboard-inset,0px))!important;height:min(75dvh,740px)!important}
}
@media(max-width:420px){.f862-ad-sheet .f830-comment-form{gap:7px!important;padding-inline:12px!important}.f862-ad-sheet .f830-comment-send{width:40px!important;min-width:40px!important;height:40px!important}}
html[data-theme="dark"] .f862-ad-sheet{background:var(--social-surface,#24272d)!important;color:var(--social-text,#f2f4f8)!important}


/* v1070: /assets/css/fans254-v863-reel-auth-carousel.css */
/* V8.63: scoped fixes only. Leave brand, routes and playback controls intact. */
/* Native orientation is the only rotation path. A transformed video alongside
   screen.orientation.lock made Android draw an unpainted black column. */
.social-reel-watch.f860-fullscreen .social-reel-panel.f860-current .social-reel-media video[data-reel-video],
.social-reel-watch.f860-fullscreen.f860-wide-reel.f860-landscape-fallback .social-reel-media video[data-reel-video]{
  position:absolute!important;top:0!important;left:0!important;right:0!important;bottom:0!important;
  inset:0!important;width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;
  object-fit:contain!important;object-position:center!important;
  transform:none!important;transition:none!important;animation:none!important;
  backface-visibility:visible!important;visibility:visible!important;opacity:1!important;
}
.social-reel-watch.f860-fullscreen:fullscreen,
.social-reel-watch.f860-fullscreen:-webkit-full-screen {
  position:fixed!important;inset:0!important;
  width:100vw!important;height:100dvh!important;
  max-width:none!important;max-height:none!important;
  background:#000!important;overflow:hidden!important;
}
.social-reel-watch.f860-fullscreen .social-reel-scroller {
  position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;max-height:none!important;
  overflow:hidden!important;scroll-behavior:auto!important;
  contain:none!important;transform:none!important;
}
.social-reel-watch.f860-fullscreen .social-reel-panel.f860-current,
.social-reel-watch.f860-fullscreen .social-reel-panel.f860-current .social-reel-post,
.social-reel-watch.f860-fullscreen .social-reel-panel.f860-current .social-reel-media {
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  max-height:none!important;overflow:hidden!important;margin:0!important;
  transform:none!important;transition:none!important;animation:none!important;
  contain:none!important;content-visibility:visible!important;
}
.social-reel-watch.f860-fullscreen .f843-reel-transport {
  position:absolute!important;bottom:max(12px,env(safe-area-inset-bottom))!important;
  transition:none!important;transform:translateX(-50%)!important;
}
/* Mobile guest imagery: make the existing photo taller to the indicated
   baseline without touching the SVG logo, auth forms, or desktop rendering. */
@media (max-width:699px) {
  .auth-layout--refresh.auth-layout--login .auth-mobile-visual,
  .auth-layout--refresh.auth-layout--welcome .auth-mobile-visual {
    height:clamp(410px,56dvh,585px)!important;
    flex:0 0 auto!important;
  }
}
/* Feed galleries in night mode: legible arrows, not invisible pale chevrons
   on transparent/white circles. Scoped to existing gallery controls. */
html[data-theme="dark"] .social-shell .f254-feed-gallery .f254-gallery-arrow,
html[data-theme="dark"] .social-shell .social-post .f254-gallery-arrow,
[data-theme="dark"] .social-shell .f254-feed-gallery .f254-gallery-arrow {
  display:grid!important;place-items:center!important;
  width:34px!important;height:34px!important;min-width:34px!important;
  font-family:Arial,sans-serif!important;font-size:31px!important;font-weight:600!important;
  line-height:1!important;color:#101a29!important;
  background:rgba(255,255,255,.93)!important;
  border:1px solid rgba(21,35,53,.12)!important;border-radius:50%!important;
  opacity:1!important;text-shadow:none!important;box-shadow:0 2px 12px rgba(0,0,0,.3)!important;
  z-index:3!important;-webkit-text-fill-color:#101a29!important;
}
html[data-theme="dark"] .social-shell .f254-gallery-arrow:focus-visible {outline:2px solid #80b9ff!important;outline-offset:2px!important;}
@media (max-width:390px) {
  html[data-theme="dark"] .social-shell .f254-feed-gallery .f254-gallery-arrow {width:32px!important;height:32px!important;min-width:32px!important;}
}


/* v1070: /assets/css/fans254-v864-ad-comments-reel-controls.css */
/* V8.64 — Scoped parity between sponsored and organic comments.
   The sponsored sheet is moved under body to avoid clipped reel/feed ancestors;
   set the same theme variables it would inherit from .social-shell. */
.f864-ad-sheet{
  --social-surface:#fff;--social-muted-bg:#f4f6f9;
  --social-text:#152033;--social-muted:#66778f;--social-border:#e9edf3;
  --blue:#1877f2;
}
html[data-theme="dark"] .f864-ad-sheet{
  --social-surface:#111214;--social-muted-bg:#202226;
  --social-text:#f1f3f7;--social-muted:#a4aab6;--social-border:#292c31;
}
.f864-ad-sheet:not([hidden]){
  background:var(--social-surface)!important;color:var(--social-text)!important;
  isolation:isolate;
}
.f864-ad-sheet .social-comments-head{
  display:flex!important;justify-content:space-between!important;align-items:center!important;
  padding:7px 14px 9px!important;min-height:59px!important;flex:0 0 59px!important;
  background:var(--social-surface)!important;border-bottom:1px solid var(--social-border)!important;
}
.f864-ad-sheet .social-comments-head .f859-comments-expand{
  position:relative;display:flex;flex:1;align-self:stretch;align-items:center;justify-content:center;
  padding:10px 24px 2px!important;min-width:0;background:transparent;color:inherit;
  font-size:15px;border:0;gap:8px;cursor:pointer;
}
.f864-ad-sheet .social-comments-head .f859-comments-grip{
  position:absolute;top:0;left:50%;transform:translateX(-50%);
  display:block;width:38px;height:4px;border-radius:5px;
  background:var(--social-muted);opacity:.53;
}
.f864-ad-sheet .social-comments-head .f859-comments-count{font-size:11px;color:var(--social-muted)}
.f864-ad-sheet .social-comments-head [data-ad-comments-close]{
  position:static!important;flex:0 0 34px;display:grid;place-items:center;
  width:34px!important;height:34px!important;min-height:34px!important;
  padding:0!important;border-radius:50%;border:0;
  background:var(--social-muted-bg)!important;color:var(--social-muted)!important;
}
.f864-ad-sheet .social-comment-list.f830-comment-items{
  display:block!important;flex:1 1 auto!important;min-height:0!important;
  padding:9px 14px 18px!important;margin:0!important;
  overflow-y:auto!important;overscroll-behavior-y:contain;
  background:var(--social-surface)!important;scrollbar-width:none!important;
}
.f864-ad-sheet .social-comment-list::-webkit-scrollbar{display:none!important;width:0!important}
.f864-ad-sheet .social-comment.f830-comment-line{
  display:flex!important;gap:10px!important;align-items:flex-start;
  padding:12px 0!important;border:0!important;margin:0!important;
  background:transparent!important;font-size:13px!important;
}
.f864-ad-sheet .social-comment+.social-comment[data-comment-depth="0"]{
  border-top:1px solid var(--social-border)!important;
}
.f864-ad-sheet .social-comment .social-avatar-sm{width:35px!important;height:35px!important;flex:0 0 35px!important}
.f864-ad-sheet .social-comment-body{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
.f864-ad-sheet .f864-comment-author{display:flex;align-items:center;gap:9px;min-width:0;flex-wrap:wrap}
.f864-ad-sheet .f864-comment-author strong{font-size:13px!important;font-weight:750;color:var(--social-text)!important}
.f864-ad-sheet .f864-comment-author small{margin:0!important;color:var(--social-muted)!important;font-size:11px!important}
.f864-ad-sheet .social-comment-text{font-size:13px!important;line-height:1.46!important;margin:4px 0 6px!important;white-space:pre-wrap}
.f864-ad-sheet .social-no-comments.f830-comment-note{
  display:block;font-size:14px!important;color:var(--social-muted)!important;
  padding:21px 0!important;margin:0!important;line-height:1.5;
}
.f864-ad-sheet .social-no-comments[hidden]{display:none!important}
.f864-ad-sheet .f864-comment-actions{display:flex;gap:17px;margin-top:4px;align-items:center}
.f864-ad-sheet .f864-comment-actions button{
  border:0;background:none;padding:5px 0;color:var(--social-muted);
  font-size:11px;font-weight:650;cursor:pointer;
}
.f864-ad-sheet .social-comment[data-comment-depth="1"]{margin-left:min(8vw,29px)!important;padding-left:10px!important}
.f864-ad-sheet .social-comment[data-comment-depth="2"]{margin-left:min(13vw,48px)!important;padding-left:10px!important}
.f864-ad-sheet .social-comment[data-comment-depth="3"]{margin-left:min(16vw,59px)!important;padding-left:10px!important}
.f864-ad-sheet .social-comment:is([data-comment-depth="1"],[data-comment-depth="2"],[data-comment-depth="3"])::before{
  content:"";position:absolute;left:0;top:0;width:9px;height:24px;
  border-left:1.5px solid var(--social-border);border-bottom:1.5px solid var(--social-border);
  border-bottom-left-radius:8px;pointer-events:none;
}
.f864-ad-sheet .f864-ad-media{display:block;max-width:min(100%,310px);margin-top:7px}
.f864-ad-sheet .f864-ad-media :is(img,video){
  display:block;max-width:100%;width:auto;max-height:min(28dvh,230px);
  object-fit:contain;border-radius:11px;background:#0b0d11;
}
/* Organic comments' exact three-column media composer placement, even when
   older ad-only 2-column rules were loaded earlier. */
.f864-ad-sheet .social-comment-form.f830-comment-form{
  display:grid!important;grid-template-columns:minmax(0,1fr) 34px 40px!important;
  flex:0 0 auto;gap:7px!important;align-items:center!important;
  box-sizing:border-box!important;padding:9px 12px max(10px,env(safe-area-inset-bottom))!important;
  margin:0!important;width:100%!important;
  background:var(--social-surface)!important;color:var(--social-text)!important;
  border-top:1px solid var(--social-border)!important;
}
.f864-ad-sheet .social-comment-form.f830-comment-form textarea{
  grid-column:1!important;grid-row:1!important;display:block!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:40px;min-height:40px!important;max-height:140px!important;
  padding:9px 12px!important;margin:0!important;resize:none!important;
  background:var(--social-muted-bg)!important;color:var(--social-text)!important;
  border:1px solid var(--social-border)!important;border-radius:21px!important;
  font:inherit!important;font-size:16px!important;line-height:1.35!important;
  appearance:none!important;-webkit-appearance:none!important;
  overflow-y:hidden;scrollbar-width:none!important;
}
.f864-ad-sheet .social-comment-form.f830-comment-form textarea::-webkit-scrollbar,.f864-ad-sheet .social-comment-form.f830-comment-form textarea::-webkit-resizer{display:none!important}
.f864-ad-sheet .social-comment-form .social-comment-attach{
  grid-column:2!important;grid-row:1!important;display:grid!important;place-items:center!important;
  align-self:center!important;width:34px!important;height:40px!important;min-height:40px!important;
  padding:0!important;color:#1877f2!important;border:0;background:transparent!important;
  cursor:pointer;
}
.f864-ad-sheet .social-comment-form .social-comment-attach svg{width:22px!important;height:22px!important;color:#1877f2!important;stroke:currentColor!important}
.f864-ad-sheet .social-comment-form .social-send-button.f830-comment-send{
  grid-column:3!important;grid-row:1!important;display:grid!important;place-items:center!important;
  align-self:center!important;justify-self:end!important;
  width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important;
  margin:0!important;padding:0!important;background:#1877f2!important;
  border:0!important;border-radius:12px!important;color:#fff!important;
}
.f864-ad-sheet .social-send-button > svg{color:white!important;stroke:#fff!important;width:20px!important;height:20px!important;display:block!important}
.f864-ad-sheet .social-send-button .social-spinner{display:none!important}
.f864-ad-sheet .social-send-button.is-busy > svg{display:none!important}
.f864-ad-sheet .social-send-button.is-busy .social-spinner{
  display:block!important;width:18px!important;height:18px!important;
  border:2px solid rgba(255,255,255,.3)!important;border-top-color:white!important;
  border-radius:50%;animation:f864-spin .7s linear infinite;
}
@keyframes f864-spin{to{transform:rotate(360deg)}}
.f864-ad-sheet .social-comment-form .social-replying:not([hidden]){
  grid-column:1/-1!important;grid-row:1!important;margin:0!important;padding:3px 4px!important;
  display:flex!important;align-items:center!important;gap:5px!important;font-size:12px!important;
  color:var(--social-muted)!important;
}
.f864-ad-sheet .social-comment-form:has(.social-replying:not([hidden])) :is(textarea,.social-comment-attach,.social-send-button){grid-row:2!important}
.f864-ad-sheet .social-comment-form .social-form-error:not(:empty){grid-column:1/-1!important;color:#d95050;font-size:12px}
.f864-ad-sheet.f859-expanded:not([hidden]){
  height:calc(var(--f862-available-height,100dvh) - 10px)!important;
  max-height:calc(var(--f862-available-height,100dvh) - 10px)!important;
}
.f864-ad-sheet.f859-many-comments:not([hidden]):not(.f859-expanded){height:min(89dvh,900px)!important}
@media(min-width:900px){
  .f864-ad-sheet.f859-expanded:not([hidden]){max-height:calc(100dvh - 44px)!important;height:calc(100dvh - 44px)!important}
}
@media(max-width:370px){
  .f864-ad-sheet .social-comment-form.f830-comment-form{grid-template-columns:minmax(0,1fr) 30px 36px!important;gap:5px!important;padding-inline:8px!important}
  .f864-ad-sheet .social-comment-form .social-comment-attach{width:30px!important}
  .f864-ad-sheet .social-comment-form .social-send-button.f830-comment-send{width:36px!important;min-width:36px!important;height:36px!important}
}
/* Preserve organic feed's slim 3px seek track on organic Reels.
   Do not touch the actual video element, seek event handlers, or ad players. */
.social-shell .social-reel-watch .f843-reel-transport input.f864-reel-seek[type="range"]{
  flex:1 1 0!important;min-width:28px!important;height:22px!important;
  padding:0!important;margin:0 1px!important;
  appearance:none!important;-webkit-appearance:none!important;
  background:transparent!important;accent-color:auto!important;
  cursor:pointer;--played:0%;
}
.social-shell .social-reel-watch .f843-reel-transport input.f864-reel-seek::-webkit-slider-runnable-track{
  height:3px!important;border-radius:99px!important;
  background:linear-gradient(to right,#4b9bff var(--played),#ffffff82 var(--played))!important;
}
.social-shell .social-reel-watch .f843-reel-transport input.f864-reel-seek::-moz-range-track{
  height:3px!important;border-radius:99px!important;
  background:linear-gradient(to right,#4b9bff var(--played),#ffffff82 var(--played))!important;
}
.social-shell .social-reel-watch .f843-reel-transport input.f864-reel-seek::-webkit-slider-thumb{
  appearance:none!important;-webkit-appearance:none!important;
  width:10px!important;height:10px!important;border:0!important;border-radius:50%!important;
  background:#fff!important;margin-top:-3.5px!important;box-shadow:0 1px 3px #0008!important;
}
.social-shell .social-reel-watch .f843-reel-transport input.f864-reel-seek::-moz-range-thumb{
  width:10px!important;height:10px!important;border:0!important;border-radius:50%!important;background:#fff!important;
}
/* Re-enable V8.45 auto-hide: a later V8.60 override held controls visible
   regardless of f845-transport-hidden. Fullscreen stays accessible. */
.social-shell .social-reel-watch.f845-transport-hidden:not(.f860-fullscreen) [data-reel-controls]:not([hidden]){
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  transform:translate(-50%,9px)!important;
}
.social-shell .social-reel-watch.f845-transport-visible [data-reel-controls]:not([hidden]),
.social-shell .social-reel-watch.f860-fullscreen [data-reel-controls]:not([hidden]){
  opacity:1!important;visibility:visible!important;pointer-events:auto!important;
  transform:translateX(-50%)!important;
}


/* v1070: /assets/css/fans254-v865-fullscreen-carousel.css */
/* Fans254 V8.65 — ONLY fullscreen geometry and dark carousel arrows. */
/* The normal Reel is capped to 520px; fullscreen must explicitly remove that
   cap or a landscape phone displays a video down just the left half. */
.social-reel-watch.f860-fullscreen:fullscreen,
.social-reel-watch.f860-fullscreen:-webkit-full-screen {
  box-sizing:border-box!important;
  inset:0!important;
  width:100vw!important;height:100dvh!important;
  min-width:0!important;min-height:0!important;
  max-width:none!important;max-height:none!important;
  margin:0!important;padding:0!important;
  overflow:hidden!important;background:#000!important;
}
.social-reel-watch.f860-fullscreen .social-reel-scroller,
.social-reel-watch.f860-fullscreen .social-reel-panel.f860-current,
.social-reel-watch.f860-fullscreen .social-reel-panel.f860-current .social-reel-post,
.social-reel-watch.f860-fullscreen .social-reel-panel.f860-current .social-reel-media {
  box-sizing:border-box!important;
  position:absolute!important;top:0!important;right:0!important;
  bottom:0!important;left:0!important;
  width:100%!important;height:100%!important;
  min-width:0!important;min-height:0!important;
  max-width:none!important;max-height:none!important;
  flex:0 0 100%!important;
  margin:0!important;padding:0!important;
  transform:none!important;overflow:hidden!important;
  contain:none!important;content-visibility:visible!important;
}
/* In fullscreen, even videos using .is-cover in the feed are contained.
   Native intrinsic aspect ratio is preserved: no stretching or cropping. */
.social-reel-watch.f860-fullscreen .social-reel-panel.f860-current .social-reel-media video[data-reel-video],
.social-reel-watch.f860-fullscreen .social-reel-panel.f860-current .social-reel-media video[data-reel-video].is-cover {
  box-sizing:border-box!important;
  display:block!important;position:absolute!important;
  inset:0!important;width:100%!important;height:100%!important;
  min-width:0!important;min-height:0!important;
  max-width:none!important;max-height:none!important;
  object-fit:contain!important;object-position:center center!important;
  transform:none!important;transition:none!important;animation:none!important;
  visibility:visible!important;opacity:1!important;
}
/* Preserve the original playback strip; do not build another video player. */
.social-reel-watch.f860-fullscreen .f843-reel-transport {
  z-index:2147483000!important;
}
/* Same 28px circular control as light mode; invert only its two colors. */
html[data-theme="dark"] .social-shell .f254-feed-gallery .f254-gallery-arrow,
html[data-theme="dark"] .social-shell .social-post .f254-gallery-arrow,
[data-theme="dark"] .social-shell .f254-feed-gallery .f254-gallery-arrow {
  box-sizing:border-box!important;
  display:grid!important;place-items:center!important;
  width:28px!important;height:28px!important;min-width:28px!important;
  min-height:28px!important;max-width:28px!important;max-height:28px!important;
  padding:0!important;
  font-family:inherit!important;font-size:22px!important;font-weight:400!important;
  line-height:24px!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  background:rgba(17,23,32,.92)!important;
  border:0!important;border-radius:50%!important;
  text-shadow:none!important;opacity:1!important;
  box-shadow:0 2px 7px rgba(0,0,0,.18)!important;
}


/* v1070: /assets/css/fans254-v866-reel-fullscreen-isolated.css */
/* V8.66 — fullscreen only the original Reel media; do NOT fullscreen the feed. */
.social-reel-watch .social-reel-media:fullscreen,
.social-reel-watch .social-reel-media:-webkit-full-screen {
  box-sizing:border-box!important;
  display:block!important;position:fixed!important;
  inset:0!important;width:100%!important;height:100%!important;
  min-width:0!important;min-height:0!important;
  max-width:none!important;max-height:none!important;
  margin:0!important;padding:0!important;
  overflow:hidden!important;background:#000!important;
  border:0!important;border-radius:0!important;
  transform:none!important;animation:none!important;transition:none!important;
  contain:none!important;isolation:isolate!important;
}
.social-reel-watch .social-reel-media:fullscreen > video[data-reel-video],
.social-reel-watch .social-reel-media:-webkit-full-screen > video[data-reel-video] {
  box-sizing:border-box!important;display:block!important;
  position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;
  min-width:0!important;min-height:0!important;
  max-width:none!important;max-height:none!important;
  object-fit:contain!important;object-position:center!important;
  transform:none!important;transition:none!important;animation:none!important;
  opacity:1!important;visibility:visible!important;
  border-radius:0!important;background:#000!important;
}
.social-reel-watch .social-reel-media:fullscreen > .social-reel-play,
.social-reel-watch .social-reel-media:-webkit-full-screen > .social-reel-play {
  display:none!important;
}
/* Existing transport is moved into the fullscreen media node, keeping the
   same controls. The normal Reel controls are not recreated or changed. */
.social-reel-watch .social-reel-media:fullscreen > [data-reel-controls],
.social-reel-watch .social-reel-media:-webkit-full-screen > [data-reel-controls] {
  display:flex!important;box-sizing:border-box!important;
  position:absolute!important;left:50%!important;
  bottom:max(12px, env(safe-area-inset-bottom))!important;
  top:auto!important;right:auto!important;
  width:min(calc(100% - 24px),740px)!important;
  min-width:0!important;max-width:740px!important;
  height:auto!important;min-height:44px!important;
  padding:7px 10px!important;margin:0!important;gap:7px!important;
  flex-flow:row nowrap!important;align-items:center!important;
  background:rgba(10,13,20,.83)!important;backdrop-filter:blur(8px)!important;
  -webkit-backdrop-filter:blur(8px)!important;
  border:1px solid rgba(255,255,255,.08)!important;border-radius:15px!important;
  transform:translateX(-50%)!important;opacity:1!important;
  pointer-events:auto!important;visibility:visible!important;
  transition:none!important;z-index:5!important;
}
.social-reel-watch .social-reel-media:fullscreen > [data-reel-controls] [data-reel-transport-seek],
.social-reel-watch .social-reel-media:-webkit-full-screen > [data-reel-controls] [data-reel-transport-seek] {
  flex:1 1 auto!important;min-width:25px!important;
}
.social-reel-watch .social-reel-media:fullscreen > [data-reel-controls] button,
.social-reel-watch .social-reel-media:-webkit-full-screen > [data-reel-controls] button {
  position:static!important;flex:0 0 31px!important;
  width:31px!important;min-width:31px!important;height:32px!important;
  padding:4px!important;background:transparent!important;color:#fff!important;
  border:0!important;box-shadow:none!important;
}
.social-reel-watch .social-reel-media:fullscreen > [data-reel-controls] [data-reel-sound],
.social-reel-watch .social-reel-media:-webkit-full-screen > [data-reel-controls] [data-reel-sound] {
  display:grid!important;place-items:center!important;opacity:1!important;
  visibility:visible!important;pointer-events:auto!important;
  border:0!important;backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.social-reel-watch.f866-fullscreen-active [data-reel-fullscreen] .f860-fullscreen-enter{display:none!important}
.social-reel-watch.f866-fullscreen-active [data-reel-fullscreen] .f860-fullscreen-exit{display:inline-flex!important}
.social-reel-watch .social-reel-media:fullscreen [data-reel-controls] time,
.social-reel-watch .social-reel-media:-webkit-full-screen [data-reel-controls] time{color:#fff!important}

