
/* ══════════════════════════════════════════════════════════════════
   EuAqui — Patch de Acessibilidade & UI/UX  (Engenheiro Sênior)
   1. Fonte de leitura Inter para textos longos
   2. Redução de fadiga visual (glow nos cards do feed)
   3. Light Mode reescrito (fundo gelo, neons adaptados, transição)
   ══════════════════════════════════════════════════════════════════ */

/* ── 0. Inter para textos longos: já carregada via <link> no <head>.
   (Removido @import duplicado — @import em <style> é render-blocking serial.) */

/* ── 0.1. Inter como fonte PADRÃO global (Capacitor + web) ────────
   Decorativas (VT323, Silkscreen, Space Mono, Syne) continuam sobrescrevendo
   nos elementos que têm font-family própria. */
html, body, input, textarea, select, button {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* ── 0.1.1. Trava o text-size-adjust em 100% (Motorola/Xiaomi/MIUI escalam
   o WebView quando o usuário escolhe "fonte grande" no sistema, o que
   quebra layouts fixos). Plugin @capacitor/text-zoom + TextZoom.set(1.0)
   no JS reforçam o mesmo travamento (ver _eaInitTextZoom). */
html, body {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ── 0.2. Inter em TODA a rede social ─────────────────────────────────
   Pedido do dono: fonte PADRÃO Inter em TUDO (sobrepõe as decorativas
   VT323 / Silkscreen / Space Mono / Syne, inclusive font-family inline).
   ↩️ Para voltar ao visual retrô, basta REMOVER este bloco. */
*, *::before, *::after {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* ── 1. Tipografia: Inter exclusiva para leitura de conteúdo ─────── */
/* Textos de postagem */
.pcontent {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
}
/* Textos de comentários */
.cmt-text,
.comm-chat-bubble,
.mb-bubble {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
}
/* Bios e descrições de perfil */
.pbio,
.biz-desc,
.cap-desc,
.blast-ct,
.comm-desc {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  line-height: 1.6 !important;
}

/* ── 2. Redução de Fadiga Visual — Dark Mode ─────────────────────── */
/* Cards do feed: sem box-shadow, borda discreta */
.post-card {
  box-shadow: none !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.post-card:hover {
  box-shadow: none !important;
  border-color: rgba(0, 255, 204, 0.14) !important;
}
/* Composer: sem glow excessivo */
.composer {
  box-shadow: none !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
/* Widgets da sidebar: sem glow */
.wcard {
  box-shadow: none !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}
/* Avatares do feed: borda mais sutil */
.pav {
  border-color: rgba(0, 255, 204, 0.18) !important;
  box-shadow: none !important;
}
.pav:hover {
  border-color: var(--neon-cyan) !important;
}
/* Reaction buttons: sem glow */
.rxbtn {
  box-shadow: none !important;
}
/* Save button (Bookmarks — Sprint 5.B): destaque sutil quando ativo */
.abtn.savbtn.saved {
  color: var(--neon-cyan) !important;
  background: rgba(0,255,204,.08) !important;
  border-color: rgba(0,255,204,.35) !important;
  font-weight: 600;
}
/* Threads em comentários (Sprint 6.A): replies indentados com barra lateral */
.cmt-thread-replies {
  margin-left: 38px;            /* offset do avatar do parent (~38px) */
  border-left: 2px solid rgba(0,255,204,.18);
  padding-left: 10px;
  margin-top: -4px;
  margin-bottom: 4px;
}
.cmt-item.cmt-reply {
  padding-left: 4px;
}
.cmt-item.cmt-reply .cmt-av {
  width: 24px !important;
  height: 24px !important;       /* avatar menor pra hierarquia visual */
}
.cmt-item.cmt-reply .cmt-bubble {
  font-size: 12px;
}
body.day-mode .cmt-thread-replies {
  border-left-color: rgba(0,119,168,.30);
}
body.day-mode .abtn.savbtn.saved {
  color: #0077a8 !important;
  background: rgba(0,119,168,.10) !important;
  border-color: rgba(0,119,168,.40) !important;
}
/* Friend cards: sem glow */
.friend-card {
  box-shadow: none !important;
}
/* MANTER glow apenas nos elementos de destaque: */
/* post-btn, nav-av, uma, av-current, modal, auth-card — não tocamos */

/* ── 3. Transição global suave entre temas ───────────────────────── */
*,
*::before,
*::after {
  transition:
    background-color 0.28s ease,
    background 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease !important;
}
/* Exceções: animações que não devem ser interrompidas */
.oa-ring,
.ea-lp-scene-particle,
.live-onair,
.audio-rec-dot,
.pbar-fill,
[class*="ea-lp-bg-"],
[class*="ea-lp-avframe-"] img {
  transition: none !important;
}

/* ── 4. Light Mode — Reescrita completa ─────────────────────────── */
body.day-mode {
  /* Fundos: gelo azulado, não branco puro */
  --bg-deep:   #eef1f5 !important;
  --bg-mid:    #f4f6f9 !important;
  --bg-card:   #ffffff !important;

  /* Texto */
  --text-light: #1a202c !important;
  --text-muted: #64748b !important;

  /* Neons adaptados: versões escuras/saturadas com contraste >= 4.5:1 */
  --neon-cyan:   #0077a8 !important;   /* ciano profundo: WCAG AA ✓ */
  --neon-pink:   #c1004b !important;   /* rosa queimado:  WCAG AA ✓ */
  --neon-yellow: #b45309 !important;   /* âmbar escuro:   WCAG AA ✓ */
  --neon-purple: #6d28d9 !important;   /* violeta:        WCAG AA ✓ */

  /* Bordas e vidro */
  --border-glow: rgba(0, 119, 168, 0.22) !important;
  --glass:       rgba(0, 0, 0, 0.04) !important;

  background: #eef1f5 !important;
  color: #1a202c !important;
}

/* Navbar */
body.day-mode nav {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(0, 119, 168, 0.18) !important;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.07) !important;
}
body.day-mode .nav-logo {
  text-shadow: none !important;
  filter: none !important;
}
body.day-mode .hamburger {
  border-color: rgba(0, 0, 0, 0.15) !important;
  color: #1a202c !important;
  background: rgba(255,255,255,.7) !important;
}

/* Botões de nav */
body.day-mode .nbtn { color: #374151 !important; }
body.day-mode .nbtn:hover,
body.day-mode .nbtn.active {
  color: #0077a8 !important;
  background: rgba(0, 119, 168, 0.08) !important;
  border-color: rgba(0, 119, 168, 0.3) !important;
}
body.day-mode .nbadge {
  background: #c1004b !important;
}
body.day-mode .nav-av {
  border-color: #0077a8 !important;
  box-shadow: 0 0 0 2px rgba(0,119,168,.2) !important;
}
body.day-mode #nav-search {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #1a202c !important;
}

/* Sidebar esquerda/direita */
body.day-mode .sl,
body.day-mode .sr {
  background: rgba(255,255,255,.85) !important;
  border-color: rgba(0,119,168,.14) !important;
  box-shadow: none !important;
}
body.day-mode .user-mini {
  background: #f8fafc !important;
  border-color: rgba(0,119,168,.16) !important;
}
body.day-mode .stn { color: #0077a8 !important; }
body.day-mode .slink { color: #334155 !important; }
body.day-mode .slink:hover,
body.day-mode .slink.active {
  color: #0077a8 !important;
  background: rgba(0,119,168,.07) !important;
  border-color: rgba(0,119,168,.18) !important;
}

/* Cards do feed — Light Mode sem glow */
body.day-mode .post-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.06) !important;
  border-radius: 14px !important;
}
body.day-mode .post-card:hover {
  border-color: rgba(0,119,168,.28) !important;
  box-shadow: 0 3px 10px rgba(0,119,168,.09) !important;
  transform: none !important;
}

/* Composer */
body.day-mode .composer {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.05) !important;
}
body.day-mode .ctxt {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #1a202c !important;
  font-family: 'Inter', sans-serif !important;
}
body.day-mode .ctxt:focus { border-color: #0077a8 !important; }
body.day-mode .ctxt::placeholder { color: #94a3b8 !important; }

/* Textos do post */
body.day-mode .pun { color: #0f172a !important; font-weight: 700 !important; }
body.day-mode .pun:hover { color: #0077a8 !important; text-decoration: underline !important; }
body.day-mode .pcontent {
  color: #1e293b !important;
  font-weight: 400 !important;
}
body.day-mode .pt { color: #64748b !important; }

/* Badges de visibilidade */
body.day-mode .vis-pub { background: #e0f2fe !important; color: #0369a1 !important; border-color: #bae6fd !important; }
body.day-mode .vis-fri { background: #fef9c3 !important; color: #92400e !important; border-color: #fde68a !important; }
body.day-mode .vis-prv { background: #fce7f3 !important; color: #9f1239 !important; border-color: #fbcfe8 !important; }

/* Botões de ação do feed */
body.day-mode .tbtn {
  color: #475569 !important;
  border-color: #e2e8f0 !important;
  background: #f8fafc !important;
}
body.day-mode .tbtn:hover {
  color: #0077a8 !important;
  border-color: #0077a8 !important;
  background: rgba(0,119,168,.07) !important;
}
body.day-mode .abtn { color: #64748b !important; }
body.day-mode .abtn:hover { color: #0077a8 !important; background: rgba(0,119,168,.07) !important; }
body.day-mode .abtn.danger:hover { color: #c1004b !important; }

/* Botão Postar — mantém glow como elemento de destaque */
body.day-mode .post-btn {
  background: linear-gradient(135deg, #c1004b, #6d28d9) !important;
  box-shadow: 0 4px 14px rgba(193,0,75,.35) !important;
  color: #fff !important;
}
body.day-mode .post-btn:hover {
  box-shadow: 0 8px 22px rgba(193,0,75,.5) !important;
  transform: translateY(-2px) !important;
}

/* Reaction buttons */
body.day-mode .rxbtn {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #475569 !important;
  box-shadow: none !important;
}
body.day-mode .rxbtn:hover {
  background: #e0f2fe !important;
  border-color: #0077a8 !important;
}
body.day-mode .rxbtn.active {
  background: #e0f2fe !important;
  border-color: #0077a8 !important;
  color: #0369a1 !important;
}
body.day-mode .rxbtn[data-rx="heart"].active {
  background: #fce7f3 !important;
  border-color: #c1004b !important;
  color: #c1004b !important;
}

/* Tabs de feed */
body.day-mode .ftabs {
  background: rgba(255,255,255,.9) !important;
  border: 1px solid #e2e8f0 !important;
}
body.day-mode .ftab { color: #64748b !important; font-weight: 500 !important; }
body.day-mode .ftab.active {
  background: linear-gradient(135deg, rgba(0,119,168,.12), rgba(109,40,217,.1)) !important;
  color: #0077a8 !important;
}

/* Comentários */
body.day-mode .cmt-bubble {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}
body.day-mode .cmt-user { color: #0077a8 !important; }
body.day-mode .cmt-text {
  color: #1e293b !important;
  font-family: 'Inter', sans-serif !important;
}
body.day-mode .cmt-input {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #1a202c !important;
}
body.day-mode .cmt-input:focus { border-color: #0077a8 !important; }

/* Chat */
body.day-mode .chat-sidebar,
body.day-mode #ht-chat-sidebar,
body.day-mode #biz-chat-sidebar { background: #f8fafc !important; border-color: #e2e8f0 !important; }
body.day-mode .chat-sb-title { color: #0077a8 !important; }
body.day-mode .ci:hover  { background: #e0f2fe !important; }
body.day-mode .ci.active { background: #dbeafe !important; }
body.day-mode .ci-name   { color: #0f172a !important; font-weight: 600 !important; }
body.day-mode .msgs-area { background: #f4f6f9 !important; }
body.day-mode .mb.sent .mb-bubble {
  background: #0077a8 !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0,119,168,.25) !important;
  font-family: 'Inter', sans-serif !important;
}
body.day-mode .mb.recv .mb-bubble {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #1e293b !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.05) !important;
  font-family: 'Inter', sans-serif !important;
}
body.day-mode .msg-in-bar { background: #ffffff !important; border-color: #e2e8f0 !important; }
body.day-mode .msg-in { background: #f1f5f9 !important; border-color: #e2e8f0 !important; color: #1a202c !important; }
body.day-mode .msg-in:focus { border-color: #0077a8 !important; }

/* Notificações */
body.day-mode .ni { background: #ffffff !important; border-color: #e2e8f0 !important; }
body.day-mode .ni:hover { background: #f0f9ff !important; }
body.day-mode .ni.unrd  { background: #e0f2fe !important; border-color: #7dd3fc !important; }
body.day-mode .ni-txt   { color: #1e293b !important; font-family: 'Inter', sans-serif !important; }

/* Widgets da sidebar */
body.day-mode .wcard {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.05) !important;
}
body.day-mode .wtitle  { color: #b45309 !important; }
body.day-mode .stn     { color: #0077a8 !important; }
body.day-mode .ttag    { color: #0077a8 !important; }

/* Formulários / Inputs gerais */
body.day-mode .ainput {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #1a202c !important;
  font-family: 'Inter', sans-serif !important;
}
body.day-mode .ainput:focus {
  border-color: #0077a8 !important;
  box-shadow: 0 0 0 3px rgba(0,119,168,.12) !important;
}
body.day-mode .ainput::placeholder { color: #94a3b8 !important; }
body.day-mode select.ainput { background: #f8fafc !important; }
body.day-mode .asubmit {
  background: linear-gradient(135deg, #c1004b, #6d28d9) !important;
  box-shadow: 0 4px 16px rgba(193,0,75,.3) !important;
}

/* Modal / Auth */
body.day-mode .modal,
body.day-mode .auth-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.12) !important;
}
body.day-mode .mtitle { color: #0077a8 !important; font-weight: 700 !important; }
body.day-mode .mclose { color: #64748b !important; border-color: #e2e8f0 !important; }
body.day-mode .movl   { background: rgba(0,0,0,.35) !important; }

/* Perfil */
body.day-mode .pbar { background: #ffffff !important; border-color: #e2e8f0 !important; }
body.day-mode .pname  { color: #0f172a !important; font-weight: 800 !important; }
body.day-mode .phandle { color: #0077a8 !important; font-weight: 500 !important; }
body.day-mode .pbio {
  color: #475569 !important;
  font-family: 'Inter', sans-serif !important;
}
body.day-mode .pstn { color: #0077a8 !important; }
body.day-mode .profile-page-tabs {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}
body.day-mode .pptab { color: #64748b !important; }
body.day-mode .pptab.active { color: #0077a8 !important; border-bottom-color: #0077a8 !important; }
body.day-mode .edit-section { background: #f8fafc !important; border-color: #e2e8f0 !important; }
body.day-mode .edit-section-title { color: #b45309 !important; font-weight: 700 !important; }

/* Comunidades / Amigos */
body.day-mode .comm-card { background: #ffffff !important; border-color: #e2e8f0 !important; }
body.day-mode .comm-card:hover { border-color: rgba(0,119,168,.35) !important; box-shadow: 0 3px 12px rgba(0,119,168,.1) !important; }
body.day-mode .comm-name { color: #0f172a !important; font-weight: 700 !important; }
body.day-mode .comm-desc {
  color: #475569 !important;
  font-family: 'Inter', sans-serif !important;
}
body.day-mode .friend-card { background: #ffffff !important; border-color: #e2e8f0 !important; }
body.day-mode .friend-name { color: #0f172a !important; font-weight: 700 !important; }
body.day-mode .friend-user { color: #0077a8 !important; font-weight: 500 !important; }

/* Bottom nav mobile */
body.day-mode .bottom-nav {
  background: rgba(255,255,255,.96) !important;
  border-top: 1px solid #e2e8f0 !important;
  box-shadow: 0 -2px 12px rgba(0,0,0,.07) !important;
}
body.day-mode .bnav-btn { color: #94a3b8 !important; }
body.day-mode .bnav-btn.active { color: #0077a8 !important; }
body.day-mode .bnav-btn.active .bni { filter: none !important; }

/* Drawer mobile */
body.day-mode .mob-drawer { background: #f8fafc !important; border-color: #e2e8f0 !important; }

/* Scrollbar */
body.day-mode ::-webkit-scrollbar-track { background: #f1f5f9 !important; }
body.day-mode ::-webkit-scrollbar-thumb { background: #94a3b8 !important; border-radius: 6px !important; }
body.day-mode ::-webkit-scrollbar-thumb:hover { background: #0077a8 !important; }

/* Tabs de páginas */
body.day-mode .ptab { color: #64748b !important; font-weight: 500 !important; }
body.day-mode .ptab:hover { color: #1a202c !important; }
body.day-mode .ptab.active { color: #0077a8 !important; border-bottom-color: #0077a8 !important; }
body.day-mode .page-tabs,
body.day-mode #home-page-tabs {
  background: rgba(255,255,255,.9) !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
body.day-mode .nav-tab { color: #64748b !important; }
body.day-mode .nav-tab.active { color: #0077a8 !important; border-bottom-color: #0077a8 !important; }

/* Negócios / Lojas */
body.day-mode .biz-card { background: #ffffff !important; border-color: #e2e8f0 !important; }
body.day-mode .biz-card:hover { border-color: rgba(0,119,168,.3) !important; box-shadow: 0 4px 16px rgba(0,119,168,.1) !important; }
body.day-mode .biz-name { color: #0f172a !important; font-weight: 700 !important; }
body.day-mode .biz-desc { color: #475569 !important; }
body.day-mode .dash-card { background: #ffffff !important; border-color: #e2e8f0 !important; }
body.day-mode .dash-num  { color: #0077a8 !important; }

/* Confirmações e toasts */
body.day-mode .tst {
  background: #ffffff !important;
  border-color: rgba(0,119,168,.25) !important;
  box-shadow: 0 8px 28px rgba(0,0,0,.12) !important;
  color: #1a202c !important;
}
body.day-mode #custom-confirm-box { background: #ffffff !important; border-color: rgba(0,119,168,.3) !important; }
body.day-mode #custom-confirm-msg { color: #475569 !important; font-family: 'Inter', sans-serif !important; }

/* Textos de bio no card do time capsule e blast */
body.day-mode .cap-desc,
body.day-mode .blast-ct {
  color: #475569 !important;
  font-family: 'Inter', sans-serif !important;
}
body.day-mode .blast { background: #fef9c3 !important; border-color: #fde68a !important; }
body.day-mode .blast-yr { color: #b45309 !important; }

/* ── 5. Mobile: nav logo vertical align ──────────────────────────── */
@media(max-width:768px){
  #nav-logo-img{
    /* Arte comercial e 1,47:1 (a antiga era 2,42:1): na mesma altura ela ocupa
       menos largura e parece menor. Altura fixa em px porque o em dependia do
       font-size do wrapper. Barra tem 60px, entao 54px deixa 3px de folga. */
    height:54px !important;
    max-width:none !important;
    display: block !important;
    margin-top: 0 !important;
  }
  .nav-logo{
    margin-left:0 !important;
    padding-left:0 !important;
    padding:0 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
  }

  /* Perfil mobile: botões menores */
  .post-btn {
    font-size: 9px !important;
    padding: 5px 8px !important;
    margin-left: 0 !important;
  }
}
/* ════════════════════════════════════════════════════════════
   EA — UX UPGRADE v2: TIPOGRAFIA · FADIGA · LIGHT MODE
   ════════════════════════════════════════════════════════════ */

/* 1 · FONTE DE LEITURA — Inter já carregada via <link> no <head> (sem @import) */

/* 2 · TIPOGRAFIA — Inter nos textos de leitura longa */
.pcontent,
.cmt-text,
.comm-chat-bubble,
.mb-bubble,
.comm-desc,
.pbio,
.cap-desc,
.blast-ct,
.biz-desc,
.ni-txt,
.live-chat-msg {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  letter-spacing: 0.01em;
}

/* 3 · REDUÇÃO DE FADIGA — post-cards sem glow */
.post-card {
  box-shadow: none !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}
.post-card:hover {
  box-shadow: none !important;
  border-color: rgba(0,255,204,0.20) !important;
}
.composer {
  box-shadow: none !important;
  border: 1px solid rgba(0,255,204,0.14) !important;
}
.wcard, .user-mini { box-shadow: none !important; }
.pav { box-shadow: none !important; }
.pav:hover { box-shadow: 0 0 10px rgba(0,255,204,0.35) !important; }

/* 4 · TRANSIÇÃO SUAVE ao trocar tema */
body { transition: background-color 0.3s ease, color 0.3s ease; }
.post-card, .composer, .wcard, nav, .bottom-nav, .sl, .sr,
.cmt-bubble, .ftabs, .modal, .auth-card, .ni,
.msgs-area, .ainput, .ctxt, .msg-in, .tbtn, .rxbtn, .abtn {
  transition: background-color 0.3s ease, border-color 0.3s ease,
              color 0.3s ease, box-shadow 0.3s ease;
}

/* 5 · LIGHT MODE — paleta gelo azulado, neons escuros */
body.day-mode {
  --bg-deep:    #eef1f6;
  --bg-mid:     #f4f6fa;
  --bg-card:    #ffffff;
  --glass:      rgba(0,0,0,0.03);
  --text-light: #1a1e2e;
  --text-muted: #5a6480;
  --border-glow: rgba(99,120,175,0.22);
  --neon-cyan:   #0077aa;
  --neon-pink:   #c0185a;
  --neon-yellow: #c47a00;
  --neon-purple: #6c3bbf;
  background: #eef1f6 !important;
  color: #1a1e2e;
}
body.day-mode nav {
  background: rgba(255,255,255,0.94) !important;
  border-bottom: 1px solid rgba(99,120,175,0.18) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
}
body.day-mode .post-card {
  background: #ffffff !important;
  border: 1px solid rgba(99,120,175,0.16) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
}
body.day-mode .post-card:hover {
  border-color: rgba(0,119,170,0.32) !important;
  box-shadow: 0 3px 12px rgba(0,119,170,0.10) !important;
}
body.day-mode .composer {
  background: #ffffff !important;
  border: 1px solid rgba(99,120,175,0.20) !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05) !important;
}
body.day-mode .pcontent,
body.day-mode .cmt-text,
body.day-mode .ni-txt,
body.day-mode .pbio { color: #1a1e2e !important; }
body.day-mode .pun  { color: #0077aa !important; }
body.day-mode .pun:hover { color: #005588 !important; }
body.day-mode .phandle, body.day-mode .cmt-user { color: #0077aa !important; }
body.day-mode .post-btn {
  background: linear-gradient(135deg,#c0185a,#6c3bbf) !important;
  box-shadow: 0 4px 14px rgba(192,24,90,0.30) !important;
}
body.day-mode .sl, body.day-mode .sr {
  background: #f4f6fa !important;
  border-color: rgba(99,120,175,0.15) !important;
}
body.day-mode .wcard {
  background: #ffffff !important;
  border-color: rgba(99,120,175,0.16) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
}
body.day-mode .user-mini {
  background: #f0f3f9 !important;
  border-color: rgba(99,120,175,0.18) !important;
  box-shadow: none !important;
}
body.day-mode .ptab        { color: #5a6480 !important; }
body.day-mode .ptab.active { color: #0077aa !important; border-bottom-color: #0077aa !important; }
body.day-mode .slink       { color: #2a3050 !important; }
body.day-mode .slink:hover,
body.day-mode .slink.active { color: #0077aa !important; background: rgba(0,119,170,0.07) !important; }
body.day-mode .ainput, body.day-mode .ctxt, body.day-mode .msg-in {
  background: #f7f9fc !important;
  border-color: rgba(99,120,175,0.22) !important;
  color: #1a1e2e !important;
}
body.day-mode .ainput:focus, body.day-mode .ctxt:focus, body.day-mode .msg-in:focus {
  border-color: #0077aa !important;
  box-shadow: 0 0 0 3px rgba(0,119,170,0.12) !important;
}
body.day-mode .rxbtn { background: #f4f6fa !important; border-color: rgba(99,120,175,0.18) !important; color: #2a3050 !important; }
body.day-mode .rxbtn:hover { background: #e6f3fb !important; border-color: #0077aa !important; }
body.day-mode .rxbtn.active { background: #e0f0f9 !important; border-color: #0077aa !important; color: #005588 !important; }
body.day-mode .tbtn { color: #2a3050 !important; border-color: rgba(99,120,175,0.20) !important; background: #f4f6fa !important; }
body.day-mode .tbtn:hover { color: #0077aa !important; border-color: #0077aa !important; background: #e6f3fb !important; }
body.day-mode .abtn { color: #5a6480 !important; }
body.day-mode .abtn:hover { color: #0077aa !important; background: rgba(0,119,170,0.06) !important; }
body.day-mode .cmt-bubble { background: #f4f6fa !important; border-color: rgba(99,120,175,0.16) !important; }
body.day-mode .ftabs { background: #f0f3f9 !important; border-color: rgba(99,120,175,0.15) !important; }
body.day-mode .ftab { color: #5a6480 !important; }
body.day-mode .ftab.active { background: #ffffff !important; color: #0077aa !important; }
body.day-mode .chat-sidebar,
body.day-mode #ht-chat-sidebar,
body.day-mode #biz-chat-sidebar { background: #f4f6fa !important; border-color: rgba(99,120,175,0.16) !important; }
body.day-mode .msgs-area { background: #eef1f6 !important; }
body.day-mode .mb.sent .mb-bubble { background: #0077aa !important; color: #ffffff !important; }
body.day-mode .mb.recv .mb-bubble { background: #ffffff !important; border-color: rgba(99,120,175,0.18) !important; color: #1a1e2e !important; }
body.day-mode .msg-in-bar,
body.day-mode .chat-win-hdr { background: rgba(255,255,255,0.95) !important; border-color: rgba(99,120,175,0.15) !important; }
body.day-mode .modal, body.day-mode .auth-card { background: #ffffff !important; border-color: rgba(99,120,175,0.18) !important; box-shadow: 0 20px 60px rgba(0,0,0,0.14) !important; }
body.day-mode .bottom-nav { background: rgba(255,255,255,0.96) !important; border-top: 1px solid rgba(99,120,175,0.16) !important; box-shadow: 0 -2px 10px rgba(0,0,0,0.06) !important; }
body.day-mode .bnav-btn { color: #8a94b0 !important; }
body.day-mode .bnav-btn.active { color: #0077aa !important; }
body.day-mode .bnav-btn.active .bni { filter: drop-shadow(0 1px 4px rgba(0,119,170,0.4)) !important; }
body.day-mode .pname { color: #1a1e2e !important; }
body.day-mode .pstn  { color: #0077aa !important; }
body.day-mode ::-webkit-scrollbar-track { background: #eef1f6 !important; }
body.day-mode ::-webkit-scrollbar-thumb { background: #b0bedb !important; }
body.day-mode ::-webkit-scrollbar-thumb:hover { background: #0077aa !important; }
body.day-mode .ni { background: #ffffff !important; border-color: rgba(99,120,175,0.14) !important; }
body.day-mode .ni:hover { background: #f0f5fb !important; }
body.day-mode .ni.unrd { background: #e6f3fb !important; border-color: rgba(0,119,170,0.25) !important; }
body.day-mode .mob-drawer { background: #f4f6fa !important; border-color: rgba(99,120,175,0.18) !important; }
body.day-mode .hamburger { border-color: rgba(99,120,175,0.25) !important; color: #2a3050 !important; }
body.day-mode #auth-screen { background: #eef1f6 !important; }
body.day-mode .asubmit { background: linear-gradient(135deg,#c0185a,#6c3bbf) !important; }
body.day-mode .vis-badge.vis-pub { background:#ddf0fc !important; color:#005588 !important; border-color:#9cd0ef !important; }
body.day-mode .vis-badge.vis-fri { background:#fef3d8 !important; color:#a05e00 !important; border-color:#f0d080 !important; }
body.day-mode .vis-badge.vis-prv { background:#fce4f0 !important; color:#9a1048 !important; border-color:#e8a0c4 !important; }
body.day-mode .nbtn { color: #2a3050 !important; }
body.day-mode .nbtn:hover, body.day-mode .nbtn.active { color: #0077aa !important; background: rgba(0,119,170,0.08) !important; }
body.day-mode .nav-av { border-color: #0077aa !important; }
body.day-mode #nav-search { background: #f0f3f9 !important; border-color: rgba(99,120,175,0.22) !important; color: #1a1e2e !important; }
body.day-mode .wtitle { color: #a05e00 !important; }
body.day-mode .stn { color: #0077aa !important; }
body.day-mode .friend-card { background: #ffffff !important; border-color: rgba(99,120,175,0.16) !important; }
body.day-mode .friend-name { color: #1a1e2e !important; }
body.day-mode .friend-user { color: #0077aa !important; }
body.day-mode .comm-name   { color: #1a1e2e !important; }
body.day-mode .comm-desc   { color: #2a3050 !important; }
body.day-mode .theme-toggle { background: #fef3d8 !important; border-color: #c47a00 !important; color: #a05e00 !important; }

/* ════════════════════════════════════════════════════════════════════════
   ☀️ DAY MODE — Refinamento de estilista: VALORIZA O PRETO + linhas firmes.
   Prefixo `html body.day-mode` (specificity maior) → ganha de TODAS as regras
   anteriores, inclusive as do bloco minificado. Tipografia mais preta/legível,
   nomes encorpados, bordas/linhas mais definidas. Não afeta o modo noite.
   ════════════════════════════════════════════════════════════════════════ */
html body.day-mode{
  --text-light:#0d1117 !important;     /* texto base: quase preto (premium) */
  --text-muted:#46506a !important;     /* secundário: ardósia escuro legível */
  --border-glow:rgba(17,24,39,.16) !important;
  color:#0d1117 !important;
}
/* Texto de LEITURA — preto rico */
html body.day-mode .pcontent,
html body.day-mode .cmt-text,
html body.day-mode .ni-txt,
html body.day-mode .comm-chat-bubble,
html body.day-mode .mb.recv .mb-bubble,
html body.day-mode .live-chat-msg,
html body.day-mode #custom-confirm-msg,
html body.day-mode .tst{
  color:#12161f !important;
}
/* NOMES, títulos e usernames — PRETO forte e encorpado (eles "pesam" na tela) */
html body.day-mode .pun,
html body.day-mode .pname,
html body.day-mode .comm-name,
html body.day-mode .friend-name,
html body.day-mode .biz-name,
html body.day-mode .ci-name,
html body.day-mode .cmt-user,
html body.day-mode .mtitle,
html body.day-mode .chat-sb-title,
html body.day-mode h1, html body.day-mode h2, html body.day-mode h3, html body.day-mode h4{
  color:#0a0d14 !important;
  font-weight:800 !important;
}
html body.day-mode .pun:hover,
html body.day-mode .cmt-user:hover{ color:#005f87 !important; }   /* vira link no hover */
/* @handle e meta — cinza-ardósia escuro (menos ruído de ciano, deixa o nome preto pop) */
html body.day-mode .phandle,
html body.day-mode .friend-user,
html body.day-mode .pt,
html body.day-mode .cmsg-time,
html body.day-mode .ni-time{
  color:#566179 !important;
  font-weight:500 !important;
}
/* Descrições / bio — cinza-escuro legível (não lavado) */
html body.day-mode .pbio,
html body.day-mode .comm-desc,
html body.day-mode .biz-desc,
html body.day-mode .cap-desc,
html body.day-mode .blast-ct,
html body.day-mode .comm-chat-bubble{
  color:#2c374e !important;
}
/* INPUTS — texto preto, foco nítido */
html body.day-mode .ainput,
html body.day-mode .ctxt,
html body.day-mode .msg-in,
html body.day-mode .cmt-input,
html body.day-mode #nav-search{
  color:#12161f !important;
}
/* BOTÕES de ação / abas — texto escuro firme (não cinza fraco) */
html body.day-mode .tbtn{ color:#27314a !important; font-weight:600 !important; }
html body.day-mode .abtn{ color:#46506a !important; }
html body.day-mode .ftab,
html body.day-mode .ptab,
html body.day-mode .pptab,
html body.day-mode .nav-tab,
html body.day-mode .nbtn,
html body.day-mode .slink{ color:#3a455e !important; font-weight:500 !important; }
html body.day-mode .bnav-btn{ color:#5b6678 !important; }
/* LINHAS / BORDAS — mais definidas (estrutura visível, look limpo) */
html body.day-mode .post-card,
html body.day-mode .composer,
html body.day-mode .wcard,
html body.day-mode .user-mini,
html body.day-mode .comm-card,
html body.day-mode .friend-card,
html body.day-mode .biz-card,
html body.day-mode .dash-card,
html body.day-mode .cmt-bubble,
html body.day-mode .ni,
html body.day-mode .modal,
html body.day-mode .auth-card,
html body.day-mode .ftabs,
html body.day-mode .ainput,
html body.day-mode .ctxt,
html body.day-mode .msg-in,
html body.day-mode .tbtn,
html body.day-mode .rxbtn,
html body.day-mode .sl,
html body.day-mode .sr,
html body.day-mode .comm-chat-bubble{
  border-color:#d2d9e4 !important;
}
/* Divisores estruturais (nav, abas de página, bottom-nav, hr) */
html body.day-mode nav,
html body.day-mode .page-tabs,
html body.day-mode #home-page-tabs,
html body.day-mode .profile-page-tabs,
html body.day-mode .bottom-nav,
html body.day-mode hr{ border-color:#d2d9e4 !important; }

/* ── OlhaAqui label: modo dia ── */
body.day-mode .oa-rail-label {
  color: #c0185a !important;
  background: linear-gradient(90deg, rgba(192,24,90,0.10) 0%, rgba(244,246,250,0.97) 100%) !important;
  border-color: #c0185a !important;
  border-left-color: #c0185a !important;
  text-shadow: none !important;
  box-shadow: 0 2px 8px rgba(192,24,90,0.15) !important;
  animation: none !important;
}
body.day-mode .oa-rail-label::before {
  background: #c0185a !important;
  box-shadow: none !important;
  animation: oa-dot-blink 1s step-start infinite;
}
body.day-mode .oa-rail {
  background: #ffffff !important;
  border-color: rgba(99,120,175,0.16) !important;
}
body.day-mode .oa-name {
  color: #2a3050 !important;
}

/* ══════════════════════════════════════════════════════════════════
   MODO DIA — REFINAMENTO DE DESIGN (16/jun/2026)
   Princípio: cor = interação/marca. Texto, números e rótulos = preto/cinza.
   Usa html body.day-mode (2 ancestrais) + !important → vence tudo sem tocar noite.
   ══════════════════════════════════════════════════════════════════ */

/* ── NÚMEROS e ESTATÍSTICAS: preto forte (antes teal #008b9e ou âmbar #d97706) ── */
html body.day-mode .ums,
html body.day-mode .stn,
html body.day-mode .pstn,
html body.day-mode .dash-num,
html body.day-mode .biz-stat-n,
html body.day-mode .vcd { color:#0f172a !important; font-weight:700 !important; text-shadow:none !important; }

/* ── RÓTULOS de estatística: cinza legível (antes #9ca3af — muito claro) ── */
html body.day-mode .stl,
html body.day-mode .slbl,
html body.day-mode .pstl,
html body.day-mode .vcl,
html body.day-mode .tcnt,
html body.day-mode .biz-stat-l { color:#6b7280 !important; font-weight:400 !important; }

/* ── TAGS e RÓTULOS de categoria: escuro, não ciano ── */
html body.day-mode .ttag { color:#1e293b !important; font-weight:600 !important; }
html body.day-mode .biz-segment { color:#4b5563 !important; font-weight:500 !important; }

/* ── TÍTULOS de widget/seção: preto (antes âmbar) ── */
html body.day-mode .wtitle { color:#0f172a !important; font-weight:700 !important; }

/* ── XP / LEVEL: sem roxo nem ciano ── */
html body.day-mode .lvl-name { color:#0f172a !important; font-weight:700 !important; }
html body.day-mode .lvl-badge { background:#f5f7fa !important; border-color:#d2d9e4 !important; }
html body.day-mode .xpfill { background:linear-gradient(90deg,#4b5563,#111827) !important; }

/* ── PREÇO de produto: preto bold (antes neon-cyan) ── */
html body.day-mode .prod-price { color:#0f172a !important; font-weight:800 !important; }

/* ── STREAK card: fundo neutro, número preto (antes fundo amarelo/âmbar) ── */
html body.day-mode .blast { background:#f5f7fa !important; border-color:#d2d9e4 !important; }
html body.day-mode .blast-yr { color:#111827 !important; font-weight:800 !important; }

/* ── VERIFICAÇÃO / SELO: card neutro ── */
html body.day-mode .vc { background:#f5f7fa !important; border-color:#d2d9e4 !important; }

/* ── BANNER da loja e CAPA do perfil: gradiente neutro cinza (antes teal/roxo) ── */
html body.day-mode .biz-banner,
html body.day-mode #page-profile .pcov { background:linear-gradient(135deg,#eef1f7,#e5e9f2) !important; }

/* ── STATS da loja: fundo neutro (antes teal rgba) ── */
html body.day-mode .biz-stats { background:#f5f7fa !important; border-color:#d2d9e4 !important; }

/* ── HOVER/ACTIVE de chat items: neutro (antes #e0f7fa teal claro) ── */
html body.day-mode .ci:hover { background:#f5f7fa !important; }
html body.day-mode .ci.active { background:#eef1f7 !important; }

/* ── NOTIFICAÇÃO não-lida: cinza neutro (antes teal #e0f7fa) ── */
html body.day-mode .ni.unrd { background:#eef1f7 !important; border-color:#d2d9e4 !important; }
html body.day-mode .ni:hover { background:#f5f7fa !important; }

/* ── REAÇÕES: hover/active neutro (antes teal) ── */
html body.day-mode .rxbtn:hover { background:#f5f7fa !important; border-color:#c8d0da !important; }
html body.day-mode .rxbtn.active { background:#eef1f7 !important; border-color:#374151 !important; color:#0f172a !important; }

/* ── HOVER dos cards: borda cinza, sombra neutra (antes teal) ── */
html body.day-mode .post-card:hover { border-color:#94a3b8 !important; box-shadow:0 2px 12px rgba(0,0,0,.08) !important; }
html body.day-mode .friend-card:hover,
html body.day-mode .comm-card:hover { border-color:#94a3b8 !important; }
html body.day-mode .biz-card:hover { border-color:#94a3b8 !important; box-shadow:0 4px 16px rgba(0,0,0,.10) !important; }

/* ── BIZ logo: borda cinza (antes borda neon-cyan) ── */
html body.day-mode .biz-logo { border-color:#d2d9e4 !important; }

/* ── AUTH tab ativa: fundo neutro, texto preto (antes gradiente teal/roxo) ── */
html body.day-mode .atab.active { background:rgba(0,0,0,.06) !important; color:#111827 !important; font-weight:700 !important; }

/* ── SCROLLBAR: cinza neutro (antes teal) ── */
html body.day-mode ::-webkit-scrollbar-thumb { background:#c8d0db !important; }
html body.day-mode ::-webkit-scrollbar-thumb:hover { background:#94a3b8 !important; }

/* ── FIM REFINAMENTO MODO DIA ─────────────────────────────────────── */

/* ════════════════════════════════════════════════════════════════════════
   ☀️ MODO DIA — AJUSTE DE ESTILISTA v2 (16/jun/2026)
   Pedido do dono: fundo cinza neutro (não azulado/pastel), ícones do topo
   chapados em cinza-escuro (sem círculo colorido/glow), cards brancos com
   sombra sutil, bottom-nav com traço mais firme e cinza médio. Cor reservada
   só pra ação/marca/notificação. `html body.day-mode` (2 ancestrais) +
   !important → vence tudo, inclusive inline `color:var(--neon-*)`. Noite intacta.
   ════════════════════════════════════════════════════════════════════════ */

/* 1 · FUNDO — cinza claro NEUTRO (#F0F2F5); branco reservado aos cards/chat */
html body.day-mode{
  --bg-deep:#f0f2f5 !important;          /* fundo geral do app */
  --bg-mid:#f6f7f9 !important;           /* superfícies neutras */
  --bg-card:#ffffff !important;          /* cards/posts/balões = branco puro */
  background:#f0f2f5 !important;
}
html body.day-mode #auth-screen{ background:#f0f2f5 !important; }
html body.day-mode .msgs-area{ background:#f0f2f5 !important; }   /* fundo do chat neutro, balões brancos */

/* 2 · HEADER / ÍCONES DO TOPO (🔥 🌙 🔔) — chapados, cinza-escuro, SEM círculo
      colorido nem sombra neon. Cor só no estado ativo/hover ou na notificação. */
html body.day-mode .theme-toggle{
  background:transparent !important;
  border:1px solid #dadee5 !important;
  color:#4a4a4a !important;
  box-shadow:none !important;
}
html body.day-mode .theme-toggle:hover{
  background:#eceef2 !important;
  border-color:#c4cad4 !important;
  color:#1c1c1e !important;
}
/* Logo: sem glow no dia (letras/marca chapadas; o neon fica pro modo noite) */
html body.day-mode .nav-logo,
html body.day-mode #nav-logo-img{ text-shadow:none !important; filter:none !important; }
/* Badge de notificação: ponto vermelho limpo, sem gradiente nem brilho */
html body.day-mode .nbadge{
  background:#e0245e !important;
  box-shadow:none !important;
  color:#fff !important;
}

/* 3 · CARDS / POSTS — branco, separados do fundo por SOMBRA sutil + borda leve
      (nada de borda colorida). Look clean. */
html body.day-mode .post-card,
html body.day-mode .repost-card{
  background:#ffffff !important;
  border:1px solid #e6e8ec !important;
  box-shadow:0 1px 3px rgba(0,0,0,.08) !important;
}
html body.day-mode .post-card:hover,
html body.day-mode .repost-card:hover{
  border-color:#cfd4dc !important;
  box-shadow:0 3px 10px rgba(0,0,0,.10) !important;
}
html body.day-mode .composer,
html body.day-mode .wcard,
html body.day-mode .biz-card,
html body.day-mode .comm-card,
html body.day-mode .friend-card{
  background:#ffffff !important;
  border:1px solid #e6e8ec !important;
  box-shadow:0 1px 3px rgba(0,0,0,.06) !important;
}

/* 4 · BOTTOM-NAV — traço mais firme, inativo cinza médio (#65676B);
      ativo na cor da marca (chapado, sem glow). */
html body.day-mode .bnav-btn{ color:#65676b !important; }
html body.day-mode .bni{ stroke-width:2.1 !important; filter:none !important; }
html body.day-mode .bnav-btn.active{ color:#0077aa !important; }
html body.day-mode .bnav-btn.active .bni{
  stroke-width:2.4 !important;
  stroke:#0077aa !important;
  filter:none !important;
}

/* 5 · AÇÕES SECUNDÁRIAS — fundo cinza claro + texto escuro (cor vibrante fica
      só nos CTAs principais: Postar/Enviar/Assinar, que seguem com gradiente). */
html body.day-mode .biz-follow-btn{
  background:#eef0f3 !important;
  border:1px solid #dadee5 !important;
  color:#27314a !important;
}
html body.day-mode .biz-follow-btn:hover{ background:#e3e6ec !important; color:#0077aa !important; }

/* Botões Seguir/Membro (header do post .pf-btn e página do canal .comm-join):
   uma ÚNICA cor de marca no estado AÇÃO (mata o arco-íris teal/amarelo/roxo);
   estado "já segue/membro" vira cinza neutro com texto escuro (look "feito"). */
html body.day-mode .pf-btn,
html body.day-mode .comm-join{
  background:#0077aa !important;
  color:#ffffff !important;
  border:1px solid #0077aa !important;
  box-shadow:none !important;
}
html body.day-mode .pf-btn.pf-joined,
html body.day-mode .comm-join.joined,
html body.day-mode .biz-follow-btn.following{
  background:#eef0f3 !important;
  color:#27314a !important;
  border:1px solid #dadee5 !important;
  box-shadow:none !important;
}

/* Botões SECUNDÁRIOS "ghost" do header do perfil e do popup mini-perfil
   (+ Amigo, Chat, Denunciar, Share, Ver Perfil). No dia, o gradiente
   !important do .post-btn os pintava de rosa com texto colorido (clash);
   viram cinza claro + texto escuro. CTAs (Seguir/Apoiar) seguem coloridos.
   Noite intacta: sem regra .pf-ghost fora de day-mode → inline original vale. */
html body.day-mode .post-btn.pf-ghost{
  background:#eef0f3 !important;
  color:#27314a !important;
  border:1px solid #dadee5 !important;
  box-shadow:none !important;
}
html body.day-mode .post-btn.pf-ghost:hover{ background:#e3e6ec !important; color:#0077aa !important; }
/* Bloquear = mantém a affordance de risco (texto vermelho) sobre fundo neutro */
html body.day-mode .post-btn.pf-ghost-danger{
  background:#eef0f3 !important;
  color:#c0185a !important;
  border:1px solid #dadee5 !important;
  box-shadow:none !important;
}
html body.day-mode .post-btn.pf-ghost-danger:hover{ background:#fbe9ef !important; border-color:#e8a0c4 !important; }

/* ── FIM AJUSTE MODO DIA v2 ───────────────────────────────────────── */

/* ── Super Story Premium — anel dourado girando ──────────────────── */
.oa-prem-ring {
  position: relative !important;
  width: 75px !important;
  height: 75px !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  background: conic-gradient(#FFD700, #FF8C00, #FFFACD, #FF8C00, #FFD700, #FFA500, #FFD700) !important;
  animation: oa-gold-spin 2s linear infinite !important;
  box-shadow: 0 0 14px 4px rgba(255,215,0,.65) !important;
  padding: 3px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.oa-prem-ring > img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid #0a0e27 !important;
  background: #0a0e27 !important;
  animation: oa-gold-unspin 2s linear infinite !important;
  display: block !important;
}
@keyframes oa-gold-spin   { to { transform: rotate(360deg); } }
@keyframes oa-gold-unspin { to { transform: rotate(-360deg); } }
/* ── Super Post Premium badge no feed ─────────────────────────────── */
.biz-super-badge {
  background: linear-gradient(90deg,rgba(167,139,250,.2),rgba(245,158,11,.2));
  color: #F59E0B;
  border: 1px solid rgba(245,158,11,.5);
  border-radius: 6px;
  font-size: 9px;
  padding: 2px 8px;
  font-weight: 700;
}

/* ── 6. Profile action buttons mobile layout ─────────────────────── */
.profile-action-btns {
  display: flex !important;
  gap: 4px !important;
  flex-wrap: wrap !important;
  margin-top: 8px !important;
}

/* ── Botões de ação do perfil no mobile ── */
.profile-action-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
@media(max-width:768px){
  .profile-action-btns {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    width: 100% !important;
    margin-top: 8px !important;
  }
  .profile-action-btns button {
    width: 100% !important;
    font-size: 10px !important;
    padding: 7px 6px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}
@media(max-width:380px){
  .profile-action-btns {
    grid-template-columns: 1fr !important;
  }
  .profile-action-btns button {
    font-size: 9px !important;
  }
}
/* ── Notificação do dono do negócio (toast clicável) ── */
@keyframes _bizBellShake{0%,100%{transform:rotate(0)}20%{transform:rotate(-22deg)}40%{transform:rotate(22deg)}60%{transform:rotate(-14deg)}80%{transform:rotate(14deg)}}
/* ── Nudge "wizard completo" + pulso do botão Proposta ── */
@keyframes _bizNudgePulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.75;transform:scale(1.03)}}

/* ── 🎬 Vídeos do Canal (YouTube-style EuAqui) ── */
.cv-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,300px));
  justify-content:flex-start;
  gap:16px 14px;
  padding:4px 0 16px;
}
.cv-card{
  background:var(--bg-card,#0a0a2a);
  border:1px solid var(--border-glow,rgba(0,255,204,.15));
  border-radius:12px;
  overflow:hidden;
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display:flex;
  flex-direction:column;
}
.cv-card:hover{
  transform:translateY(-2px);
  border-color:rgba(0,255,204,.55);
  box-shadow:0 6px 22px rgba(0,255,204,.18);
}
.cv-card:hover .cv-play-overlay{ opacity:1; }
.cv-thumb{
  position:relative;
  width:100%;
  height:0;
  padding-bottom:56.25%; /* 16:9 forçado */
  background:#000;
  overflow:hidden;
}
.cv-thumb canvas{
  position:absolute; inset:0;
  width:100% !important; height:100% !important;
  display:block;
  object-fit:cover;
  background:linear-gradient(135deg,#0a0a2a,#1a0a3a);
}
.cv-thumb-fallback{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  font-size:38px;
  color:rgba(0,255,204,.4);
  background:linear-gradient(135deg,#0a0a2a,#1a0a3a);
}
.cv-play-overlay{
  position:absolute; inset:0;
  background:radial-gradient(circle at center, rgba(0,0,0,.15) 0%, rgba(0,0,0,.6) 100%);
  display:flex; align-items:center; justify-content:center;
  opacity:0;
  transition:opacity .2s ease;
  pointer-events:none;
}
.cv-play-btn{
  width:48px; height:48px;
  border-radius:50%;
  background:rgba(255,51,102,.95);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:18px;
  padding-left:3px;
  box-shadow:0 4px 16px rgba(255,51,102,.55);
}
.cv-views-badge{
  position:absolute;
  bottom:6px; right:6px;
  background:rgba(0,0,0,.82);
  color:#fff;
  font-family:'Space Mono',monospace;
  font-size:10px;
  padding:2px 7px;
  border-radius:5px;
  letter-spacing:.3px;
  z-index:2;
}
.cv-info{
  display:flex;
  gap:9px;
  padding:10px 11px 12px;
  align-items:flex-start;
}
.cv-avatar{
  width:32px; height:32px;
  border-radius:50%;
  object-fit:cover;
  flex-shrink:0;
  border:1.5px solid rgba(0,255,204,.35);
}
.cv-meta{ flex:1; min-width:0; }
.cv-title{
  font-family:'Space Mono',monospace;
  font-size:12.5px;
  color:var(--text-light,#e0e0ff);
  font-weight:600;
  line-height:1.35;
  margin-bottom:4px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.cv-author{
  font-size:10.5px;
  color:var(--neon-cyan,#00ffcc);
  margin-bottom:3px;
  font-family:'Space Mono',monospace;
}
.cv-stats{
  display:flex; gap:4px;
  flex-wrap:wrap;
  font-size:10px;
  color:var(--text-muted,#7a7a9c);
  font-family:'Space Mono',monospace;
  align-items:center;
}
.cv-stats span{ white-space:nowrap; }
.cv-sort-btn{ transition:all .18s ease; }
.cv-sort-btn:hover{ filter:brightness(1.15); }

/* ── Lightbox modal de player ── */
.cv-lightbox{
  position:fixed; inset:0;
  background:rgba(0,0,0,.92);
  z-index:9999;
  display:flex;
  align-items:center; justify-content:center;
  padding:20px;
  backdrop-filter:blur(8px);
  animation:cvFadeIn .2s ease;
}
@keyframes cvFadeIn{ from{opacity:0} to{opacity:1} }
.cv-lb-inner{
  background:var(--bg-card,#0a0a2a);
  border:1px solid var(--border-glow,rgba(0,255,204,.3));
  border-radius:14px;
  max-width:900px;
  width:100%;
  max-height:92vh;
  overflow-y:auto;
  box-shadow:0 0 60px rgba(0,255,204,.2);
}
.cv-lb-video-wrap{
  position:relative;
  width:100%;
  background:#000;
}
.cv-lb-video{
  width:100%;
  max-height:60vh;
  display:block;
  background:#000;
}
.cv-lb-close{
  position:absolute;
  top:10px; right:10px;
  width:34px; height:34px;
  border-radius:50%;
  background:rgba(0,0,0,.75);
  border:1px solid rgba(255,255,255,.2);
  color:#fff;
  cursor:pointer;
  font-size:16px;
  display:flex; align-items:center; justify-content:center;
  z-index:5;
  transition:background .15s, transform .15s;
}
.cv-lb-close:hover{ background:rgba(255,51,102,.7); transform:scale(1.08); }
.cv-lb-meta{ padding:16px 18px 18px; }
.cv-lb-title{
  font-family:'Space Mono',monospace;
  font-size:15px;
  color:var(--text-light,#e0e0ff);
  font-weight:700;
  line-height:1.4;
  margin-bottom:10px;
}
.cv-lb-author-row{
  display:flex; align-items:center; gap:10px;
  padding:10px 0;
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
  margin-bottom:12px;
}
.cv-lb-author-av{
  width:38px; height:38px; border-radius:50%;
  object-fit:cover;
  border:2px solid rgba(0,255,204,.4);
}
.cv-lb-author-info{ flex:1; min-width:0; }
.cv-lb-author-name{
  font-family:'Space Mono',monospace;
  font-size:12px;
  color:var(--text-light,#e0e0ff);
  font-weight:600;
}
.cv-lb-author-user{
  font-size:10.5px;
  color:var(--neon-cyan,#00ffcc);
  font-family:'Space Mono',monospace;
}
.cv-lb-stats{
  display:flex; gap:14px;
  flex-wrap:wrap;
  font-size:11px;
  color:var(--text-muted,#7a7a9c);
  font-family:'Space Mono',monospace;
}
.cv-lb-stats b{ color:var(--text-light,#e0e0ff); font-weight:600; }
.cv-lb-actions{
  display:flex; gap:8px; flex-wrap:wrap;
  margin-top:12px;
}
.cv-lb-actions button{
  background:rgba(0,255,204,.08);
  border:1px solid rgba(0,255,204,.3);
  color:var(--neon-cyan,#00ffcc);
  border-radius:8px;
  padding:7px 14px;
  font-family:'Space Mono',monospace;
  font-size:11px;
  cursor:pointer;
  transition:all .15s;
}
.cv-lb-actions button:hover{
  background:rgba(0,255,204,.18);
  transform:translateY(-1px);
}
.cv-lb-actions button.cv-lb-liked{
  background:rgba(255,51,102,.15);
  border-color:rgba(255,51,102,.45);
  color:var(--neon-pink,#ff3366);
}

/* Day mode */
body.day-mode .cv-card{ background:#ffffff; border-color:#e2e8f0; }
body.day-mode .cv-card:hover{ border-color:rgba(0,119,168,.45); box-shadow:0 6px 22px rgba(0,119,168,.14); }
body.day-mode .cv-title{ color:#0f172a; }
body.day-mode .cv-author{ color:#0077a8; }
body.day-mode .cv-stats{ color:#64748b; }
body.day-mode .cv-avatar{ border-color:rgba(0,119,168,.35); }
body.day-mode .cv-lb-inner{ background:#ffffff; border-color:#cbd5e1; }
body.day-mode .cv-lb-title{ color:#0f172a; }
body.day-mode .cv-lb-author-name{ color:#0f172a; }
body.day-mode .cv-lb-author-user{ color:#0077a8; }
body.day-mode .cv-lb-stats{ color:#64748b; }
body.day-mode .cv-lb-stats b{ color:#0f172a; }

/* Mobile */
@media(max-width:640px){
  .cv-grid{ grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:12px 10px; }
  .cv-play-btn{ width:42px; height:42px; font-size:16px; }
  .cv-avatar{ width:28px; height:28px; }
  .cv-title{ font-size:11.5px; }
  .cv-lb-inner{ max-height:96vh; border-radius:10px; }
  .cv-lb-meta{ padding:12px 14px 14px; }
  .cv-lb-title{ font-size:13.5px; }
}
.pf-btn{display:inline-block;font-size:9px;padding:4px 12px;border-radius:20px;cursor:pointer;white-space:nowrap;font-family:'Silkscreen','Space Mono',monospace;background:linear-gradient(135deg,var(--neon-cyan),#00ccaa);border:1px solid transparent;color:#0a0a2a;font-weight:700;transition:transform .15s,box-shadow .15s,filter .15s;line-height:1.4;letter-spacing:.4px;user-select:none;box-shadow:0 2px 8px rgba(0,255,204,.3);text-shadow:none;}
.pf-btn:hover{filter:brightness(1.12);box-shadow:0 4px 12px rgba(0,255,204,.5);transform:translateY(-1px);}
.pf-btn.pf-joined{background:transparent;color:var(--neon-cyan);border-color:rgba(0,255,204,.5);box-shadow:none;font-weight:600;}
.pf-btn.pf-joined:hover{background:rgba(0,255,204,.08);transform:none;box-shadow:none;filter:none;}
.pf-btn.pf-biz{background:linear-gradient(135deg,var(--neon-yellow),#ffaa00);color:#0a0a2a;box-shadow:0 2px 8px rgba(255,204,0,.3);}
.pf-btn.pf-biz:hover{box-shadow:0 4px 12px rgba(255,204,0,.5);}
.pf-btn.pf-biz.pf-joined{background:transparent;color:var(--neon-yellow);border-color:rgba(255,204,0,.5);box-shadow:none;}
.pf-btn.pf-biz.pf-joined:hover{background:rgba(255,204,0,.08);}
.pf-btn[data-busy="1"]{opacity:.5;pointer-events:none;}

/* ══════════════════════════════════════════════════════════════════
   ♿ ACESSIBILIDADE BASE (Quick Win #3) — só FOCO DE TECLADO global.
   Obs.: prefers-reduced-motion JÁ é tratado de forma abrangente no
   bloco "A1 — Sprint 1 · Acessibilidade" mais abaixo → NÃO duplico.
   E o único :focus-visible existente era escopado em .pwd-toggle;
   este aqui é global (cobre todo botão/link/input navegado por Tab).
   ══════════════════════════════════════════════════════════════════ */
:focus-visible{
  outline: 2px solid var(--neon-cyan, #00ffcc) !important;
  outline-offset: 2px !important;
  border-radius: 4px;
}
:focus:not(:focus-visible){ outline: none !important; }

/* ── 🎬 Vídeo do feed: alinha ao TOPO (mostra o rosto, corta a parte de baixo).
   Mantém o tamanho/formato atual (width 100% + max-height 560px do .mi video);
   só muda o ponto de corte do center pro topo. object-fit:cover garante que
   vídeo vertical preencha a largura (sem tarja preta) cortando embaixo. ── */
.mi video, .media-carousel-slide video, video.feed-video {
  object-fit: cover !important;
  object-position: 50% 0% !important;
}
