
/*
 * 1.4.133 — Identidade cromática por estágio típico.
 * Verde = recém-chegado/iniciante; amarelo = intermediário;
 * azul = avançado/avançadíssimo.
 * Seções universais, de assinatura ou puramente contextuais ficam neutras.
 */

/* ---------- variáveis por estágio ---------- */
:is(
 .anth-perfis-section--conquistas-iniciante,
 .anth-perfis-section--convite-iniciante,
 .anth-perfis-section--modificador-comercial,
 .anth-rc-hero,.anth-ini-hero,.anth-rc-forum,.anth-ini-forum,.anth-ini-avaliacao
){
 --anth-stage-accent:#43d6ad;
 --anth-stage-accent-2:#7ce9c8;
 --anth-stage-bg:rgba(8,54,43,.34);
 --anth-stage-bg-strong:rgba(7,45,37,.62);
 --anth-stage-border:rgba(67,214,173,.42);
 --anth-stage-glow:rgba(67,214,173,.12);
}

:is(
 .anth-perfis-section--melhor-desempenho,
 .anth-perfis-section--proximo-nucleo,
 .anth-int-hero,.anth-int-forum,.anth-int-avaliacao
){
 --anth-stage-accent:#e0b95a;
 --anth-stage-accent-2:#f0cf7b;
 --anth-stage-bg:rgba(78,57,9,.32);
 --anth-stage-bg-strong:rgba(62,45,8,.60);
 --anth-stage-border:rgba(224,185,90,.44);
 --anth-stage-glow:rgba(224,185,90,.12);
}

:is(
 .anth-perfis-section--nucleo-em-foco,
 .anth-perfis-section--universo-expandir,
 .anth-perfis-section--reconhecimento,
 .anth-perfis-section--marco-pessoal,
 .anth-perfis-section--universo-anthares,
 .anth-perfis-section--meu-projeto,
 .anth-perfis-section--leitura-beta-contos,
 .anth-perfis-section--leitura-beta-leitor,
 .anth-perfis-section--loja-autor-cta,
 .anth-perfis-section--consultoria,
 .anth-av-bv
){
 --anth-stage-accent:#38a9ff;
 --anth-stage-accent-2:#69c9ff;
 --anth-stage-bg:rgba(4,50,88,.34);
 --anth-stage-bg-strong:rgba(4,38,70,.64);
 --anth-stage-border:rgba(56,169,255,.48);
 --anth-stage-glow:rgba(56,169,255,.15);
}

/* ---------- superfície principal ---------- */
:is(
 .anth-perfis-section--conquistas-iniciante,
 .anth-perfis-section--convite-iniciante,
 .anth-perfis-section--modificador-comercial,
 .anth-perfis-section--melhor-desempenho,
 .anth-perfis-section--proximo-nucleo,
 .anth-perfis-section--nucleo-em-foco,
 .anth-perfis-section--reconhecimento,
 .anth-perfis-section--marco-pessoal,
 .anth-perfis-section--universo-anthares,
 .anth-perfis-section--meu-projeto,
 .anth-perfis-section--leitura-beta-contos,
 .anth-perfis-section--leitura-beta-leitor,
 .anth-perfis-section--loja-autor-cta,
 .anth-perfis-section--consultoria
) > :first-child,
:is(.anth-rc-hero,.anth-ini-hero,.anth-int-hero,.anth-av-bv,.anth-rc-forum,.anth-ini-forum,.anth-int-forum,.anth-ini-avaliacao,.anth-int-avaliacao){
 border-color:var(--anth-stage-border)!important;
 background-color:var(--anth-stage-bg)!important;
 box-shadow:inset 0 0 30px var(--anth-stage-glow)!important;
}

/* ---------- títulos, barras e pequenos acentos ---------- */
:is(
 .anth-perfis-section--conquistas-iniciante,
 .anth-perfis-section--convite-iniciante,
 .anth-perfis-section--modificador-comercial,
 .anth-perfis-section--melhor-desempenho,
 .anth-perfis-section--proximo-nucleo,
 .anth-perfis-section--nucleo-em-foco,
 .anth-perfis-section--universo-expandir,
 .anth-perfis-section--reconhecimento,
 .anth-perfis-section--marco-pessoal,
 .anth-perfis-section--universo-anthares,
 .anth-perfis-section--meu-projeto,
 .anth-perfis-section--leitura-beta-contos,
 .anth-perfis-section--leitura-beta-leitor,
 .anth-perfis-section--loja-autor-cta,
 .anth-perfis-section--consultoria,
 .anth-rc-hero,.anth-ini-hero,.anth-int-hero,.anth-av-bv,
 .anth-rc-forum,.anth-ini-forum,.anth-int-forum,.anth-ini-avaliacao,.anth-int-avaliacao
) :is(
 [class*="__kicker"],[class*="__title"],[class*="-title"],[class*="__label"],
 [class*="__heading"] strong,h2
){color:var(--anth-stage-accent)!important}

:is(
 .anth-perfis-section--conquistas-iniciante,
 .anth-perfis-section--convite-iniciante,
 .anth-perfis-section--modificador-comercial,
 .anth-perfis-section--melhor-desempenho,
 .anth-perfis-section--proximo-nucleo,
 .anth-perfis-section--nucleo-em-foco,
 .anth-perfis-section--universo-expandir,
 .anth-perfis-section--reconhecimento,
 .anth-perfis-section--marco-pessoal,
 .anth-perfis-section--universo-anthares,
 .anth-perfis-section--meu-projeto,
 .anth-perfis-section--leitura-beta-contos,
 .anth-perfis-section--leitura-beta-leitor,
 .anth-perfis-section--loja-autor-cta,
 .anth-perfis-section--consultoria,
 .anth-rc-hero,.anth-ini-hero,.anth-int-hero,.anth-av-bv,
 .anth-rc-forum,.anth-ini-forum,.anth-int-forum,.anth-ini-avaliacao,.anth-int-avaliacao
) :is([class*="__kicker"],[class*="__title"],[class*="-title"],h2)::before{
 background:var(--anth-stage-accent)!important;
 border-color:var(--anth-stage-accent)!important;
 box-shadow:0 0 10px var(--anth-stage-glow)!important;
}

/* ---------- cards internos / ícones / ações ---------- */
:is(
 .anth-perfis-section--conquistas-iniciante,
 .anth-perfis-section--convite-iniciante,
 .anth-perfis-section--modificador-comercial,
 .anth-perfis-section--melhor-desempenho,
 .anth-perfis-section--proximo-nucleo,
 .anth-perfis-section--nucleo-em-foco,
 .anth-perfis-section--universo-expandir,
 .anth-perfis-section--reconhecimento,
 .anth-perfis-section--marco-pessoal,
 .anth-perfis-section--universo-anthares,
 .anth-perfis-section--meu-projeto,
 .anth-perfis-section--leitura-beta-contos,
 .anth-perfis-section--leitura-beta-leitor,
 .anth-perfis-section--loja-autor-cta,
 .anth-perfis-section--consultoria,
 .anth-rc-hero,.anth-ini-hero,.anth-int-hero,.anth-av-bv,
 .anth-rc-forum,.anth-ini-forum,.anth-int-forum,.anth-ini-avaliacao,.anth-int-avaliacao
) :is([class*="card"],[class*="painel"],[class*="mini"],[class*="icon"],[class*="icone"]){
 border-color:var(--anth-stage-border)!important;
}

:is(
 .anth-perfis-section--conquistas-iniciante,
 .anth-perfis-section--convite-iniciante,
 .anth-perfis-section--modificador-comercial,
 .anth-perfis-section--melhor-desempenho,
 .anth-perfis-section--proximo-nucleo,
 .anth-perfis-section--nucleo-em-foco,
 .anth-perfis-section--universo-expandir,
 .anth-perfis-section--reconhecimento,
 .anth-perfis-section--marco-pessoal,
 .anth-perfis-section--universo-anthares,
 .anth-perfis-section--meu-projeto,
 .anth-perfis-section--leitura-beta-contos,
 .anth-perfis-section--leitura-beta-leitor,
 .anth-perfis-section--loja-autor-cta,
 .anth-perfis-section--consultoria,
 .anth-rc-hero,.anth-ini-hero,.anth-int-hero,.anth-av-bv,
 .anth-rc-forum,.anth-ini-forum,.anth-int-forum,.anth-ini-avaliacao,.anth-int-avaliacao
) :is(a[class*="cta"],a[class*="btn"],button,[role="button"]){
 border-color:var(--anth-stage-border)!important;
}

:is(
 .anth-perfis-section--conquistas-iniciante,
 .anth-perfis-section--convite-iniciante,
 .anth-perfis-section--modificador-comercial,
 .anth-perfis-section--melhor-desempenho,
 .anth-perfis-section--proximo-nucleo,
 .anth-perfis-section--nucleo-em-foco,
 .anth-perfis-section--universo-expandir,
 .anth-perfis-section--reconhecimento,
 .anth-perfis-section--marco-pessoal,
 .anth-perfis-section--universo-anthares,
 .anth-perfis-section--meu-projeto,
 .anth-perfis-section--leitura-beta-contos,
 .anth-perfis-section--leitura-beta-leitor,
 .anth-perfis-section--loja-autor-cta,
 .anth-perfis-section--consultoria,
 .anth-rc-hero,.anth-ini-hero,.anth-int-hero,.anth-av-bv,
 .anth-rc-forum,.anth-ini-forum,.anth-int-forum,.anth-ini-avaliacao,.anth-int-avaliacao
) :is(svg,svg *){stroke:var(--anth-stage-accent)!important}

/* O Núcleo em foco precisa conservar o vídeo; a cor azul entra no contorno e acentos. */
.anth-perfis-section--nucleo-em-foco .anth-nef--v128{
 border-color:var(--anth-stage-border)!important;
 background-color:rgba(4,38,70,.44)!important;
}
.anth-perfis-section--nucleo-em-foco .anth-nef--v128 .anth-nef__kicker,
.anth-perfis-section--nucleo-em-foco .anth-nef--v128 .anth-nef__mini-cta{color:var(--anth-stage-accent-2)!important}
.anth-perfis-section--nucleo-em-foco .anth-nef--v128 .anth-nef__kicker::before{background:var(--anth-stage-accent)!important}

/* Onde você se destacou: apenas 2/4 ou 3/4. */
.anth-home .anth-perfis-section--melhor-desempenho{width:100%!important;min-width:0!important}


/* 1.4.175 — linguagem visual única para seções típicas de Recém-chegado e Iniciante.
 * Referência: fundo azul-petróleo muito escuro, contorno ciano luminoso e iluminação interna fria. */
:is(.anth-home--dashboard-recem-chegado,.anth-home--dashboard-iniciante){
	--anth-rci-accent:#31f1e5;
	--anth-rci-accent-2:#8cfff7;
	--anth-rci-border:rgba(43,235,224,.72);
	--anth-rci-border-soft:rgba(43,235,224,.30);
	--anth-rci-bg:rgba(3,20,27,.86);
	--anth-rci-bg-2:rgba(4,32,39,.72);
	--anth-rci-glow:rgba(38,228,217,.18);
	--anth-rci-glow-soft:rgba(38,228,217,.08);
}

/* Envelopes e cards principais. Mantém imagens de fundo existentes. */
:is(.anth-home--dashboard-recem-chegado,.anth-home--dashboard-iniciante) :is(
	.anth-perfis-section:not(.anth-perfis-section--avaliacao-iniciante) > :first-child,
	.anth-rc-hero,.anth-ini-hero,.anth-rc-forum,.anth-ini-forum,
	.anth-rc-etapas,
	.anth-meta-semanal,.anth-comunicacao,.anth-interacoes,
	.anth-desafio-semanal,.anth-explore-desafios,.anth-conquistas-iniciante,.anth-convite-iniciante
){
	border-color:var(--anth-rci-border)!important;
	background-color:var(--anth-rci-bg)!important;
	box-shadow:
		inset 0 0 0 1px rgba(255,255,255,.018),
		inset 0 0 34px var(--anth-rci-glow-soft),
		0 0 18px rgba(25,208,200,.055)!important;
}

/* Cards internos típicos. */
:is(.anth-home--dashboard-recem-chegado,.anth-home--dashboard-iniciante) :is(
	.anth-perfis-section:not(.anth-perfis-section--avaliacao-iniciante),
	.anth-rc-hero,.anth-ini-hero,.anth-rc-forum,.anth-ini-forum,
	.anth-rc-etapas,.anth-conquistas-iniciante,.anth-convite-iniciante
) :is(
	[class*="card"],[class*="item"],[class*="tile"],[class*="painel"],[class*="mini"],
	[class*="box"],[class*="acao"],[class*="opcao"],[class*="step"]
){
	border-color:var(--anth-rci-border-soft)!important;
	background-color:rgba(3,22,28,.62)!important;
	box-shadow:inset 0 0 18px rgba(36,227,216,.035)!important;
}

/* Títulos, kickers e barras de acento. */
:is(.anth-home--dashboard-recem-chegado,.anth-home--dashboard-iniciante) :is(
	.anth-perfis-section:not(.anth-perfis-section--avaliacao-iniciante),
	.anth-rc-hero,.anth-ini-hero,.anth-rc-forum,.anth-ini-forum,.anth-rc-etapas
) :is(
	[class*="__kicker"],[class*="__title"],[class*="-title"],[class*="__label"],
	[class*="__heading"],.anth-ini-kicker
){
	color:var(--anth-rci-accent)!important;
}
:is(.anth-home--dashboard-recem-chegado,.anth-home--dashboard-iniciante) :is(
	.anth-perfis-section:not(.anth-perfis-section--avaliacao-iniciante),
	.anth-rc-hero,.anth-ini-hero,.anth-rc-forum,.anth-ini-forum,.anth-rc-etapas
) :is([class*="__kicker"],[class*="__title"],[class*="-title"],h2)::before{
	background:var(--anth-rci-accent)!important;
	border-color:var(--anth-rci-accent)!important;
	box-shadow:0 0 12px var(--anth-rci-glow)!important;
}

/* Ícones, linhas e contornos interativos. */
:is(.anth-home--dashboard-recem-chegado,.anth-home--dashboard-iniciante) :is(
	.anth-perfis-section:not(.anth-perfis-section--avaliacao-iniciante),
	.anth-rc-hero,.anth-ini-hero,.anth-rc-forum,.anth-ini-forum,.anth-rc-etapas
) :is(svg,svg *){
	stroke:var(--anth-rci-accent)!important;
}
:is(.anth-home--dashboard-recem-chegado,.anth-home--dashboard-iniciante) :is(
	.anth-perfis-section:not(.anth-perfis-section--avaliacao-iniciante),
	.anth-rc-hero,.anth-ini-hero,.anth-rc-forum,.anth-ini-forum,.anth-rc-etapas
) :is(a[class*="cta"],a[class*="btn"],button,[role="button"]){
	border-color:var(--anth-rci-border)!important;
}

/* Laboratório: quando está simulando Recém-chegado/Iniciante, herda a mesma identidade. */
.anth-home :is(.anth-lab-profile--1,.anth-lab-profile--2) .anth-perfis-section:not(.anth-perfis-section--avaliacao-iniciante) > :first-child{
	border-color:rgba(43,235,224,.72)!important;
	background-color:rgba(3,20,27,.86)!important;
	box-shadow:inset 0 0 34px rgba(38,228,217,.08),0 0 18px rgba(25,208,200,.055)!important;
}


/* 1.4.399 — “Pode avaliar este conto?” do Iniciante usa integralmente a
 * apresentação do Intermediário; por isso a seção é excluída da recoloração
 * genérica verde do estágio. Conteúdo/elegibilidade continuam sendo Iniciante. */


/* 1.4.254 — exceção final: o Fórum bloqueado é neutro/cinza, não recebe a borda
 * cromática do estágio. Esta folha é carregada tarde, então a exceção vive aqui
 * também para não reverter a Home depois do CSS do componente. */
.anth-home :is(.anth-rc-forum,.anth-ini-forum).anth-forum-vozes--bloqueada{
    border-color:rgba(162,170,173,.46)!important;
    box-shadow:inset 0 0 0 1px rgba(180,187,190,.07),0 18px 40px rgba(0,0,0,.26)!important;
}

/* 1.4.270 — Fórum do Intermediário herda integralmente a identidade visual do Recém-chegado/Iniciante. */
.anth-home--dashboard-intermediario .anth-perfis-section--forum{
    --anth-rci-accent:#31f1e5;
    --anth-rci-accent-2:#8cfff7;
    --anth-rci-border:rgba(43,235,224,.72);
    --anth-rci-border-soft:rgba(43,235,224,.30);
    --anth-rci-bg:rgba(3,20,27,.86);
    --anth-rci-bg-2:rgba(4,32,39,.72);
    --anth-rci-glow:rgba(38,228,217,.18);
    --anth-rci-glow-soft:rgba(38,228,217,.08);
}
.anth-home--dashboard-intermediario .anth-perfis-section--forum > :first-child{
    border-color:var(--anth-rci-border)!important;
    background-color:var(--anth-rci-bg)!important;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.018),inset 0 0 34px var(--anth-rci-glow-soft),0 0 18px rgba(25,208,200,.055)!important;
}
.anth-home--dashboard-intermediario .anth-perfis-section--forum :is([class*="card"],[class*="item"],[class*="tile"],[class*="painel"],[class*="mini"],[class*="box"],[class*="acao"],[class*="opcao"],[class*="step"]){
    border-color:var(--anth-rci-border-soft)!important;
    background-color:rgba(3,22,28,.62)!important;
    box-shadow:inset 0 0 18px rgba(36,227,216,.035)!important;
}
.anth-home--dashboard-intermediario .anth-perfis-section--forum :is([class*="__kicker"],[class*="__title"],[class*="-title"],[class*="__label"],[class*="__heading"]){
    color:var(--anth-rci-accent)!important;
}
.anth-home--dashboard-intermediario .anth-perfis-section--forum :is([class*="__kicker"],[class*="__title"],[class*="-title"],h2)::before{
    background:var(--anth-rci-accent)!important;
    border-color:var(--anth-rci-accent)!important;
    box-shadow:0 0 12px var(--anth-rci-glow)!important;
}
.anth-home--dashboard-intermediario .anth-perfis-section--forum :is(svg,svg *){
    stroke:var(--anth-rci-accent)!important;
}
.anth-home--dashboard-intermediario .anth-perfis-section--forum :is(a[class*="cta"],a[class*="btn"],button,[role="button"]){
    border-color:var(--anth-rci-border)!important;
}

/* 1.4.379 — Etapas 3–7 preservam sua progressão cromática mesmo após a paleta tardia de perfil. */
.anth-home .anth-rc-etapas:is(
    [data-anth-etapa-desbloqueada="3"],
    [data-anth-etapa-desbloqueada="4"],
    [data-anth-etapa-desbloqueada="5"],
    [data-anth-etapa-desbloqueada="6"],
    [data-anth-etapa-desbloqueada="7"]
){
    border-color:rgba(var(--anth-etapas-rgb),.62)!important;
    background-color:transparent!important;
    box-shadow:
        inset 0 0 0 1px rgba(var(--anth-etapas-rgb),.10),
        inset 0 1px 0 rgba(255,255,255,.13),
        0 0 26px rgba(var(--anth-etapas-rgb),.12),
        0 14px 34px rgba(0,0,0,.24)!important;
}
.anth-home .anth-rc-etapas:is(
    [data-anth-etapa-desbloqueada="3"],
    [data-anth-etapa-desbloqueada="4"],
    [data-anth-etapa-desbloqueada="5"],
    [data-anth-etapa-desbloqueada="6"],
    [data-anth-etapa-desbloqueada="7"]
) .anth-rc-etapas__kicker{
    color:var(--anth-etapas-accent)!important;
}
.anth-home .anth-rc-etapas:is(
    [data-anth-etapa-desbloqueada="3"],
    [data-anth-etapa-desbloqueada="4"],
    [data-anth-etapa-desbloqueada="5"],
    [data-anth-etapa-desbloqueada="6"],
    [data-anth-etapa-desbloqueada="7"]
) .anth-rc-etapas__acoes a{
    border-color:rgba(var(--anth-etapas-rgb),.58)!important;
}

/* 1.4.382 — Onde você se destacou: a identidade cromática permanece nos cartões internos;
 * o envelope externo deixa a arte da Home visível e não forma um retângulo amarelo/marrom. */
.anth-home .anth-perfis-section--melhor-desempenho > .anth-md-wrap,
.anth-home .anth-perfis-section--melhor-desempenho .anth-md-wrap{
    background:transparent!important;
    background-color:transparent!important;
    box-shadow:none!important;
    border-color:transparent!important;
}

/* 1.4.396 — Etapas 2–7 preservam a cor confirmada e o halo do próximo número
 * mesmo depois da paleta tardia de perfil. */
.anth-home .anth-rc-etapas[data-anth-etapa-desbloqueada="2"]{
    border-color:rgba(var(--anth-etapas-rgb),.62)!important;
    background-color:transparent!important;
    box-shadow:
        inset 0 0 0 1px rgba(var(--anth-etapas-rgb),.10),
        inset 0 1px 0 rgba(255,255,255,.13),
        0 0 26px rgba(var(--anth-etapas-rgb),.12),
        0 14px 34px rgba(0,0,0,.24)!important;
}
.anth-home .anth-rc-etapas[data-anth-etapa-desbloqueada="2"] .anth-rc-etapas__kicker{color:var(--anth-etapas-accent)!important}
.anth-home .anth-rc-etapas[data-anth-etapa-desbloqueada="2"] .anth-rc-etapas__acoes a{border-color:rgba(var(--anth-etapas-rgb),.58)!important}
.anth-home .anth-rc-etapas .anth-rc-etapas__ponto.is-transicao-pendente{
    border-color:rgba(var(--anth-etapa-next-rgb,88,211,170),.98)!important;
    color:rgb(var(--anth-etapa-next-rgb,88,211,170))!important;
    background:rgba(var(--anth-etapa-next-rgb,88,211,170),.15)!important;
    box-shadow:0 0 0 1px rgba(var(--anth-etapa-next-rgb,88,211,170),.20),0 0 13px rgba(var(--anth-etapa-next-rgb,88,211,170),.48),0 0 28px rgba(var(--anth-etapa-next-rgb,88,211,170),.24)!important;
}
.anth-home .anth-rc-etapas[data-anth-etapa-pendente] .anth-rc-etapas__ponto.is-aberta.is-transicao-pendente{
    border-color:rgba(var(--anth-etapa-next-rgb,88,211,170),.98)!important;
    color:rgb(var(--anth-etapa-next-rgb,88,211,170))!important;
    background:rgba(var(--anth-etapa-next-rgb,88,211,170),.15)!important;
}
