/* Swipe feed for the creations page. Phones only. Written with plain, widely supported CSS so it works on older phones too. */
.sf{position:fixed;top:0;right:0;bottom:0;left:0;z-index:99999;background:#0b1020;color:#fff;display:none;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:16px;line-height:1.3;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}
.sf *{box-sizing:border-box}
.sf.is-open{display:block}
body.sf-lock{overflow:hidden;position:fixed;width:100%}
.sf button,.sf input{font-family:inherit}
.sf-scroll{position:absolute;top:0;right:0;bottom:0;left:0;overflow-y:scroll;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;scroll-snap-type:y mandatory;scrollbar-width:none}
.sf-scroll::-webkit-scrollbar{display:none}
.sf-slide{position:relative;height:100%;min-height:100%;overflow:hidden;scroll-snap-align:start;scroll-snap-stop:always;background:#111;background:linear-gradient(165deg,hsl(var(--h,220),55%,24%) 0%,hsl(calc(var(--h,220) + 40),55%,10%) 100%)}
.sf-media{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.sf-bgimg{position:absolute;top:-5%;left:-5%;width:110%;height:110%;object-fit:cover;-webkit-filter:blur(28px) brightness(.55);filter:blur(28px) brightness(.55)}
.sf-img{position:relative;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block}
.sf-video{width:100%;height:100%;object-fit:contain;background:#000;display:block}
.sf-pp{position:absolute;top:50%;left:50%;width:78px;height:78px;margin:-39px 0 0 -39px;border-radius:50%;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;pointer-events:none}
.sf-pp[hidden]{display:none}
.sf-pp svg{width:38px;height:38px;fill:#fff;stroke:none}
.sf-audiowrap{flex-direction:column;padding:0 84px 0 22px}
.sf-disc{width:150px;height:150px;border-radius:50%;background:radial-gradient(circle,#fff 0,#fff 12%,hsl(var(--h,220),70%,55%) 13%,hsl(var(--h,220),60%,35%) 70%,#0b1020 100%);display:flex;align-items:center;justify-content:center;box-shadow:0 14px 40px rgba(0,0,0,.45);margin-bottom:26px;cursor:pointer}
.sf-disc svg{width:46px;height:46px;fill:#fff;stroke:none}
.sf-audio{width:100%;max-width:340px}
.sf-textwrap{flex-direction:column;align-items:flex-start;justify-content:center;padding:150px 84px 230px 24px}
.sf-bigtext{font-size:19px;line-height:1.5;font-weight:500;max-height:100%;overflow:hidden;white-space:pre-line;word-break:break-word;display:-webkit-box;-webkit-line-clamp:9;-webkit-box-orient:vertical}
.sf-bigtext.is-cut{cursor:pointer;-webkit-mask-image:linear-gradient(to bottom,#000 70%,rgba(0,0,0,.25));mask-image:linear-gradient(to bottom,#000 70%,rgba(0,0,0,.25))}
.sf-texthead{width:100%;margin:0 0 14px;pointer-events:auto}
.sf-texthead .sf-title{margin:0 0 2px}
.sf-texthead .sf-tags{margin:0 0 8px -6px}
.sf-textacts{display:flex;align-items:center;margin-top:16px}
.sf-textwrap .sf-copy{margin-top:0;height:44px;padding:0 22px;background:#fff;color:#0b1020;border-color:#fff}
.sf-copy.is-done{background:#00c2a8!important;border-color:#00c2a8!important;color:#04251f!important}
.sf-readmore{margin-left:10px;height:44px;padding:0 16px;border:0;background:none;color:#fff;font-size:15px;font-weight:700;text-decoration:underline;cursor:pointer}
.sf-rd-t{margin:0;font-size:18px;color:#fff}
.sf-rd-body{font-size:16px;line-height:1.55;white-space:pre-wrap;word-break:break-word;overflow:auto;max-height:48vh}
.sf-rd-row{display:flex;align-items:center}
.sf-sheet-box .sf-copy-main{margin:0;height:46px}
.sf-lists{display:flex;margin:0 0 10px;padding:4px;border-radius:999px;background:rgba(11,16,32,.72);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.sf-seg{flex:1 1 0;display:flex;align-items:center;justify-content:center;height:38px;padding:0 6px;border:0;border-radius:999px;background:none;color:#fff;font-size:13.5px;font-weight:700;cursor:pointer;white-space:nowrap}
.sf-seg .sf-seg-i{display:inline-flex;width:16px;height:16px;margin-right:5px}
.sf-seg svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sf-seg[aria-pressed=true]{background:#fff;color:#0b1020}
.sf-label{cursor:pointer}
.sf-rb[data-k=save][aria-pressed=true] .sf-ic{background:rgba(255,196,0,.28);color:#ffc400}
.sf-rb[data-k=save][aria-pressed=true] svg{fill:#ffc400}
.sf-copy{margin-top:16px;height:40px;padding:0 18px;border:1.5px solid rgba(255,255,255,.4);border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font-size:15px;font-weight:700;cursor:pointer}

/* title and details over the media */
.sf-info{position:absolute;left:0;right:0;bottom:0;padding:90px 84px 20px 20px;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px));background:linear-gradient(to top,rgba(0,0,0,.82) 0%,rgba(0,0,0,.55) 55%,rgba(0,0,0,0) 100%);pointer-events:none}
.sf-info a,.sf-info button{pointer-events:auto}
.sf-tags{display:flex;flex-wrap:wrap;margin:0 0 8px -6px}
.sf-tag{margin:0 0 6px 6px;padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.2);font-size:12.5px;font-weight:700}
.sf-tag.is-feat{background:#f5b301;color:#2b2000}
.sf-tag.is-spon{background:#6d5dfc}
a.sf-try{text-decoration:none;cursor:pointer}a.sf-try:hover{filter:brightness(1.08)}a.sf-try:focus-visible{outline:3px solid #fff;outline-offset:2px}
.sf-title{margin:0 0 4px;font-size:21px;line-height:1.2;font-weight:800;color:#fff;word-break:break-word}
.sf-by{margin:0 0 8px;font-size:14px;opacity:.85;color:#fff}
.sf-desc{margin:0 0 4px;font-size:14.5px;line-height:1.45;color:rgba(255,255,255,.9);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}
.sf-desc.is-open{-webkit-line-clamp:12}
.sf-more{padding:4px 0;margin:0 0 6px;border:0;background:none;color:#fff;font-size:14px;font-weight:700;text-decoration:underline;cursor:pointer}
.sf-link{display:inline-block;margin-top:4px;padding:9px 16px;border-radius:999px;background:#fff;color:#0b1020;font-size:15px;font-weight:800;text-decoration:none}

/* right-side menu */
.sf-rail{position:absolute;right:6px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:3;display:flex;flex-direction:column;align-items:center}
.sf-rb{width:60px;margin-top:7px;padding:0;border:0;background:none;color:#fff;display:flex;flex-direction:column;align-items:center;cursor:pointer}
.sf-rb[hidden]{display:none}
.sf-rb.has-sep{margin-top:12px}
.sf-rb.has-sep:before{content:"";width:26px;height:1px;background:rgba(255,255,255,.35);margin-bottom:8px}
.sf-ic{width:42px;height:42px;border-radius:50%;background:rgba(0,0,0,.4);display:flex;align-items:center;justify-content:center;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.sf-svg svg,.sf-ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;display:block}
.sf-rl{margin-top:3px;font-size:10.5px;font-weight:700;text-shadow:0 1px 3px rgba(0,0,0,.7)}
.sf-rb[aria-pressed=true] .sf-ic{background:#fff;color:#0b1020}
.sf-rb[data-k=like][aria-pressed=true] .sf-ic{background:rgba(255,77,109,.3);color:#ff4d6d}
.sf-rb[data-k=like][aria-pressed=true] svg{fill:#ff4d6d}
@media (max-height:660px){.sf-ic{width:36px;height:36px}.sf-rl{display:none}.sf-rb{width:44px}}

/* top bar */
.sf-top{position:absolute;top:0;left:0;right:0;z-index:4;display:flex;align-items:center;padding:12px 12px 14px;padding-top:calc(12px + env(safe-area-inset-top,0px));background:linear-gradient(to bottom,rgba(11,16,32,.85),rgba(11,16,32,0));pointer-events:none}
.sf-top>*{pointer-events:auto;margin-right:8px}
.sf-top>*:last-child{margin-right:0}
.sf-x{flex:none;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.42);color:#fff;font-size:26px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}
.sf-sb[aria-expanded=true]{background:#fff;color:#0b1020}
.sf-label{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:15px;font-weight:700}
.sf-count{flex:none;font-size:13px;font-weight:600;opacity:.85}
.sf-yours{flex:none;height:34px;padding:0 12px;border:0;border-radius:999px;background:#00c2a8;color:#04251f;font-size:13px;font-weight:800;cursor:pointer;white-space:nowrap}
@media (max-width:370px){.sf-count{display:none}}
.sf-bar{position:absolute;top:0;left:0;height:3px;background:#00c2a8;z-index:5;width:0}

/* search and categories (shown at the start, folded away after the first swipe) */
.sf-filter{position:absolute;left:0;right:0;top:64px;top:calc(64px + env(safe-area-inset-top,0px));z-index:4;padding:0 12px 10px;opacity:0;visibility:hidden;pointer-events:none;-webkit-transform:translateY(-10px);transform:translateY(-10px);transition:opacity .2s,transform .2s,visibility .2s}
.sf-filter.is-open{opacity:1;visibility:visible;pointer-events:auto;-webkit-transform:none;transform:none}
.sf-search{display:flex;margin:0 0 10px}
.sf-search input{flex:1 1 auto;min-width:0;height:44px;padding:0 16px;border:0;border-radius:999px;background:#fff;color:#0b1020;font-size:16px;-webkit-appearance:none;appearance:none}
.sf-go{flex:none;margin-left:8px;height:44px;padding:0 18px;border:0;border-radius:999px;background:#00c2a8;color:#04251f;font-size:15px;font-weight:800;cursor:pointer}
.sf-cats{display:flex;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:2px}
.sf-cats::-webkit-scrollbar{display:none}
.sf-chip{flex:none;height:36px;margin-right:8px;padding:0 14px;border:1px solid rgba(255,255,255,.35);border-radius:999px;background:rgba(11,16,32,.6);color:#fff;font-size:14px;font-weight:600;white-space:nowrap;cursor:pointer}
.sf-chip[aria-pressed=true]{background:#fff;color:#0b1020;border-color:#fff}

.sf-hint{position:absolute;left:calc(50% - 31px);bottom:calc(150px + env(safe-area-inset-bottom,0px));-webkit-transform:translateX(-50%);transform:translateX(-50%);z-index:3;padding:8px 14px;border-radius:999px;background:rgba(0,0,0,.6);font-size:14px;font-weight:600;white-space:nowrap;pointer-events:none}
.sf-hint[hidden]{display:none}
.sf-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;height:100%;min-height:100%;padding:24px;scroll-snap-align:start;background:#0b1020;font-size:18px}
.sf-state>*{margin:8px 0}
.sf-spin{width:34px;height:34px;border-radius:50%;border:3px solid rgba(255,255,255,.25);border-top-color:#00c2a8;-webkit-animation:sf-r .8s linear infinite;animation:sf-r .8s linear infinite}
@-webkit-keyframes sf-r{to{-webkit-transform:rotate(360deg)}}
@keyframes sf-r{to{transform:rotate(360deg)}}
.sf-btn{display:flex;align-items:center;justify-content:center;min-width:210px;min-height:52px;padding:0 26px;border-radius:16px;font-size:17px;font-weight:700;color:#fff;border:1.5px solid rgba(255,255,255,.35);background:rgba(255,255,255,.1);cursor:pointer}
.sf-toast{position:absolute;left:50%;bottom:calc(110px + env(safe-area-inset-bottom,0px));-webkit-transform:translateX(-50%);transform:translateX(-50%);z-index:6;max-width:calc(100% - 24px);padding:10px 16px;border-radius:999px;background:#fff;color:#0b1020;font-size:14px;font-weight:700;text-align:center}
@media (prefers-reduced-motion:reduce){.sf-spin{-webkit-animation:none;animation:none}.sf-filter{transition:none}}
/* Phones only: on bigger screens the feed is never opened. */
@media (min-width:740px){body:not(.ft-hubmode) .sf:not(.is-open){display:none!important}}
/* Switch button (swipe -> web) next to the search icon. Small phones: the counter makes room for it. */
.sf-sw{background:rgba(0,0,0,.42)}
.sf-sw:active{background:#fff;color:#0b1020}
@media (max-width:400px){.sf-count{display:none}.sf-sw,.sf-sb{width:40px;height:40px}.sf-yours{padding:0 10px}}
@media (max-width:739px) and (pointer:coarse){#ft-grid .card{cursor:pointer}}

/* Who made it: avatar, name, blue check (Verified) or Guest label, and the creator card */
.sf-au{display:flex;align-items:center;gap:9px;margin:0 0 10px;padding:0;border:0;background:none;color:#fff;font:inherit;text-align:left;cursor:pointer;max-width:100%}
.sf-av{position:relative;flex:none;width:38px;height:38px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,hsl(var(--h,220),70%,52%),hsl(calc(var(--h,220) + 50),65%,36%));color:#fff;font-size:17px;border:2px solid rgba(255,255,255,.85)}
.sf-av b{font-weight:800}
.sf-av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sf-av.is-big{width:66px;height:66px;font-size:30px}
.sf-au-t{display:flex;align-items:center;gap:6px;min-width:0;flex-wrap:wrap;font-size:14px;text-shadow:0 1px 3px rgba(0,0,0,.6)}
.sf-au-n{font-weight:800;max-width:46vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sf-ver{display:inline-flex;line-height:0;flex:none}
.sf-ver svg{width:16px;height:16px}
.sf-guest{font-size:10.5px;font-weight:700;padding:2px 8px;border-radius:999px;background:rgba(255,255,255,.22)}
.sf-au-a{opacity:.75;font-size:13px}
.sf-sheet{position:absolute;inset:0;z-index:8;background:rgba(0,0,0,.55);display:flex;align-items:flex-end}
.sf-sheet-box{width:100%;max-height:82%;overflow:auto;background:#0b1020;color:#fff;border-radius:18px 18px 0 0;padding:18px 16px calc(18px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:12px}
.sf-pf-head{display:flex;align-items:center;gap:14px}
.sf-pf-who{min-width:0;flex:1 1 auto}
.sf-pf-login{margin-left:auto;flex:none;display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 14px 0 10px;border:0;border-radius:999px;background:#00c2a8;color:#04251f;font-family:inherit;font-size:14px;font-weight:800;line-height:1;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.sf-pf-login svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.sf-pf-login.is-alt{background:rgba(255,255,255,.16);color:#fff}
.sf-pf-name{display:flex;align-items:center;gap:6px;font-size:19px;font-weight:800}
.sf-pf-name .sf-ver svg{width:20px;height:20px}
.sf-pf-sub{font-size:13px;opacity:.75;margin-top:2px}
.sf-pf-stats{display:flex;gap:10px}
.sf-pf-stat{flex:1;background:rgba(255,255,255,.08);border-radius:12px;padding:10px 6px;text-align:center}
.sf-pf-stat b{display:block;font-size:18px}
.sf-pf-stat span{font-size:11.5px;opacity:.7}
.sf-pf-bio{margin:0;font-size:14px;line-height:1.45;opacity:.92}
.sf-pf-more{font-size:13px;font-weight:700;opacity:.85}
.sf-pf-tiles{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}
.sf-pf-tile{flex:none;width:112px;border:0;border-radius:12px;background:rgba(255,255,255,.1);color:#fff;padding:0;overflow:hidden;text-align:left;cursor:pointer}
.sf-pf-tile img{display:block;width:100%;height:78px;object-fit:cover}
.sf-pf-tile span{display:block;padding:6px 8px;font-size:12px;line-height:1.3;max-height:2.7em;overflow:hidden}
.sf-pf-close{border:0;border-radius:999px;padding:12px;background:rgba(255,255,255,.14);color:#fff;font-weight:700;cursor:pointer}

/* Editor's Choice (slide 1) and Sponsored Spotlight (slides 20, 40, 60, 80, 100): same slide size, extra colour, badges and a soft shine */
.sf-tag.is-ed{background:linear-gradient(135deg,#f5b301,#ff8a3d);color:#3b2600;box-shadow:0 2px 12px rgba(245,179,1,.55)}
.sf-tag.is-wk{background:rgba(245,179,1,.22);color:#ffd45e}
.sf-tag.is-spot{background:linear-gradient(135deg,#6d5dfc,#8f5bff);color:#fff;box-shadow:0 2px 12px rgba(109,93,252,.6)}
.sf-glow{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:1;border:3px solid transparent}
.sf-editor .sf-glow{border-color:#f5b301;box-shadow:inset 0 0 38px rgba(245,179,1,.5),inset 0 0 90px rgba(255,138,61,.18)}
.sf-spot .sf-glow{border-color:#8f5bff;box-shadow:inset 0 0 38px rgba(109,93,252,.55),inset 0 0 90px rgba(0,194,168,.18)}
.sf-editor .sf-title{color:#ffd45e}
.sf-spot .sf-title{color:#c9c2ff}
.sf-note{margin:0 0 6px;font-size:14px;font-style:italic;font-weight:600;color:#ffd45e}
.sf-link.sf-cta{background:linear-gradient(135deg,#6d5dfc,#8f5bff);color:#fff;box-shadow:0 4px 16px rgba(109,93,252,.5)}
.sf-link.sf-cta+.sf-link.sf-cta{margin-left:6px}
.sf-editor::after,.sf-spot::after{content:"";position:absolute;top:0;left:-60%;width:40%;height:100%;pointer-events:none;z-index:1;background:linear-gradient(100deg,transparent,rgba(255,255,255,.16),transparent);transform:skewX(-18deg);animation:sfShine 6s ease-in-out infinite}
@keyframes sfShine{0%,65%{left:-60%}100%{left:130%}}
@media (prefers-reduced-motion:reduce){.sf-editor::after,.sf-spot::after{animation:none;display:none}}

/* 1.93: Category Lead. First slide of every category is a sponsored one (same slide size): animated aurora frame, glow and shine */
.sf-lead .sf-glow{border-color:transparent;border-image:linear-gradient(120deg,#6d5dfc,#00c2a8,#f5b301,#ff6bb5,#6d5dfc) 1;box-shadow:inset 0 0 46px rgba(109,93,252,.65),inset 0 0 110px rgba(0,194,168,.28);animation:sfLeadGlow 3.2s ease-in-out infinite alternate}
@keyframes sfLeadGlow{from{filter:hue-rotate(0deg) brightness(1)}to{filter:hue-rotate(40deg) brightness(1.25)}}
.sf-lead .sf-tag.is-spot{background:linear-gradient(135deg,#6d5dfc,#00c2a8);box-shadow:0 2px 14px rgba(0,194,168,.6)}
.sf-lead .sf-title{background:linear-gradient(90deg,#fff,#c9c2ff 55%,#7ff0dc);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none}
.sf-lead .sf-link.sf-cta{background:linear-gradient(135deg,#6d5dfc,#00c2a8);animation:sfLeadPulse 2.4s ease-in-out infinite}
@keyframes sfLeadPulse{0%,100%{box-shadow:0 4px 16px rgba(109,93,252,.5)}50%{box-shadow:0 6px 26px rgba(0,194,168,.8)}}
.sf-lead::after{background:linear-gradient(100deg,transparent,rgba(255,255,255,.22),transparent)}
@media (prefers-reduced-motion:reduce){.sf-lead .sf-glow,.sf-lead .sf-link.sf-cta{animation:none}}

/* v2.24.0 Explore swipe: old look back (New / Trending / Popular in the right menu), Surprise me + Share yours in the top row, photo on top and text below it */
.sf-trend{margin-top:10px}
.sf-trend-h{margin:0 0 6px 4px;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#fff;opacity:.75}
.sf-trend-l{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.sf-tc{flex:none;width:148px;padding:10px 12px;border:0;border-radius:14px;background:rgba(11,16,32,.72);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;text-align:left;cursor:pointer}
.sf-tc b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13.5px;line-height:1.25}
.sf-tc span{display:block;margin-top:4px;font-size:12px;opacity:.75;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.sf-top{gap:8px}
.sf-top>.sf-label{display:none}
.sf-top>.sf-surp,.sf-top>.sf-yours{flex:1 1 0;min-width:0;height:42px;padding:0 10px;overflow:hidden;text-overflow:ellipsis;pointer-events:auto}
.sf-surp{border:0;border-radius:999px;background:#ffc400;color:#3b2a00;font-size:14px;font-weight:800;cursor:pointer;white-space:nowrap}
.sf-surp:active{transform:scale(.97)}
.sf-yours{font-size:14px}
.sf-filter{top:calc(64px + env(safe-area-inset-top,0px))}
.sf-lists .sf-seg{width:100%}
/* photo / video / audio: the picture sits at the top, the text below it, nothing over the picture */
.sf-slide.sf-hasmedia{display:flex;flex-direction:column;padding-top:calc(66px + env(safe-area-inset-top,0px))}
.sf-hasmedia .sf-media{position:relative;top:auto;right:auto;bottom:auto;left:auto;flex:1 1 0;min-height:140px}
.sf-hasmedia .sf-info{position:relative;flex:none;max-height:58%;overflow-y:auto;padding:14px 84px calc(16px + env(safe-area-inset-bottom,0px)) 18px;background:linear-gradient(to bottom,rgba(11,16,32,.94),#0b1020);pointer-events:auto}
.sf-hasmedia .sf-glow{pointer-events:none}
/* text and prompt slides: who, title, then the text (always visible), then the buttons */
.sf-textwrap{justify-content:flex-start;align-items:stretch;padding:calc(66px + env(safe-area-inset-top,0px)) 84px 96px 20px}
.sf-textwrap .sf-texthead{flex:none;margin:8px 0 12px}
.sf-textwrap .sf-bigtext{flex:0 1 auto;min-height:96px;max-height:none;display:block;-webkit-line-clamp:unset;overflow:hidden}
.sf-textwrap .sf-textacts{flex:none;margin-top:14px}
@media (max-height:660px){.sf-rb{margin-top:5px}.sf-rb.has-sep{margin-top:9px}}

/* v2.25.0: buttons that look right, no dark circle left behind, a right menu that fits, room for the admin badge */
.sf-rb,.sf-ic,.sf-rb *{-webkit-tap-highlight-color:transparent}
.sf-rb{outline:0;-webkit-appearance:none;appearance:none}
.sf-rb:focus{outline:0}
.sf-rb:focus-visible .sf-ic{box-shadow:0 0 0 3px #fff}
.sf-ic{box-sizing:border-box;flex:none;border:1px solid rgba(255,255,255,.14);background:rgba(11,16,32,.55);-webkit-backdrop-filter:none;backdrop-filter:none;transition:transform .12s,background .12s}
.sf-rb:active .sf-ic{transform:scale(.9)}
.sf-rb[data-k=like][aria-pressed=true] .sf-ic{background:rgba(255,77,109,.22);border-color:rgba(255,77,109,.7);color:#ff4d6d}
.sf-rb[data-k=save][aria-pressed=true] .sf-ic{background:rgba(255,196,0,.22);border-color:rgba(255,196,0,.7);color:#ffc400}
.sf-rb[aria-pressed=true]:not([data-k=like]):not([data-k=save]) .sf-ic{background:#fff;border-color:#fff;color:#0b1020}
.sf-tight .sf-ic{width:38px;height:38px}
.sf-tight .sf-rb{width:46px;margin-top:6px}
.sf-tight .sf-rb.has-sep{margin-top:9px}
.sf-tight .sf-rl{display:none}
.sf-tight .sf-rb[data-k=like] .sf-rl,.sf-tight .sf-rb[data-k=comment] .sf-rl{display:block}
.sf-tiny .sf-ic{width:34px;height:34px}
.sf-tiny .sf-rb{margin-top:4px}
.sf-tiny .sf-rl{display:none!important}
.sf-top>.sf-surp,.sf-top>.sf-yours{display:flex;align-items:center;justify-content:center;gap:7px;height:40px;padding:0 12px;font-family:inherit;font-size:13.5px;font-weight:800;letter-spacing:.2px;line-height:1;box-shadow:0 2px 10px rgba(0,0,0,.3)}
.sf-surp{background:linear-gradient(135deg,#ffd54a,#ffb300)}
.sf-yours{background:linear-gradient(135deg,#19d3b9,#00b39b)}
.sf-bi{display:inline-flex;flex:none;width:16px;height:16px}
.sf-bi svg{width:16px;height:16px;fill:currentColor;stroke:none}
.sf-bt{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body:has(#ft-hidden-note) .sf-hasmedia .sf-info{padding-bottom:calc(52px + env(safe-area-inset-bottom,0px))}

/* ===== v2.31.0: Explore top row (Surprise me | + Share yours | ... | web | search | account) and the Join sheet ===== */
/* ===== v2.34.0: Explore top row looks like the AI Tools one: close | Surprise me | + Share yours | ... | search | account ===== */
.sf-top{gap:5px;padding-left:8px;padding-right:8px}
.sf-top-sp{flex:1 1 0;min-width:0;margin:0!important}
.sf-top>.sf-x{flex:none;width:36px;height:36px;border:0;background:rgba(255,255,255,.18);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);-webkit-tap-highlight-color:transparent}
.sf-top>.sf-x:active{background:rgba(255,255,255,.38)}
.sf-top>.sf-x .sf-svg svg{width:20px;height:20px}
.sf-top>.sf-surp,.sf-top>.sf-yours{flex:0 1 auto;height:36px;padding:0 10px;gap:5px;font-size:12.5px;border-radius:999px;-webkit-tap-highlight-color:transparent}
.sf-top>.sf-surp{background:linear-gradient(135deg,#ffd54a,#ffb300 55%,#ff8a3d);background-size:180% 100%;box-shadow:0 3px 14px rgba(255,179,0,.5);animation:sfSurpGlow 5s ease-in-out infinite}
.sf-top>.sf-yours{background:linear-gradient(135deg,#19d3b9,#00b39b);box-shadow:0 3px 14px rgba(0,179,155,.5)}
.sf-top>.sf-surp:active,.sf-top>.sf-yours:active{transform:scale(.96)}
@keyframes sfSurpGlow{0%,100%{background-position:0 0}50%{background-position:100% 0}}
.sf-me{position:relative}
.sf-me s{position:absolute;right:3px;top:3px;width:9px;height:9px;border-radius:50%;background:#00c2a8;box-shadow:0 0 0 2px rgba(20,24,40,.85);animation:sfDot 2.4s ease-out infinite}
@keyframes sfDot{0%{box-shadow:0 0 0 2px rgba(20,24,40,.85),0 0 0 2px rgba(0,194,168,.7)}70%,100%{box-shadow:0 0 0 2px rgba(20,24,40,.85),0 0 0 9px rgba(0,194,168,0)}}
@media (min-width:401px){.sf-top{gap:7px;padding-left:12px;padding-right:12px}.sf-top>.sf-x{width:40px;height:40px}.sf-top>.sf-surp,.sf-top>.sf-yours{height:38px;padding:0 13px;font-size:13px}}
@media (max-width:339px){.sf-top>.sf-surp .sf-bt{display:none}.sf-top>.sf-surp{width:36px;padding:0;justify-content:center}}
@media (prefers-reduced-motion:reduce){.sf-top>.sf-surp,.sf-me s{animation:none}}
.sf-joinsheet{background:rgba(5,8,20,.62)}
.sf-joinbox{gap:0;padding:10px 18px calc(24px + env(safe-area-inset-bottom,0px));border-radius:26px 26px 0 0;background:radial-gradient(120% 70% at 0 0,rgba(124,92,255,.35),transparent 60%),linear-gradient(180deg,#1a1f40,#0c1126);box-shadow:0 -10px 40px rgba(0,0,0,.5),0 0 0 1px rgba(167,139,255,.35);animation:sfJoinIn .28s cubic-bezier(.2,.9,.3,1) both}
@keyframes sfJoinIn{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
.sf-grab{display:block;width:40px;height:4px;border-radius:4px;background:rgba(255,255,255,.3);margin:0 auto 14px}
.sf-joinhead{display:flex;gap:12px;align-items:center}
.sf-joinic{flex:none;width:46px;height:46px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#7c5cff,#c04cff 55%,#ff5fa2);box-shadow:0 4px 16px rgba(124,92,255,.55)}
.sf-joinic .sf-svg svg{width:24px;height:24px;fill:#fff;stroke:none}
.sf-jointx h3{margin:0;font-size:20px;font-weight:800;color:#fff}
.sf-jointx p{margin:2px 0 0;font-size:13.5px;opacity:.8;line-height:1.35}
.sf-perks{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0 6px}
.sf-perks span{font-size:12.5px;font-weight:700;padding:6px 11px;border-radius:999px;background:rgba(167,139,255,.18);border:1px solid rgba(167,139,255,.4)}
.sf-jb{display:flex;align-items:center;justify-content:center;width:100%;height:50px;margin-top:9px;border-radius:15px;font:800 16px system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent;border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.08);color:#fff}
.sf-jb:active{transform:scale(.98)}
.sf-jb-main{border:0;background:linear-gradient(135deg,#19d3b9,#00b39b);color:#04251f;box-shadow:0 4px 16px rgba(0,179,155,.4)}
.sf-jb-no{height:40px;border:0;background:transparent;opacity:.75;font-weight:700}
@media (prefers-reduced-motion:reduce){.sf-joinbox{animation:none}}

/* ===== v2.35.0: Join sheet = three steps (Guest, Sign up free, Verified) ===== */
.sf-lad{display:flex;flex-direction:column;gap:7px;margin-top:12px}
.sf-st{display:flex;gap:10px;align-items:center;padding:9px 10px;border-radius:14px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.13);color:#fff}
.sf-st em{flex:none;width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,.16);display:grid;place-items:center;font:800 13px system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-style:normal}
.sf-stt{min-width:0}
.sf-stt b{display:flex;align-items:center;gap:6px;font:800 14px system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.sf-stt small{display:block;font:500 12px/1.3 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;opacity:.8}
.sf-st.is-ver{background:rgba(59,130,246,.18);border-color:rgba(96,165,250,.55)}
.sf-st.is-ver em{background:#3b82f6}
.sf-vbd{flex:none;width:17px;height:17px;border-radius:50%;background:#3b82f6;color:#fff;display:inline-flex;align-items:center;justify-content:center}
.sf-vbd svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round}
.sf-you{margin-left:auto;flex:none;font:800 11px system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;padding:3px 8px;border-radius:999px;background:#19d3b9;color:#04251f}
.sf-joinbox .sf-jb{height:48px;margin-top:8px}.sf-joinbox .sf-jb-no{height:40px}.sf-joinbox{max-height:92%}

/* v2.37.0: Join sheet steps are tappable; Verified opens FabShop */
.sf-stl{position:relative;cursor:pointer;text-decoration:none;-webkit-tap-highlight-color:transparent;transition:background .15s,transform .1s}
.sf-stl:hover{background:rgba(255,255,255,.13)}
.sf-st.is-ver.sf-stl:hover{background:rgba(59,130,246,.3)}
.sf-stl:active{transform:scale(.985)}
.sf-stl:focus-visible{outline:3px solid #19d3b9;outline-offset:2px}
.sf-chev{margin-left:auto;flex:none;font:400 24px/1 system-ui,sans-serif;opacity:.7}
.sf-jb-ver{border:0;background:linear-gradient(135deg,#ffd66b,#ff9f43);color:#2a1700;text-decoration:none;box-shadow:0 4px 16px rgba(255,159,67,.35)}

/* v2.70.4: YouTube video inside a slide (starts by itself, muted). Taps go to the slide, so swiping and tap-to-pause work like a normal video. */
.sf-yt{position:relative;display:block;width:100%;height:100%;background:#000 center/contain no-repeat}
.sf-yt-frame{position:absolute;top:0;left:0;width:100%;height:100%;border:0;background:transparent;pointer-events:none}

/* ===== v2.70.5: Explore PHONE top row. Close | count | search on the right; Surprise me and Share yours are round icons under search.
   Every round icon (close, search, Surprise, Share, and the whole right menu) has the same size and the same dark glass colour. ===== */
.sf{--sfi:42px}
.sf.sf-tight{--sfi:38px}
.sf.sf-tiny{--sfi:34px}
.sf .sf-top{gap:0;padding-left:12px;padding-right:calc(36px - var(--sfi) / 2)}
.sf .sf-top>.sf-x,.sf .sf-ic{box-sizing:border-box;width:var(--sfi);height:var(--sfi);border-radius:50%;border:1px solid rgba(255,255,255,.14);background:rgba(11,16,32,.55);color:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;display:flex;align-items:center;justify-content:center;padding:0;font-size:0;line-height:0;transition:transform .12s,background .12s}
.sf .sf-top>.sf-x:active{background:rgba(11,16,32,.55);transform:scale(.9)}
.sf .sf-top>.sf-x .sf-svg,.sf .sf-ic .sf-svg{display:flex;align-items:center;justify-content:center}
.sf .sf-top>.sf-x .sf-svg svg,.sf .sf-ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sf.sf-tiny .sf-top>.sf-x .sf-svg svg,.sf.sf-tiny .sf-ic svg{width:20px;height:20px}
.sf .sf-top>.sf-count{margin:0 10px 0 0}
.sf-qcol{position:absolute;right:6px;top:calc(var(--sfi) + 15px);z-index:3;display:flex;flex-direction:column;align-items:center}
.sf-qcol .sf-rb:first-child{margin-top:7px}
.sf-qb{-webkit-tap-highlight-color:transparent}
.sf-top>.sf-me{display:none!important}

/* v2.71.0: video posts open FULL SCREEN on every phone (title and details sit over the video, like Shorts) */
.sf-slide.sf-fullvid{display:block;padding-top:0;background:#000}
.sf-slide.sf-fullvid .sf-media{position:absolute;top:0;right:0;bottom:0;left:0;flex:none;min-height:0;background:#000}
.sf-fullvid .sf-video{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;background:#000}
.sf-fullvid .sf-video.is-cover{object-fit:cover}
.sf-slide.sf-fullvid .sf-info{position:absolute;left:0;right:0;bottom:0;max-height:55%;overflow:hidden;padding:90px 78px calc(18px + env(safe-area-inset-bottom,0px)) calc(16px + env(safe-area-inset-left,0px));background:linear-gradient(to top,rgba(0,0,0,.9) 0%,rgba(0,0,0,.62) 55%,rgba(0,0,0,0) 100%);pointer-events:none}
.sf-fullvid .sf-info a,.sf-fullvid .sf-info button{pointer-events:auto}
.sf-fullvid .sf-title{font-size:19px;text-shadow:0 1px 6px rgba(0,0,0,.65)}
.sf-fullvid .sf-desc{text-shadow:0 1px 4px rgba(0,0,0,.6)}
.sf-fullvid .sf-desc.is-open{-webkit-line-clamp:6}
.sf-rail,.sf-qcol{right:calc(6px + env(safe-area-inset-right,0px))}
@media (max-width:359px){.sf-slide.sf-fullvid .sf-info{padding-right:66px}.sf-fullvid .sf-title{font-size:17px}.sf-seg{font-size:12px;padding:0 3px}.sf-seg .sf-seg-i{margin-right:3px}}
@media (max-height:480px) and (orientation:landscape){.sf-slide.sf-fullvid .sf-info{max-height:70%;padding-top:36px}.sf-fullvid .sf-desc,.sf-fullvid .sf-more,.sf-fullvid .sf-by,.sf-fullvid .sf-tags{display:none}.sf-fullvid .sf-title{font-size:16px;margin:0}}

/* v2.72.0: EXPLORE CARD OPTION A, full-bleed cover. Image and video fill the screen; title, tags and Try now sit on a dark strip at the bottom. */
.sf-fullvid .sf-img{position:absolute;top:0;left:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;background:#000}
.sf-fullvid .sf-img.is-cover{object-fit:cover}
.sf-fullvid .sf-bgimg{display:none}
.sf-slide.sf-fullvid .sf-info{padding-top:70px;background:linear-gradient(to top,rgba(5,8,18,.94) 0%,rgba(5,8,18,.8) 60%,rgba(5,8,18,0) 100%)}
.sf-fullvid .sf-title{font-size:20px;line-height:1.2;text-shadow:0 1px 6px rgba(0,0,0,.7)}
.sf-fullvid .sf-tag{background:rgba(255,255,255,.22);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}

/* v2.73.0: ONE right icon column on every post. Close, web, search, Surprise, Share yours sit on top, then Like, Comments, Share, Save, Sound. Same line for photo and video posts. */
.sf-side{position:absolute;right:calc(6px + env(safe-area-inset-right,0px));top:calc(12px + env(safe-area-inset-top,0px));z-index:5;width:60px;display:flex;flex-direction:column;align-items:center}
.sf .sf-side>.sf-x{box-sizing:border-box;flex:none;width:var(--sfi);height:var(--sfi);margin:7px 0 0;padding:0;border-radius:50%;border:1px solid rgba(255,255,255,.14);background:rgba(11,16,32,.55);color:#fff;display:flex;align-items:center;justify-content:center;font-size:0;line-height:0;cursor:pointer;transition:transform .12s,background .12s;-webkit-tap-highlight-color:transparent}
.sf .sf-side>.sf-x:first-child{margin-top:0}
.sf .sf-side>.sf-x:active{transform:scale(.9)}
.sf .sf-side>.sf-x .sf-svg{display:flex;align-items:center;justify-content:center}
.sf .sf-side>.sf-x .sf-svg svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sf.sf-tiny .sf-side>.sf-x .sf-svg svg{width:20px;height:20px}
.sf .sf-side>.sf-sb[aria-expanded=true]{background:#fff;color:#0b1020}
.sf .sf-side .sf-qcol{position:static;width:100%}
.sf .sf-top{background:none;padding-left:12px;padding-right:76px;gap:0}
.sf .sf-top>.sf-top-sp{display:none}
.sf .sf-top>.sf-count{display:block!important;margin:0;padding:6px 11px;border-radius:999px;background:rgba(11,16,32,.55);border:1px solid rgba(255,255,255,.14);opacity:1;font-size:13px;line-height:1;transition:opacity .4s ease}
.sf .sf-filter{top:calc(54px + env(safe-area-inset-top,0px));right:72px}
/* video posts: only the icons stay; title and details fade in for the first second, at the end and while paused */
.sf-slide.sf-fullvid .sf-info{transition:opacity .4s ease}
.sf-slide.sf-vhide .sf-info{opacity:0;pointer-events:none!important}
.sf-slide.sf-vhide .sf-info *{pointer-events:none!important}
.sf.sf-vhide .sf-top>.sf-count{opacity:0}

/* v2.75.1: no stuck dark circle after tapping a round icon on phones.
   The theme's button:hover/:focus/:active colours could beat our plain "background:none" and stay painted after a tap. */
.sf button,.sf a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.sf-rb,.sf-rb:hover,.sf-rb:focus,.sf-rb:focus-within,.sf-rb:active{background:transparent!important;background-image:none!important;box-shadow:none!important;outline:0!important;border:0!important;border-radius:0!important;color:#fff!important;filter:none!important;-webkit-appearance:none;appearance:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.sf-rb:focus:not(:focus-visible) .sf-ic{box-shadow:none}
.sf-rb:focus-visible .sf-ic{box-shadow:0 0 0 3px #fff}
.sf .sf-x:focus:not(:focus-visible),.sf .sf-qb:focus:not(:focus-visible){outline:0!important;box-shadow:none!important}
@media (hover:none){.sf-stl:hover{background:transparent}.sf-st.is-ver.sf-stl:hover{background:rgba(59,130,246,.2)}a.sf-try:hover{filter:none}}

/* v2.75.1: "View" pill in the tag row (replaces the big "View project" button under the text) */
.sf-tags a{pointer-events:auto}
.sf-tag.sf-view{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;background:#fff;color:#0b1020;font-weight:800;text-decoration:none;box-shadow:0 2px 10px rgba(0,0,0,.35);-webkit-tap-highlight-color:transparent}
.sf-tag.sf-view:active{transform:scale(.95)}
.sf-tag.sf-view:focus-visible{outline:3px solid #19d3b9;outline-offset:2px}

/* v2.77.15: same look and size as the AI Tools page: 42px icons, light glass circle, 60px column (centre 36px from the edge, like the round account icon) */
.sf-ic{background:rgba(255,255,255,.18)}
@media (min-height:661px){.sf-ic,.sf-tight .sf-ic,.sf-tiny .sf-ic{width:42px;height:42px}.sf-rb,.sf-tight .sf-rb{width:60px}}

/* v2.78.5: admin Delete in the right menu + its confirm sheet */
.sf-rb[data-k=del] .sf-ic{background:rgba(229,72,77,.22);border-color:rgba(229,72,77,.7);color:#ff6b6b}
.sf-rb[data-k=del]:active .sf-ic{transform:scale(.9)}
.sf-sheet-note{margin:0;font-size:14px;line-height:1.45;color:rgba(255,255,255,.75)}
.sf-btn.sf-danger{background:#e5484d;border-color:#e5484d;color:#fff}
.sf-btn.sf-danger[disabled]{opacity:.7}
.sf-btn.is-cancel{background:transparent}
.sf-sheet-box .sf-btn{width:100%}

/* v2.78.6: Report icon + report sheet */
.sf .sf-rb.sf-rb[data-k=report] .sf-ic{color:#fff}
.sf .sf-rb.sf-rb[data-k=report][aria-pressed=true] .sf-ic{background:rgba(255,176,32,.22);border-color:rgba(255,176,32,.7);color:#ffb020}
.sf .sf-rb.sf-rb[data-k=report][aria-pressed=true] svg{fill:#ffb020}
.sf-rp-head{display:flex;gap:12px;align-items:flex-start}
.sf-rp-ico{flex:0 0 40px;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(229,72,77,.18);color:#ff6b6b}
.sf-rp-ico svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sf-rp-ht{min-width:0}
.sf-rp-ht .sf-rd-t{margin:0 0 4px}
.sf-rp-list{display:flex;flex-direction:column;gap:8px}
.sf-rp-opt{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:0 14px;border-radius:14px;border:1.5px solid rgba(255,255,255,.2);background:rgba(255,255,255,.06);color:#fff;font-size:16px;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
.sf-rp-opt[aria-checked=true]{border-color:#ff6b6b;background:rgba(229,72,77,.16)}
.sf-rp-dot{flex:0 0 20px;width:20px;height:20px;border-radius:50%;border:2px solid rgba(255,255,255,.5);box-sizing:border-box}
.sf-rp-opt[aria-checked=true] .sf-rp-dot{border-color:#ff6b6b;background:radial-gradient(circle,#ff6b6b 0 45%,transparent 50%)}
.sf-rp-note{width:100%;box-sizing:border-box;padding:12px 14px;border-radius:14px;border:1.5px solid rgba(255,255,255,.2);background:rgba(255,255,255,.06);color:#fff;font:inherit;font-size:16px;resize:none}
.sf-rp-note::placeholder{color:rgba(255,255,255,.5)}
.sf-rp-ok{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;padding:6px 0 2px}
.sf-rp-ok .sf-rd-t{margin:0}
.sf-rp-check{width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(46,204,113,.18);color:#2ecc71;animation:sfRpPop .35s ease-out}
.sf-rp-check svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
@keyframes sfRpPop{0%{transform:scale(.4);opacity:0}70%{transform:scale(1.12)}100%{transform:scale(1);opacity:1}}
@media (prefers-reduced-motion:reduce){.sf-rp-check{animation:none}}
