/* Comments sheet in the swipe feed (v1.47.0). Dark sheet that slides over the feed, like the creator card. */
.ftc{position:absolute;inset:0;z-index:9;background:rgba(0,0,0,.55);-webkit-tap-highlight-color:transparent}
.ftc.ftc-fixed{position:fixed;z-index:100000}
@media (min-width:740px){.ftc.ftc-fixed .ftc-box{top:50%;bottom:auto;height:min(640px,86vh) !important;margin-top:calc(min(640px,86vh) / -2);border-radius:18px}}
.ftc *{box-sizing:border-box}
.ftc-box{position:absolute;left:0;right:0;bottom:0;height:76%;display:flex;flex-direction:column;background:#0b1020;color:#fff;border-radius:18px 18px 0 0;box-shadow:0 -10px 40px rgba(0,0,0,.5);font-family:inherit;animation:ftcup .22s ease-out}
@keyframes ftcup{from{transform:translateY(40px);opacity:.4}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.ftc-box{animation:none}}
.ftc-head{position:relative;flex:none;display:flex;align-items:center;justify-content:center;padding:18px 52px 12px;border-bottom:1px solid rgba(255,255,255,.08)}
.ftc-grip{position:absolute;top:7px;left:50%;width:38px;height:4px;margin-left:-19px;border-radius:2px;background:rgba(255,255,255,.28)}
.ftc-ttl{margin:0;font-size:16px;font-weight:800;color:#fff}
.ftc-cnt{font-weight:600;color:#9aa6c4}
.ftc-x{position:absolute;right:8px;top:9px;width:40px;height:40px;border:0;border-radius:50%;background:none;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
.ftc-x svg,.ftc-rx svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ftc-list{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;padding:6px 14px 10px}
/* one comment */
.ftc-th{padding:10px 0;border-bottom:1px solid rgba(255,255,255,.05)}
.ftc-c{display:flex;gap:10px;align-items:flex-start}
.ftc-c.is-reply{margin-top:10px}
.ftc-av{position:relative;flex:none;width:36px;height:36px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px;color:#fff}
.ftc-av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ftc-c.is-reply .ftc-av{width:28px;height:28px;font-size:12px}
.ftc-b{min-width:0;flex:1 1 auto}
.ftc-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:13px;line-height:1.2}
.ftc-nm{font-weight:800;color:#fff;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ftc-time{color:#9aa6c4;font-size:12px}
.ftc-tag{padding:2px 6px;border-radius:999px;font-size:10.5px;font-weight:800;line-height:1.1}
.ftc-tag.is-guest{background:rgba(255,255,255,.12);color:#c9d2ea}
.ftc-tag.is-team{background:#00c2a8;color:#04251f}
.ftc-ver{display:inline-flex;color:#3b9cff}
.ftc-ver svg{width:15px;height:15px}
.ftc-t{margin:4px 0 0;font-size:15px;line-height:1.4;color:#eef1fb;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
.ftc-acts{display:flex;gap:4px;margin-top:2px}
.ftc-a,.ftc-more,.ftc-link{border:0;background:none;color:#9aa6c4;font-family:inherit;font-size:12.5px;font-weight:700;padding:8px 8px 8px 0;margin:0;cursor:pointer;min-height:36px}
.ftc-a.is-armed{color:#ff8a9a}
.ftc-a:disabled{opacity:.6;cursor:default}
.ftc-more{display:block;margin:0 0 0 46px;padding:2px 0 6px;min-height:30px;color:#7ff0de}
.ftc-reps{margin:0 0 0 46px}
.ftc-reps[hidden],.ftc-more[hidden]{display:none}
.ftc-link{display:inline;padding:0;min-height:0;color:#7ff0de;text-decoration:underline;font-size:12.5px}
/* empty, loading, buttons */
.ftc-empty{padding:34px 16px;text-align:center;color:#9aa6c4;font-size:14.5px;line-height:1.45}
.ftc-empty p,.ftc-empty .ftc-p{margin:0 0 12px}
.ftc-btn{display:block;margin:12px auto;padding:0 18px;height:42px;border:0;border-radius:999px;background:rgba(255,255,255,.14);color:#fff;font-family:inherit;font-size:14px;font-weight:800;cursor:pointer}
.ftc-btn.is-main{background:#00c2a8;color:#04251f}
.ftc-btn:disabled{opacity:.6}
.ftc-sk{display:flex;gap:10px;padding:12px 0}
.ftc-sk-a{flex:none;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.1)}
.ftc-sk-l{flex:1}
.ftc-sk-l i{display:block;height:11px;border-radius:6px;background:rgba(255,255,255,.1);margin:6px 0;width:80%}
.ftc-sk-l i+i{width:55%}
/* form */
.ftc-form{flex:none;border-top:1px solid rgba(255,255,255,.1);padding:8px 12px calc(10px + env(safe-area-inset-bottom,0px));background:#0b1020}
.ftc-form[hidden],.ftc-fields[hidden],.ftc-blocked[hidden],.ftc-name[hidden],.ftc-replying[hidden]{display:none}
.ftc-msg{min-height:0;margin:0 0 6px;padding:8px 10px;border-radius:10px;background:rgba(255,77,109,.16);color:#ffb3bf;font-size:13px;line-height:1.35}
.ftc-msg.is-good{background:rgba(0,194,168,.16);color:#7ff0de}
.ftc-msg.is-empty{display:none}
.ftc-replying{display:flex;align-items:center;gap:6px;margin:0 0 6px;padding:4px 4px 4px 10px;border-radius:999px;background:rgba(255,255,255,.08);font-size:13px;color:#c9d2ea}
.ftc-rx{margin-left:auto;width:30px;height:30px;border:0;border-radius:50%;background:none;color:#c9d2ea;display:flex;align-items:center;justify-content:center;cursor:pointer}
.ftc-rx svg{width:16px;height:16px}
.ftc-who{font-size:12.5px;color:#9aa6c4;margin:0 0 6px;line-height:1.4}
.ftc-who b{color:#fff}
.ftc-in,.ftc-ta{width:100%;border:1px solid rgba(255,255,255,.16);border-radius:14px;background:rgba(255,255,255,.07);color:#fff;font-family:inherit;font-size:16px;line-height:1.35;padding:10px 12px;outline:none}
.ftc-in:focus,.ftc-ta:focus{border-color:#00c2a8}
.ftc-in::placeholder,.ftc-ta::placeholder{color:#8a96b8}
.ftc-name{margin:0 0 8px}
.ftc-row{display:flex;gap:8px;align-items:flex-end}
.ftc-ta{resize:none;min-height:44px;max-height:110px;overflow-y:auto}
.ftc-send{flex:none;width:44px;height:44px;border:0;border-radius:50%;background:#00c2a8;color:#04251f;display:flex;align-items:center;justify-content:center;cursor:pointer}
.ftc-send svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ftc-send:disabled{opacity:.55;cursor:default}
.ftc-send.is-busy svg{animation:ftcpulse .8s infinite alternate}
@keyframes ftcpulse{to{opacity:.3}}
.ftc-counter{min-height:0;text-align:right;font-size:11.5px;color:#9aa6c4;margin-top:2px}
.ftc-counter:empty{display:none}
.ftc-blocked{text-align:center;color:#9aa6c4;font-size:14px;padding:4px 0}
/* honeypot: out of sight for people and screen readers, still in the page for bots */
.ftc-hp{position:absolute !important;left:-9999px !important;top:auto !important;width:1px !important;height:1px !important;opacity:0 !important;pointer-events:none !important}
@media (min-width:740px){.ftc-box{left:50%;right:auto;width:480px;margin-left:-240px}}
/* v1.52.1: note at the top of the comments (scrolls away with the list) */
.ftc-note{margin:8px 0 6px;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);color:#c9d2ea;font-size:12.5px;line-height:1.45}
.ftc-note b{color:#fff}
.ftc-note-a{color:#7ff0de;font-weight:800;text-decoration:underline}
.ftc-blocked-t{margin:0 0 4px;color:#c9d2ea;font-size:13.5px;line-height:1.4}

/* ================= v1.84: DESKTOP INLINE PANEL (opens down under the card / action bar, like Facebook) =================
   Same engine and same server as the sheet. Uses the page's own colours (--text, --muted, --border, --brand, --surface), scaled with --ft-s.
   Written with divs only, so the host page's paragraph / heading styles never leak in. */
.ftc.ftc-inl{position:relative;inset:auto;z-index:auto;display:grid;grid-template-rows:0fr;width:100%;order:8;background:none;color:var(--text,#17172b);font-family:inherit;font-size:calc(16px*var(--ft-s,1));line-height:1.45;text-align:left;transition:grid-template-rows .32s cubic-bezier(.2,.8,.2,1)}
.ftc-inl.is-open{grid-template-rows:1fr}
.ftc-inl:not(.is-open){pointer-events:none}
.ftc-inl .ftc-inl-w{min-height:0;overflow:hidden}
.ftc-inl .ftc-inl-i{margin-top:12px;padding:16px 3px 4px;border-top:1px solid var(--border,#e3e3ef);opacity:0;transform:translateY(-6px);transition:opacity .25s ease .08s,transform .3s ease .08s}
.ftc-inl.is-open .ftc-inl-i{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.ftc.ftc-inl,.ftc-inl .ftc-inl-i{transition:none}}
.ftc-inl .ftc-inl-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px}
.ftc-inl .ftc-ttl{display:flex;align-items:baseline;gap:4px;margin:0;font-size:calc(16px*var(--ft-s,1));font-weight:800;color:var(--text,#17172b);letter-spacing:0}
.ftc-inl .ftc-cnt{color:var(--muted,#5d5d78);font-weight:600}
.ftc-inl .ftc-inl-hide{border:0;border-radius:8px;background:none;color:var(--muted,#5d5d78);font:inherit;font-size:calc(14px*var(--ft-s,1));font-weight:700;padding:6px 12px;cursor:pointer}
.ftc-inl .ftc-inl-hide:hover{background:rgba(127,127,127,.14);color:var(--text,#17172b)}
/* composer */
.ftc-inl .ftc-form{border:0;padding:0;background:none}
.ftc-inl .ftc-compose{margin:0 0 6px}
.ftc-inl .ftc-fields{display:flex;gap:10px;align-items:flex-start}
.ftc-inl .ftc-me{flex:none}
.ftc-inl .ftc-fcol{flex:1 1 auto;min-width:0}
.ftc-inl .ftc-row{position:relative;display:block}
.ftc-inl .ftc-ta,.ftc-inl .ftc-in{display:block;width:100%;border:1px solid transparent;border-radius:22px;background:rgba(127,127,127,.11);color:var(--text,#17172b);font-family:inherit;font-size:calc(16px*var(--ft-s,1));line-height:1.4;padding:10px 16px;outline:none;transition:background .15s,border-color .15s,box-shadow .15s}
.ftc-inl .ftc-ta{min-height:44px;max-height:150px;padding-right:52px}
.ftc-inl .ftc-ta:hover,.ftc-inl .ftc-in:hover{background:rgba(127,127,127,.16)}
.ftc-inl .ftc-ta:focus,.ftc-inl .ftc-in:focus{background:var(--surface,#fff);border-color:var(--brand,#6d5dfc);box-shadow:0 0 0 3px rgba(109,93,252,.16)}
.ftc-inl .ftc-ta::placeholder,.ftc-inl .ftc-in::placeholder{color:var(--muted,#5d5d78);opacity:.85}
.ftc-inl .ftc-in{height:42px;border-radius:999px}
.ftc-inl .ftc-name{margin:0 0 8px}
.ftc-inl .ftc-send{position:absolute;right:6px;bottom:6px;width:34px;height:34px;background:var(--brand,#6d5dfc);color:#fff;transition:transform .15s,opacity .15s,background .15s}
.ftc-inl .ftc-send svg{width:16px;height:16px}
.ftc-inl .ftc-send:not(:disabled):hover{transform:scale(1.1)}
.ftc-inl .ftc-send.is-idle{background:rgba(127,127,127,.28);color:#fff}
.ftc-inl .ftc-who{margin:0 0 8px;padding-left:4px;color:var(--muted,#5d5d78);font-size:calc(13.5px*var(--ft-s,1))}
.ftc-inl .ftc-who b{color:var(--text,#17172b)}
.ftc-inl .ftc-link{color:var(--brand,#6d5dfc);font-size:inherit}
.ftc-inl .ftc-counter{color:var(--muted,#5d5d78);padding-right:6px}
.ftc-inl .ftc-msg{margin:0 0 8px;border-radius:12px;background:rgba(214,51,79,.1);color:#b3213f}
.ftc-inl .ftc-msg.is-good{background:rgba(0,194,168,.14);color:#0b7a6a}
.ftc-inl .ftc-msg.is-empty{display:none}
.ftc-inl .ftc-replying{margin:0 0 8px;background:rgba(127,127,127,.12);color:var(--muted,#5d5d78)}
.ftc-inl .ftc-replying b{color:var(--text,#17172b)}
.ftc-inl .ftc-rx{color:var(--muted,#5d5d78)}
.ftc-inl .ftc-rx:hover{background:rgba(127,127,127,.18)}
.ftc-inl .ftc-th>.ftc-form{margin:8px 0 6px 46px}
.ftc-inl .ftc-blocked{padding:12px;border-radius:14px;background:rgba(127,127,127,.09);color:var(--muted,#5d5d78)}
.ftc-inl .ftc-blocked-t{margin:0 0 8px;color:var(--muted,#5d5d78);font-size:calc(14.5px*var(--ft-s,1))}
/* comments as rounded bubbles */
.ftc-inl .ftc-th{padding:7px 0;border:0}
.ftc-inl .ftc-c{gap:10px}
.ftc-inl .ftc-c.is-reply{margin-top:8px}
.ftc-inl .ftc-bub{display:inline-block;max-width:100%;padding:8px 14px 9px;border-radius:18px;background:rgba(127,127,127,.12)}
.ftc-inl .ftc-nm{max-width:100%;color:var(--text,#17172b);font-size:calc(14px*var(--ft-s,1));font-weight:800}
.ftc-inl .ftc-t{margin:2px 0 0;color:var(--text,#17172b);font-size:calc(16px*var(--ft-s,1));line-height:1.45;flex:none;display:block;order:0;-webkit-line-clamp:unset}
.ftc-inl .ftc-tag.is-guest{background:rgba(127,127,127,.2);color:var(--muted,#5d5d78)}
.ftc-inl .ftc-acts{align-items:center;gap:2px;margin:0;padding-left:12px}
.ftc-inl .ftc-a{min-height:28px;padding:4px 10px 4px 0;color:var(--muted,#5d5d78);font-size:calc(13px*var(--ft-s,1))}
.ftc-inl .ftc-a:hover{color:var(--brand,#6d5dfc);text-decoration:underline}
.ftc-inl .ftc-a.is-armed{color:#d6334f}
.ftc-inl .ftc-time{color:var(--muted,#5d5d78);font-size:calc(13px*var(--ft-s,1));margin-left:2px}
.ftc-inl .ftc-more{display:block;min-height:28px;margin:0 0 0 46px;padding:2px 0 4px;color:var(--muted,#5d5d78);font-size:calc(13.5px*var(--ft-s,1))}
.ftc-inl .ftc-more::before{content:"\21B3\00a0"}
.ftc-inl .ftc-more:hover{color:var(--brand,#6d5dfc);text-decoration:underline}
.ftc-inl .ftc-reps{margin:0 0 0 46px}
.ftc-inl .ftc-c.is-new .ftc-bub{animation:ftcnew 1.1s ease-out}
@keyframes ftcnew{from{background:rgba(109,93,252,.28);opacity:0;transform:translateY(-6px)}60%{background:rgba(109,93,252,.16);opacity:1;transform:none}}
/* empty, loading, buttons */
.ftc-inl .ftc-empty{padding:22px 12px;color:var(--muted,#5d5d78);font-size:calc(15px*var(--ft-s,1))}
.ftc-inl .ftc-btn{background:rgba(127,127,127,.15);color:var(--text,#17172b);height:40px}
.ftc-inl .ftc-btn.is-main{background:var(--brand,#6d5dfc);color:#fff}
.ftc-inl .ftc-loadmore{display:block;margin:6px 0 0;height:36px;padding:0 6px;background:none;color:var(--muted,#5d5d78);font-size:calc(14px*var(--ft-s,1))}
.ftc-inl .ftc-loadmore:hover{color:var(--brand,#6d5dfc);text-decoration:underline}
.ftc-inl .ftc-sk-a,.ftc-inl .ftc-sk-l i{background:rgba(127,127,127,.16);animation:ftcsh 1.2s ease-in-out infinite alternate}
@keyframes ftcsh{to{opacity:.45}}
.ftc-inl .ftc-note{margin:14px 0 2px;background:rgba(127,127,127,.07);border-color:var(--border,#e3e3ef);color:var(--muted,#5d5d78);font-size:calc(12.5px*var(--ft-s,1))}
.ftc-inl .ftc-note b{color:var(--text,#17172b)}
.ftc-inl .ftc-note-a{color:var(--brand,#6d5dfc)}
/* the buttons that open the panel show when it is open */
#ft-app .ft-cm.is-on,#ft-app .ft-act-cm.is-on{border-color:var(--brand,#6d5dfc);color:var(--brand,#6d5dfc);background:rgba(109,93,252,.1)}
#ft-app .ft-cm.is-on svg,#ft-app .ft-act-cm.is-on svg{fill:rgba(109,93,252,.18)}
/* a card with its comments open keeps its own height; the other cards do not stretch with it */
#ft-app .post:has(>.ftc-inl){align-self:start}
/* the site's form rules (#ft-app textarea / input: 120px high, 12px radius) are stronger than a plain class: match them */
#ft-app .ftc-inl .ftc-ta,#ft-app .ftc-inl .ftc-in{width:100%;border:1px solid transparent;border-radius:22px;background:rgba(127,127,127,.11);color:var(--text,#17172b);font:inherit;font-size:calc(16px*var(--ft-s,1));line-height:1.4;padding:10px 16px}
#ft-app .ftc-inl .ftc-ta{min-height:44px;max-height:150px;resize:none;padding-right:52px}
#ft-app .ftc-inl .ftc-in{height:42px;min-height:0;border-radius:999px}
#ft-app .ftc-inl .ftc-ta:hover,#ft-app .ftc-inl .ftc-in:hover{background:rgba(127,127,127,.16)}
#ft-app .ftc-inl .ftc-ta:focus,#ft-app .ftc-inl .ftc-in:focus{background:var(--surface,#fff);border-color:var(--brand,#6d5dfc);box-shadow:0 0 0 3px rgba(109,93,252,.16);outline:none}
/* anything marked hidden stays hidden inside the panel (the rules above set display) */
.ftc-inl [hidden]{display:none !important}

/* v2.42.0: heart on a comment */
.ftc-h{display:inline-flex;align-items:center;gap:5px}
.ftc-h svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}
.ftc-h:hover{color:#ff6b8b}
.ftc-h.is-on{color:#ff4d79}
.ftc-h.is-on svg{fill:currentColor}
.ftc-hn{font-size:12.5px;font-weight:800}
