/* Sign-in box */
.ftl-lock{overflow:hidden}
.ftl-ov{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(5,9,22,.72);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.ftl-ov *{box-sizing:border-box}
.ftl-box{position:relative;width:100%;max-width:380px;max-height:calc(100dvh - 32px);overflow-y:auto;padding:50px 24px 20px;border:1px solid rgba(255,255,255,.14);border-radius:20px;background:#101730;color:#e9edf8;box-shadow:0 24px 70px rgba(0,0,0,.55);animation:ftlin .22s ease-out}
@keyframes ftlin{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
.ftl-x{position:absolute;top:10px;right:10px;display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:1px solid rgba(255,255,255,.16);border-radius:50%;background:rgba(255,255,255,.07);color:#c9d2ea;cursor:pointer;transition:background .15s,color .15s,transform .2s,border-color .15s}
.ftl-x .ftl-xi{width:18px;height:18px;display:block;pointer-events:none}
.ftl-x:hover{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.3);color:#fff;transform:rotate(90deg)}
.ftl-x:active{transform:rotate(90deg) scale(.92)}
@media (max-width:480px){.ftl-x{width:38px;height:38px}}
@media (prefers-reduced-motion:reduce){.ftl-x{transition:none}.ftl-x:hover,.ftl-x:active{transform:none}}
.ftl-h{margin:0 0 6px;color:#fff;font-size:22px;font-weight:800}
.ftl-p{margin:0 0 16px;color:#b6c0da;font-size:14px;line-height:1.45}
.ftl-g{position:relative;display:block;width:100%;height:40px;margin:4px 0 2px}
.ftl-or{display:flex;align-items:center;gap:10px;margin:14px 0;color:#8f9bbb;font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.ftl-or:before,.ftl-or:after{content:"";flex:1;height:1px;background:rgba(255,255,255,.14)}
.ftl-f{display:flex;flex-direction:column;gap:10px}
.ftl-in{width:100%;height:48px;padding:0 14px;border:1px solid rgba(255,255,255,.2);border-radius:12px;background:#0a1024;color:#fff;font-size:16px}
.ftl-in::placeholder{color:#6f7a99}
.ftl-in:focus{outline:3px solid #00c2a8;outline-offset:1px;border-color:transparent}
.ftl-code{text-align:center;font-size:26px;letter-spacing:.4em;font-weight:700;padding-left:.4em}
.ftl-btn{height:48px;border:0;border-radius:12px;background:linear-gradient(135deg,#00c2a8,#4f7cff);color:#04101c;font-size:16px;font-weight:800;cursor:pointer}
.ftl-btn:disabled{opacity:.6;cursor:default}
.ftl-btn:focus-visible,.ftl-link:focus-visible,.ftl-x:focus-visible{outline:3px solid #00c2a8;outline-offset:2px}
.ftl-row{display:flex;justify-content:space-between;gap:10px;margin-top:12px}
.ftl-link{padding:6px 0;border:0;background:none;color:#7ff0de;font-size:13px;font-weight:700;cursor:pointer;text-decoration:underline}
.ftl-link:disabled{color:#8f9bbb;cursor:default;text-decoration:none}
.ftl-status{min-height:20px;margin-top:12px;font-size:13px;text-align:center;color:#b6c0da}
.ftl-status.is-bad{color:#ff8a8a}
.ftl-status.is-ok{color:#7ff0de}
.ftl-fine{margin:6px 0 0;color:#6f7a99;font-size:11.5px;text-align:center}

/* Email typo hint and "Still nothing?" help */
.ftl-typo{padding:10px 12px;border:1px solid rgba(255,214,102,.4);border-radius:12px;background:rgba(255,214,102,.08);color:#ffe3a1;font-size:13.5px}
.ftl-typo b{color:#fff}
.ftl-typo-b{display:flex;gap:16px;margin-top:2px}
.ftl-help{margin-top:14px;padding:12px 14px;border:1px solid rgba(127,240,222,.25);border-radius:12px;background:rgba(0,194,168,.07);animation:ftlin .3s ease both}
.ftl-help[hidden]{display:none}
.ftl-help-t{display:block;color:#fff;font-size:14px}
.ftl-help-l{margin:6px 0 4px;padding-left:18px;color:#b6c0da;font-size:13px;line-height:1.5}
.ftl-help-b{display:flex;flex-direction:column;align-items:flex-start}
.ftl-hint b{color:#e9edf8;word-break:break-all}
@media (prefers-reduced-motion:reduce){.ftl-help{animation:none}}

/* Round account icon in the swipe feeds (same look in AI Tools and Creations) */
.ftl-acct{position:relative;overflow:hidden;flex:none}
.ftl-acct .ftl-ico{width:22px;height:22px}
.ftl-acct.is-out{background:#00c2a8 !important;color:#04101c !important;box-shadow:0 0 0 3px rgba(0,194,168,.25)}
.ftl-acct.is-in{padding:0}
.ftl-av{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:50%;overflow:hidden;background:linear-gradient(135deg,#00c2a8,#4f7cff);color:#04101c;font:800 18px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.ftl-av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ftl-av .ftl-ico{width:22px;height:22px}
/* While a swipe feed is open on a phone, the round icon in the feed replaces the login button of the top bar. */
/* v1.46.3: the account button of the top bar stays visible in the swipe feeds too (one place for the account). */
@media (max-width:400px){.ftf-acct,.sf-acct{width:40px;height:40px}}
/* small menu when there is no top bar on the page */
.ftl-menu{position:fixed;z-index:2147483000;min-width:200px;max-width:calc(100vw - 16px);padding:8px;border:1px solid rgba(255,255,255,.14);border-radius:14px;background:#101730;color:#e9edf8;box-shadow:0 18px 50px rgba(0,0,0,.5);font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.ftl-mn{padding:6px 10px 0;font-weight:800;color:#fff}
.ftl-me{padding:0 10px 8px;color:#9aa6c4;font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ftl-mi{display:block;width:100%;padding:10px;border:0;border-radius:10px;background:none;color:#e9edf8;font:600 14px/1.2 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;text-align:left;text-decoration:none;cursor:pointer}
.ftl-mi:hover,.ftl-mi:focus-visible{background:rgba(255,255,255,.1);outline:none}
.ftl-out{color:#ff9d9d}

.ftl-pill{position:relative;flex:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:34px;padding:0 12px;border:0;border-radius:999px;background:#fff;color:#0b1020;font:800 13px system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent}
.ftl-pill .ftl-ico{width:16px;height:16px}
.ftl-pill:active{background:#e6ebf7}
.ftl-pill:focus-visible{outline:3px solid #00c2a8;outline-offset:2px}
@media (max-width:430px){.ftl-pill-feed{width:34px;padding:0}.ftl-pill-feed .ftl-pill-t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.ftl-pill-feed .ftl-ico{width:18px;height:18px}}
.ftl-news{display:flex;align-items:flex-start;gap:10px;margin:16px 0 0;padding:12px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:rgba(255,255,255,.05);cursor:pointer}
.ftl-news input{flex:none;width:20px;height:20px;margin:2px 0 0;accent-color:#00c2a8}
.ftl-news-t b{display:block;color:#fff;font-size:14px}
.ftl-news-t span{display:block;color:#aab3cf;font-size:13px;line-height:1.35}
.ftl-tabs{display:flex;gap:4px;margin:0 0 16px;padding:4px;border-radius:999px;background:rgba(255,255,255,.08)}
.ftl-tab{flex:1;height:38px;border:0;border-radius:999px;background:transparent;color:#b6c0da;font:inherit;font-size:14px;font-weight:800;cursor:pointer;transition:background .15s,color .15s}
.ftl-tab.is-on{background:#fff;color:#0b1020}
.ftl-extra{margin-top:8px;text-align:center}
.ftl-f .ftl-in+.ftl-in{margin-top:10px}


/* v1.57: Log in / Sign up redesign */
.ftl-box{max-width:400px;padding:52px 22px 18px}
.ftl-h{font-size:23px;letter-spacing:-.01em}
.ftl-hc{padding-right:0;text-align:center}
.ftl-c{text-align:center}
.ftl-p b{color:#fff;overflow-wrap:anywhere}
.ftl-tab:focus-visible{outline:3px solid #00c2a8;outline-offset:2px}
.ftl-perks{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:8px}
.ftl-perks li{display:flex;align-items:center;gap:10px;color:#cfd7ee;font-size:14px}
.ftl-perk-i{flex:none;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:rgba(0,194,168,.16);color:#7ff0de;font-size:13px}
.ftl-pw{position:relative}
.ftl-pw .ftl-in{padding-right:64px}
.ftl-eye{position:absolute;top:50%;right:6px;transform:translateY(-50%);height:36px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#7ff0de;font:700 13px system-ui,sans-serif;cursor:pointer}
.ftl-eye:hover{background:rgba(255,255,255,.08)}
.ftl-eye:focus-visible{outline:3px solid #00c2a8;outline-offset:1px}
.ftl-forgot{display:flex;justify-content:flex-end;margin:-4px 0 0}
.ftl-row-c{justify-content:center}
.ftl-hint{margin:10px 0 0;color:#8f9bbb;font-size:12.5px;line-height:1.4}
.ftl-switch{margin:16px 0 0;text-align:center;color:#b6c0da;font-size:14px}
.ftl-switch .ftl-link{font-size:14px}
.ftl-strong{color:#fff;text-decoration:none;border-bottom:2px solid #00c2a8}
.ftl-badge{display:flex;align-items:center;justify-content:center;width:56px;height:56px;margin:2px auto 12px;border-radius:50%;background:linear-gradient(135deg,rgba(0,194,168,.25),rgba(79,124,255,.25));color:#fff;font-size:26px}
.ftl-badge.ftl-ok{background:linear-gradient(135deg,#00c2a8,#4f7cff);color:#04101c;font-weight:900}
.ftl-meter{margin:-2px 0 2px}
.ftl-meter-b{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}
.ftl-meter-b i{height:5px;border-radius:3px;background:rgba(255,255,255,.14)}
.ftl-meter-b i.on.l1{background:#ff8a8a}.ftl-meter-b i.on.l2{background:#ffc15e}.ftl-meter-b i.on.l3{background:#7ff0de}.ftl-meter-b i.on.l4{background:#00c2a8}
.ftl-meter-t{display:block;margin-top:6px;color:#8f9bbb;font-size:12px}
.ftl-ov [disabled]{cursor:default}
@media (prefers-reduced-motion:reduce){.ftl-box{animation:none}}

/* v1.58: small "Sign up" button for guests in the swipe feeds, next to "+ Share yours" / "+ Submit AI" */
.ftl-su{flex:none;display:inline-flex;align-items:center;justify-content:center;height:34px;margin-left:6px;padding:0 12px;border:1px solid rgba(255,255,255,.55);border-radius:999px;background:rgba(255,255,255,.14);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff;font:800 13px system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .15s}
.ftl-su:hover{background:rgba(255,255,255,.26)}
.ftl-su:active{background:rgba(255,255,255,.34)}
.ftl-su:focus-visible{outline:3px solid #00c2a8;outline-offset:2px}
@media (max-width:400px){.ftl-su{padding:0 9px;margin-left:5px;font-size:12.5px}}

/* Guest account menu (round icon, not signed in) */
.ftl-gmenu{width:272px;padding:8px}
.ftl-gh{padding:8px 10px 10px;border-bottom:1px solid rgba(255,255,255,.1);margin-bottom:6px}
.ftl-gh b{display:block;color:#fff;font-size:15px}
.ftl-gh span{display:block;margin-top:2px;color:#9aa6c4;font-size:12.5px;line-height:1.35}
.ftl-gi{display:flex;align-items:center;gap:12px;width:100%;padding:10px;border:0;border-radius:12px;background:none;color:#e9edf8;text-align:left;text-decoration:none;cursor:pointer;font-family:inherit}
.ftl-gi:hover,.ftl-gi:focus-visible{background:rgba(255,255,255,.09);outline:none}
.ftl-gi:focus-visible{box-shadow:0 0 0 2px #00c2a8 inset}
.ftl-mic{flex:none;width:34px;height:34px;padding:8px;border-radius:10px;background:rgba(255,255,255,.08);color:#7ff0de}
.ftl-gt{display:flex;flex-direction:column;min-width:0}
.ftl-gt b{font-size:14.5px;font-weight:700;color:#fff}
.ftl-gt span{margin-top:1px;color:#9aa6c4;font-size:12px}
.ftl-gi-main{background:linear-gradient(135deg,#00c2a8,#4f7cff)}
.ftl-gi-main:hover,.ftl-gi-main:focus-visible{background:linear-gradient(135deg,#19d1b8,#6a90ff)}
.ftl-gi-main .ftl-mic{background:rgba(4,16,28,.2);color:#04101c}
.ftl-gi-main .ftl-gt b{color:#04101c}
.ftl-gi-main .ftl-gt span{color:rgba(4,16,28,.72)}
.ftl-gi-gold .ftl-mic{background:rgba(255,200,70,.14);color:#ffd66b}
.ftl-gsep{height:1px;margin:6px 4px;background:rgba(255,255,255,.1)}

/* Account types in the guest menu */
.ftl-gmenu{width:290px}
.ftl-pc{margin:0 0 8px;padding:12px;border:1px solid rgba(255,255,255,.14);border-radius:14px;background:rgba(255,255,255,.05)}
.ftl-pch{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ftl-pch b{color:#fff;font-size:15px}
.ftl-pct{padding:2px 8px;border-radius:999px;background:rgba(255,255,255,.12);color:#c9d2ea;font-size:11px;font-weight:700}
.ftl-pcp{margin:6px 0 10px;color:#b6c0da;font-size:12.5px;line-height:1.4}
.ftl-pcb{width:100%;height:40px;border:1px solid rgba(255,255,255,.25);border-radius:10px;background:transparent;color:#fff;font:800 14px system-ui,sans-serif;cursor:pointer}
.ftl-pcb:hover,.ftl-pcb:focus-visible{background:rgba(255,255,255,.1);outline:none}
.ftl-pc-ver{border-color:rgba(96,165,250,.55);background:linear-gradient(135deg,rgba(59,130,246,.2),rgba(0,194,168,.1))}
.ftl-pc-ver .ftl-pct{background:#3b82f6;color:#fff}
.ftl-pc-ver .ftl-pcb{border:0;background:linear-gradient(135deg,#ffd66b,#ff9f43);color:#2a1700}
.ftl-pc-ver .ftl-pcb:hover,.ftl-pc-ver .ftl-pcb:focus-visible{filter:brightness(1.08)}
.ftl-pcl{display:block;width:100%;padding:8px;border:0;background:none;color:#7ff0de;font:700 13px system-ui,sans-serif;text-decoration:underline;cursor:pointer}

/* v2.39.0: three account types (Guest, Creator, Verified): the shared sheet, the guest menu card and the offer bar */
.ftl-plansov{z-index:2147483100}
.ftl-plansbox{max-width:420px;padding:50px 20px 16px}
.ftl-plan{margin:0 0 10px;padding:13px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:rgba(255,255,255,.05)}
.ftl-planh{display:flex;align-items:center;gap:11px}
.ftl-planm{flex:none;display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.1);color:#c9d2ea;font:800 15px system-ui,sans-serif}
.ftl-plant{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:1;min-width:0}
.ftl-plant b{color:#fff;font-size:16px}
.ftl-planp{margin:8px 0 11px;color:#b6c0da;font-size:13px;line-height:1.42}
.ftl-planb{width:100%;height:44px;border:1px solid rgba(255,255,255,.25);border-radius:12px;background:transparent;color:#fff;font:800 14.5px system-ui,sans-serif;cursor:pointer}
.ftl-planb:hover,.ftl-planb:focus-visible{background:rgba(255,255,255,.1);outline:none}
.ftl-planb:focus-visible{box-shadow:0 0 0 3px #00c2a8}
.ftl-plan-g{opacity:.92}
.ftl-plan-c{border-color:rgba(0,194,168,.6);background:linear-gradient(135deg,rgba(0,194,168,.16),rgba(79,124,255,.1))}
.ftl-plan-c .ftl-planm{background:#00c2a8;color:#04101c}
.ftl-plan-c .ftl-pct{background:#00c2a8;color:#04101c}
.ftl-plan-c .ftl-planb{border:0;background:linear-gradient(135deg,#00c2a8,#4f7cff);color:#04101c}
.ftl-plan-v{border-color:rgba(96,165,250,.55);background:linear-gradient(135deg,rgba(59,130,246,.2),rgba(255,200,70,.08))}
.ftl-plan-v .ftl-planm,.ftl-plan-v .ftl-pct{background:#3b82f6;color:#fff}
.ftl-plan-v .ftl-planb{border:0;background:linear-gradient(135deg,#ffd66b,#ff9f43);color:#2a1700}
.ftl-plan-c .ftl-planb:hover,.ftl-plan-v .ftl-planb:hover{filter:brightness(1.08)}
.ftl-pc-cre{border-color:rgba(0,194,168,.55);background:linear-gradient(135deg,rgba(0,194,168,.16),rgba(79,124,255,.08))}
.ftl-pc-cre .ftl-pct{background:#00c2a8;color:#04101c}
.ftl-pc-cre .ftl-pcb{border:0;background:linear-gradient(135deg,#00c2a8,#4f7cff);color:#04101c}
.ftl-gmenu{max-height:calc(100dvh - 24px);overflow-y:auto}
@media (max-height:640px){.ftl-plansbox{padding-top:46px}.ftl-planp{margin:6px 0 9px}}

.ftl-bar{position:fixed;left:50%;bottom:calc(14px + env(safe-area-inset-bottom,0px));z-index:2147482000;display:flex;align-items:center;gap:8px;max-width:calc(100vw - 20px);padding:8px 8px 8px 14px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(16,23,48,.96);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 10px 30px rgba(0,0,0,.45);transform:translateX(-50%);animation:ftlbar .3s ease both;font-family:system-ui,sans-serif}
@keyframes ftlbar{from{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translateX(-50%)}}
.ftl-bar-t{color:#c9d2ea;font-size:13px;font-weight:600;white-space:nowrap}
.ftl-bar-b{height:34px;padding:0 13px;border:0;border-radius:999px;font:800 13px system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.ftl-bar-c{background:linear-gradient(135deg,#00c2a8,#4f7cff);color:#04101c}
.ftl-bar-v{background:linear-gradient(135deg,#ffd66b,#ff9f43);color:#2a1700}
.ftl-bar-b:focus-visible,.ftl-bar-x:focus-visible{outline:3px solid #00c2a8;outline-offset:2px}
.ftl-bar-x{flex:none;width:30px;height:30px;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;font-size:18px;line-height:1;cursor:pointer}
@media (max-width:480px){.ftl-bar{border-radius:18px;flex-wrap:wrap;justify-content:center;padding:10px;width:calc(100vw - 20px)}.ftl-bar-t{width:100%;text-align:center}.ftl-bar-b{flex:1}.ftl-bar-x{position:absolute;top:-10px;right:-4px;width:26px;height:26px;font-size:16px;background:#2a3358}}
@media (prefers-reduced-motion:reduce){.ftl-bar{animation:none}}

/* v2.42.2: Sign up | Log in switch in the account box */
.ftl-seg{display:flex;padding:3px;margin:4px 0 0;border-radius:999px;background:rgba(255,255,255,.1)}
.ftl-seg-b{flex:1;border:0;border-radius:999px;padding:9px 10px;font:800 14px system-ui,sans-serif;background:transparent;color:#d8defa;cursor:pointer}
.ftl-seg-b.is-on{background:#fff;color:#1a1560}
.ftl-seg-b:focus-visible{outline:none;box-shadow:0 0 0 3px #00c2a8}

/* v2.42.3: the main sign-in box, redesigned. Sign up | Log in on top with a sliding pill. */
.ftl-box{max-width:420px;padding:22px 26px 20px;border-color:rgba(143,123,255,.35);
	background:radial-gradient(120% 55% at 0% 0%,rgba(109,94,252,.34),transparent 62%),radial-gradient(90% 45% at 100% 0%,rgba(0,194,168,.22),transparent 58%),#0f1530;
	box-shadow:0 30px 90px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.04) inset}
.ftl-brand{display:flex;align-items:center;gap:10px;margin:0 0 16px;padding-right:44px}
.ftl-brand-m{width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(135deg,#6d5efc,#00c2a8);box-shadow:0 6px 20px rgba(109,94,252,.5)}
.ftl-brand-t{font-size:17px;font-weight:800;letter-spacing:-.01em;color:#fff}
.ftl-tabs{position:relative;display:flex;gap:0;margin:0 0 20px;padding:4px;border-radius:16px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1)}
.ftl-tab-pill{position:absolute;top:4px;bottom:4px;left:4px;width:calc(50% - 4px);border-radius:12px;background:linear-gradient(135deg,#6d5efc,#00c2a8);box-shadow:0 6px 18px rgba(109,94,252,.5);transition:transform .28s cubic-bezier(.3,.8,.25,1);z-index:0}
.ftl-tab{position:relative;z-index:1;flex:1;display:flex;align-items:center;justify-content:center;gap:7px;height:44px;border:0;border-radius:12px;background:transparent;color:#b6c0da;font:inherit;font-size:15px;font-weight:800;cursor:pointer;transition:color .2s}
.ftl-tab:hover{color:#fff}
.ftl-tab.is-on,.ftl-tab.is-on:hover{background:transparent;color:#fff}
.ftl-tab-i{font-size:15px;line-height:1}
.ftl-h{font-size:24px;letter-spacing:-.015em}
.ftl-in{border-radius:14px;background:rgba(5,9,22,.55)}
.ftl-btn{height:50px;border-radius:14px;background:linear-gradient(135deg,#6d5efc,#00c2a8);color:#fff;box-shadow:0 8px 22px rgba(109,94,252,.45);transition:transform .15s,box-shadow .15s,filter .15s}
.ftl-btn:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.08);box-shadow:0 12px 28px rgba(109,94,252,.6)}
.ftl-btn:active:not(:disabled){transform:none}
@media (prefers-reduced-motion:reduce){.ftl-tab-pill,.ftl-btn{transition:none}}
@media (max-width:480px){.ftl-box{padding:20px 18px 18px}}

/* v2.42.5: "Join the creators" box: Join | Log in on top, feature lists, one look for all three accounts */
.ftl-plansbox{max-width:430px;padding:24px 22px 20px}
.ftl-plansbox .ftl-h{padding-right:44px;font-size:26px}
.ftl-plansbox .ftl-p{margin-bottom:16px}
.ftl-ptabs{margin-bottom:16px}
.ftl-ppanel.is-in{animation:ftlpp .3s ease both}
@keyframes ftlpp{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.ftl-pf{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:7px}
.ftl-pf li{display:flex;align-items:flex-start;gap:9px;color:#d5dcf5;font-size:14px;line-height:1.35}
.ftl-pf li i{flex:none;width:20px;height:20px;margin-top:1px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:11px;font-weight:800;background:rgba(255,255,255,.14);color:#fff}
.ftl-plan-c .ftl-pf li i{background:#00c2a8;color:#04101c}
.ftl-plan-v .ftl-pf li i{background:#3b82f6;color:#fff}
.ftl-plan-l{border-color:rgba(143,123,255,.6);background:linear-gradient(135deg,rgba(109,94,252,.25),rgba(0,194,168,.12))}
.ftl-plan-l .ftl-planm{background:linear-gradient(135deg,#6d5efc,#00c2a8);color:#fff}
.ftl-plan-l .ftl-pct{background:rgba(255,255,255,.18);color:#fff}
.ftl-plan-l .ftl-pf li i{background:#8f7bff;color:#fff}
.ftl-plan-l .ftl-planb{border:0;background:linear-gradient(135deg,#6d5efc,#00c2a8);color:#fff;box-shadow:0 8px 22px rgba(109,94,252,.5)}
.ftl-plan-c{box-shadow:0 8px 28px rgba(0,194,168,.18)}
.ftl-plan-g{padding-bottom:11px}
.ftl-plan-g .ftl-planb{height:40px;font-size:13.5px;color:#cfd7ee}
@media (prefers-reduced-motion:reduce){.ftl-ppanel.is-in{animation:none}}

/* v2.61.3: Google button, new look (same width as the email box, glow, placeholder while Google loads) + phone bottom sheet */
.ftl-g{border-radius:999px;box-shadow:0 14px 30px -16px rgba(127,240,222,.7),0 0 0 1px rgba(255,255,255,.18);transition:transform .2s,box-shadow .2s}
.ftl-g:hover{transform:translateY(-1px);box-shadow:0 18px 34px -16px rgba(127,240,222,.9),0 0 0 1px rgba(127,240,222,.55)}
.ftl-g-btn{position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;border-radius:999px;overflow:hidden}
.ftl-g-sk{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:10px;border-radius:999px;background:#fff;color:#3c4043;font-size:14px;font-weight:600;overflow:hidden;transition:opacity .25s .35s}
.ftl-g-sk::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(66,133,244,.14) 50%,transparent 70%);transform:translateX(-100%);animation:ftlGsk 1.4s ease-in-out infinite}
@keyframes ftlGsk{to{transform:translateX(100%)}}
.ftl-g.is-ready .ftl-g-sk{opacity:0;pointer-events:none}
.ftl-g.is-ready .ftl-g-sk::after{animation:none}
.ftl-g-btn iframe{border-radius:999px}
.ftl-or{margin:16px 0 14px;font-size:11.5px;letter-spacing:.1em}
@media (prefers-reduced-motion:reduce){.ftl-g,.ftl-g-sk{transition:none}.ftl-g:hover{transform:none}.ftl-g-sk::after{animation:none}}
@media (max-width:480px){
.ftl-ov:not(.ftl-plansov){align-items:flex-end;padding:0}
.ftl-ov:not(.ftl-plansov) .ftl-box{max-width:none;max-height:92dvh;border-radius:24px 24px 0 0;border-bottom:0;padding:24px 20px calc(18px + env(safe-area-inset-bottom,0px));animation:ftlsheet .28s cubic-bezier(.2,.9,.3,1)}
.ftl-ov:not(.ftl-plansov) .ftl-box::before{content:"";position:absolute;top:8px;left:50%;width:42px;height:4px;margin-left:-21px;border-radius:3px;background:rgba(255,255,255,.28)}
.ftl-g{height:44px}
}
@keyframes ftlsheet{from{opacity:.4;transform:translateY(40px)}to{opacity:1;transform:none}}
@media (max-width:480px) and (prefers-reduced-motion:reduce){.ftl-ov:not(.ftl-plansov) .ftl-box{animation:none}}

/* v2.61.7: small technical line under a sign-in message that could not be read */
.ftl-dx{display:block;margin-top:5px;font-size:11.5px;font-weight:500;line-height:1.35;opacity:.75;word-break:break-word}
/* v2.61.9: if Google cannot load, the white placeholder stays as a tap-to-retry button (the empty Google frame must not cover it) */
.ftl-g.is-failed .ftl-g-btn{display:none}
.ftl-g.is-failed .ftl-g-sk{opacity:1;pointer-events:auto;cursor:pointer;color:#b3261e}
.ftl-g.is-failed .ftl-g-sk::after{animation:none}
/* v2.61.9 (phones): the white "Continue with Google" button is never faded away. Google's own button sits on top of it; if Google's frame stays blank on a phone, this one is still there and works. */
.ftl-g .ftl-g-sk{opacity:1!important;z-index:0;pointer-events:auto;cursor:pointer}
.ftl-g.is-drawn .ftl-g-sk::after{animation:none}
.ftl-g .ftl-g-btn{background:transparent}
.ftl-g-btn iframe{max-width:100%}

/* ===== v2.64.0: OUR OWN GOOGLE BUTTON (always shown, Log in and Sign up, phone and computer) ===== */
.ftl-g.is-custom{height:auto;margin:6px 0 4px;box-shadow:none;border-radius:0;transform:none}
.ftl-g.is-custom:hover{transform:none;box-shadow:none}
.ftl-gbtn{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:54px;padding:0 20px;border:0;border-radius:999px;background:#fff;color:#1f1f1f;font:inherit;font-size:16px;font-weight:800;letter-spacing:.005em;cursor:pointer;overflow:hidden;-webkit-tap-highlight-color:transparent;box-shadow:0 16px 34px -16px rgba(127,240,222,.85),0 0 0 1px rgba(255,255,255,.35);transition:transform .18s ease,box-shadow .2s ease}
.ftl-gbtn svg{flex:none;width:24px;height:24px}
.ftl-gbtn::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(66,133,244,.16) 50%,transparent 70%);transform:translateX(-120%);animation:ftlGsh 3.2s ease-in-out infinite;pointer-events:none}
.ftl-gbtn:hover{transform:translateY(-1px);box-shadow:0 20px 38px -16px rgba(127,240,222,1),0 0 0 1px rgba(127,240,222,.7)}
.ftl-gbtn:active{transform:scale(.98)}
.ftl-gbtn:focus-visible{outline:3px solid #7ff0de;outline-offset:2px}
.ftl-gbtn.is-wait{opacity:.8}
.ftl-gnote{margin:10px 2px 0;padding:10px 12px;border-radius:12px;background:rgba(251,191,36,.16);border:1px solid rgba(251,191,36,.4);color:#ffe9a8;font-size:13.5px;line-height:1.4;font-weight:700}
@keyframes ftlGsh{0%,55%{transform:translateX(-120%)}100%{transform:translateX(120%)}}
@media (prefers-reduced-motion:reduce){.ftl-gbtn,.ftl-gbtn::after{animation:none;transition:none}}

/* ===== One auth box (Sign up | Log in | Log out): phone = bottom sheet, polished ===== */
.ftl-ov{background:rgba(10,8,30,.62)!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.ftl-box{border-radius:26px;box-shadow:0 30px 80px rgba(60,30,160,.45);border:1px solid rgba(255,255,255,.14)}
.ftl-gbtn{width:100%;min-height:52px;border-radius:16px;font-weight:700;font-size:16px;display:flex;align-items:center;justify-content:center;gap:10px;background:#fff!important;color:#202124!important;border:1px solid #dadce0!important;box-shadow:0 2px 10px rgba(0,0,0,.12);transition:transform .15s}
.ftl-gbtn:active{transform:scale(.98)}
.ftl-btn{min-height:52px;border-radius:16px;font-weight:800;background:linear-gradient(135deg,#7c5cff,#ff6aa8)!important;color:#fff!important;border:0;box-shadow:0 8px 22px rgba(124,92,255,.4)}
.ftl-btn-alt{display:flex;align-items:center;justify-content:center;text-decoration:none;margin-bottom:10px}
.ftl-btn-out{background:rgba(244,63,94,.14)!important;color:#f43f5e!important;box-shadow:none}
.ftl-in{min-height:50px;border-radius:14px;font-size:16px}
.ftt-one{text-align:center;padding:18px;border-radius:20px;background:linear-gradient(160deg,rgba(124,92,255,.16),rgba(255,106,168,.12));border:1px solid rgba(124,92,255,.3)}
.ftt-one-h{display:block;font-size:18px;margin-bottom:6px}.ftt-one-p{margin:0 0 12px;opacity:.8;font-size:14px}
@media (max-width:640px){
 .ftl-ov{align-items:flex-end!important;padding:0!important}
 .ftl-box{width:100%!important;max-width:none!important;max-height:92vh;overflow-y:auto;border-radius:26px 26px 0 0!important;padding-bottom:max(18px,env(safe-area-inset-bottom));animation:ftlUp .28s cubic-bezier(.2,.8,.2,1)}
 .ftl-box:before{content:"";display:block;width:42px;height:4px;border-radius:4px;background:rgba(128,128,160,.45);margin:0 auto 10px}
}
@keyframes ftlUp{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}

/* ===== Option A: one avatar-ring icon (guest dashed + plus, Creator violet ring, Verified gold ring + blue check) ===== */
.ftl-acct,.ftl-acct.ftl-pill{position:relative;overflow:visible!important;width:38px;height:38px;min-width:38px;padding:0!important;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;border:0;cursor:pointer;transition:transform .15s,box-shadow .2s}
.ftl-acct:active{transform:scale(.92)}
.ftl-acct.is-out{background:rgba(255,255,255,.08)!important;color:#c9c3ee!important;border:2px dashed #9b94c4;box-shadow:none!important}
.ftl-acct.is-in{background:none!important;box-shadow:0 0 0 2px #0f0c24,0 0 0 4px #7c5cff!important}
.ftl-acct.is-ver{box-shadow:0 0 0 2px #0f0c24,0 0 0 4px #f5b301,0 0 14px rgba(245,179,1,.5)!important}
.ftl-acct .ftl-av{background:linear-gradient(135deg,#7c5cff,#ff6aa8);color:#fff;font:700 15px Inter,system-ui,sans-serif}
.ftl-bd{position:absolute;right:-5px;bottom:-5px;width:17px;height:17px;border-radius:50%;display:grid;place-items:center;border:2px solid #0f0c24;font-style:normal}
.ftl-bd-plus{background:#7c5cff;color:#fff;font:700 13px/13px Inter,sans-serif}
.ftl-bd-chk{background:#1d9bf0}.ftl-bd-chk svg{width:9px;height:9px}
.ftl-lad{display:flex;gap:6px;margin:4px 0 14px}
.ftl-lad span{flex:1;text-align:center;font-size:12px;padding:9px 2px;border-radius:11px;background:rgba(128,120,190,.14);opacity:.75}
.ftl-lad span.is-on{background:#7c5cff;color:#fff;opacity:1;font-weight:700}
.ftl-lad span.is-v{background:linear-gradient(135deg,#1d9bf0,#7c5cff)}
@media (prefers-reduced-motion:reduce){.ftl-box{animation:none!important}}
/* polish pass: no wrapping, full-width buttons, one violet/pink palette */
.ftl-gbtn span{white-space:nowrap}
.ftl-gbtn{padding:0 14px}
.ftl-btn,.ftl-btn-out,.ftl-btn-alt{width:100%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;text-decoration:none;margin-top:10px}
.ftl-tab-pill{background:linear-gradient(135deg,#7c5cff,#ff6aa8)!important}
.ftl-brand-m{background:linear-gradient(135deg,#7c5cff,#ff6aa8)!important}
.ftl-perk-i{background:rgba(124,92,255,.2)!important;color:#b9a6ff!important}
.ftl-h{font-size:24px;line-height:1.15;text-wrap:balance}

/* the one global ring icon (all pages, all feeds); the older per-page round buttons are hidden so there is never a second one */
.ftl-global{position:fixed!important;top:calc(env(safe-area-inset-top,0px) + 8px);right:8px;z-index:2147482000;background:rgba(15,12,36,.55);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
body.ft-menu-on .ftl-global{right:58px}
.ftl-has-icon .ft-me-btn,.ftl-has-icon .ftf-me{display:none!important}
@media (min-width:1024px){.ftl-global{right:16px}body.ft-menu-on .ftl-global{right:66px}}

/* Gmail success: automatic welcome with a progress bar, then the page refreshes by itself */
.ftl-auto{height:4px;border-radius:4px;background:rgba(128,120,190,.2);overflow:hidden;margin:2px 0 12px}
.ftl-auto i{display:block;height:100%;width:100%;background:linear-gradient(90deg,#7c5cff,#ff6aa8);transform-origin:left;animation:ftlAuto 2.2s linear forwards}
@keyframes ftlAuto{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.ftl-ok{animation:ftlPop .45s cubic-bezier(.2,1.4,.4,1)}
@keyframes ftlPop{from{transform:scale(.4);opacity:0}to{transform:none;opacity:1}}

body.admin-bar .ftl-global{top:calc(46px + env(safe-area-inset-top,0px) + 8px)}
@media (min-width:783px){body.admin-bar .ftl-global{top:calc(32px + 8px)}}

/* ===== Computer: centered card, hover and focus polish ===== */
@media (min-width:641px){
 .ftl-ov{align-items:center}
 .ftl-box{width:min(460px,92vw);padding:34px 36px 26px;border-radius:28px;box-shadow:0 40px 100px -20px rgba(70,40,200,.6),0 0 0 1px rgba(255,255,255,.1) inset;animation:ftlPop .32s cubic-bezier(.2,1.2,.4,1)}
 .ftl-gbtn:hover{transform:translateY(-2px);box-shadow:0 10px 24px -8px rgba(0,0,0,.35)}
 .ftl-btn:hover{transform:translateY(-2px);filter:brightness(1.08);box-shadow:0 14px 30px rgba(124,92,255,.55)}
 .ftl-tab:hover:not(.is-on){color:#fff}
 .ftl-x:hover{background:rgba(255,255,255,.18);transform:rotate(90deg)}
 .ftl-x{transition:transform .2s,background .2s}
 .ftl-acct:hover{transform:scale(1.08)}
 .ftl-acct.is-out:hover{border-color:#c9c3ee;background:rgba(255,255,255,.16)!important}
}
.ftl-gbtn:focus-visible,.ftl-btn:focus-visible,.ftl-tab:focus-visible,.ftl-acct:focus-visible,.ftl-in:focus-visible{outline:3px solid #7c5cff;outline-offset:2px}

.ftl-box{max-height:94vh;overflow-y:auto}

/* v2.77.5: the round account icon sits on the same vertical line as the feed's right-hand buttons (X, Surprise, Share): rail = 6px + 60px/2 = 36px from the edge, icon = 38px wide, so right = 17px */
@media (max-width:1023px){body:not(.ft-menu-on) .ftl-global{right:calc(12px + env(safe-area-inset-right,0px))}}
/* v2.77.6: moved 5px further right (right = 12px) on every page, AI Tools included, so the icon ring lines up with the right edge of the feed buttons */

/* v2.77.14: the round account icon is the same size as the feed's right-hand icons (42px with its ring: 34px + 4px ring each side), same centre line */
.ftl-acct,.ftl-acct.ftl-pill{width:34px;height:34px;min-width:34px}
.ftl-acct .ftl-av{width:34px;height:34px;font-size:14px}
.ftl-bd{width:15px;height:15px;right:-5px;bottom:-5px}
.ftl-bd-chk svg{width:8px;height:8px}
.ftl-global{top:calc(env(safe-area-inset-top,0px) + 10px)}
@media (max-width:1023px){body:not(.ft-menu-on) .ftl-global{right:calc(17px + env(safe-area-inset-right,0px))}}
body.admin-bar .ftl-global{top:calc(46px + env(safe-area-inset-top,0px) + 10px)}
@media (min-width:783px){body.admin-bar .ftl-global{top:calc(32px + 10px)}}
