/* =============================================================================
   Tema NEON — BrasilTeamSpeak (brand.home_style = 'neon')
   Carregado DEPOIS do app.css e do Brand::cssVars(): redefine as variáveis para
   fundo navy escuro e acentos neon (verde › ciano › azul) e ajusta os componentes
   que o app.css pinta com cores claras fixas.
   ============================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&family=Sora:wght@400;500;600;700&display=swap');

:root {
    --neon-green: #22ff88;
    --neon-cyan:  #22d3ee;
    --neon-blue:  #2f80ff;
    --neon-amber: #ffb020;
    --neon-red:   #ff5c6a;
    --bg:         #0a0f1c;
    --bg-2:       #0e1527;
    --card:       #121b2e;
    --card-2:     #172239;
    --line:       rgba(255,255,255,.08);
    --line-2:     rgba(255,255,255,.14);
    --txt:        #e8eef9;
    --txt-2:      #c3cde0;
    --muted:      #95a3bd;
    --glow-green: 0 0 24px rgba(34,255,136,.28);
    --glow-cyan:  0 0 24px rgba(34,211,238,.28);
    --glow-blue:  0 0 24px rgba(47,128,255,.32);

    /* --- variáveis do app.css remapeadas para o tema escuro --- */
    --primary:        var(--neon-green);
    --primary-hover:  #5fffa8;
    --primary-light:  var(--neon-cyan);
    --primary-bg:     rgba(34,255,136,.08);
    --primary-mid:    var(--neon-cyan);
    --dark:           #0b1222;
    --dark-2:         #101a30;
    --gray-900:       var(--txt);
    --gray-700:       var(--txt-2);
    --gray-500:       var(--muted);
    --gray-300:       #2a3652;
    --gray-200:       #1c2740;
    --gray-100:       #141d31;
    --gray-50:        transparent;
    --white:          var(--card);
    --success:        #34e89e;
    --success-bg:     rgba(52,232,158,.12);
    --warning:        var(--neon-amber);
    --warning-bg:     rgba(255,176,32,.12);
    --danger:         var(--neon-red);
    --danger-bg:      rgba(255,92,106,.12);
    --info:           var(--neon-cyan);
    --info-bg:        rgba(34,211,238,.12);
    --border:         var(--line);
    --shadow-sm:      0 1px 2px rgba(0,0,0,.4);
    --shadow:         0 10px 30px rgba(0,0,0,.35);
    --shadow-lg:      0 24px 60px rgba(0,0,0,.5);
    --radius:         12px;
    --radius-lg:      18px;
    --radius-sm:      9px;
    --font:           'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display:   'Chakra Petch', 'Sora', system-ui, sans-serif;
}

/* ---------- base ---------- */
html { color-scheme: dark; }
body {
    background: radial-gradient(900px 520px at 6% -8%, rgba(34,255,136,.09), transparent 60%),
                radial-gradient(1000px 640px at 100% 110%, rgba(47,128,255,.14), transparent 60%),
                var(--bg);
    color: var(--txt);
    position: relative;
}
body::before {
    content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 48px 48px;
}
body > * { position: relative; z-index: 1; }
a { color: var(--neon-cyan); }
a:hover { color: var(--neon-green); }
h1, h2, h3, .main-header h1, .card h2, .auth-card h1, .kpi .value {
    font-family: var(--font-display); letter-spacing: .01em;
}
h1, h2, h3 { color: var(--txt); }
hr { border-top-color: var(--line); }
::selection { background: rgba(34,255,136,.35); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #22304f; border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- botões ---------- */
.btn { font-weight: 600; border-radius: 12px; transition: transform .15s, box-shadow .15s, filter .15s; }
.btn-primary, .btn-success {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
    color: #06121c; border: none; box-shadow: var(--glow-green);
    font-family: var(--font-display); font-weight: 700; letter-spacing: .02em;
}
.btn-primary:hover, .btn-success:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 0 34px rgba(34,255,136,.45); color: #06121c; }
.btn-secondary { background: linear-gradient(135deg, #3b8cff, #2f5cff); color: #fff; border: none; box-shadow: var(--glow-blue); }
.btn-secondary:hover { filter: brightness(1.08); transform: translateY(-1px); color: #fff; }
.btn-ghost { background: transparent; color: var(--txt); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.05); border-color: var(--neon-cyan); color: var(--neon-cyan); }
.btn-danger { background: rgba(255,92,106,.12); color: var(--neon-red); border: 1px solid rgba(255,92,106,.4); }
.btn-danger:hover { background: rgba(255,92,106,.24); color: #fff; }
.btn:disabled { filter: grayscale(.6); box-shadow: none; }

/* ---------- shell do cliente (sidebar) ---------- */
.app-shell { grid-template-columns: 264px 1fr; }
.sidebar {
    background: rgba(14,21,39,.86); backdrop-filter: blur(10px);
    border-right: 1px solid var(--line);
}
.sidebar .brand { border-bottom-color: var(--line); padding: .25rem 1.25rem 1.25rem; }
.sidebar .brand img { height: 36px; width: auto; display: block; }
.sidebar nav a { color: var(--muted); border-left: 0; margin: 2px 10px; padding: .7rem 1rem; border-radius: 12px; }
.sidebar nav a:hover { background: rgba(255,255,255,.05); color: var(--txt); }
.sidebar nav a.active {
    background: linear-gradient(90deg, rgba(34,255,136,.16), rgba(34,211,238,.04));
    color: var(--txt); box-shadow: inset 3px 0 0 var(--neon-green), 0 0 24px rgba(34,255,136,.10);
}
.sidebar nav a.active svg { color: var(--neon-green); opacity: 1; }
.sidebar .divider { color: rgba(255,255,255,.35); }
.sidebar .foot { border-top-color: var(--line); }
.sidebar .foot .avatar { background: linear-gradient(135deg, var(--neon-green), var(--neon-blue)); color: #06121c; font-family: var(--font-display); }
.sidebar .foot .logout-btn { border-color: var(--line-2); color: var(--muted); }
.neon-status {
    margin: .75rem 1.25rem 0; padding: .9rem 1rem; border-radius: 14px;
    border: 1px solid rgba(34,211,238,.25);
    background: linear-gradient(160deg, rgba(34,211,238,.10), rgba(47,128,255,.06));
}
.neon-status strong { display: flex; align-items: center; gap: .4rem; font-family: var(--font-display); color: var(--neon-cyan); font-size: .85rem; }
.neon-status strong svg { width: 16px; height: 16px; }
.neon-status span { display: block; font-size: .74rem; color: var(--muted); margin-top: .3rem; line-height: 1.45; }
.main { background: transparent; }
.main-header h1 { font-size: 1.9rem; }
.main-header .sub { color: var(--muted); }
.neon-rule { width: 72px; height: 3px; border-radius: 3px; margin-top: .6rem;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan), var(--neon-blue)); box-shadow: 0 0 18px rgba(34,255,136,.6); }

/* ---------- cards / kpis / tabelas ---------- */
.kpi { background: var(--card); border-color: var(--line); }
.kpi .value { color: var(--txt); }
.card { background: var(--card); border-color: var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.28); }
.card:hover { box-shadow: 0 14px 36px rgba(0,0,0,.36), 0 0 0 1px rgba(34,211,238,.10); }
.card h2, .card h3 { color: var(--txt); }
.card-head { border-bottom-color: var(--line); }
.table { background: var(--card); border-color: var(--line); color: var(--txt-2); }
.table th, .table td { border-bottom-color: var(--line); }
.table thead th { background: rgba(255,255,255,.03); color: var(--muted); }
.table tbody tr:hover { background: rgba(34,211,238,.05); }
.table code { background: rgba(34,211,238,.10); color: var(--neon-cyan); }
code, pre { color: var(--neon-cyan); }

/* ---------- badges / alerts ---------- */
.badge { border: 1px solid transparent; }
.badge-success { background: rgba(52,232,158,.12); color: #34e89e; border-color: rgba(52,232,158,.35); }
.badge-warning { background: rgba(255,176,32,.12); color: var(--neon-amber); border-color: rgba(255,176,32,.35); }
.badge-danger  { background: rgba(255,92,106,.12); color: var(--neon-red);  border-color: rgba(255,92,106,.35); }
.badge-info    { background: rgba(34,211,238,.12); color: var(--neon-cyan); border-color: rgba(34,211,238,.35); }
.badge-muted   { background: rgba(255,255,255,.06); color: var(--muted); border-color: var(--line); }
.alert { border: 1px solid var(--line); border-left-width: 4px; }
.alert-success { background: rgba(52,232,158,.10); color: #b9ffe0; border-left-color: #34e89e; }
.alert-error   { background: rgba(255,92,106,.10); color: #ffc4ca; border-left-color: var(--neon-red); }
.alert-warning { background: rgba(255,176,32,.10); color: #ffe1a6; border-left-color: var(--neon-amber); }
.alert-info    { background: rgba(34,211,238,.10); color: #bff2fb; border-left-color: var(--neon-cyan); }

/* ---------- formulários ---------- */
.form-group label { color: var(--txt-2); }
.form-control { background: rgba(0,0,0,.28); border-color: var(--line-2); color: var(--txt); }
.form-control::placeholder { color: rgba(149,163,189,.6); }
.form-control:focus { border-color: var(--neon-cyan); box-shadow: 0 0 0 3px rgba(34,211,238,.18), var(--glow-cyan); }
.form-control.is-invalid { border-color: var(--neon-red); }
.form-control.is-valid { border-color: #34e89e; }
select.form-control option { background: var(--card); color: var(--txt); }
.form-hint { color: var(--muted); }

/* ---------- login / cadastro ---------- */
.auth-wrap { background: transparent; }
.auth-card {
    background: rgba(18,27,46,.9); border: 1px solid rgba(34,211,238,.22);
    box-shadow: 0 0 0 1px rgba(34,255,136,.06), 0 30px 80px rgba(0,0,0,.5), 0 0 60px rgba(34,211,238,.10);
    border-radius: 22px;
}
.auth-card p.sub, .auth-card .link-line { color: var(--muted); }

/* ---------- abas do painel do servidor ---------- */
.server-tabs { border-bottom-color: var(--line); }
.server-tab { color: var(--muted); }
.server-tab:hover { color: var(--txt); }
.server-tab.active { color: var(--neon-green); border-bottom-color: var(--neon-green); text-shadow: 0 0 14px rgba(34,255,136,.5); }

/* ---------- planos (cards antigos, caso apareçam) ---------- */
.plan-card { background: var(--card); border-color: var(--line); }
.plan-card.featured { border-color: rgba(34,255,136,.45); box-shadow: var(--glow-green); }
.plan-card .price, .plan-card h3 { color: var(--txt); }

/* ---------- aviso (modal) ---------- */
.notice-modal { background: var(--card); color: var(--txt); border: 1px solid var(--line-2); }

/* ---------- shell público (site_neon) ---------- */
.nx-shell { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.nx-top {
    grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between;
    height: 72px; padding: 0 1.75rem 0 1.5rem; border-bottom: 1px solid var(--line);
    background: rgba(10,15,28,.78); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 30;
}
.nx-top .nx-logo img { height: 38px; width: auto; display: block; }
.nx-top .nx-acts { display: flex; align-items: center; gap: .6rem; }
.nx-top .nx-acts a { display: inline-flex; align-items: center; gap: .5rem; height: 42px; padding: 0 1.1rem;
    border-radius: 12px; border: 1px solid var(--line-2); color: var(--txt); font-size: .9rem; font-weight: 500; text-decoration: none; transition: all .15s; }
.nx-top .nx-acts a:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); }
.nx-top .nx-acts a.nx-cta { background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan)); color: #06121c; border: none;
    font-family: var(--font-display); font-weight: 700; letter-spacing: .02em; box-shadow: var(--glow-green); }
.nx-top .nx-acts a.nx-cta:hover { filter: brightness(1.08); transform: translateY(-1px); color: #06121c; }
.nx-top .nx-acts a svg { width: 18px; height: 18px; }
.nx-side {
    background: rgba(14,21,39,.78); border-right: 1px solid var(--line);
    padding: 1.25rem 1rem; display: flex; flex-direction: column; gap: 4px;
    position: sticky; top: 72px; height: calc(100vh - 72px); overflow-y: auto;
}
.nx-side a { display: flex; align-items: center; gap: .75rem; padding: .75rem .9rem; border-radius: 12px;
    color: var(--muted); font-size: .95rem; font-weight: 500; text-decoration: none; transition: all .15s; }
.nx-side a svg { width: 20px; height: 20px; flex: none; }
.nx-side a:hover { background: rgba(255,255,255,.05); color: var(--txt); }
.nx-side a.active { background: linear-gradient(90deg, rgba(34,255,136,.16), rgba(34,211,238,.04)); color: var(--txt);
    box-shadow: inset 3px 0 0 var(--neon-green), 0 0 24px rgba(34,255,136,.10); }
.nx-side a.active svg { color: var(--neon-green); }
.nx-side .neon-status { margin: auto .25rem 0; }
.nx-main { padding: 2.25rem 2.5rem; min-width: 0; }
.nx-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    padding: 1rem 2.5rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); background: rgba(10,15,28,.72); }
.nx-foot a { color: var(--muted); text-decoration: none; margin-left: 1.1rem; }
.nx-foot a:hover { color: var(--neon-cyan); }

/* ---------- home (tiles + notícias) ---------- */
.nx-h1 { margin: 0; font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; }
.nx-sub { margin: .35rem 0 0; color: var(--muted); font-size: .98rem; }
.nx-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 1.75rem 0 2.25rem; }
.nx-tile { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 1.6rem; border-radius: 18px;
    color: #06121c; text-decoration: none; transition: transform .18s, box-shadow .18s, filter .18s; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); position: relative; overflow: hidden; }
.nx-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s; }
.nx-tile:hover { transform: translateY(-3px); filter: brightness(1.05); color: #06121c; }
.nx-tile:hover::after { transform: translateX(120%); }
.nx-tile strong { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; line-height: 1.15; }
.nx-tile span { display: block; font-size: .82rem; opacity: .85; margin-top: .25rem; font-weight: 500; }
.nx-tile i { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; flex: none; border-radius: 16px; background: rgba(6,18,28,.18); }
.nx-tile i svg { width: 30px; height: 30px; }
.nx-tile.green { background: linear-gradient(135deg, var(--neon-green), #12c9a4); box-shadow: 0 12px 40px rgba(34,255,136,.22), inset 0 1px 0 rgba(255,255,255,.35); }
.nx-tile.blue  { background: linear-gradient(135deg, #3b8cff, #2f5cff); color: #fff; box-shadow: 0 12px 40px rgba(47,128,255,.30), inset 0 1px 0 rgba(255,255,255,.3); }
.nx-tile.blue i { background: rgba(255,255,255,.14); }
.nx-tile.blue:hover { color: #fff; }
.nx-tile.amber { background: linear-gradient(135deg, var(--neon-amber), #ff7a1a); box-shadow: 0 12px 40px rgba(255,176,32,.25), inset 0 1px 0 rgba(255,255,255,.35); }
.nx-sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1rem; }
.nx-sec-head h2 { margin: 0; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; }
.nx-sec-head a { font-size: .85rem; color: var(--muted); text-decoration: none; }
.nx-news { display: flex; flex-direction: column; gap: 1rem; }
.nx-news article { display: flex; gap: 1.35rem; padding: 1.35rem 1.5rem; border-radius: 18px; border: 1px solid var(--line); background: var(--card);
    box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: border-color .15s, transform .15s; }
.nx-news article:hover { border-color: rgba(34,211,238,.35); transform: translateY(-2px); }
.nx-news .nx-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; height: 64px; flex: none;
    border-radius: 14px; background: rgba(34,255,136,.10); border: 1px solid rgba(34,255,136,.35); color: var(--neon-green); font-family: var(--font-display); font-weight: 700; line-height: 1; }
.nx-date b { font-size: 1.5rem; } .nx-date small { font-size: .72rem; letter-spacing: .08em; margin-top: 2px; }
.nx-news h3 { margin: 0 0 .35rem; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.nx-news h3 a { color: var(--txt); text-decoration: none; } .nx-news h3 a:hover { color: var(--neon-cyan); }
.nx-news p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.nx-news .nx-more { display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem; font-size: .85rem; font-weight: 600; color: var(--neon-cyan); text-decoration: none; }
.nx-empty { padding: 2rem; border-radius: 18px; border: 1px dashed var(--line-2); color: var(--muted); text-align: center; }
.nx-article { max-width: 860px; }
.nx-article .nx-body { color: var(--txt-2); line-height: 1.7; font-size: 1rem; }
.nx-article .nx-body img { border-radius: 12px; }
.nx-article .nx-body a { color: var(--neon-cyan); }
.nx-meta { color: var(--muted); font-size: .85rem; margin: .25rem 0 1.25rem; }

/* ---------- planos (neon) ---------- */
.nx-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; }
.nx-plan { position: relative; padding: 1.5rem; border-radius: 18px; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; gap: .85rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .15s, border-color .15s, box-shadow .15s; }
.nx-plan:hover { transform: translateY(-3px); border-color: rgba(34,211,238,.4); box-shadow: 0 16px 40px rgba(0,0,0,.35), var(--glow-cyan); }
.nx-plan.destaque { border-color: rgba(34,255,136,.5); box-shadow: var(--glow-green), 0 16px 40px rgba(0,0,0,.35); }
.nx-plan .nx-tag { position: absolute; top: -12px; left: 1.25rem; padding: .25rem .7rem; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .08em;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan)); color: #06121c; font-family: var(--font-display); }
.nx-plan h3 { margin: 0; font-family: var(--font-display); font-size: 1.1rem; }
.nx-plan .nx-slots { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; line-height: 1;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan), var(--neon-blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nx-plan .nx-slots small { font-size: .9rem; color: var(--muted); -webkit-text-fill-color: var(--muted); font-family: var(--font); font-weight: 500; }
.nx-plan .nx-price { font-size: 1.05rem; color: var(--txt-2); } .nx-plan .nx-price strong { font-size: 1.5rem; color: var(--txt); font-family: var(--font-display); }
.nx-plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; font-size: .85rem; color: var(--muted); }
.nx-plan ul li::before { content: '›'; color: var(--neon-green); font-weight: 700; margin-right: .5rem; }
.nx-plan .btn { margin-top: auto; }

/* ---------- responsivo ---------- */
@media (max-width: 960px) {
    .nx-shell { grid-template-columns: 1fr; }
    .nx-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; gap: .35rem; padding: .75rem; border-right: 0; border-bottom: 1px solid var(--line); }
    .nx-side a { padding: .55rem .8rem; font-size: .88rem; }
    .nx-side .neon-status { display: none; }
    .nx-main { padding: 1.5rem 1.25rem; }
    .nx-tiles { grid-template-columns: 1fr; }
    .nx-foot { padding: 1rem 1.25rem; }
    .app-shell { grid-template-columns: 1fr; }
}

/* =============================================================================
   v2 — fundos claros fixos das abas do painel do servidor (AFK, comandos, bot de
   música, avisos) e do módulo do bot de música. As views usam cores em style=""
   e um <style> próprio; aqui vencemos por !important e especificidade (body #mb-tab).
   ============================================================================= */
/* --- style="" com fundo claro → fundo do tema --- */
.main [style*="background:#fff"]:not([style*="background:#fff9"]):not([style*="background:#fff3"]):not([style*="background:#fff5"]):not([style*="background:#fff8"]),
.main [style*="background:#ffffff"], .main [style*="background:#fafafa"], .main [style*="background:#faf9fc"],
.main [style*="background:#f8f9fb"], .main [style*="background:#f3f4f6"], .main [style*="background:#e5e7eb"],
.main [style*="background:#fdfaf3"], .main [style*="background:#f4f0fa"], .main [style*="background:#faf8fe"],
.main [style*="background:#f9fafb"], .main [style*="background:#f5f5f5"], .main [style*="background:#f7f7fb"] {
    background: var(--card-2) !important; color: var(--txt) !important; border-color: var(--line-2) !important;
}
/* tons de aviso (amarelo), sucesso (verde), erro (vermelho) e info (azul) inline → translúcidos */
.main [style*="background:#fff9ec"], .main [style*="background:#fff3cd"], .main [style*="background:#fff8e6"],
.main [style*="background:#fef3c7"], .main [style*="background:#fdf6e3"] {
    background: rgba(255,176,32,.10) !important; color: var(--txt) !important; border-color: rgba(255,176,32,.35) !important;
}
.main [style*="background:#f2f9f4"], .main [style*="background:#dcfce7"], .main [style*="background:#ecfdf5"] {
    background: rgba(52,232,158,.10) !important; color: var(--txt) !important; border-color: rgba(52,232,158,.35) !important;
}
.main [style*="background:#fee2e2"], .main [style*="background:#fff5f5"], .main [style*="background:#fdecea"] {
    background: rgba(255,92,106,.10) !important; color: var(--txt) !important; border-color: rgba(255,92,106,.35) !important;
}
.main [style*="background:#dbeafe"], .main [style*="background:#eef4fb"], .main [style*="background:#e8f4fd"] {
    background: rgba(34,211,238,.10) !important; color: var(--txt) !important; border-color: rgba(34,211,238,.35) !important;
}
/* textos escuros/cinzas inline (legíveis só no tema claro) */
.main [style*="color:#666"], .main [style*="color:#555"], .main [style*="color:#374151"], .main [style*="color:#4b5563"],
.main [style*="color:#6b7280"], .main [style*="color:#111827"], .main [style*="color:#222"], .main [style*="color:#333"],
.main [style*="color:#2a3c58"], .main [style*="color:#182740"] { color: var(--txt-2) !important; }
.main [style*="color:#1a7f37"], .main [style*="color:#166534"], .main [style*="color:#16a34a"] { color: #34e89e !important; }
.main [style*="color:#c0392b"], .main [style*="color:#991b1b"], .main [style*="color:#dc2626"] { color: var(--neon-red) !important; }
.main [style*="color:#92400e"], .main [style*="color:#b45309"], .main [style*="color:#b7791f"] { color: var(--neon-amber) !important; }
.main [style*="color:#1e40af"], .main [style*="color:#1c5a94"] { color: var(--neon-cyan) !important; }

/* --- bot de música (#mb-tab tem <style> próprio: precisamos de mais especificidade) --- */
body #mb-tab { --mb-bg: rgba(34,255,136,.07); --mb-line: var(--line-2); }
body #mb-tab .mb-overlay { background: rgba(10,15,28,.82); }
body #mb-tab .mb-ov-box { background: var(--card); border-color: rgba(34,211,238,.28); color: var(--txt); box-shadow: 0 20px 60px rgba(0,0,0,.6), var(--glow-cyan); }
body #mb-tab .mb-ov-title { color: var(--txt); font-family: var(--font-display); }
body #mb-tab .mb-ov-step { color: var(--txt-2); }
body #mb-tab .mb-ov-time { color: var(--muted); }
body #mb-tab .mb-badge.online { background: rgba(52,232,158,.14); color: #34e89e; }
body #mb-tab .mb-badge.offline, body #mb-tab .mb-badge.stopped { background: rgba(255,255,255,.07); color: var(--muted); }
body #mb-tab .mb-badge.provisioning { background: rgba(34,211,238,.14); color: var(--neon-cyan); }
body #mb-tab .mb-badge.suspended { background: rgba(255,176,32,.14); color: var(--neon-amber); }
body #mb-tab .mb-badge.error, body #mb-tab .mb-badge.deleting { background: rgba(255,92,106,.14); color: var(--neon-red); }
body #mb-tab .mb-np { background: linear-gradient(135deg, rgba(34,255,136,.10), var(--card-2)); border-color: var(--line-2); }
body #mb-tab .mb-np-label, body #mb-tab .mb-time, body #mb-tab .mb-sec, body #mb-tab th, body #mb-tab .mb-empty,
body #mb-tab .mb-pager, body #mb-tab .mb-usage small, body #mb-tab .mb-drop small, body #mb-tab .mb-yt-body small { color: var(--muted); }
body #mb-tab .mb-now, body #mb-tab .mb-yt-body b, body #mb-tab .mb-file .mb-fname { color: var(--txt); }
body #mb-tab label, body #mb-tab .mb-upmsg, body #mb-tab td.mb-num { color: var(--txt-2); }
body #mb-tab .mb-bar { background: rgba(255,255,255,.08); }
body #mb-tab .mb-bar span { background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan)); }
body #mb-tab .mb-ib { background: var(--card-2); color: var(--txt); border-color: var(--line-2); }
body #mb-tab .mb-ib:hover:not(:disabled) { background: rgba(34,211,238,.12); border-color: var(--neon-cyan); }
body #mb-tab .mb-ib.mb-play { background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan)); color: #06121c; border-color: transparent; box-shadow: var(--glow-green); }
body #mb-tab .mb-pill { background: var(--card-2); color: var(--txt-2); border-color: var(--line-2); }
body #mb-tab .mb-pill.mb-on { background: rgba(52,232,158,.14); border-color: rgba(52,232,158,.45); color: #34e89e; }
body #mb-tab .mb-drop { background: rgba(34,255,136,.05); border-color: rgba(34,211,238,.35); }
body #mb-tab .mb-drop:hover, body #mb-tab .mb-drop.mb-over { background: rgba(34,211,238,.10); border-color: var(--neon-cyan); }
body #mb-tab .mb-drop b { color: var(--neon-green); }
body #mb-tab .mb-file { background: var(--card-2); border-color: var(--line-2); color: var(--txt); }
body #mb-tab .mb-yt { background: linear-gradient(135deg, rgba(255,92,106,.10), var(--card-2)); border-color: rgba(255,92,106,.35); }
body #mb-tab tbody tr:hover { background: rgba(34,211,238,.06); }
body #mb-tab tr.mb-now-row { background: rgba(34,255,136,.08); }
body #mb-tab tr.mb-now-row td:first-child { color: var(--neon-green); }
body #mb-tab th, body #mb-tab td { border-bottom-color: var(--line); }
body #mb-tab .mb-src { background: rgba(255,255,255,.07); color: var(--txt-2); }
body #mb-tab .mb-src.yt { background: rgba(255,92,106,.14); color: var(--neon-red); }
body #mb-tab .mb-pages button { background: var(--card-2); color: var(--txt-2); border-color: var(--line-2); }
body #mb-tab .mb-pages button.mb-on { background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan)); color: #06121c; border-color: transparent; }
body #mb-tab .btn.mb-danger { color: var(--neon-red); border-color: rgba(255,92,106,.45); }
body #mb-tab .mb-spin { border-color: rgba(255,255,255,.15); border-top-color: currentColor; }
body #mb-tab .mb-search input { background: rgba(0,0,0,.28); color: var(--txt); }
body .mb-toast { background: var(--card); color: var(--txt); border: 1px solid var(--line-2); box-shadow: 0 10px 30px rgba(0,0,0,.5); }

/* --- comandos TS: caixas com var(--primary-bg) já ficam escuras; badge inline segue as regras acima --- */
.main .server-tab[style*="background"] { background: transparent !important; }
