/* =====================================================================================
   SELO DE VERIFICAÇÃO AMARELO — o NAONDE é uma rede amarela
   Todos os selos de conta verificada que eram azuis passam para o amarelo da marca (#FFC700), com o mesmo desenho
   e o mesmo visto branco. O selo vitalício (supremo, roxo) continua com a cor dele.
   ===================================================================================== */
:root { --nd-selo: #ffc700; --nd-selo-tx: #8a6500; --nd-selo-tx2: #9a7b2c; }
html.nd-escuro { --nd-selo-tx: #ffd84d; --nd-selo-tx2: #e6d39c; }

/* selo ao lado do nome: feed, posts, comentários, perfis, listas, busca, NADE TV, páginas, Explorar */
.nd-verif,
.nd59-selo, .nd58-selo, .nd68-verif, .ntv-verif, .ndsj-selo, .n32-selo, .np2-selo-v,
.np4-meu h1 .np2-selo-v, .np4-card h3 .np2-selo-v, .np4-ic .np2-selo-v,
.hd-pn i.ti-rosette-discount-check-filled,
.ok-selo > i.ti-rosette-discount-check-filled,
i.ti-rosette-discount-check-filled[aria-label="Verificado"],
i.ti-rosette-discount-check[aria-label="Verificado"] { color: var(--nd-selo) !important; }

/* selo da busca (círculo com visto desenhado no fundo) */
.ndb-selo { background-color: var(--nd-selo) !important; }

/* selo grande da janela "Conta verificada" */
.nd-vf-hero > .nd-verif { filter: drop-shadow(0 8px 16px rgba(255, 199, 0, .38)) !important; }

/* "✓ Verificado" no próprio perfil (ao lado de seguidores/seguindo) */
.nd-segs .nd-verif-chip { background: rgba(255, 199, 0, .16) !important; color: var(--nd-selo-tx) !important; }
.nd-segs .nd-verif-chip:hover { background: rgba(255, 199, 0, .26) !important; }

/* selo compacto ao lado do nome no perfil ("Verificado · NAONDE Premium") */
.nd-selo-g:not([data-tipo="supremo"]) { background: linear-gradient(180deg, rgba(255, 199, 0, .16), rgba(255, 199, 0, .09)) !important; box-shadow: inset 0 0 0 1px rgba(255, 199, 0, .45) !important; }
.nd-selo-g:not([data-tipo="supremo"]) > .nd-selo-ic,
.nxp-info h1 .nd-selo-g:not([data-tipo="supremo"]) > .nd-selo-ic { color: var(--nd-selo) !important; }
.nd-selo-g:not([data-tipo="supremo"]) > i { color: var(--nd-selo) !important; filter: drop-shadow(0 2px 4px rgba(255, 199, 0, .4)) !important; }
.nd-selo-g:not([data-tipo="supremo"]) b { color: var(--nd-selo-tx) !important; }
.nd-selo-g:not([data-tipo="supremo"]) small { color: var(--nd-selo-tx2) !important; }

/* ---------- cartão do selo (nd-selo.js): "Verificado · NAONDE Premium" + plano assinado ---------- */
#ndSeloCartao { position: fixed; left: 0; top: 0; z-index: 2147482000; width: max-content; min-width: 220px; max-width: min(300px, calc(100vw - 16px));
  padding: 14px 16px 13px; border-radius: 18px; pointer-events: auto; color: #1d1d1f; font-family: inherit;
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1), 0 22px 50px -14px rgba(0, 0, 0, .32), 0 3px 10px rgba(0, 0, 0, .06);
  opacity: 0; transform: translateY(6px) scale(.94); transform-origin: var(--nd-sc-seta, 50%) 100%; visibility: hidden;
  transition: opacity .18s ease, transform .5s cubic-bezier(.2, 1.35, .35, 1), visibility 0s linear .18s; }
#ndSeloCartao[data-lado="baixo"] { transform-origin: var(--nd-sc-seta, 50%) 0; transform: translateY(-6px) scale(.94); }
#ndSeloCartao.on { opacity: 1; transform: none; visibility: visible; transition: opacity .18s ease, transform .5s cubic-bezier(.2, 1.35, .35, 1), visibility 0s; }
#ndSeloCartao::after { content: ""; position: absolute; left: calc(var(--nd-sc-seta, 50%) - 7px); width: 14px; height: 14px; background: inherit; transform: rotate(45deg); border-radius: 3px; }
#ndSeloCartao[data-lado="cima"]::after { bottom: -6px; box-shadow: .5px .5px 0 rgba(0, 0, 0, .08); }
#ndSeloCartao[data-lado="baixo"]::after { top: -6px; box-shadow: -.5px -.5px 0 rgba(0, 0, 0, .08); }
#ndSeloCartao .nd-sc-topo { display: flex; align-items: center; gap: 11px; }
#ndSeloCartao .nd-sc-topo > div { display: flex; flex-direction: column; line-height: 1.15; }
#ndSeloCartao .nd-sc-topo b { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
#ndSeloCartao .nd-sc-topo span { font-size: 13px; font-weight: 600; color: #8a6500; }
#ndSeloCartao .nd-sc-ic { position: relative; flex: none; width: 34px; height: 34px; color: var(--nd-selo, #ffc700); filter: drop-shadow(0 4px 10px rgba(255, 199, 0, .45)); }
#ndSeloCartao.on .nd-sc-ic { animation: ndScSelo .7s cubic-bezier(.2, 1.4, .35, 1) both; }
#ndSeloCartao.on .nd-sc-visto { stroke-dasharray: 14; stroke-dashoffset: 14; animation: ndScVisto .45s cubic-bezier(.4, 0, .2, 1) .28s forwards; }
#ndSeloCartao .nd-sc-plano { position: relative; margin: 11px 0 0; padding: 8px 11px; border-radius: 11px; font-size: 13px; line-height: 1.35; color: #3a3a3c;
  background: linear-gradient(180deg, rgba(255, 199, 0, .16), rgba(255, 199, 0, .09)); box-shadow: inset 0 0 0 1px rgba(255, 199, 0, .35); overflow: hidden; }
#ndSeloCartao .nd-sc-plano b { color: #1d1d1f; font-weight: 700; }
#ndSeloCartao .nd-sc-pt { display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--nd-selo, #ffc700); box-shadow: 0 0 0 3px rgba(255, 199, 0, .25); vertical-align: middle; }
#ndSeloCartao.pronto .nd-sc-plano { animation: ndScPlano .45s cubic-bezier(.2, .8, .2, 1) both; }
#ndSeloCartao.pronto .nd-sc-plano::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); animation: ndScBrilho .9s ease-out .25s both; }
#ndSeloCartao .nd-sc-sem { background: rgba(0, 0, 0, .04); box-shadow: none; }
#ndSeloCartao .nd-sc-carrega { height: 34px; padding: 0; }
#ndSeloCartao .nd-sc-carrega i { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 199, 0, .25), transparent); animation: ndScCarrega 1s linear infinite; }
html.nd-escuro #ndSeloCartao { color: #f5f5f7; background: rgba(28, 28, 30, .9); box-shadow: 0 0 0 .5px rgba(255, 255, 255, .12), 0 22px 50px -14px rgba(0, 0, 0, .7); }
html.nd-escuro #ndSeloCartao .nd-sc-topo b { color: #ffc700; }
html.nd-escuro #ndSeloCartao .nd-sc-topo span { color: #ffd84d; }
html.nd-escuro #ndSeloCartao .nd-sc-plano { color: #e6d39c; }
html.nd-escuro #ndSeloCartao .nd-sc-plano b { color: #ffc700; }
@keyframes ndScSelo { from { transform: scale(.4) rotate(-25deg); opacity: 0; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes ndScVisto { to { stroke-dashoffset: 0; } }
@keyframes ndScPlano { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes ndScBrilho { from { left: -40%; } to { left: 110%; } }
@keyframes ndScCarrega { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) {
  #ndSeloCartao, #ndSeloCartao.on { transition: opacity .12s ease, visibility 0s; transform: none; }
  #ndSeloCartao.on .nd-sc-ic, #ndSeloCartao.pronto .nd-sc-plano, #ndSeloCartao.pronto .nd-sc-plano::after, #ndSeloCartao .nd-sc-carrega i { animation: none; }
  #ndSeloCartao.on .nd-sc-visto { animation: none; stroke-dashoffset: 0; }
}
/* com o cartão do selo aberto, a prévia do perfil (que abre ao passar no nome) fica escondida para não sobrepor */
html[data-nd-sc] #global-profile-preview { visibility: hidden !important; opacity: 0 !important; }
/* selo "Premium" no alto das Atividades também amarelo */
#activities-overlay .n30-prem svg { color: var(--nd-selo, #ffc700) !important; }
