/* NAONDE — amarelo fixo nos pontos que o Mauro pediu (tema claro). Fica em CSS, não depende do pintor em JS:
   aparece já amarelo desde o primeiro quadro, sem piscar branco ao clicar no menu.
   Contornos em amarelo dourado; botões "Seguir" transparentes (vidro, estilo iPhone/Instagram). */
:root { --nd-am-bt: #ffe48a; --nd-am-bt2: #ffdc6e; --nd-am-cx: #fff4c2; --nd-am-ct: rgba(214, 160, 0, .28); } /* amarelinho suave (25/11) */

/* menu da esquerda: item ativo e passar o mouse; perfil no canto de baixo à esquerda
   (seletores fortes: há várias regras antigas com !important deixando cinza/branco) */
html:not(.nd-escuro):not(.nd-est-branco) body:not(.escuro) #cmHomeSide#cmHomeSide .hx-nav .hx-it:is(.on, .nd-sel, .n25-sel, [aria-current="page"]):not(:hover) { background: var(--nd-am-bt) !important; }
html:not(.nd-escuro):not(.nd-est-branco) body.n25-on:not(.escuro) #cmHomeSide#cmHomeSide .hx-nav .hx-it.on:not(.n25-sel):not(:hover) { background: transparent !important; }
html:not(.nd-escuro):not(.nd-est-branco) body:not(.escuro) #cmHomeSide#cmHomeSide .hx-nav .hx-it:is(:hover, :focus-visible) { background: rgba(255, 214, 10, .32) !important; }
html:not(.nd-escuro):not(.nd-est-branco) body:not(.escuro) #cmHomeSide#cmHomeSide #hxCard.hx-card { background: var(--nd-am-bt) !important; border: 1px solid var(--nd-am-ct) !important; box-shadow: none !important; }
html:not(.nd-escuro):not(.nd-est-branco) body:not(.escuro) #cmHomeSide#cmHomeSide #hxCard.hx-card:hover { background: var(--nd-am-bt2) !important; }
/* Postar */
html:not(.nd-escuro):not(.nd-est-branco) body:not(.escuro) #cmHomeSide#cmHomeSide #hxPostar.hx-postar.hx-postar { background: #ffd23f !important; color: #111 !important; border-color: transparent !important; }
html:not(.nd-escuro):not(.nd-est-branco) body:not(.escuro) #cmHomeSide#cmHomeSide #hxPostar.hx-postar.hx-postar:hover { background: #ffc81a !important; }
/* "O que está acontecendo?" (barra flutuante) e Público */
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) #nd64Comp { background: #ffd23f !important; color: #111 !important; box-shadow: 0 6px 20px rgba(160, 110, 0, .25) !important; }
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) .nd-pub-bt { background: var(--nd-am-bt) !important; color: #5a4300 !important; border-color: var(--nd-am-ct) !important; }
/* barra de cima: Buscar, Encontrar amigos, menu, bate-papo, notificações e o perfil */
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) #searchBox, html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) label.search { background: var(--nd-am-bt) !important; border-color: var(--nd-am-ct) !important; }
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) #ndAchaAmigos { background: var(--nd-am-bt) !important; color: #1d1d1f !important; border-color: var(--nd-am-ct) !important; }
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) .nav-right .icon-btn,
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) #btnMenu, html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) #btnChat, html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) #btnNotif { background: var(--nd-am-bt) !important; border-color: var(--nd-am-ct) !important; color: #1d1d1f !important; }
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) #btnPerfil, html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) .perfil-pill { background: var(--nd-am-bt) !important; border-color: var(--nd-am-ct) !important; }
/* caixas da direita: Conheça o NAONDE Premium, O que está acontecendo, Quem seguir */
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) #homeDir .hd-box { background: var(--nd-am-cx) !important; border: 1px solid var(--nd-am-ct) !important; box-shadow: none !important; }
/* aviso "Assine o NAONDE Premium" no meio do feed */
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) .nd-prem-promo { background: var(--nd-am-cx) !important; border: 1px solid var(--nd-am-ct) !important; box-shadow: none !important; }
/* rodinha dos stories */
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) .nd42-anel:not(.sem):not(.visto) { background: linear-gradient(135deg, #ffd60a, #f2a900) !important; }
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) .nd42-anel.visto { background: rgba(214, 160, 0, .45) !important; }

/* botões Seguir: transparentes, vidro claro como no iPhone/Instagram, combinando com o amarelo */
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) :is(#homeDir .n23-quem button, .n25-ps button, .n23r-seg, .hd-seguir, .ndg-seguir, .nd58-bt[data-seguir], .cf-bt[data-seguir], [data-am="seguir"], [data-pm="seguir"]) {
  background: rgba(255, 255, 255, .38) !important; color: #1d1d1f !important; border: 1px solid rgba(0, 0, 0, .12) !important; box-shadow: none !important;
  -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%); }
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) :is(#homeDir .n23-quem button, .n25-ps button, .n23r-seg, .hd-seguir, .ndg-seguir, .nd58-bt[data-seguir], .cf-bt[data-seguir], [data-am="seguir"], [data-pm="seguir"]):hover { background: rgba(255, 255, 255, .58) !important; }

/* posts (foto, vídeo e texto): o amarelo da página em volta, sem caixa branca; só uma linha dourada separando */
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) :is(article.post-card, article.n23r-post, article.nxp-post) { background: transparent !important; box-shadow: none !important; }
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) article.post-card { border-color: var(--nd-am-ct) !important; }
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) :is(#feed, .feed, #n23rLista, .nxp-lista) { background: transparent !important; }

/* Barra dos apps (janela aberta: título + minimizar/maximizar/fechar) em amarelo */
html:not(.nd-escuro):not(.nd-est-branco) body:not(.escuro) .nda-win .nda-bar.nda-bar {
  background: var(--nd-papel-topo, #ffefa8) !important;
  border-bottom: 1px solid var(--nd-am-ct) !important;
  color: #1c1e21 !important;
}
html:not(.nd-escuro):not(.nd-est-branco) body:not(.escuro) .nda-win .nda-bar .nda-b {
  background: rgba(255, 255, 255, .38) !important;
  border: 1px solid var(--nd-am-ct) !important;
  color: #1c1e21 !important;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
html:not(.nd-escuro):not(.nd-est-branco) body:not(.escuro) .nda-win .nda-bar .nda-b:hover { background: var(--nd-am-bt) !important; }

/* Os 3 círculos da barra de cima (menu, bate-papo, notificações): amarelinho suave, igual aos outros botões da barra,
   com um brilho leve por cima e borda dourada bem fina. Só cor e luz: nada se mexe. */
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) .nav-right #btnMenu#btnMenu,
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) .nav-right #btnChat#btnChat,
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) .nav-right #btnNotif#btnNotif {
  background: linear-gradient(180deg, #ffecac 0%, #ffe28a 100%) !important;
  border: 1px solid rgba(214, 160, 0, .28) !important;
  color: #3a2c00 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 1px 3px rgba(160, 115, 0, .12) !important;
  transition: filter .15s ease !important;
}
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) .nav-right #btnMenu#btnMenu i,
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) .nav-right #btnChat#btnChat i,
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) .nav-right #btnNotif#btnNotif i { color: #3a2c00 !important; }
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) .nav-right #btnMenu#btnMenu:hover,
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) .nav-right #btnChat#btnChat:hover,
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) .nav-right #btnNotif#btnNotif:hover { filter: brightness(.98); }
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) .nav-right #btnMenu#btnMenu:active,
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) .nav-right #btnChat#btnChat:active,
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) .nav-right #btnNotif#btnNotif:active { filter: brightness(.95); }
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) .nav-right #btnMenu#btnMenu:focus-visible,
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) .nav-right #btnChat#btnChat:focus-visible,
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) .nav-right #btnNotif#btnNotif:focus-visible { outline: 2px solid #b07c00 !important; outline-offset: 2px; }

/* 25/11 — menu da esquerda ao passar o mouse (Página inicial etc.): amarelinho, nunca branco */
html:not(.nd-escuro):not(.nd-est-branco) body:not(.escuro) #cmHomeSide#cmHomeSide .hx-nav .hx-it:hover,
html:not(.nd-escuro):not(.nd-est-branco) body:not(.escuro) #cmHomeSide#cmHomeSide .hx-nav .hx-it:focus-visible { background: var(--nd-am-bt) !important; }
/* sem linhas quase invisíveis: divisórias entre posts, colunas e abas somem (os contornos das caixas continuam) */
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) :is(article.n23r-post, article.nxp-post, article.post-card) { border-color: transparent !important; }
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) :is(#feed, .feed, #n23rLista, .nxp-lista, main, #homeDir, #cmHomeSide, .hx-nav, .n23r-abas, .feed-abas, .ndsj-cab) { border-color: transparent !important; }
/* lista Seguidores | Seguindo: aba escolhida em amarelo e botões "Seguir" de vidro (como no resto do site) */
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) .ndsj .ndsj-seg { background: rgba(214, 160, 0, .14) !important; }
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) .ndsj .ndsj-ind { background: var(--nd-am-bt2) !important; box-shadow: 0 1px 3px rgba(160, 115, 0, .18) !important; }
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) .ndsj .ndsj-bt { background: rgba(255, 255, 255, .38) !important; color: #1c1e21 !important; border: 1px solid rgba(214, 160, 0, .35) !important;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: none !important; }
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) .ndsj .ndsj-bt:hover { background: rgba(255, 255, 255, .58) !important; }

/* 25/11 (03:02) — sem contorno e sem sombreamento: Buscar, Encontrar amigos, menu / bate-papo / notificações e toda a
   coluna da esquerda (Página inicial até Mais, Postar e o perfil de baixo). Ao clicar/segurar fica amarelo, nunca branco. */
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) :is(#searchBox, label.search, #ndAchaAmigos, .nav-right #btnMenu#btnMenu, .nav-right #btnChat#btnChat, .nav-right #btnNotif#btnNotif,
  #cmHomeSide .hx-it, #cmHomeSide #hxCard, #cmHomeSide #hxPostar, #btnPerfil, .perfil-pill) {
  border-color: transparent !important; box-shadow: none !important; outline: none;
}
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) :is(#searchBox, label.search):focus-within { border-color: transparent !important; box-shadow: none !important; background: var(--nd-am-bt2) !important; }
html:not(.nd-escuro):not(.nd-est-branco):not(:has(> body.escuro)) :is(#ndAchaAmigos, .nav-right .icon-btn, #btnPerfil, .perfil-pill):is(:hover, :active, :focus, [aria-expanded="true"]) { background: var(--nd-am-bt2) !important; }
html:not(.nd-escuro):not(.nd-est-branco) body:not(.escuro) #cmHomeSide#cmHomeSide :is(.hx-it, #hxCard):is(:active, :focus) { background: var(--nd-am-bt2) !important; }
html:not(.nd-escuro):not(.nd-est-branco) body:not(.escuro) #cmHomeSide#cmHomeSide #hxCard.hx-card,
html:not(.nd-escuro):not(.nd-est-branco) body:not(.escuro) #cmHomeSide#cmHomeSide #hxCard.hx-card:hover { border-color: transparent !important; box-shadow: none !important; }

/* 25/11 — janela do perfil ao passar o mouse na foto ou no nome: capa, foto, nome, @, bio e números
   (Seguindo / Seguidores abrem a lista; Posts). No amarelo do site. */
#global-profile-preview { padding: 0 0 16px !important; overflow: hidden; }
#global-profile-preview > :not(.gpp-capa) { margin-left: 16px; margin-right: 16px; }
#global-profile-preview .gpp-capa { display: block; height: 86px; background: linear-gradient(135deg, #ffe27a, #ffc93c) center / cover no-repeat; }
#global-profile-preview .gpp-topo { margin-top: -32px; }
#global-profile-preview .gpp-av { box-shadow: 0 0 0 4px #fff4c2; }
#global-profile-preview .gpp-num { display: flex; flex-wrap: wrap; gap: 14px; }
#global-profile-preview .gpp-num button { all: unset; cursor: pointer; }
#global-profile-preview .gpp-num button:hover { text-decoration: underline; }
html:not(.nd-escuro):not(.nd-est-branco) #global-profile-preview { background: #fff4c2 !important; border-color: rgba(214, 160, 0, .28) !important; box-shadow: 0 10px 30px rgba(120, 85, 0, .16) !important; }
html:not(.nd-escuro):not(.nd-est-branco) #global-profile-preview .gpp-av { box-shadow: 0 0 0 4px #fff4c2; }
html.nd-est-branco #global-profile-preview .gpp-av { box-shadow: 0 0 0 4px #fff; }
#global-profile-preview#global-profile-preview .gpp-num { margin: 10px 16px 12px !important; }
#global-profile-preview .gpp-bts .n25-pill, #global-profile-preview .gpp-bts button { background: rgba(255, 255, 255, .45) !important; color: #1c1e21 !important; border: 1px solid rgba(214, 160, 0, .3) !important; box-shadow: none !important; }

/* 25/11 (03:33) — post aberto: a foto/vídeo fica colada na coluna do post, formando um cartão só
   (fundo escuro atrás da mídia, sem vão nem cantos soltos entre as duas partes) */
.n32v .n32v-caixa:not(.sem-midia) { background: #000 !important; border-radius: 20px !important; overflow: hidden !important; gap: 0 !important; }
.n32v .n32v-caixa:not(.sem-midia) .n32v-midia { background: #000 !important; border-radius: 0 !important; margin: 0 !important; }
.n32v .n32v-caixa:not(.sem-midia) .n32v-midia :is(img, video) { border-radius: 0 !important; }
.n32v .n32v-caixa:not(.sem-midia) .n32v-lado { border-radius: 0 !important; margin: 0 !important; }
