/* =============================================================
   MODO ESCURO (teste). Ligado pelo botão de sol/lua do theme.js (html[data-theme="dark"]).
   1) Cores escuras  2) Trocas GERADAS por docs/gen_dark.py a partir dos outros CSS  3) Ajustes manuais (fim do arquivo)
   ============================================================= */
html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eef2ff; --text: #cfd8ee; --muted: #93a0c2;
  --bg: #0a1124; --bg-alt: #0f1830; --line: #233052; --card: #141f3d;
  --on-ink: #0a1430; /* texto sobre fundo "tinta" (que no escuro fica claro); dentro de áreas amarelas volta a ser branco */
}
/* --- gerado --- */
html[data-theme="dark"] .tag-y { color: #0a1430; }
html[data-theme="dark"] .btn-y { color: #0a1430; }
html[data-theme="dark"] .btn-y b { color: var(--on-ink); }
html[data-theme="dark"] .btn-o:hover { color: var(--on-ink); }
html[data-theme="dark"] .next-live .nl-ico { color: #0a1430; }
html[data-theme="dark"] .code-panel .tag { color: var(--on-ink); }
html[data-theme="dark"] .code-big { color: var(--on-ink); }
html[data-theme="dark"] .code-ico { color: #0a1430; }
html[data-theme="dark"] .map { background: var(--card); }
html[data-theme="dark"] .copy-row.done { background: var(--card); }
html[data-theme="dark"] .agenda li.today { color: #0a1430; }
html[data-theme="dark"] .rank .av { background: var(--card); }
html[data-theme="dark"] .rank li:first-child { color: var(--on-ink); }
html[data-theme="dark"] .rank li:first-child .av { color: #0a1430; }
html[data-theme="dark"] .video { background: var(--card); }
html[data-theme="dark"] .thumb .pb { color: #0a1430; }
html[data-theme="dark"] .thumb .new { color: #0a1430; }
html[data-theme="dark"] .faq details { background: var(--card); }
html[data-theme="dark"] .toast { color: var(--on-ink); }
html[data-theme="dark"] .points-steps .ps-n { color: #0a1430; }
html[data-theme="dark"] .map-art .map-author { color: #0a1430; }
html[data-theme="dark"] .points-cta { color: #0a1430; }
html[data-theme="dark"] .points-cta .tag-y { color: var(--on-ink); }
html[data-theme="dark"] .bio-facts div { background: var(--card); }
@media (hover: hover) { html[data-theme="dark"] .stat:hover { background: var(--card); } }
html[data-theme="dark"] .pf-demo b { color: #0a1430; }
html[data-theme="dark"] .sec-alt .pf-filter { background: var(--card); }
html[data-theme="dark"] .pf-item-ico { background: var(--card); }
html[data-theme="dark"] .pf-chip.on { background: var(--card); }
html[data-theme="dark"] .pf-chip.sub { background: var(--card); }
html[data-theme="dark"] .pf-ledger li { background: var(--card); }
html[data-theme="dark"] .pf-redeems li { background: var(--card); }
html[data-theme="dark"] .pf-status.wait { background: var(--card); }
html[data-theme="dark"] .pf-status.done { background: var(--card); }
html[data-theme="dark"] .pf-status.no { background: var(--card); }
html[data-theme="dark"] .pf-switch span::after { background: var(--card); }
html[data-theme="dark"] .pf-acc-card { background: var(--card); }
html[data-theme="dark"] .pf-acc-danger { background: var(--card); }
html[data-theme="dark"] .pf-acc-danger .pf-acc-ico { background: var(--card); }
html[data-theme="dark"] .pf-delete { background: var(--card); }
html[data-theme="dark"] .pf-gb-ico { color: #0a1430; }
html[data-theme="dark"] .pf-gb-sel option { background: var(--card); }
html[data-theme="dark"] .pf-chip.goal { color: #0a1430; }
html[data-theme="dark"] .pf-item.is-goal { background: var(--card); }
html[data-theme="dark"] .rw-me { background: var(--card); }
html[data-theme="dark"] .btn-o-w:hover { background: #fff; color: #0a1430; border-color: #fff; } /* texto escuro sobre o branco (antes ficava azul sobre azul) */
html[data-theme="dark"] .tp-steps li { background: var(--card); }
html[data-theme="dark"] .tp-steps .ps-n { color: #0a1430; }
html[data-theme="dark"] .tp-card { background: var(--card); }
html[data-theme="dark"] .tg-ico { color: #0a1430; }
html[data-theme="dark"] .tg-kick .tg-ico { color: #0b0e0f; }
html[data-theme="dark"] .tg-tw .tg-ico { color: #fff; }
html[data-theme="dark"] .tg-list li { background: var(--card); }
html[data-theme="dark"] .tg-selos-list li { background: var(--card); }
html[data-theme="dark"] .tg-checklist li:has(input:checked) { background: var(--card); }
html[data-theme="dark"] .tg-login { background: var(--card); }
html[data-theme="dark"] .rk-tabs { background: var(--card); }
html[data-theme="dark"] .rk-tabs button[aria-selected="true"] { color: var(--on-ink); }
html[data-theme="dark"] .rk-me { background: var(--card); }
html[data-theme="dark"] .rk-msg { background: var(--card); }
html[data-theme="dark"] .rk-p { background: var(--card); }
html[data-theme="dark"] .rk-ouro { background: var(--card); }
html[data-theme="dark"] .rk-medal { color: var(--on-ink); }
html[data-theme="dark"] .rk-ouro .rk-medal { color: #0a1430; }
html[data-theme="dark"] .rk-table td { background: var(--card); }
html[data-theme="dark"] .rk-table tr.is-me td { background: var(--card); }
html[data-theme="dark"] .rk2-you { color: #0a1430; }
html[data-theme="dark"] .rk2-stats > div { background: var(--card); }
html[data-theme="dark"] .rk2-stats i { background: var(--card); }
html[data-theme="dark"] .rk2-stats .rk2-me { background: var(--card); }
html[data-theme="dark"] .rk2-main { background: var(--card); }
html[data-theme="dark"] .rk2-row:hover { background: var(--card); }
html[data-theme="dark"] .rk2-row.is-me { background: var(--card); }
html[data-theme="dark"] .ag-day li { background: var(--card); }
html[data-theme="dark"] .ag-day li.main { background: var(--card); }
html[data-theme="dark"] .ag-chip { background: var(--card); }
html[data-theme="dark"] .ag-chip.on { color: var(--on-ink); }
html[data-theme="dark"] .ag-chip.on small { color: #0a1430; }
html[data-theme="dark"] .ag-tags i:not(.ag-cat):not(.ag-on) { background: var(--card); }
html[data-theme="dark"] .ag-tags .ag-fmt-tag { background: var(--card); }
html[data-theme="dark"] .ag-lead .ag-lbl { color: #0a1430; }
html[data-theme="dark"] .ch-money { color: #0a1430; }
html[data-theme="dark"] .ch-money span b { color: var(--on-ink); }
html[data-theme="dark"] .hl-card { background: var(--card); }
html[data-theme="dark"] .hl-card.gold { background: var(--card); }
html[data-theme="dark"] .hl-card .prize { color: var(--on-ink); }
html[data-theme="dark"] .partner { background: var(--card); }
html[data-theme="dark"] .partner.top { color: var(--on-ink); }
html[data-theme="dark"] .partner.top .avs span { color: #0a1430; }
html[data-theme="dark"] .timeline li.now { color: #0a1430; }
html[data-theme="dark"] .timeline li.now::after { color: var(--on-ink); }
html[data-theme="dark"] .f-search { background: var(--card); }
html[data-theme="dark"] .filters select { background: var(--card); }
html[data-theme="dark"] .results tbody tr:hover { background: var(--card); }
html[data-theme="dark"] .results .t-tier.s { color: var(--on-ink); }
html[data-theme="dark"] .fmt { background: var(--card); }
html[data-theme="dark"] .fmt.solo { background: var(--card); }
html[data-theme="dark"] .fmt.trio { background: var(--card); }
html[data-theme="dark"] .fmt.squad { background: var(--card); }
html[data-theme="dark"] .pl.p1 { color: #0a1430; }
html[data-theme="dark"] .pl.p3 { background: rgba(246, 210, 173, .16); color: #f5c08c; }
html[data-theme="dark"] .pl.p10 { background: rgba(79, 124, 255, .18); color: #9db8ff; }
html[data-theme="dark"] .awards li { background: var(--card); }
@media (max-width: 860px) { html[data-theme="dark"] .results tr { background: var(--card); } }
html[data-theme="dark"] .partner .p-now { color: #0a1430; }
html[data-theme="dark"] .sm-win-head .sm-duo { color: var(--on-ink); }
html[data-theme="dark"] .sm-prize span b { color: var(--on-ink); }
html[data-theme="dark"] #partnerTabs { background: var(--card); }
html[data-theme="dark"] .switch .sw::after { background: var(--card); }
html[data-theme="dark"] .p-years-ico { background: var(--card); }
html[data-theme="dark"] .bar-detail { background: var(--card); }
html[data-theme="dark"] .bd-badge { color: #0a1430; }
html[data-theme="dark"] .partner.top .pc-fmt { color: #0a1430; }
html[data-theme="dark"] .timeline li.now::before { color: var(--on-ink); }
html[data-theme="dark"] .st-item { background: var(--card); }
html[data-theme="dark"] .st-list { background: var(--card); }
html[data-theme="dark"] .st-stat { background: var(--card); }
html[data-theme="dark"] .st-key { background: var(--card); }
html[data-theme="dark"] .st-key kbd { background: var(--card); }
html[data-theme="dark"] .st-soon b { color: #0a1430; }
html[data-theme="dark"] .st-thumb.has-img { background: var(--card); }
html[data-theme="dark"] .st-item.is-soon b { color: #0a1430; }
html[data-theme="dark"] .lg-tldr { background: var(--card); }
html[data-theme="dark"] .lg-todo { background: var(--card); }

/* --- manual --- */
/* Azul um pouco mais claro para aparecer no fundo escuro */
html[data-theme="dark"] { --blue: #4f7cff; }
/* Áreas de fundo claro/amarelo continuam com as cores do modo claro */
html[data-theme="dark"] :is(.code-panel, .ch-money, .sm-prize, .sm-win, .bd-badge, .hb-stat.hl, .pc-fmt, .p-now, .timeline li.now, .pl.p1, .tag-y, .btn-y, .fb-send, .champ-cta-btn, .acct-in, .btn-kick-live, .fb-tip, .ticker, .points-cta)
  { --ink: #0a1430; --text: #1a2340; --muted: #5d6888; --line: #dfe6f5; --card: #fff; --bg-alt: #f2f6ff; --blue: #1546d6; --on-ink: #fff; }
/* Botões brancos sobre áreas escuras */
html[data-theme="dark"] .btn-w { color: #0a1430; }
/* Redes: TikTok e X são pretos, ficam claros no escuro */
html[data-theme="dark"] :is(.social[data-social="tiktok"], .social[data-social="x"]) { --c: #e6ebf7 !important; } /* o script.js grava --c preto no card */
html[data-theme="dark"] :is(.social[data-social="tiktok"], .social[data-social="x"]):hover,
html[data-theme="dark"] :is(.social[data-social="tiktok"], .social[data-social="x"]):hover :is(small, .sf, .sf strong, .si, .s-go) { color: #0a1430; }
html[data-theme="dark"] :is(.social[data-social="tiktok"], .social[data-social="x"]):hover .sf { border-color: rgba(10, 20, 48, .2); }
html[data-theme="dark"] :is(.social[data-social="tiktok"], .social[data-social="x"]):hover :is(.si, .s-go) { background: rgba(10, 20, 48, .1); }
/* TeuzzPoints: bônus dos selos, caixinhas e cards marcados de Pontos iniciais */
html[data-theme="dark"] .tg-selo-pts { background: color-mix(in srgb, var(--tc) 24%, transparent); color: #fff; }
html[data-theme="dark"] .tg-box { background: var(--card); border-color: #3a4a74; }
html[data-theme="dark"] .tg-checklist li:has(input:checked) { background: rgba(47, 191, 113, .14); border-color: rgba(47, 191, 113, .55); }
html[data-theme="dark"] .tg-checklist li:has(input:checked) b { color: #5fe39a; }
/* Loja (Recompensas e Meu perfil): cards azul-claro, verde (dá para resgatar) e amarelo (meta) em versão escura */
html[data-theme="dark"] .pf-item { background: var(--card); border-color: var(--line); }
html[data-theme="dark"] .pf-item.ok { background: linear-gradient(160deg, rgba(47, 191, 113, .2), rgba(47, 191, 113, .06)); border-color: rgba(47, 191, 113, .5); }
/* Meta: dourado escuro sólido (amarelo transparente sobre o azul virava um oliva "sujo") */
html[data-theme="dark"] .pf-item.is-goal { background: radial-gradient(140% 90% at 100% 0%, rgba(255, 212, 0, .16), transparent 60%), linear-gradient(160deg, #33290c, #1e1a0e); border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 212, 0, .22), 0 14px 30px rgba(0, 0, 0, .35); }
html[data-theme="dark"] .pf-item.is-goal .pf-item-ico { background: rgba(255, 212, 0, .14); color: var(--yellow); }
html[data-theme="dark"] .pf-item.is-goal p, html[data-theme="dark"] .pf-item.is-goal .pf-need span, html[data-theme="dark"] .pf-item.is-goal small { color: #d9cfa6; }
html[data-theme="dark"] .pf-item.is-goal .pf-bar { background: rgba(255, 212, 0, .15); }
html[data-theme="dark"] .pf-item-ico { background: #1d2a50; box-shadow: none; }
/* Campeonatos: card de dupla em destaque ("Mais recente") */
html[data-theme="dark"] .partner.top { background: #1f3570; border-color: var(--yellow); color: #fff; --on-ink: #fff; }
/* Agenda: filtro marcado (claro com texto escuro) e etiquetas coloridas das sessões em versão escura */
html[data-theme="dark"] .ag-chip.on { background: #e8edfa; border-color: #e8edfa; color: #0a1430; }
html[data-theme="dark"] .ag-tags .ag-cat { background: color-mix(in srgb, var(--c) 22%, transparent); color: color-mix(in srgb, var(--c) 45%, #fff); border-color: color-mix(in srgb, var(--c) 50%, transparent); }
/* Agenda: etiqueta "Destaque" continua amarela no topo escuro; Início: botão do card amarelo continua azul-marinho com texto branco */
html[data-theme="dark"] .ag-lead .ag-lbl-main { color: var(--yellow); }
html[data-theme="dark"] .points-cta .champ-cta-btn { color: #fff; }
/* Topo: saldo na pílula amarela com texto escuro; Perfil: área de excluir dados em vermelho claro legível no fundo escuro */
html[data-theme="dark"] .acct-me b { color: #0a1430; }
html[data-theme="dark"] .pf-acc-danger { border-color: #5a2633; }
html[data-theme="dark"] .pf-acc-danger b, html[data-theme="dark"] .pf-acc-danger .pf-acc-ico { color: #ff8a9a; }
html[data-theme="dark"] .pf-delete { background: transparent; border-color: #8a3445; color: #ff8a9a; }
html[data-theme="dark"] .pf-delete:hover { background: #c2263a; border-color: #c2263a; color: #fff; }
/* Janela de feedback: fundo escuro (o gerador pula ".fb-", então fica aqui) */
html[data-theme="dark"] .fb-panel { background: var(--card); border-color: var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
html[data-theme="dark"] .fb-x { background: var(--bg-alt); }
html[data-theme="dark"] .fb-field textarea:focus, html[data-theme="dark"] .fb-nick:focus-within { background: var(--bg); box-shadow: 0 0 0 4px rgba(79, 124, 255, .25); }
html[data-theme="dark"] .fb-field textarea::placeholder, html[data-theme="dark"] .fb-nick input::placeholder { color: #6f7ca0; }
html[data-theme="dark"] .fb-ok { color: #4ade80; }
html[data-theme="dark"] .fb-nick.is-valid { border-color: #4ade80; }
/* Ranking: ícones dos números (azul suave) e o de "sua posição" amarelo, igual ao modo claro */
html[data-theme="dark"] .rk2-stats i { background: rgba(79, 124, 255, .16); color: #8fb0ff; }
html[data-theme="dark"] .rk2-stats .rk2-me i { background: #ffd400; color: #0a1430; }
html[data-theme="dark"] .rk2-stats .rk2-me { border-color: rgba(255, 212, 0, .55); }
/* Setup: quadro "Em breve" (SSD) com listras escuras em vez de brancas */
html[data-theme="dark"] .st-item.is-soon { background: linear-gradient(180deg, var(--card), var(--bg-alt)); }
html[data-theme="dark"] .st-item.is-soon .st-thumb { background: repeating-linear-gradient(-45deg, #17234a 0 10px, #0f1830 10px 20px); }
html[data-theme="dark"] .st-item.is-soon .st-thumb svg { color: #8fb0ff; opacity: .55; }
/* Setup: card de eDPI em destaque amarelo, igual ao modo claro */
html[data-theme="dark"] .st-stat.hl { background: var(--yellow); border-color: var(--yellow); }
html[data-theme="dark"] .st-stat.hl b, html[data-theme="dark"] .st-stat.hl span { color: #0a1430; }
/* Início: topo (hero) em azul-marinho profundo no lugar do azul-vivo; raios de luz e textos continuam */
html[data-theme="dark"] .hero { background: radial-gradient(900px 520px at 78% 30%, rgba(79, 124, 255, .28), transparent 65%), linear-gradient(180deg, #081536 0%, #0d2260 58%, #16348a 100%); }
html[data-theme="dark"] .hero .sky::before { background: repeating-conic-gradient(from 0deg, rgba(143, 176, 255, .06) 0 6deg, transparent 6deg 18deg); }
html[data-theme="dark"] .hero-copy .hero-text, html[data-theme="dark"] p.lead-strip { background: rgba(255, 255, 255, .06); }
html[data-theme="dark"] p.lead-strip.on-light { color: #f2f6ff; }
/* Mapas: sombra e reflexo do hover mais suaves no escuro */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html[data-theme="dark"] .maps .map:hover { box-shadow: 0 26px 46px rgba(0, 0, 0, .5), 0 0 0 1px var(--blue); }
}
html[data-theme="dark"] .maps .map::after { background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .16) 48%, transparent 61%); }
html[data-theme="dark"] .pf-need.full span { color: #5ee08f; }
/* Meu perfil → Meus pedidos: destaques Aguardando / Entregue / Recusado com fundo da cor e texto claro */
html[data-theme="dark"] .pf-status.wait { background: rgba(255, 212, 0, .16); color: #ffd84d; box-shadow: inset 0 0 0 1px rgba(255, 212, 0, .35); }
html[data-theme="dark"] .pf-status.done { background: rgba(47, 191, 113, .16); color: #5ee08f; box-shadow: inset 0 0 0 1px rgba(47, 191, 113, .4); }
html[data-theme="dark"] .pf-status.no { background: rgba(229, 36, 59, .16); color: #ff8a9a; box-shadow: inset 0 0 0 1px rgba(229, 36, 59, .4); }
/* Sua conta: ícones com caixa no tom da cor (azul; vermelho em Excluir) e etiqueta da equipe */
html[data-theme="dark"] .pf-acc-ico { background: rgba(79, 124, 255, .16); color: #8fb0ff; box-shadow: inset 0 0 0 1px rgba(79, 124, 255, .25); }
html[data-theme="dark"] .pf-acc-danger .pf-acc-ico { background: rgba(229, 36, 59, .16); color: #ff8a9a; box-shadow: inset 0 0 0 1px rgba(229, 36, 59, .3); }
html[data-theme="dark"] .pf-staff { color: #a9c1ff; background: rgba(79, 124, 255, .14); border-color: rgba(79, 124, 255, .3); }
/* Troca de tema instantânea (classe colocada pelo theme.js só durante o clique no sol/lua) */
html.theme-swap, html.theme-swap *, html.theme-swap *::before, html.theme-swap *::after { transition: none !important; }
/* Meu perfil → Extrato: pontos em tons claros sobre fundo da cor; caixas dos ícones escuras no tom de cada tipo */
html[data-theme="dark"] .pf-ledger .pos .pf-l-amt { color: #5ee08f; background: rgba(47, 191, 113, .14); border-color: rgba(47, 191, 113, .35); }
html[data-theme="dark"] .pf-ledger .neg .pf-l-amt { color: #ff8a9a; background: rgba(229, 36, 59, .14); border-color: rgba(229, 36, 59, .35); }
html[data-theme="dark"] .pf-l-ico { background: color-mix(in srgb, var(--k) 20%, transparent); color: color-mix(in srgb, var(--k) 55%, #fff); }
/* Janela de resgate no escuro */
html[data-theme="dark"] .rd-err { background: rgba(229, 36, 59, .16); color: #ff8a9a; }
html[data-theme="dark"] .rd-after dd b { color: #5ee08f; }
html[data-theme="dark"] .rd-off { color: #b99bff; }
html[data-theme="dark"] .rd-ico { color: #8fb0ff; }
html[data-theme="dark"] .rd-note svg { color: #8fb0ff; }
html[data-theme="dark"] .rd-step { color: #8fb0ff; }
/* Twitch no Meu perfil (Sua conta) */
html[data-theme="dark"] .pf-acc-tw .pf-acc-ico { background: rgba(145, 70, 255, .18); color: #c4a5ff; box-shadow: inset 0 0 0 1px rgba(145, 70, 255, .3); }
/* Menu "Conexões" do topo */
html[data-theme="dark"] .acct-conn { color: #0a1430; }
html[data-theme="dark"] .acct-menu { background: var(--card); border-color: var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
html[data-theme="dark"] .acct-menu::before { border-color: var(--line); }
html[data-theme="dark"] .acct-opt:hover, html[data-theme="dark"] .acct-opt:focus-visible { background: rgba(255, 255, 255, .06); }
html[data-theme="dark"] .pf-acc-kick .pf-acc-ico { background: rgba(83, 252, 24, .14); color: #7dff4f; box-shadow: inset 0 0 0 1px rgba(83, 252, 24, .3); }
html[data-theme="dark"] .pf-plat-st { background: rgba(255, 255, 255, .08); color: #93a0c2; }
html[data-theme="dark"] .pf-plat-st.on { background: rgba(61, 220, 132, .14); color: #6ee7a0; }
html[data-theme="dark"] .pf-l-sum { background: var(--card); border-color: var(--line); }
html[data-theme="dark"] .pf-acc-card .pf-plat-note.pf-plat-ban { color: #ff8a9a; }
/* Janela de login das Recompensas */
html[data-theme="dark"] .rw-gate { background: rgba(0, 0, 0, .45); }
html[data-theme="dark"] .rw-gate-box { background: var(--card); border-color: var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
html[data-theme="dark"] .rw-gate-box h2 { color: var(--ink); }
html[data-theme="dark"] .rw-gate-back:hover { color: #fff; }
html[data-theme="dark"] .rw-gate { background: rgba(0, 0, 0, .6); }
html[data-theme="dark"] .rw-gate-box p { color: #e3e9f8; opacity: 1; }
html[data-theme="dark"] .rw-gate-back { color: #8fb0ff; }
html[data-theme="dark"] .pf-acc-card .pf-plat-note.pf-plat-follow { background: rgba(255, 212, 0, .12); color: #ffe27a; }
html[data-theme="dark"] .pf-plat-follow a, html[data-theme="dark"] .pf-linkbtn { color: #c4a5ff; }
/* Revisão 26/11/2026: contrastes que faltavam no escuro */
html[data-theme="dark"] .pf-chip.on { color: #5ee08f; }
html[data-theme="dark"] .pf-chip.sub { color: #8ef06a; }
html[data-theme="dark"] .rk2-bar, html[data-theme="dark"] .tg-prog-bar { background: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .fb-again { background: var(--card); }
html[data-theme="dark"] .pf-ask { background: rgba(0, 0, 0, .6); }
html[data-theme="dark"] .pf-ask-box { background: var(--card); border-color: var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
html[data-theme="dark"] .pf-ask-box p { color: #b9c4e0; }
html[data-theme="dark"] .pf-ask-list { background: rgba(255, 255, 255, .05); }
html[data-theme="dark"] .pf-ask-list .lose i { background: rgba(255, 107, 125, .16); color: #ff8a9a; }
html[data-theme="dark"] .pf-ask-list .keep i { background: rgba(61, 220, 132, .14); color: #6ee7a0; }
html[data-theme="dark"] .pf-ask-kick { --c: #53fc18; --cs: rgba(83, 252, 24, .12); }
html[data-theme="dark"] .pf-ask-twitch { --c: #b794ff; --cs: rgba(145, 70, 255, .18); }
html[data-theme="dark"] .pf-ask-danger { --c: #ff8a9a; --cs: rgba(255, 107, 125, .16); }
html[data-theme="dark"] .rw-media-tag .pf-chip.off { background: #1d2a50; color: #c9d6f5; }
html[data-theme="dark"] .rw-media-tag .pf-chip.on { background: #e6f6ec; color: #157a3a; }
html[data-theme="dark"] .rw-media-tag .pf-chip.sub { background: #e8fbe0; color: #2b7a0b; }

/* Janela de feedback: no escuro, a pílula da Sugestão fica num marinho mais claro para aparecer no fundo */
html[data-theme="dark"] .fb-types[data-type="sugestao"] { --pill: #2d4aa8; --pill-sh: rgba(0, 0, 0, .35); }
html[data-theme="dark"] .fb-types { --pill-sh: rgba(0, 0, 0, .35); }
html[data-theme="dark"] .fb-types[data-type="resgate"] { --pill-sh: rgba(255, 190, 0, .25); }

/* Menu da conta (logado) */
html[data-theme="dark"] .acct-head:hover, html[data-theme="dark"] .acct-head:focus-visible { background: rgba(255, 255, 255, .06); }
html[data-theme="dark"] .acct-head em { color: #0a1430; }
html[data-theme="dark"] .acct-head small, html[data-theme="dark"] .acct-opt[data-connect] b, html[data-theme="dark"] .acct-opt .acct-go { color: #8fb0ff; }
html[data-theme="dark"] .acct-opt .acct-warn { color: #ffc65c; }

/* Ranking: "Como o ranking funciona" */
html[data-theme="dark"] .rk-how { background: rgba(70, 120, 255, .12); border-color: rgba(120, 160, 255, .3); }
html[data-theme="dark"] .rk-how-ico { background: #3b6cff; }

/* Janela de resgate: linha do inscrito e motivo de bloqueio */
html[data-theme="dark"] .rd-sub { background: rgba(145, 70, 255, .16); color: #d7c4ff; }
html[data-theme="dark"] .rd-sub.on { background: rgba(47, 191, 113, .16); color: #8fe3b4; }
html[data-theme="dark"] .rd-block { background: rgba(255, 196, 0, .12); color: #ffd97a; }

/* Janela de versão nova */
html[data-theme="dark"] .upd { background: var(--card); border-color: var(--line); box-shadow: 0 18px 48px rgba(0, 0, 0, .55); }
html[data-theme="dark"] .upd-no { background: rgba(255, 255, 255, .08); color: var(--text); }

/* Faixa "Projetos e publis" na página inicial */
html[data-theme="dark"] .bio-proj { background: rgba(255, 255, 255, .04); }
html[data-theme="dark"] .bio-proj-go { color: #8fb0ff; }

html[data-theme="dark"] .rk-twwait { background: rgba(145, 70, 255, .16); border-color: rgba(145, 70, 255, .5); color: var(--ink); }
html[data-theme="dark"] .rk-twwait b, html[data-theme="dark"] .rk-twwait strong { color: #c9a8ff; }
html[data-theme="dark"] .pj-logo.has-img { box-shadow: 0 6px 14px rgba(0, 0, 0, .4), inset 0 0 0 1px rgba(255, 255, 255, .1); }
html[data-theme="dark"] .pj-card:hover { box-shadow: 0 20px 40px rgba(0, 0, 0, .45), 0 0 0 1.5px color-mix(in srgb, var(--bc) 55%, transparent); }
