/* =============================================================================
 *  social.css — feed, stories e boatos do FAMOU$ (home.php e post.php)
 * ========================================================================== */
.sn, .sn-sv, .sn-lb, .sn-toast, .sn-stories { --sn-roxo: #6d3aee; --sn-roxo2: #8b5cff; --sn-lilas: #f1ecfe; --sn-borda: #ece8f7; --sn-texto: #1d1838; --sn-cinza: #8b84a8; --sn-rosa: #f91880; --sn-verde: #00ba7c; }
.sn *, .sn-sv *, .sn-lb *, .sn-stories * { box-sizing: border-box; }
.sn [hidden], .sn-sv [hidden], .sn-stories [hidden], .sn-sv[hidden], .sn-lb[hidden] { display: none !important; }

/* ---------------------------------------------------------------- topo do feed e abas */
.sn-topo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.sn-topo .hm-titulo { margin: 0 !important; }
.sn-abas { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: #fff; box-shadow: 0 2px 10px rgba(30, 20, 70, .06); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.sn-abas::-webkit-scrollbar { display: none; }
.sn-abas button { position: relative; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; padding: 8px 14px; border: 0; border-radius: 10px; background: transparent; color: #6b6585; font-weight: 800; font-size: 14px; cursor: pointer; white-space: nowrap; transition: color .15s, background .15s; }
.sn-abas button:hover { color: var(--sn-roxo); }
.sn-abas button.is-on { background: var(--sn-roxo); color: #fff; }
.sn-badge { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 6px; border-radius: 99px; background: var(--sn-rosa); color: #fff; font-size: 11px; font-weight: 900; line-height: 1; }
.sn-abas .is-on .sn-badge { background: #fff; color: var(--sn-rosa); }
.sn-abas .hm-fd-online { background: #16a34a; }

.sn-grade { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; align-items: start; }
.sn.is-largo .sn-grade { grid-template-columns: minmax(0, 1fr); }
.sn.is-largo .sn-lado { display: none; }
.sn-col { min-width: 0; }
@media (max-width: 1100px) { .sn-grade { grid-template-columns: minmax(0, 1fr); } .sn-lado { display: none; } }

/* ---------------------------------------------------------------- lateral: em alta + regras */
.sn-lado { position: sticky; top: calc(var(--hm-topo, 120px) + 14px); display: flex; flex-direction: column; gap: 14px; }
.sn-caixa { padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--sn-borda); }
.sn-caixa h3 { display: flex; align-items: center; gap: 7px; margin: 0 0 10px !important; font-size: 15px; font-weight: 900; color: var(--sn-texto); }
.sn-caixa h3 i { color: var(--sn-roxo); }
.sn-alta { display: flex; flex-direction: column; }
.sn-alta a { display: flex; flex-direction: column; padding: 8px 10px; margin: 0 -10px; border-radius: 12px; color: var(--sn-texto) !important; transition: background .15s; }
.sn-alta a:hover, .sn-alta a.is-on { background: var(--sn-lilas); }
.sn-alta small { color: var(--sn-cinza); font-size: 11.5px; font-weight: 600; }
.sn-alta b { font-size: 14.5px; font-weight: 800; overflow-wrap: anywhere; }
.sn-regras { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: #5b5574; }
.sn-regras li { display: flex; gap: 8px; line-height: 1.4; }
.sn-regras i { color: var(--sn-roxo); flex: 0 0 auto; margin-top: 1px; }
.sn-alta-linha { display: none; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 10px; padding-bottom: 2px; }
.sn-alta-linha::-webkit-scrollbar { display: none; }
.sn-alta-linha a { flex: 0 0 auto; padding: 5px 11px; border-radius: 99px; background: var(--sn-lilas); color: var(--sn-roxo) !important; font-size: 12.5px; font-weight: 800; }
@media (max-width: 1100px) { .sn-alta-linha { display: flex; } }

/* ---------------------------------------------------------------- compositor (post na página) */
.sn-compor { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; padding: 14px 16px 12px; margin-bottom: 12px; border: 1px solid var(--sn-borda); border-radius: 20px; background: #fff; box-shadow: 0 2px 10px rgba(30, 20, 70, .04); scroll-margin-top: calc(var(--hm-topo, 120px) + 20px); transition: border-color .15s, box-shadow .15s; }
.sn-compor:focus-within { border-color: #cbbcf7; box-shadow: 0 8px 26px rgba(109, 58, 238, .12); }
.sn-compor > img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--sn-lilas); }
.sn-compor-corpo { position: relative; min-width: 0; }
.sn-compor textarea { display: block; width: 100%; min-height: 52px; max-height: 260px; padding: 10px 0 8px; border: 0; background: transparent; color: var(--sn-texto); font: inherit; font-size: 17px; line-height: 1.45; resize: none; outline: none; overflow-y: auto; }
.sn-compor textarea::placeholder { color: #a29cbb; }
.sn-compor-prev { position: relative; margin: 4px 0 8px; width: fit-content; max-width: 100%; }
.sn-compor-prev img { display: block; max-width: 100%; max-height: 320px; border-radius: 16px; object-fit: cover; }
.sn-compor-prev button { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(15, 12, 30, .72); color: #fff; font-size: 14px; cursor: pointer; }
.sn-compor-link { display: flex; align-items: center; gap: 8px; margin: 2px 0 8px; padding: 0 12px; border: 1px solid #e3ddf5; border-radius: 14px; background: #faf9fd; }
.sn-compor-link i { color: var(--sn-roxo); font-size: 18px; }
.sn-compor-link input { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; color: var(--sn-texto); font: inherit; font-size: 14px; outline: none; }
.sn-compor-link:focus-within { border-color: var(--sn-roxo2); background: #fff; }
.sn-ico.is-on { background: var(--sn-lilas); }
.sn-compor-barra { display: flex; align-items: center; gap: 4px; padding-top: 8px; border-top: 1px solid #f1eef9; }
.sn-ico { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--sn-roxo); font-size: 18px; cursor: pointer; transition: background .15s; }
.sn-ico:hover { background: var(--sn-lilas); }
.sn-compor-info { margin-left: 6px; color: var(--sn-cinza); font-size: 12px; font-weight: 600; }
.sn-compor-info b { color: var(--sn-texto); }
.sn-anel { --p: 0; position: relative; width: 24px; height: 24px; margin-left: auto; border-radius: 50%; background: conic-gradient(var(--sn-roxo) calc(var(--p) * 1%), #ebe6f7 0); transition: transform .15s; }
.sn-anel::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #fff; }
.sn-anel span { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; font-size: 9.5px; font-weight: 800; color: var(--sn-cinza); }
.sn-anel.is-perto { background: conic-gradient(#f59e0b calc(var(--p) * 1%), #ebe6f7 0); transform: scale(1.18); }
.sn-anel.is-passou { background: conic-gradient(#e11d48 100%, #e11d48 0); transform: scale(1.18); }
.sn-anel.is-passou span { color: #e11d48; }
.sn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 18px; border: 0; border-radius: 99px; background: var(--sn-roxo); color: #fff !important; font-weight: 800; font-size: 14px; cursor: pointer; white-space: nowrap; transition: filter .15s, transform .1s, opacity .15s; }
.sn-btn:hover { filter: brightness(1.08); }
.sn-btn:active { transform: scale(.97); }
.sn-btn:disabled { opacity: .45; cursor: default; filter: none; transform: none; }
.sn-btn.is-ok { background: var(--sn-verde); }
.sn-btn.is-nao { background: #fff; color: #e11d48 !important; box-shadow: inset 0 0 0 1.5px #fbc7d4; }
.sn-btn.is-leve { background: var(--sn-lilas); color: var(--sn-roxo) !important; }
.sn-compor .sn-btn { margin-left: 10px; }
/* caixinha "Também no Telegram" */
.sn-tgchk { display: inline-flex; align-items: center; gap: 5px; margin: 0 0 0 6px; padding: 5px 10px 5px 8px; border-radius: 99px; background: #eaf5fd; color: #1b8bd1; font-size: 12px; font-weight: 800; cursor: pointer; user-select: none; white-space: nowrap; }
.sn-tgchk input { width: 15px; height: 15px; margin: 0; accent-color: #229ed9; cursor: pointer; }
.sn-tgchk i { font-size: 14px; }
.sn-tgchk.is-largo { align-self: flex-start; margin: 0; padding: 7px 12px; font-size: 13px; }
@media (max-width: 576px) { .sn-tgchk span { display: none; } }
.sn-acao.is-tg:hover, .sn-acao.is-tg.is-on { color: #229ed9; background: #eaf5fd; }
.sn-acao.is-enviando i, .fg-acao.is-enviando i { animation: snRoda .9s linear infinite; }
/* editar boato */
.sn-bt-edit { position: relative; margin: 6px 0; }
.sn-bt-edit textarea { width: 100%; min-height: 70px; padding: 10px 12px 22px; border: 1px solid #cbbcf7; border-radius: 14px; background: #faf9fd; color: var(--sn-texto); font: inherit; font-size: 15px; line-height: 1.45; resize: none; outline: none; }
.sn-bt-edit textarea:focus { border-color: var(--sn-roxo2); background: #fff; }
.sn-bt-edit span { position: absolute; right: 12px; bottom: 8px; font-size: 11px; font-weight: 700; color: var(--sn-cinza); }
.sn-bt-edit span.is-passou { color: #e11d48; }
/* itens das listas com rolagem não encolhem (senão a foto/post era cortado e não dava para rolar) */
.sn-lista > *, .fg-feed > * { flex-shrink: 0; }
.sn-sv-tg { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 99px; background: rgba(0, 0, 0, .3); color: #fff; font-size: 13px; font-weight: 800; cursor: pointer; backdrop-filter: blur(6px); }
.sn-sv-tg input { accent-color: #229ed9; margin: 0; }
.sn-compor-dica { margin: 6px 0 0; color: #a29cbb; font-size: 11.5px; }
.sn-compor-limite { display: flex; align-items: center; gap: 12px; padding: 4px 0; color: #5b5574; font-size: 14px; line-height: 1.45; }
.sn-compor-limite > i { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 14px; background: var(--sn-lilas); color: var(--sn-roxo); font-size: 19px; }
.sn-compor.is-enviando { opacity: .7; pointer-events: none; }

/* ---------------------------------------------------------------- filtros */
.sn-filtros { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }
.sn-filtros button { display: inline-flex; align-items: center; gap: 5px; padding: 6px 13px; border: 1px solid #e6e1f5; border-radius: 99px; background: #fff; color: #5b5574; font-size: 13px; font-weight: 700; cursor: pointer; }
.sn-filtros button.is-on { background: var(--sn-lilas); border-color: #cbbcf7; color: var(--sn-roxo); }
.sn-tag-ativa { display: inline-flex; align-items: center; gap: 8px; padding: 5px 6px 5px 13px; border-radius: 99px; background: var(--sn-roxo); color: #fff; font-size: 13px; font-weight: 800; }
.sn-tag-ativa a { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .22); color: #fff !important; font-size: 12px; }

/* ---------------------------------------------------------------- post */
.sn-lista { display: flex; flex-direction: column; gap: 10px; }
/* feed com altura limitada: rola por dentro e não estica a página */
.js-sn-lista, .fg-feed.js-fg-feed { max-height: min(680px, calc(100vh - 220px)); min-height: 260px; overflow-y: auto; overscroll-behavior: contain; padding: 2px 8px 2px 2px; margin-right: -8px; scrollbar-width: thin; scrollbar-color: #cdbff5 transparent; }
.js-sn-lista::-webkit-scrollbar, .fg-feed.js-fg-feed::-webkit-scrollbar { width: 8px; }
.js-sn-lista::-webkit-scrollbar-thumb, .fg-feed.js-fg-feed::-webkit-scrollbar-thumb { background: #d6caf7; border-radius: 99px; }
.js-sn-lista::-webkit-scrollbar-thumb:hover, .fg-feed.js-fg-feed::-webkit-scrollbar-thumb:hover { background: #b9a6f2; }
@media (max-width: 576px) { .js-sn-lista, .fg-feed.js-fg-feed { max-height: 70vh; } }
.sn-post { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; padding: 14px 16px 6px; border: 1px solid var(--sn-borda); border-radius: 20px; background: #fff; box-shadow: 0 2px 10px rgba(30, 20, 70, .04); transition: border-color .15s, box-shadow .15s; cursor: pointer; }
.sn-post:hover { border-color: #ddd3f8; box-shadow: 0 6px 18px rgba(30, 20, 70, .07); }
.sn-post.is-completo { cursor: default; padding: 18px 20px 10px; }
.sn-post.is-novo { animation: snEntra .45s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes snEntra { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
.sn-post.is-revista { background: linear-gradient(180deg, #fbfaff, #fff 60px); }
.sn-rp { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; margin: -4px 0 -6px 22px; color: var(--sn-cinza); font-size: 12.5px; font-weight: 700; }
.sn-rp i { color: var(--sn-verde); font-size: 14px; }
.sn-rp a { color: inherit !important; }
.sn-rp a:hover { text-decoration: underline !important; }
.sn-av img { display: block; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--sn-lilas); }
.sn-post.is-revista .sn-av img { border-radius: 14px; }
.sn-corpo { min-width: 0; }
.sn-cab { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 5px; line-height: 1.3; min-width: 0; }
.sn-nome { font-size: 15px; font-weight: 800; color: var(--sn-texto) !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }
.sn-nome:hover { text-decoration: underline !important; }
.sn-selo { color: var(--sn-roxo); font-size: 14px; }
.sn-selo.is-ouro { color: #e0a100; }
.sn-user, .sn-tempo, .sn-ponto { color: var(--sn-cinza) !important; font-size: 13.5px; }
.sn-user { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40%; }
a.sn-tempo:hover { text-decoration: underline !important; }
.sn-etq { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; padding: 2px 8px; border-radius: 99px; background: var(--sn-lilas); color: var(--sn-roxo); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.sn-etq.is-viral { background: #fff1e6; color: #ea580c; }
.sn-cab .fd-editar { margin-left: auto; }
.sn-dono-acoes { display: inline-flex; align-items: center; flex: 0 0 auto; margin-left: auto; }
.sn-dono-acoes .fd-editar { margin-left: 0; }
.sn-excluir { display: grid; place-items: center; width: 30px; height: 30px; margin-left: 4px; border: 0; border-radius: 50%; background: transparent; color: #b3acc9; font-size: 14px; cursor: pointer; transition: background .15s, color .15s; }
.sn-excluir:hover { background: #fdecec; color: #dc2626; }
.sn-sobre { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 2px; padding: 3px 10px 3px 3px; border-radius: 99px; background: #f6f3ff; color: #5b5574 !important; font-size: 12.5px; }
.sn-sobre img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.sn-sobre b { color: var(--sn-texto); }
.sn-txt { margin-top: 3px; font-size: 15.5px; line-height: 1.5; color: #231e3b; overflow-wrap: anywhere; word-break: break-word; }
.sn-post.is-completo .sn-txt { font-size: 18px; line-height: 1.5; }
.sn-txt p { margin: 0 0 .4em !important; }
.sn-txt p:last-child { margin: 0 !important; }
.sn-txt a, .sn-com-txt a, .sn-bt-txt a { color: var(--sn-roxo) !important; font-weight: 600; }
.sn-sv a { text-decoration: none !important; }
.sn-sv-leg a { color: #e3d6ff !important; font-weight: 800; }
.sn-txt a:hover, .sn-com-txt a:hover { text-decoration: underline !important; }
.sn-img { display: block; margin-top: 10px; border: 1px solid var(--sn-borda); border-radius: 18px; overflow: hidden; background: #f4f2fa; width: fit-content; max-width: 100%; }
.sn-img img { display: block; max-width: 100%; max-height: 520px; object-fit: cover; }
.sn-post.is-completo .sn-img img { max-height: 760px; }

/* ações */
.sn-acoes { display: flex; justify-content: space-between; max-width: 440px; margin: 6px 0 0 -8px; }
.sn-acao { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 8px; border: 0; border-radius: 99px; background: transparent; color: var(--sn-cinza); font-size: 13px; font-weight: 600; cursor: pointer; transition: color .15s, background .15s; }
.sn-acao i { display: grid; place-items: center; width: 22px; height: 22px; font-size: 16.5px; transition: transform .2s; }
.sn-acao span:empty { display: none; }
.sn-acao:hover { color: var(--sn-roxo); background: var(--sn-lilas); }
.sn-acao.is-rp:hover, .sn-acao.is-rp.is-on { color: var(--sn-verde); }
.sn-acao.is-rp:hover { background: #e5f8f1; }
.sn-acao.is-like:hover, .sn-acao.is-like.is-on { color: var(--sn-rosa); }
.sn-acao.is-like:hover { background: #fde7f1; }
.sn-acao.is-pop i { animation: snPop .45s cubic-bezier(.2, .9, .3, 1.6); }
@keyframes snPop { 0% { transform: scale(.6); } 50% { transform: scale(1.35); } 100% { transform: scale(1); } }
.sn-acao.is-rp.is-pop i { animation: snGira .5s ease; }
@keyframes snGira { from { transform: rotate(-180deg) scale(.7); } }

/* comentários */
.sn-coms { margin: 4px 0 8px; padding-top: 10px; border-top: 1px solid #f1eef9; cursor: default; }
.sn-coms-lista { display: flex; flex-direction: column; gap: 2px; }
.sn-com { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 7px 6px; border-radius: 12px; }
.sn-com:hover { background: #faf8ff; }
.sn-cav, .sn-cav img { display: block; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--sn-lilas); }
.sn-cav.is-npc { display: grid; place-items: center; background: var(--c, #8b5cff); color: #fff; font-weight: 900; font-size: 14px; }
.sn-com-corpo { min-width: 0; }
.sn-com-cab { display: flex; align-items: center; flex-wrap: wrap; gap: 0 5px; font-size: 13.5px; line-height: 1.3; }
.sn-com-cab a, .sn-com-cab b { color: var(--sn-texto) !important; font-weight: 800; }
.sn-com-cab .sn-user, .sn-com-cab .sn-tempo, .sn-com-cab .sn-ponto { font-size: 12.5px; }
.sn-com-txt { margin-top: 1px; font-size: 14.5px; line-height: 1.45; color: #2b2645; overflow-wrap: anywhere; }
.sn-com-x { margin-left: auto; display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; color: #b3acc9; font-size: 12.5px; cursor: pointer; opacity: 0; transition: opacity .15s, background .15s, color .15s; }
.sn-com:hover .sn-com-x, .sn-com-x:focus { opacity: 1; }
.sn-com-x:hover { background: #fdecec; color: #dc2626; }
@media (hover: none) { .sn-com-x { opacity: .8; } }
.sn-traduzir { display: inline-flex; align-items: center; gap: 5px; margin: 3px 0 0; padding: 0; border: 0; background: none; color: var(--sn-roxo, #6d3aee); font-size: 12px; font-weight: 800; cursor: pointer; }
.sn-traduzir:hover { text-decoration: underline; }
.sn-traducao { margin-top: 2px; font-size: 14.5px; line-height: 1.45; color: #2b2645; overflow-wrap: anywhere; }
.sn-traducao small { display: flex; align-items: center; gap: 4px; margin-bottom: 1px; color: var(--sn-cinza, #8b84a8); font-size: 11px; font-weight: 700; }
.sn-coms-mais { display: block; margin: 2px 0 4px 44px; padding: 4px 0; border: 0; background: transparent; color: var(--sn-roxo); font-size: 13px; font-weight: 800; cursor: pointer; }
.sn-coms-nota { display: flex; align-items: center; gap: 6px; margin: 4px 0 6px; padding: 7px 12px; border-radius: 10px; background: #f4f0ff; color: #6b6488; font-size: 12.5px; }
.sn-coms-nota i { color: var(--sn-roxo, #6d3aee); }
.sn-coms-nota b { color: #2b2645; }
.sn-coms-nota[hidden] { display: none; }
.sn-coms-vazio { padding: 8px 6px 4px; color: var(--sn-cinza); font-size: 13px; }
.sn-com-form { position: relative; display: flex; align-items: flex-end; gap: 8px; margin-top: 6px; }
.sn-com-form textarea { flex: 1; min-width: 0; min-height: 40px; max-height: 140px; padding: 9px 14px; border: 1px solid #e3ddf5; border-radius: 20px; background: #faf9fd; color: var(--sn-texto); font: inherit; font-size: 14.5px; line-height: 1.4; resize: none; outline: none; }
.sn-com-form textarea:focus { border-color: var(--sn-roxo2); background: #fff; }
.sn-com-form .sn-btn { height: 40px; padding: 0 16px; }

/* rodapé da lista */
.sn-rodape { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; margin-top: 10px; color: var(--sn-cinza); font-size: 13.5px; font-weight: 600; }
.sn-carregando { display: flex; flex-direction: column; gap: 10px; }
.sn-esq { display: grid; grid-template-columns: 46px 1fr; gap: 12px; padding: 16px; border: 1px solid var(--sn-borda); border-radius: 20px; background: #fff; }
.sn-esq i, .sn-esq b, .sn-esq u { display: block; border-radius: 99px; background: linear-gradient(90deg, #f1eef9 25%, #faf8ff 50%, #f1eef9 75%); background-size: 200% 100%; animation: snBrilho 1.2s linear infinite; }
.sn-esq i { width: 46px; height: 46px; border-radius: 50%; }
.sn-esq b { width: 40%; height: 12px; margin: 6px 0 10px; }
.sn-esq u { width: 90%; height: 11px; }
@keyframes snBrilho { to { background-position: -200% 0; } }
.sn-vazio { padding: 34px 18px; border: 1px dashed #ddd5f5; border-radius: 20px; background: #fff; color: #6b6585; font-size: 14.5px; text-align: center; }
.sn-vazio i { display: block; margin-bottom: 8px; color: var(--sn-roxo); font-size: 30px; }

/* ---------------------------------------------------------------- boatos */
.sn-boatos-intro { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(115deg, #2b1666, var(--sn-roxo)); color: #fff; font-size: 13.5px; line-height: 1.45; }
.sn-boatos-intro i { font-size: 26px; line-height: 1; }
.sn-boatos-intro b { display: block; font-size: 15px; margin-bottom: 2px; }
.sn-boato { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; padding: 14px 16px; margin-bottom: 10px; border: 1px solid var(--sn-borda); border-left: 4px solid #f59e0b; border-radius: 18px; background: #fff; transition: opacity .3s, transform .3s; }
.sn-boato.is-saindo { opacity: 0; transform: translateX(30px); }
.sn-bt-av { width: 46px; height: 46px; border-radius: 14px; object-fit: cover; background: var(--sn-lilas); }
.sn-bt-cab { display: flex; align-items: center; flex-wrap: wrap; gap: 0 5px; font-size: 14.5px; color: var(--sn-texto); }
.sn-bt-txt { margin: 4px 0 6px; font-size: 15.5px; line-height: 1.5; color: #231e3b; overflow-wrap: anywhere; }
.sn-bt-origem { display: inline-flex; align-items: center; gap: 5px; color: var(--sn-cinza) !important; font-size: 12.5px; font-weight: 700; }
.sn-bt-origem:hover { color: var(--sn-roxo) !important; }
.sn-bt-acoes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.sn-bt-st { margin-top: 8px; font-size: 13px; font-weight: 800; }
.sn-bt-st.is-ok { color: var(--sn-verde); }
.sn-bt-st a { color: var(--sn-roxo) !important; }
.sn-boato:has(.sn-bt-st) { border-left-color: var(--sn-verde); }

/* ---------------------------------------------------------------- autocompletar @ */
.sn-ac { position: absolute; z-index: 60; left: 0; min-width: 240px; max-width: 320px; padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 16px 40px rgba(20, 10, 60, .2), 0 0 0 1px rgba(109, 58, 238, .08); }
.sn-ac button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border: 0; border-radius: 10px; background: transparent; text-align: left; cursor: pointer; min-width: 0; }
.sn-ac button.is-on, .sn-ac button:hover { background: var(--sn-lilas); }
.sn-ac img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--sn-lilas); flex: 0 0 auto; }
.sn-ac span { min-width: 0; line-height: 1.2; }
.sn-ac b { display: block; color: var(--sn-texto); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sn-ac small { color: var(--sn-cinza); font-size: 12.5px; }

/* ---------------------------------------------------------------- barra de stories */
.sn-stories { position: relative; margin: -6px 0 -4px; }
.sn-st-trilho { display: flex; gap: 12px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 2px 4px; }
.sn-st-trilho::-webkit-scrollbar { display: none; }
.sn-st { display: flex; flex-direction: column; align-items: center; gap: 5px; flex: 0 0 auto; width: 64px; padding: 0; border: 0; background: transparent; cursor: pointer; color: var(--sn-texto); }
.sn-st-anel { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; padding: 2.5px; background: conic-gradient(from 210deg, #ff2d95, #ffb400, #ff5f1f, #b13cff, #5b3bff, #ff2d95); transition: transform .2s; }
.sn-st:hover .sn-st-anel { transform: scale(1.05) rotate(-4deg); }
.sn-st.is-visto .sn-st-anel { background: #d9d4e8; }
.sn-st-anel img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2.5px solid #fff; background: var(--sn-lilas); }
.sn-st small { max-width: 64px; font-size: 11.5px !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 700; }
.sn-st-mais { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 20px; height: 20px; font-size: 11px !important; border-radius: 50%; border: 3px solid #fff; background: var(--sn-roxo); color: #fff; font-size: 12px; font-weight: 900; }
.sn-st.is-novo .sn-st-anel { background: #ece8f7; }
.sn-st-qtd { position: absolute; top: -2px; right: -2px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; border: 2px solid #fff; background: var(--sn-rosa); color: #fff; font-size: 10.5px; font-weight: 900; }
.sn-st-seta { position: absolute; top: 22px; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #fff; color: var(--sn-roxo); box-shadow: 0 4px 14px rgba(20, 10, 60, .18); cursor: pointer; z-index: 2; }
.sn-st-seta.is-esq { left: -6px; }
.sn-st-seta.is-dir { right: -6px; }
.sn-st-vazio { display: flex; align-items: center; color: var(--sn-cinza); font-size: 13px; padding-left: 4px; max-width: 280px; line-height: 1.4; }

/* ---------------------------------------------------------------- visualizador de stories (tela escura) */
body.sn-travado { overflow: hidden !important; touch-action: none; }
.sn-sv { position: fixed; inset: 0; z-index: 99990; display: grid; place-items: center; background: #07050f; color: #fff; opacity: 0; transition: opacity .25s; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.sn-sv.is-on { opacity: 1; }
.sn-sv-fundo { position: absolute; inset: -40px; background: center / cover no-repeat; filter: blur(40px) brightness(.45) saturate(1.3); transform: scale(1.1); transition: background-image .3s; }
.sn-sv-palco { position: relative; width: min(100vw, calc(100dvh * 9 / 16), 460px); height: min(100dvh, calc(min(100vw, 460px) * 16 / 9)); perspective: 1200px; }
.sn-sv-quadro { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); transition: transform .32s cubic-bezier(.2, .8, .2, 1), opacity .32s; will-change: transform; }
@media (max-width: 520px) { .sn-sv-palco { width: 100vw; height: 100dvh; } .sn-sv-quadro { border-radius: 0; } }
.sn-sv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.sn-sv-img.is-cobre { object-fit: cover; }
.sn-sv-sombra-t, .sn-sv-sombra-b { position: absolute; left: 0; right: 0; pointer-events: none; }
.sn-sv-sombra-t { top: 0; height: 130px; background: linear-gradient(rgba(0, 0, 0, .55), transparent); }
.sn-sv-sombra-b { bottom: 0; height: 45%; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.sn-sv-barras { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 3; display: flex; gap: 4px; }
.sn-sv-barras i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.sn-sv-barras i b { display: block; height: 100%; width: 0; background: #fff; }
.sn-sv-barras i.is-feito b { width: 100%; }
.sn-sv-cab { position: absolute; top: 22px; left: 12px; right: 8px; z-index: 4; display: flex; align-items: center; gap: 10px; }
.sn-sv-cab a { display: flex; align-items: center; gap: 10px; min-width: 0; color: #fff !important; }
.sn-sv-cab img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .85); }
.sn-sv-cab b { font-size: 14.5px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.sn-sv-cab small { color: rgba(255, 255, 255, .78); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.sn-sv-cab span { flex: 1; }
.sn-sv-bt { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 19px; cursor: pointer; text-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.sn-sv-bt:hover { background: rgba(255, 255, 255, .15); }
.sn-sv-toque { position: absolute; top: 70px; bottom: 90px; z-index: 2; width: 34%; cursor: pointer; }
.sn-sv-toque.is-ant { left: 0; }
.sn-sv-toque.is-prox { right: 0; width: 66%; }
.sn-sv-leg { position: absolute; left: 16px; right: 16px; bottom: 26px; z-index: 3; font-size: 17px; font-weight: 600; line-height: 1.4; text-align: center; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); overflow-wrap: anywhere; pointer-events: auto; }
.sn-sv-leg:empty { display: none; }
.sn-sv-leg span { display: inline; padding: 3px 10px; border-radius: 10px; background: rgba(0, 0, 0, .35); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sn-sv-rodape { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 10px 12px 14px; }
.sn-sv-rodape button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 99px; background: rgba(0, 0, 0, .3); color: #fff; font-size: 13px; font-weight: 800; cursor: pointer; backdrop-filter: blur(6px); }
.sn-sv-rodape button:hover { background: rgba(255, 255, 255, .18); }
.sn-sv-rodape .is-apagar { margin-left: auto; border-color: rgba(255, 120, 140, .6); }
.sn-sv.has-rodape .sn-sv-leg { bottom: 70px; }
.sn-sv-vistos { position: absolute; left: 12px; right: 12px; bottom: 64px; z-index: 5; max-height: 45%; overflow-y: auto; padding: 10px; border-radius: 16px; background: rgba(20, 16, 34, .92); backdrop-filter: blur(10px); }
.sn-sv-vistos a { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 10px; color: #fff !important; font-size: 14px; font-weight: 700; }
.sn-sv-vistos a:hover { background: rgba(255, 255, 255, .08); }
.sn-sv-vistos img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.sn-sv-vistos p { margin: 4px 6px; color: rgba(255, 255, 255, .7); font-size: 13px; }
.sn-sv-nav { position: absolute; top: 50%; z-index: 5; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #1d1838; font-size: 18px; cursor: pointer; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
.sn-sv-nav.is-ant { left: -64px; }
.sn-sv-nav.is-prox { right: -64px; }
@media (max-width: 640px) { .sn-sv-nav { display: none; } }
.sn-sv-carrega { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; pointer-events: none; }
.sn-sv-carrega::after { content: ""; width: 38px; height: 38px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: snRoda .8s linear infinite; }
@keyframes snRoda { to { transform: rotate(360deg); } }
.sn-sv.is-pausado .sn-sv-cab::after { content: "\F4C3"; font-family: "bootstrap-icons"; font-size: 14px; opacity: .8; }
/* editor de story novo */
.sn-sv-novo textarea { position: absolute; left: 14px; right: 14px; bottom: 76px; z-index: 4; min-height: 46px; max-height: 140px; padding: 10px 14px; border: 0; border-radius: 16px; background: rgba(0, 0, 0, .45); color: #fff; font: inherit; font-size: 16px; font-weight: 600; line-height: 1.4; text-align: center; resize: none; outline: none; backdrop-filter: blur(6px); }
.sn-sv-novo textarea::placeholder { color: rgba(255, 255, 255, .7); }
.sn-sv-novo .sn-sv-conta { position: absolute; right: 22px; bottom: 82px; z-index: 5; font-size: 11px; color: rgba(255, 255, 255, .7); pointer-events: none; }
.sn-sv-novo .sn-sv-rodape .sn-btn { margin-left: auto; height: 42px; padding: 0 20px; border: 0; background: #fff; color: #1d1838 !important; }
.sn-sv-novo .sn-sv-dica { position: absolute; top: 70px; left: 0; right: 0; z-index: 4; text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, .8); text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }

/* ---------------------------------------------------------------- foto ampliada */
.sn-lb { position: fixed; inset: 0; z-index: 99991; display: grid; place-items: center; padding: 20px; background: rgba(7, 5, 15, .92); cursor: zoom-out; opacity: 0; transition: opacity .2s; }
.sn-lb.is-on { opacity: 1; }
.sn-lb img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }

/* ---------------------------------------------------------------- aviso rápido */
.sn-toast { position: fixed; left: 50%; bottom: 26px; z-index: 99999; transform: translate(-50%, 20px); max-width: calc(100vw - 30px); padding: 12px 18px; border-radius: 14px; background: var(--sn-roxo); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 12px 30px rgba(20, 10, 60, .3); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.sn-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.sn-toast.is-erro { background: #1d1838; }

/* ---------------------------------------------------------------- página do post */
.sn-pagina { max-width: 720px; margin: 0 auto; }
.sn-voltar { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--sn-texto, #1d1838) !important; font-weight: 800; font-size: 15px; }
.sn-voltar i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(30, 20, 70, .08); }
.sn-voltar:hover i { background: #f1ecfe; }
.sn-pagina h2 { margin: 26px 0 12px !important; font-size: 1.05rem; font-weight: 900; color: #6d3aee; }

@media (max-width: 576px) {
    .sn-post { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; padding: 12px 12px 4px; border-radius: 16px; }
    .sn-av img { width: 40px; height: 40px; }
    .sn-txt { font-size: 15px; }
    .sn-compor { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; padding: 12px 12px 10px; }
    .sn-compor > img { width: 40px; height: 40px; }
    .sn-compor textarea { font-size: 16px; }
    .sn-compor-info { display: none; }
    .sn-acoes { max-width: none; }
    .sn-st { width: 60px; }
    .sn-st-anel { width: 54px; height: 54px; }
    .sn-st-seta { display: none; }
    .sn-topo { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .sn-post, .sn-acao i, .sn-sv-quadro { animation: none !important; transition: none !important; } }

/* ===================================================================== VÁRIAS FOTOS: carrossel e seletor (fotos.js) */
.sn-car { position: relative; outline: none; }
.sn-car-trilho { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.sn-car-trilho::-webkit-scrollbar { display: none; }
.sn-car-it { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.sn-car-seta { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 34px; height: 34px; margin-top: -17px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #1d1838; font-size: 16px; box-shadow: 0 4px 14px rgba(0, 0, 0, .22); cursor: pointer; opacity: .9; transition: opacity .15s, transform .15s; }
.sn-car-seta:hover { opacity: 1; transform: scale(1.06); }
.sn-car-seta.is-esq { left: 10px; }
.sn-car-seta.is-dir { right: 10px; }
.sn-car-seta[hidden] { display: none !important; }
.sn-car-n { position: absolute; top: 10px; right: 10px; z-index: 3; padding: 3px 9px; border-radius: 999px; background: rgba(15, 12, 30, .68); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .02em; pointer-events: none; }
.sn-car-pontos { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 3; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.sn-car-pontos span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 0 3px rgba(0, 0, 0, .35); transition: background .2s, transform .2s; }
.sn-car-pontos span.is-on { background: #fff; transform: scale(1.25); }
@media (hover: none) { .sn-car-seta { display: none !important; } }   /* no celular passa com o dedo */
/* no post do feed */
.sn-img-car { margin-top: 10px; border: 1px solid var(--sn-borda, #ece8f7); border-radius: 18px; overflow: hidden; background: #f4f2fa; }
.sn-img-car .sn-car-it { display: flex; align-items: center; justify-content: center; background: #f4f2fa; }
.sn-car-foto { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.sn-car-foto img { display: block; max-width: 100%; max-height: 520px; object-fit: contain; }
.sn-post.is-completo .sn-car-foto img { max-height: 760px; }
.sn-car-foto.is-erro img { visibility: hidden; }
.sn-car-foto.is-erro::before { content: "\F42A"; font-family: "bootstrap-icons"; color: #b9b2d3; font-size: 30px; padding: 60px; }
/* seletor do compositor */
.sn-fotos { display: flex; gap: 8px; margin: 4px 0 8px; padding: 2px 2px 6px; overflow-x: auto; scrollbar-width: thin; }
.sn-fotos[hidden] { display: none !important; }
.sn-fotos-it { position: relative; flex: 0 0 auto; width: 96px; height: 96px; border-radius: 14px; overflow: hidden; background: #ece9f5; cursor: grab; box-shadow: 0 0 0 1px rgba(60, 30, 140, .08); }
.sn-fotos-it img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.sn-fotos-it.is-erro img { visibility: hidden; }
.sn-fotos-it.is-erro::before { content: "\F42A"; font-family: "bootstrap-icons"; position: absolute; inset: 0; display: grid; place-items: center; color: #b9b2d3; font-size: 22px; }
.sn-fotos-it.is-arrastando { opacity: .45; }
.sn-fotos-num { position: absolute; left: 6px; bottom: 6px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: rgba(15, 12, 30, .7); color: #fff; font-size: 11px; font-weight: 800; }
.sn-fotos-num.is-capa { background: #6d3aee; font-size: 10.5px; padding: 0 7px; }
.sn-fotos-x { position: absolute; top: 5px; right: 5px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: rgba(15, 12, 30, .72); color: #fff; font-size: 11px; cursor: pointer; }
.sn-fotos-mais { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 96px; height: 96px; border: 2px dashed #cbbcf7; border-radius: 14px; background: #faf8ff; color: #6d3aee; font-size: 22px; cursor: pointer; }
.sn-fotos-mais small { font-size: 11px; font-weight: 800; color: #8b84a8; }
.sn-fotos-mais:hover { background: #f1ecfe; }
.sn-compor-add { flex: 0 0 auto; height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: #ece6ff; color: #4b2bb3; font: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer; }
.sn-compor-add:hover { background: #e0d6ff; }

/* ===================================================================== menu de abas com setas (rola para o lado) */
.sn-abas-caixa { position: relative; min-width: 0; max-width: 100%; }
.sn-topo .sn-abas-caixa { flex: 0 1 auto; }
.sn-abas-caixa .sn-abas { scroll-behavior: smooth; }
.sn-abas-seta { position: absolute; top: 4px; bottom: 4px; z-index: 2; display: grid; place-items: center; width: 38px; padding: 0; border: 0; color: var(--sn-roxo, #6d3aee); font-size: 17px; cursor: pointer; }
.sn-abas-seta.is-esq { left: 0; border-radius: 14px 0 0 14px; background: linear-gradient(90deg, #fff 55%, rgba(255, 255, 255, 0)); justify-items: start; padding-left: 8px; }
.sn-abas-seta.is-dir { right: 0; border-radius: 0 14px 14px 0; background: linear-gradient(270deg, #fff 55%, rgba(255, 255, 255, 0)); justify-items: end; padding-right: 8px; }
.sn-abas-seta i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #f1ecfe; box-shadow: 0 2px 8px rgba(60, 30, 140, .18); }
.sn-abas-seta.is-dir i { animation: snSetaPisca 1.6s ease-in-out 3; }
.sn-abas-seta[hidden] { display: none !important; }
@keyframes snSetaPisca { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }

/* "Como funciona" fechado: só uma linha, abre ao tocar */
.sn-ajuda { padding: 0 !important; }
.sn-ajuda > summary { display: flex; align-items: center; gap: 8px; padding: 12px 16px; list-style: none; cursor: pointer; font-weight: 800; font-size: 14px; color: var(--sn-texto, #1d1838); user-select: none; }
.sn-ajuda > summary::-webkit-details-marker { display: none; }
.sn-ajuda > summary > i:first-child { color: var(--sn-roxo, #6d3aee); }
.sn-ajuda-seta { margin-left: auto; color: var(--sn-cinza, #8b84a8); font-size: 13px; transition: transform .2s; }
.sn-ajuda[open] .sn-ajuda-seta { transform: rotate(180deg); }
.sn-ajuda .sn-regras { margin: 0 !important; padding: 0 16px 14px !important; }
