/* Hub header: Creations | AI Tools | Web (TikTok "Explore / Following / For You" style) */
body{--fth-off:0px;--fth-bar:calc(56px + env(safe-area-inset-top,0px))}
body.admin-bar{--fth-off:32px}
@media (max-width:782px){body.admin-bar{--fth-off:46px}}
body.ft-hubmode{--fth-h:calc(var(--fth-off) + var(--fth-bar))}

/* The bar sits fixed at the very top of the page, in web view and in feed view. */
.ft-hub{position:fixed;top:var(--fth-off,0);left:0;right:0;z-index:100001;display:flex;justify-content:center;align-items:stretch;padding:env(safe-area-inset-top,0px) 8px 0;background:#0b1020;border-bottom:1px solid rgba(255,255,255,.08);font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;margin:0;min-height:var(--fth-bar,56px);-webkit-text-size-adjust:100%}
body.ft-hub-on{padding-top:var(--fth-bar)}
.ft-hub *{box-sizing:border-box}
.ft-hub-in{position:relative;display:flex;gap:2px;align-items:stretch;width:min(100%,420px)}
.ft-hub-tab{position:relative;flex:1 1 0;display:flex;align-items:center;justify-content:center;min-width:0;min-height:48px;padding:0 10px;margin:0;border:0;background:none;color:rgba(255,255,255,.6);font:700 16px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:.01em;text-decoration:none;white-space:nowrap;border-radius:12px;cursor:pointer;transition:color .2s,background .2s;-webkit-tap-highlight-color:transparent}
.ft-hub-tab[hidden]{display:none}
.ft-hub-tab:hover{color:#fff;background:rgba(255,255,255,.08)}
.ft-hub-tab.is-on{color:#fff}
.ft-hub-tab:focus-visible{outline:3px solid #00c2a8;outline-offset:-3px}
.ft-hub-bar{position:absolute;left:0;bottom:0;height:3px;width:40px;border-radius:3px;background:#fff;transition:transform .28s cubic-bezier(.4,0,.2,1),width .28s;pointer-events:none;box-shadow:0 0 10px rgba(255,255,255,.5)}
@media (max-width:360px){.ft-hub-tab{font-size:15px;padding:0 6px}}
/* Four buttons (Creations | AI Tools | FabQAI | Web) need a little more room. */
.ft-hub-4 .ft-hub-in{width:min(100%,520px)}
@media (max-width:440px){.ft-hub-4 .ft-hub-tab{font-size:14px;padding:0 4px}}
@media (max-width:340px){.ft-hub-4 .ft-hub-tab{font-size:13px}}

/* Feed view: the feed starts right under the bar. */
body.ft-hubmode .sf,body.ft-hubmode .ftf{top:var(--fth-h)}
body.ft-hubmode .ftf-slide,body.ft-hubmode .ftf-state{height:calc(100vh - var(--fth-h));height:calc(100dvh - var(--fth-h))}
body.ft-hubmode .sf-top,body.ft-hubmode .ftf-top{padding-top:12px}
body.ft-hubmode .sf-filter,body.ft-hubmode .ftf-filter{top:64px}
/* Computers: the feed is a centred phone-shaped column, like TikTok on the web. */
@media (min-width:740px){
	body.ft-hubmode .sf,body.ft-hubmode .ftf{left:50%;right:auto;width:480px;margin-left:-240px;box-shadow:0 0 0 100vmax #060912}
}

/* Creations feed: the category of the creation on screen, shown where the search and category panel used to be. */
.sf-label{flex:0 1 auto;max-width:min(44%,220px);padding:7px 14px;border-radius:999px;background:rgba(255,255,255,.16);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);font-size:14px;font-weight:800;letter-spacing:.01em}
.sf-top{gap:0}
.sf-top .sf-yours{margin-left:auto}

/* Keeps the normal page from flashing before the feed opens. A small spinner shows that it is on its way. */
html.ft-hub-pending body>*:not(.ft-hub):not(script):not(style){opacity:0}
@keyframes fthr{to{transform:rotate(360deg)}}

/* Switch button of the web version: back to the swipe version. Bottom right, on phones and computers. */
.ft-hub-sw{position:fixed;right:14px;bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:100000;display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 18px 0 14px;border:0;border-radius:999px;background:#00c2a8;color:#04251f;font:800 15px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:.01em;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.35),0 0 0 3px rgba(0,194,168,.25);-webkit-tap-highlight-color:transparent;transition:transform .15s,background .2s}
.ft-hub-sw[hidden]{display:none}
.ft-hub-sw:hover{background:#19d8bd}
.ft-hub-sw:active{transform:scale(.96)}
.ft-hub-sw:focus-visible{outline:3px solid #fff;outline-offset:2px}
.ft-hub-sw svg{flex:none}

/* ?ft_hub_debug=1 */
.ft-hub-dbg{position:fixed;left:6px;right:6px;bottom:6px;z-index:100002;padding:8px 10px;border-radius:10px;background:rgba(0,0,0,.88);color:#9ff;font:12px/1.4 ui-monospace,Menlo,Consolas,monospace;white-space:pre-wrap;pointer-events:none}
@media (prefers-reduced-motion:reduce){.ft-hub-bar,.ft-hub-tab,.ft-hub-sw{transition:none}html.ft-hub-pending:after,html.ft-hub-leaving:after{animation:none}.ft-hub-ico{transition:none}}
/* Tab icons: each tab has its own colour; the active tab is bright and a little bigger. */
.ft-hub-tab{gap:7px}
.ft-hub-ico{flex:none;width:20px;height:20px;opacity:.75;transition:transform .2s,opacity .2s,filter .2s}
.ft-hub-tab[data-tab=creations] .ft-hub-ico{color:#ff7ac6}
.ft-hub-tab[data-tab=tools] .ft-hub-ico{color:#5eead4}
.ft-hub-tab[data-tab=ai] .ft-hub-ico{color:#a78bfa}
.ft-hub-tab.is-on .ft-hub-ico{opacity:1;transform:scale(1.12)}
.ft-hub-tab[data-tab=creations].is-on .ft-hub-ico{filter:drop-shadow(0 0 6px rgba(255,122,198,.7))}
.ft-hub-tab[data-tab=tools].is-on .ft-hub-ico{filter:drop-shadow(0 0 6px rgba(94,234,212,.7))}
.ft-hub-tab[data-tab=ai].is-on .ft-hub-ico{filter:drop-shadow(0 0 6px rgba(167,139,250,.75))}
.ft-hub-tab:active .ft-hub-ico{transform:scale(.9)}
@media (max-width:360px){.ft-hub-ico{width:18px;height:18px}.ft-hub-tab{gap:5px}}
/* Leaving for the other tab: the screen answers at once (dark fade and spinner) while the page loads. */
/* FabQAI button: a small sparkle in front of the name */
@media (max-width:420px){.ft-hub-tab{padding:0 4px;gap:5px;font-size:15px}}

/* ===== v1.46 top bar: bigger text, one merged bar (account | Creations  AI Tools  FabQAI | menu), instant feel ===== */
body .ft-hub-in{width:min(100%,560px);gap:0}
body .ft-hub-tab{flex:1 1 auto;min-height:56px;padding:0 8px;gap:6px;font-weight:800;font-size:clamp(16px,4.7vw,19px);letter-spacing:0;color:rgba(255,255,255,.66);border-radius:14px}
body .ft-hub-tab.is-on{color:#fff}
body .ft-hub-tab:active{background:rgba(255,255,255,.12)}
body .ft-hub-ico{width:21px;height:21px}
body .ft-hub-bar{height:4px;border-radius:4px 4px 0 0}
/* The little round buttons on both sides match the taller bar. */
body .ft-hub .ft-me-btn{top:calc(env(safe-area-inset-top,0px) + 8px);height:40px}
body .ft-hub .ft-menu-btn{top:calc(env(safe-area-inset-top,0px) + 8px);width:40px;height:40px}
body .ft-hub .ft-menu-btn svg{width:22px;height:22px}
body .ft-hub .ft-me-pop,body .ft-hub .ft-menu-pop{top:calc(env(safe-area-inset-top,0px) + 62px)}
@media (max-width:520px){
	/* Narrow phones: only the lit tab shows its icon, so the three names can be big. */
	body .ft-hub-tab{padding:0 6px}
	body .ft-hub-tab .ft-hub-ico{display:none}
	body .ft-hub-tab.is-on .ft-hub-ico{display:block;width:19px;height:19px}
}
@media (min-width:441px) and (max-width:520px){body .ft-hub-tab .ft-hub-ico{display:block;width:19px;height:19px}}
@media (max-width:340px){body .ft-hub-tab{font-size:15px;padding:0 4px}}
/* Computers: roomy, big tabs. */
@media (min-width:740px){body .ft-hub-tab{font-size:19px}}
/* The bar stays still while the next page slides in (Chrome / Edge / Safari 18+ cross-page transitions). */
@view-transition{navigation:auto}
.ft-hub{view-transition-name:fthub}
::view-transition-group(fthub){animation-duration:0s}
::view-transition-old(root),::view-transition-new(root){animation-duration:.14s}
@media (prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation-duration:0s}}

/* ===== v1.46.1: the sign in / account button moved from the left to the right, next to the menu button ===== */
/* Right side of the bar: [account] [menu]. The tabs start at the left edge and keep the rest of the width. */
@media (max-width:900px){
	body.ft-hub-on .ft-hub{padding-left:8px}
	body.ft-hub-on.ft-me-on .ft-hub,body.ft-hub-on.ft-menu-on .ft-hub{padding-right:58px}
	body.ft-hub-on.ft-me-on.ft-menu-on .ft-hub{padding-right:156px}
}
@media (max-width:340px){
	body.ft-hub-on.ft-me-on .ft-hub,body.ft-hub-on.ft-menu-on .ft-hub{padding-right:54px}
	body.ft-hub-on.ft-me-on.ft-menu-on .ft-hub{padding-right:150px}
}
body.ft-menu-on .ft-hub .ft-me-btn{right:58px;left:auto}
body .ft-hub .ft-me-pop{left:auto;right:8px}
@media (max-width:520px){body .ft-hub .ft-me-pop,body .ft-hub .ft-menu-pop{left:8px;right:8px;width:auto;max-width:none}}

/* ===== v1.46.2: ONE account pill, the same on phones and computers, right before the menu button ===== */
/* Logged out: [person icon  Sign in]   Logged in: [avatar  bolt 120]  (tokens always visible, no tiny badge) */
body .ft-hub .ft-me-btn{height:40px;width:auto;gap:7px;font-size:14px;font-weight:800;white-space:nowrap;overflow:visible}
body .ft-hub .ft-me-btn.is-out{padding:0 13px 0 10px;background:#00c2a8;border-color:#00c2a8;color:#04101c;box-shadow:0 0 0 3px rgba(0,194,168,.22)}
body .ft-hub .ft-me-btn.is-out:hover,body .ft-hub .ft-me-btn.is-out[aria-expanded="true"]{background:#19d8bd;border-color:#19d8bd}
body .ft-hub .ft-me-btn.is-out .ft-me-ico{width:20px;height:20px}
body .ft-hub .ft-me-btn.is-out .ft-me-lbl{display:inline}
body .ft-hub .ft-me-btn.is-in{padding:4px 12px 4px 4px;width:auto}
body .ft-hub .ft-me-btn.is-in .ft-me-av-sm{width:30px;height:30px;font-size:14px}
body .ft-hub .ft-me-tok{position:static;display:inline-flex;align-items:center;gap:3px;padding:0;border:0;background:none;box-shadow:none;font-size:15px;font-weight:800;line-height:1;color:#7ff0de}
body .ft-hub .ft-me-tok .ft-me-bolt{width:15px;height:15px}
/* When the three tab names get tight on a small phone, they shrink a little and drop their icons. */
body .ft-hub.ft-hub-tight .ft-hub-tab{font-size:15px;padding:0 3px;gap:0}
body .ft-hub.ft-hub-tight .ft-hub-tab .ft-hub-ico{display:none}

/* ===== v1.46.3: tabs stay on top in every view (phone web, phone swipe, computer). Account button = same size as the menu button. ===== */
/* The bar gets its own layer, so it cannot drift while a feed opens or closes (scroll lock on <body>). */
.ft-hub{transform:translateZ(0);-webkit-transform:translateZ(0)}
/* Both round buttons: one size, one height, always on the same line at the top right. Nothing else may move them. */
body .ft-hub .ft-me-btn,body .ft-hub .ft-menu-btn{position:absolute !important;top:calc(env(safe-area-inset-top,0px) + 8px) !important;bottom:auto !important;left:auto !important;width:40px !important;height:40px !important;margin:0 !important;padding:0 !important;transform:none !important;border-radius:50% !important;overflow:visible}
body .ft-hub .ft-menu-btn{right:8px !important}
body .ft-hub .ft-me-btn{right:8px !important}
body.ft-menu-on .ft-hub .ft-me-btn{right:58px !important}
body .ft-hub .ft-me-btn.is-out{background:#00c2a8;border-color:#00c2a8;color:#04101c;box-shadow:0 0 0 3px rgba(0,194,168,.22)}
body .ft-hub .ft-me-btn.is-out .ft-me-lbl{display:none}
body .ft-hub .ft-me-btn.is-out .ft-me-ico{width:22px;height:22px}
body .ft-hub .ft-me-btn.is-in .ft-me-av-sm{width:100%;height:100%;font-size:16px}
/* Tokens: a small badge under the round icon, like before (one line, the number is always visible). */
body .ft-hub .ft-me-tok{position:absolute;left:50%;bottom:-8px;top:auto;transform:translateX(-50%);display:inline-flex;align-items:center;gap:2px;padding:2px 6px 2px 4px;border:1px solid rgba(127,240,222,.55);border-radius:999px;background:#0b1020;box-shadow:0 2px 6px rgba(0,0,0,.45);font-size:11px;font-weight:800;line-height:1;color:#7ff0de;white-space:nowrap}
body .ft-hub .ft-me-tok .ft-me-bolt{width:11px;height:11px}
body .ft-hub .ft-me-tok.ft-me-flash{animation:ftmeflash2 1.2s}
@keyframes ftmeflash2{0%{color:#fff;transform:translateX(-50%) scale(1.25)}100%{color:#7ff0de;transform:translateX(-50%)}}
/* Room for the two buttons on the right (the script measures them as well and sets the exact padding). */
@media (max-width:900px){
	body.ft-hub-on.ft-me-on .ft-hub,body.ft-hub-on.ft-menu-on .ft-hub{padding-right:58px}
	body.ft-hub-on.ft-me-on.ft-menu-on .ft-hub{padding-right:108px}
}
body .ft-hub .ft-me-pop,body .ft-hub .ft-menu-pop{top:calc(env(safe-area-inset-top,0px) + 62px)}
/* v1.46.4: the avatar and the person icon can never be bigger than the round button (swipe, web and computer view). */
body .ft-hub .ft-me-btn .ft-me-av,body .ft-hub .ft-me-btn .ft-me-av-sm{width:100% !important;height:100% !important;max-width:100%;max-height:100%}
body .ft-hub .ft-me-btn .ft-me-ico{width:22px !important;height:22px !important}

/* ===== v1.85.3: desktop only (1024px and wider): FabShop and Newsletter after FabQAI, and no theme header row ===== */
.ft-hub-x{display:none}
@media (min-width:740px){
	body .ft-hub-in{width:min(100%,900px)}
	body .ft-hub-x{position:relative;flex:1 1 auto;display:flex;align-items:center;justify-content:center;min-width:0;min-height:56px;padding:0 8px;gap:6px;border-radius:14px;color:rgba(255,255,255,.66);font:800 19px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:0;text-decoration:none;white-space:nowrap;transition:color .2s,background .2s}
	body .ft-hub-x:hover,body .ft-hub-x:focus-visible{color:#fff;background:rgba(255,255,255,.08)}
	body .ft-hub-x:focus-visible{outline:3px solid #00c2a8;outline-offset:-3px}
	body .ft-hub-x:active{background:rgba(255,255,255,.12)}
	body .ft-hub-x .ft-hub-ico{display:block;width:21px;height:21px;opacity:.85;transition:transform .2s,opacity .2s}
	body .ft-hub-x:hover .ft-hub-ico{opacity:1;transform:scale(1.1)}
	body .ft-hub-x[data-x=shop] .ft-hub-ico{color:#fbbf24}
	body .ft-hub-x[data-x=news] .ft-hub-ico{color:#60a5fa}
	/* the theme's own header row (logo, AI Directory, Category, Submit AI, My Account, Login) */
	.ft-theme-head-off{display:none !important}
}

/* v1.86.0: lit FabShop link on the Fab Shop page */
@media (min-width:740px){body .ft-hub-x.is-on{color:#fff;background:rgba(251,191,36,.16);box-shadow:inset 0 -3px 0 #fbbf24}}

/* v2.08.18: Refund Policy page, web version. The Swipe button no longer floats over the text.
   Computers: the page keeps room under the last line. Phones: the button becomes a real bar at the bottom and the page keeps room for it. */
body.ft-hub-page-refund{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}
html.ft-phone body.ft-hub-page-refund{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}
html.ft-phone body.ft-hub-page-refund .ft-hub-sw{left:0;right:0;bottom:0;width:100%;height:calc(58px + env(safe-area-inset-bottom,0px));padding:0 16px env(safe-area-inset-bottom,0px);justify-content:center;border-radius:0;box-shadow:0 -8px 22px rgba(0,0,0,.28)}
html.ft-phone body.ft-hub-page-refund .ft-hub-sw-tip{display:none}
body.ft-hub-page-guidelines{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}
html.ft-phone body.ft-hub-page-guidelines{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}
html.ft-phone body.ft-hub-page-guidelines .ft-hub-sw{left:0;right:0;bottom:0;width:100%;height:calc(58px + env(safe-area-inset-bottom,0px));padding:0 16px env(safe-area-inset-bottom,0px);justify-content:center;border-radius:0;box-shadow:0 -8px 22px rgba(0,0,0,.28)}
html.ft-phone body.ft-hub-page-guidelines .ft-hub-sw-tip{display:none}
/* v2.08.20: the Featured Shared page (Community Choice) keeps its text clear of the Swipe button, like the Refund Policy */
body.ft-hub-page-featured{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}
html.ft-phone body.ft-hub-page-featured{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}
html.ft-phone body.ft-hub-page-featured .ft-hub-sw{left:0;right:0;bottom:0;width:100%;height:calc(58px + env(safe-area-inset-bottom,0px));padding:0 16px env(safe-area-inset-bottom,0px);justify-content:center;border-radius:0;box-shadow:0 -8px 22px rgba(0,0,0,.28)}
html.ft-phone body.ft-hub-page-featured .ft-hub-sw-tip{display:none}

/* v2.09.0: phones only get the swipe version. The web version is hidden from phone visitors (it stays in the page as the data source for the swipe version and for search engines). */
html.ft-phone .ft-hub-web,html.ft-phone [aria-label="Switch to the web version"],html.ft-phone .sf-sw,html.ft-phone .ftf-sw{display:none!important}

/* v2.63.0: the Account page has no Swipe button any more, so it needs no room for one */

/* ===== v2.27.0: phones never see the web version, not even for a moment (guests and members alike) ===== */
/* 1) The web page of the shortcode stays hidden on phones until the swipe feed is open. It only shows if the feed truly cannot open (body.ft-hub-failed). */
html.ft-phone body.ft-hub-on:not(.ft-hubmode):not(.ft-hub-failed):not(.ft-hub-page-ai):not(.ft-hub-page-account) #ft-app{visibility:hidden!important}
/* 2) The cover while the feed is on its way: deep colour, soft glow, a better loader. It stays until the feed is open (no timer). */
/* 3) Switching tabs on a phone goes dark to dark (the old screen fades out, the new one is already covered), so no web page shows in between. */
html.ft-hub-leaving body>*:not(.ft-hub):not(script):not(style){opacity:0;transition:opacity .14s ease-out;pointer-events:none}
/* 4) The feed fades in when it opens. */
@keyframes fthin{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
html.ft-phone body.ft-hubmode>.sf.is-open,html.ft-phone body.ft-hubmode>.ftf.is-open,html.ft-phone body.ft-hubmode>.fsf.is-open,html.ft-phone body.ft-hubmode>.fcf.is-open,html.ft-phone body.ft-hubmode>.rpf.is-open,html.ft-phone body.ft-hubmode>.gdf.is-open,html.ft-phone body.ft-hubmode>.faf.is-open{animation:fthin .22s ease-out both}
@media (prefers-reduced-motion:reduce){html.ft-phone body.ft-hubmode>.sf.is-open,html.ft-phone body.ft-hubmode>.ftf.is-open,html.ft-phone body.ft-hubmode>.fsf.is-open,html.ft-phone body.ft-hubmode>.fcf.is-open,html.ft-phone body.ft-hubmode>.rpf.is-open,html.ft-phone body.ft-hubmode>.gdf.is-open,html.ft-phone body.ft-hubmode>.faf.is-open{animation:none}}

/* v2.66.0: Newsletter and Editor's Picks use the plugin top bar on computers only. Phones keep their own page: no bar, no extra room. */
html.ft-phone body.ft-hub-page-newsletter #ft-hub,html.ft-phone body.ft-hub-page-editors #ft-hub,html.ft-phone body.ft-hub-page-about #ft-hub{display:none!important}
html.ft-phone body.ft-hub-page-newsletter,html.ft-phone body.ft-hub-page-editors,html.ft-phone body.ft-hub-page-about{padding-top:0!important}
@media (max-width:739px){body.ft-hub-page-newsletter #ft-hub,body.ft-hub-page-editors #ft-hub,body.ft-hub-page-about #ft-hub{display:none!important}body.ft-hub-page-newsletter,body.ft-hub-page-editors,body.ft-hub-page-about{padding-top:0!important}}


/* =====================================================================
   v2.69.0: PHONE MODE / DESKTOP MODE on every page of the plugin (computers only).
   ONE teal pill, the same as the Phone mode button of the FabQAI page, at the bottom right. Phone mode opens the real phone version
   of the page in a phone-sized window over a dimmed screen; Desktop mode (or Esc) goes back. Phones never see these buttons.
   The old Swipe mode buttons on computers (hub corner, Creations hero, Editor's Picks) are replaced by this one.
   ===================================================================== */
.ft-pm-btn{display:none}
@media (min-width:740px){
.ft-pm-btn{position:fixed;right:18px;bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:100000;display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 18px 0 14px;border:0;border-radius:999px;background:#00c2a8;color:#04251f;font:800 15px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:.01em;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.35),0 0 0 3px rgba(0,194,168,.25);-webkit-tap-highlight-color:transparent;transition:transform .15s,background .2s}
.ft-pm-btn[hidden]{display:none!important}
.ft-pm-btn:hover{background:#19d8bd}
.ft-pm-btn:active{transform:scale(.96)}
.ft-pm-btn:focus-visible{outline:3px solid #fff;outline-offset:2px}
.ft-pm-btn svg{flex:none}
html.ft-phone .ft-hub-pm{display:none!important}
/* the old computer buttons give way to the one new button */
html:not(.ft-phone) .ft-hub-sw{display:none!important}
html:not(.ft-phone) body.ft-hub-on #ft-app .sw-open,html:not(.ft-phone) body.ft-hub-on #ft-app .cd-swipe{display:none!important}

.ft-pm{position:fixed;inset:0;z-index:100020;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(5,8,20,.88);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:ftPmIn .22s ease both}
.ft-pm-dev{position:relative;flex:none;width:min(420px,100%);height:min(880px,100%);border-radius:34px;padding:10px;background:#05070f;box-shadow:0 0 0 2px rgba(255,255,255,.14),0 30px 90px rgba(0,0,0,.65),0 0 80px rgba(109,94,252,.25)}
.ft-pm-frame{display:block;width:100%;height:100%;border:0;border-radius:25px;background:linear-gradient(160deg,#141a3d,#0a0f26)}
.ft-pm .ft-pm-btn{z-index:2}
@keyframes ftPmIn{from{opacity:0}to{opacity:1}}
html.ft-pm-lock,html.ft-pm-lock body{overflow:hidden!important}
@media (prefers-reduced-motion:reduce){.ft-pm{animation:none}.ft-pm-btn{transition:none}}
/* narrow computer windows and tablets: icon only, so the button never covers the page */
@media (max-width:1100px){
.ft-pm-btn{width:48px;padding:0;justify-content:center}
.ft-pm-btn .ft-pm-t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
@media (max-height:760px){.ft-pm{padding:10px}.ft-pm-dev{border-radius:28px;padding:8px}.ft-pm-frame{border-radius:21px}}
}
/* v2.74.0: Terms and Conditions page, same room as the Community Guidelines page */
body.ft-hub-page-terms{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}
html.ft-phone body.ft-hub-page-terms{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}
html.ft-phone body.ft-hub-page-terms .ft-hub-sw{left:0;right:0;bottom:0;width:100%;height:calc(58px + env(safe-area-inset-bottom,0px));padding:0 16px env(safe-area-inset-bottom,0px);justify-content:center;border-radius:0;box-shadow:0 -8px 22px rgba(0,0,0,.28)}
html.ft-phone body.ft-hub-page-terms .ft-hub-sw-tip{display:none}
/* v2.75.0: Privacy Policy page */
body.ft-hub-page-privacy{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}
html.ft-phone body.ft-hub-page-privacy{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}
html.ft-phone body.ft-hub-page-privacy .ft-hub-sw{left:0;right:0;bottom:0;width:100%;height:calc(58px + env(safe-area-inset-bottom,0px));padding:0 16px env(safe-area-inset-bottom,0px);justify-content:center;border-radius:0;box-shadow:0 -8px 22px rgba(0,0,0,.28)}
html.ft-phone body.ft-hub-page-privacy .ft-hub-sw-tip{display:none}

/* v2.75.4: every swipe version sits right UNDER the hub bar on phones (Community Choice, Contact Us, Refund Policy, Community Guidelines,
   Terms and Conditions, Privacy Policy). Before, they started at the very top, so the hub bar (and the WordPress admin bar for logged-in admins)
   covered their own top buttons (close, title, counter, share) and the menu button overlapped them. Same rule as Creations, AI Tools and Fab Shop. */
body.ft-hubmode .fff,body.ft-hubmode .fcf,body.ft-hubmode .rpf,body.ft-hubmode .gdf,body.ft-hubmode .tdf,body.ft-hubmode .pvf{top:var(--fth-h)}
body.ft-hubmode .fff-slide{height:calc(100vh - var(--fth-h));height:calc(100dvh - var(--fth-h))}
body.ft-hubmode .fff-top,body.ft-hubmode .fcf-top,body.ft-hubmode .rpf-top,body.ft-hubmode .gdf-top,body.ft-hubmode .tdf-top,body.ft-hubmode .pvf-top{padding-top:12px}
@media (min-width:740px){
	body.ft-hubmode .fff{left:50%;right:auto;width:480px;margin-left:-240px;box-shadow:0 0 0 100vmax #060912}
}

/* v2.77.24: Saved tools, nothing saved yet (phones) */
.ft-saved-empty{position:fixed;left:0;right:0;bottom:0;top:var(--fth-bar,56px);z-index:100000;display:flex;align-items:center;justify-content:center;padding:24px;background:linear-gradient(160deg,#0b1020,#1d1450 60%,#3a1c8f);color:#fff;text-align:center;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.ft-se-in{display:flex;flex-direction:column;align-items:center;gap:10px;max-width:320px}
.ft-se-ic{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:rgba(255,255,255,.14);color:#ff7aa8}
.ft-se-in b{font-size:24px;font-weight:900}
.ft-se-in span:not(.ft-se-ic){opacity:.8;font-size:16px;line-height:1.4}
.ft-se-go{margin-top:10px;padding:14px 26px;border-radius:999px;background:linear-gradient(135deg,#6d5dfc,#8f5bff);color:#fff;font-weight:800;text-decoration:none;font-size:16px}
