/* Menu button on the right of the top bar (the account / log in icon is on the left). Sits inside .ft-hub (fixed). */
.ft-menu{position:static;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.ft-menu *{box-sizing:border-box}
.ft-menu-btn{position:absolute;top:calc(env(safe-area-inset-top,0px) + 6px);right:10px;left:auto;display:flex;align-items:center;justify-content:center;width:36px;height:36px;margin:0;padding:0;border:1px solid rgba(255,255,255,.16);border-radius:50%;background:rgba(255,255,255,.08);color:#fff;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .2s,border-color .2s}
.ft-menu-btn:hover,.ft-menu-btn[aria-expanded="true"]{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.3)}
.ft-menu-btn:focus-visible{outline:3px solid #00c2a8;outline-offset:2px}
.ft-menu-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;display:block}
.ft-menu-pop{position:absolute;top:calc(env(safe-area-inset-top,0px) + 54px);right:8px;width:260px;max-width:calc(100vw - 16px);max-height:calc(100vh - var(--fth-bar,48px) - var(--fth-off,0px) - 20px);max-height:calc(100dvh - var(--fth-bar,48px) - var(--fth-off,0px) - 20px);overflow-y:auto;overscroll-behavior:contain;padding:6px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:#101730;color:#e9edf8;box-shadow:0 14px 40px rgba(0,0,0,.45)}
.ft-menu-pop[hidden]{display:none}
.ft-menu-list{list-style:none;margin:0;padding:0}
.ft-menu-list a{display:flex;align-items:center;min-height:46px;padding:0 14px;border-radius:10px;color:#e9edf8;font-size:16px;font-weight:600;text-decoration:none;-webkit-tap-highlight-color:transparent}
.ft-menu-list a:hover,.ft-menu-list a:focus-visible{background:rgba(255,255,255,.1);outline:0}
.ft-menu-list a.is-here{background:rgba(0,194,168,.18);color:#7ff0de}
.ft-menu-list .d1 a{padding-left:28px;font-weight:500;font-size:15px}
.ft-menu-list .d2 a{padding-left:42px;font-weight:500;font-size:15px}
.ft-menu-note{margin:0;padding:10px 12px;font-size:14px;line-height:1.45;color:rgba(255,255,255,.8)}
.ft-menu-note a{color:#7ff0de;font-weight:700}
/* "Share yours" and "Submit AI" at the end of the list: a thin line above them, a little + in front, teal text. */
.ft-menu-list .act-first{margin-top:6px;padding-top:6px;border-top:1px solid rgba(255,255,255,.12)}
.ft-menu-list .act a{color:#7ff0de}
.ft-menu-list .act a:before{content:"+";display:inline-flex;align-items:center;justify-content:center;flex:none;width:22px;height:22px;margin-right:10px;border-radius:50%;background:rgba(0,194,168,.2);color:#7ff0de;font-size:17px;font-weight:800;line-height:1}
.ft-menu-list .act a:hover,.ft-menu-list .act a:focus-visible{background:rgba(0,194,168,.16)}
/* v2.61.7: Log out, last in the list: a thin line above it, a soft rose icon circle, rose text. */
.ft-menu-list .ft-menu-out{margin-top:6px;padding-top:6px;border-top:1px solid rgba(255,255,255,.12)}
.ft-menu-outb{display:flex;align-items:center;gap:10px;width:100%;min-height:46px;padding:0 14px;border:0;border-radius:10px;background:transparent;color:#ffb4c4;font:inherit;font-size:16px;font-weight:600;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .2s,color .2s}
.ft-menu-outb:hover,.ft-menu-outb:focus-visible{background:rgba(255,92,128,.15);color:#ffd0da;outline:0}
.ft-menu-outb:focus-visible{box-shadow:inset 0 0 0 2px rgba(255,150,175,.6)}
.ft-menu-outi{display:inline-grid;place-items:center;flex:none;width:22px;height:22px;border-radius:50%;background:rgba(255,92,128,.2);line-height:0}
.ft-menu-outi svg{display:block;width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.ft-menu-outb.is-busy{opacity:.7;cursor:default}
/* Phones: both buttons sit at the edges and the tabs keep the middle. */
@media (max-width:520px){
	.ft-menu-btn{right:8px}
	.ft-menu-pop{left:8px;right:8px;width:auto;max-width:none}
}
@media (prefers-reduced-motion:reduce){.ft-menu-btn{transition:none}}

/* ===== v2.77.2: bottom-sheet menu =====
   The menu slides up from the bottom of the screen: dimmed page behind, a grab handle you can drag down to close,
   a 3-column grid of big coloured page tiles, then Share yours + Submit AI as two bold buttons, Log out last.
   The sheet lives on <body> (the top bar is transformed, so a fixed sheet inside it would be cut to the bar). !important keeps theme link colours out. */
html.ft-sheet-lock{overflow:hidden}
.ft-sheet-root{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100050;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}
.ft-sheet-root[hidden]{display:none}
.ft-sheet-root *{box-sizing:border-box}
.ft-menu-scrim{position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(4,6,16,.62);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);opacity:0;transition:opacity .28s ease;touch-action:none}
.ft-sheet-root.is-open .ft-menu-scrim{opacity:1}
.ft-sheet-root .ft-menu-pop{position:absolute;top:auto;right:0;bottom:0;left:0;width:min(100%,520px);max-width:520px;margin:0 auto;max-height:88vh;max-height:88dvh;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:0 14px calc(18px + env(safe-area-inset-bottom,0px));border:1px solid rgba(255,255,255,.14);border-bottom:0;border-radius:28px 28px 0 0;background:radial-gradient(120% 60% at 100% 0%,rgba(124,92,255,.3),transparent 60%),radial-gradient(100% 60% at 0% 100%,rgba(0,194,168,.2),transparent 60%),linear-gradient(170deg,#171f48,#0a1028);box-shadow:0 -26px 70px rgba(0,0,0,.6);color:#e9edf8;transform:translateY(105%);transition:transform .34s cubic-bezier(.2,.9,.25,1)}
.ft-sheet-root.is-open .ft-menu-pop{transform:none}
.ft-menu-head{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;margin:0 -14px;padding:24px 12px 10px 18px;background:linear-gradient(#171f48 70%,rgba(23,31,72,0));touch-action:none;cursor:grab}
.ft-menu-grab{position:absolute;top:9px;left:50%;width:44px;height:5px;margin-left:-22px;border-radius:3px;background:rgba(255,255,255,.3)}
.ft-menu-title{font-size:21px;font-weight:800;letter-spacing:-.01em;color:#fff}
.ft-menu-x{display:grid;place-items:center;width:42px;height:42px;margin:0;padding:0;border:1px solid rgba(255,255,255,.16)!important;border-radius:50%;background:rgba(255,255,255,.09)!important;color:#fff!important;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.ft-menu-x svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;display:block}
.ft-menu-x:active{background:rgba(255,255,255,.2)!important}
.ft-menu-x:focus-visible{outline:3px solid #00c2a8;outline-offset:2px}
/* the tiles */
.ft-sheet-root .ft-menu-list{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:0!important;padding:4px 0 0!important;list-style:none!important}
.ft-sheet-root .ft-menu-list>li{grid-column:span 2;margin:0!important;padding:0!important;list-style:none!important;border:0!important}
.ft-sheet-root .ft-menu-list>li:before{display:none!important}
.ft-sheet-root.is-open .ft-menu-list>li{animation:ftTileIn .38s cubic-bezier(.2,.9,.25,1) both;animation-delay:calc(var(--i,0) * 32ms + 140ms)}
.ft-sheet-root .ft-menu-list>li>a{position:relative;display:flex!important;flex-direction:column;align-items:center;justify-content:flex-start;gap:9px;min-height:108px!important;padding:14px 6px 12px!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:20px!important;background:rgba(255,255,255,.065)!important;color:#f1f4ff!important;font-size:13.5px!important;font-weight:700!important;line-height:1.2;text-align:center;text-decoration:none!important;box-shadow:none!important;-webkit-tap-highlight-color:transparent;transition:background .15s,transform .12s}
.ft-sheet-root .ft-menu-list>li>a:active{transform:scale(.95);background:rgba(255,255,255,.15)!important}
.ft-sheet-root .ft-menu-list>li>a:focus-visible{outline:3px solid #00c2a8!important;outline-offset:2px}
@media (hover:hover){.ft-sheet-root .ft-menu-list>li>a:hover{background:rgba(255,255,255,.11)!important}}
.ft-mt{display:-webkit-box;max-width:100%;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-word}
.ft-mi{flex:none;display:grid;place-items:center;width:50px;height:50px;border-radius:17px;color:#fff;box-shadow:0 8px 16px -8px rgba(0,0,0,.65),0 1px 0 rgba(255,255,255,.3) inset}
.ft-mi svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;display:block}
.ft-mi-teal{background:linear-gradient(135deg,#00c2a8,#0e8f9c)}
.ft-mi-violet{background:linear-gradient(135deg,#8f7bff,#5b45e6)}
.ft-mi-pink{background:linear-gradient(135deg,#ff6aa8,#d23c8a)}
.ft-mi-amber{background:linear-gradient(135deg,#ffbf3c,#f0801e);color:#2b1700}
.ft-mi-blue{background:linear-gradient(135deg,#4aa3ff,#2f6be0)}
.ft-mi-rose{background:linear-gradient(135deg,#ff7a8a,#e0405c)}
.ft-mc{display:none}
/* the page you are on: teal glow and a dot in the corner */
.ft-sheet-root .ft-menu-list>li>a.is-here{border-color:rgba(0,194,168,.7)!important;background:linear-gradient(160deg,rgba(0,194,168,.3),rgba(124,92,255,.2))!important;color:#fff!important;box-shadow:0 0 0 1px rgba(0,194,168,.25),0 10px 24px -12px rgba(0,194,168,.8)!important}
.ft-sheet-root .ft-menu-list>li>a.is-here .ft-mc{display:block;position:absolute;top:10px;right:10px;width:9px;height:9px;border-radius:50%;background:#2dd4bf;box-shadow:0 0 0 4px rgba(45,212,191,.28)}
.ft-sheet-root .ft-menu-list>li>a.is-here .ft-mc svg{display:none}
/* Share yours + Submit AI: ONE row, two equal buttons, never wrapping */
.ft-sheet-root .ft-menu-list>li.ft-menu-acts{grid-column:1/-1;margin-top:6px!important}
.ft-sheet-root .ft-menu-actrow{display:flex!important;flex-wrap:nowrap!important;gap:10px;width:100%}
.ft-sheet-root .ft-menu-actrow>a{position:relative;flex:1 1 0!important;min-width:0!important;display:flex!important;flex-direction:row!important;align-items:center;justify-content:center;gap:8px;min-height:58px!important;padding:0 8px!important;border:0!important;border-radius:18px!important;color:#fff!important;font-size:15px!important;font-weight:800!important;line-height:1.1;white-space:nowrap;text-decoration:none!important;box-shadow:0 12px 24px -12px rgba(0,0,0,.75)!important;-webkit-tap-highlight-color:transparent;transition:transform .12s,filter .15s}
.ft-sheet-root .ft-menu-actrow>a.act-share{background:linear-gradient(135deg,#7c5cff,#c04cff 60%,#ff5fa2)!important}
.ft-sheet-root .ft-menu-actrow>a.act-submit{background:linear-gradient(135deg,#00c2a8,#1aa0d8)!important}
.ft-sheet-root .ft-menu-actrow>a:before{content:"+";display:inline-flex;align-items:center;justify-content:center;flex:none;width:22px;height:22px;margin:0;border-radius:50%;background:rgba(255,255,255,.28);color:#fff;font-size:17px;font-weight:800;line-height:1}
.ft-sheet-root .ft-menu-actrow>a:active{transform:scale(.96);filter:brightness(1.1)}
.ft-sheet-root .ft-menu-actrow>a:focus-visible{outline:3px solid #fff!important;outline-offset:2px}
.ft-sheet-root .ft-menu-actrow .ft-mt{display:block;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:unset}
/* Sign up + Log in tiles (visitors only), right next to Account */
.ft-sheet-root .ft-menu-list>li.ft-menu-guest>a{border-color:rgba(255,255,255,.18)!important;background:linear-gradient(165deg,rgba(255,255,255,.12),rgba(255,255,255,.05))!important}
.ft-sheet-root .ft-menu-list>li.ft-menu-guest>a.ft-menu-auth-signup{border-color:rgba(255,106,168,.6)!important;background:linear-gradient(165deg,rgba(255,106,168,.26),rgba(124,92,255,.16))!important;box-shadow:0 10px 24px -14px rgba(255,106,168,.9)!important}
.ft-sheet-root .ft-menu-list>li.ft-menu-guest>a.ft-menu-auth-login{border-color:rgba(0,194,168,.6)!important;background:linear-gradient(165deg,rgba(0,194,168,.24),rgba(26,160,216,.14))!important;box-shadow:0 10px 24px -14px rgba(0,194,168,.9)!important}
.ft-sheet-root .ft-menu-auth-signup:after{content:"Free";position:absolute;top:8px;right:8px;padding:2px 7px;border-radius:999px;background:#fff;color:#7a1f55;font-size:10.5px;font-weight:800;line-height:1.3}
.ft-sheet-root .ft-menu-list>li[hidden]{display:none!important}
/* Log out */
.ft-sheet-root .ft-menu-list>li.ft-menu-out{grid-column:1/-1;margin-top:2px!important;padding-top:0!important;border:0!important}
.ft-sheet-root .ft-menu-outb{justify-content:center;min-height:50px!important;padding:0 14px!important;border:1px solid rgba(255,122,138,.3)!important;border-radius:16px!important;background:rgba(255,92,128,.1)!important;color:#ffc2cd!important;font-size:16px!important;font-weight:700!important;box-shadow:none!important}
.ft-sheet-root .ft-menu-outb:active{transform:scale(.98)}
.ft-sheet-root .ft-menu-outi{width:30px;height:30px;border-radius:10px;background:rgba(255,92,128,.24)}
.ft-sheet-root .ft-menu-outi svg{width:16px;height:16px}
.ft-sheet-root .ft-menu-note{grid-column:1/-1;color:rgba(255,255,255,.8)}
@keyframes ftTileIn{from{opacity:0;transform:translateY(16px) scale(.94)}to{opacity:1;transform:none}}
@media (max-width:350px){.ft-sheet-root .ft-menu-list>li>a{min-height:100px!important;font-size:12.5px!important}.ft-mi{width:44px;height:44px}.ft-sheet-root .ft-menu-actrow>a{font-size:13.5px!important;gap:6px}.ft-sheet-root .ft-menu-actrow>a:before{display:none}}
@media (prefers-reduced-motion:reduce){.ft-menu-scrim,.ft-sheet-root .ft-menu-pop{transition:none}.ft-sheet-root.is-open .ft-menu-list>li{animation:none}}

/* ===== Sign up + Log in tiles after Account: same look as the one auth box (violet/pink), big tap targets ===== */
.ft-sheet-root .ft-menu-list>li.ft-menu-guest>a.ft-menu-auth-signup{border-color:rgba(255,106,168,.7)!important;background:linear-gradient(135deg,#7c5cff,#ff6aa8)!important;color:#fff!important;box-shadow:0 12px 26px -12px rgba(124,92,255,.9)!important}
.ft-sheet-root .ft-menu-list>li.ft-menu-guest>a.ft-menu-auth-login{border:1.5px solid rgba(124,92,255,.7)!important;background:linear-gradient(165deg,rgba(124,92,255,.28),rgba(124,92,255,.1))!important;color:#fff!important;box-shadow:0 12px 26px -16px rgba(124,92,255,.9)!important}
.ft-sheet-root .ft-menu-guest .ft-mi{background:rgba(255,255,255,.22)!important;color:#fff!important}
.ft-sheet-root .ft-menu-guest>a{transition:transform .15s,filter .15s}
.ft-sheet-root .ft-menu-guest>a:active{transform:scale(.95);filter:brightness(1.1)}
.ft-sheet-root .ft-menu-guest>a:focus-visible{outline:3px solid #fff;outline-offset:2px}

/* ===== v2.77.4: dropdown under the round account icon ===== */
.ft-menu-me,.ft-menu-arrow{display:none}
.ft-sheet-root.ft-drop .ft-menu-head{display:none}
.ft-sheet-root.ft-drop .ft-menu-scrim{background:rgba(4,6,16,.55)}
.ft-sheet-root.ft-drop .ft-menu-pop{top:68px;right:8px;bottom:auto;left:auto;width:min(calc(100vw - 16px),380px);max-width:none;margin:0;padding:12px;border:1px solid rgba(255,255,255,.16);border-radius:24px;opacity:0;transform:translateY(-8px) scale(.9);transition:transform .28s cubic-bezier(.2,.9,.25,1),opacity .2s ease;box-shadow:0 26px 60px -12px rgba(0,0,0,.75),0 0 0 1px rgba(124,92,255,.2)}
.ft-sheet-root.ft-drop.is-open .ft-menu-pop{opacity:1;transform:none}
.ft-sheet-root.ft-drop .ft-menu-arrow{display:block;position:fixed;z-index:2;width:14px;height:14px;border-radius:3px 0 0 0;border:1px solid rgba(255,255,255,.16);border-right:0;border-bottom:0;background:#1b2358;transform:rotate(45deg);opacity:0;transition:opacity .2s}
.ft-sheet-root.ft-drop.is-open .ft-menu-arrow{opacity:1}
.ft-sheet-root.ft-drop .ft-menu-me{display:flex;align-items:center;gap:12px;padding:10px 12px;margin-bottom:10px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:linear-gradient(135deg,rgba(124,92,255,.28),rgba(255,106,168,.14))}
.ft-me-ava{flex:none;position:relative;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;overflow:hidden;background:linear-gradient(135deg,#7c5cff,#ff6aa8);color:#fff;font:800 19px system-ui,sans-serif}
.ft-me-ava img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ft-me-ava svg{width:24px;height:24px}
.ft-me-ava.is-out{background:rgba(255,255,255,.1);border:2px dashed #9b94c4;color:#c9c3ee}
.ft-me-ava.is-ver{box-shadow:0 0 0 2px #0f0c24,0 0 0 4px #f5b301}
.ft-me-who{min-width:0;display:flex;flex-direction:column;gap:3px}
.ft-me-nm{font-size:16.5px;font-weight:800;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ft-me-sub{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:12.5px;color:rgba(255,255,255,.72)}
.ft-me-chip{display:inline-flex;align-items:center;gap:3px;padding:2px 8px 2px 5px;border-radius:999px;background:rgba(0,194,168,.2);color:#7ff0de;font-weight:800}
.ft-me-chip svg{width:12px;height:12px}
.ft-me-tag{padding:2px 8px;border-radius:999px;background:rgba(124,92,255,.35);color:#e1d9ff;font-weight:700}
.ft-me-tag.is-ver{background:rgba(245,179,1,.25);color:#ffd766}
.ft-sheet-root.ft-drop .ft-menu-list{gap:8px;padding-top:0!important}
.ft-sheet-root.ft-drop .ft-menu-list>li>a{min-height:92px!important;padding:11px 4px 9px!important;border-radius:18px!important;font-size:12.5px!important;gap:7px}
.ft-sheet-root.ft-drop .ft-mi{width:42px;height:42px;border-radius:14px}
.ft-sheet-root.ft-drop .ft-mi svg{width:22px;height:22px}
.ft-sheet-root.ft-drop .ft-menu-actrow>a{min-height:50px!important;font-size:14px!important;border-radius:16px!important}
.ft-sheet-root.ft-drop .ft-menu-outb{min-height:46px!important}
@media (prefers-reduced-motion:reduce){.ft-sheet-root.ft-drop .ft-menu-pop,.ft-sheet-root.ft-drop .ft-menu-arrow{transition:none}}

/* ===== v2.77.12: token numbers in the account card ===== */
.ft-sheet-root.ft-drop .ft-menu-me{flex-wrap:wrap}
.ft-me-tks{flex:1 0 100%;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:2px}
.ft-me-tk{display:flex;flex-direction:column;align-items:flex-start;gap:1px;padding:8px 10px;border-radius:14px;border:1px solid rgba(255,255,255,.12);background:rgba(8,10,30,.35);min-width:0}
.ft-me-tki{display:flex}.ft-me-tki svg{width:18px;height:18px}
.ft-me-tkn{font-size:22px;line-height:1.1;font-weight:800;color:#fff}
.ft-me-tkl{font-size:11.5px;font-weight:700;color:rgba(255,255,255,.72);line-height:1.2}
.ft-me-tk.is-free .ft-me-tki{color:#7ff0de}.ft-me-tk.is-free{border-color:rgba(0,194,168,.4)}
.ft-me-tk.is-vfree .ft-me-tki{color:#ffd766}.ft-me-tk.is-vfree{border-color:rgba(245,179,1,.5)}
.ft-me-tk.is-fab{border-color:rgba(245,179,1,.4)}
