/*
Theme Name: Anthares Customify
Template: customify
Author: Alfredo Barbosa
Version: 1.1.9
*/

/* HTML elements */

fieldset {
	margin: 10px 0;
}

input[type=range] {
	height: 10px;
}

/* Wordpress classes */

.conto-conteudo p:not(
	.has-text-align-center):not(
	.has-text-align-right){
    text-align: justify;
	text-indent: 3em;
}

.wp-editor-wrap {
	margin-bottom: 10px;
}

.mce-ico {
    color: white !important;
    padding: 10px !important;
}

/* Customify classes */

.sidebar-primary-inner {
	position: sticky;
	top: 0;
}

/* Anthares classes */
.metadata span:not(:last-child) {
    margin-right: 10px;
}

/* Enviar Conto */
.conto-conteudo {
	margin-bottom: 10px;
    border-bottom: 1px solid gray;
}

.enviar-conto input:disabled,
.enviar-revisao input:disabled {
	background-color: gray !important;
	cursor: not-allowed;
}

/* Pesquisar Contos */
.resultados .entry {
    margin-bottom: 10px;
}

.resultados .entry:not(:last-child) {
	border-bottom: 1px solid lightgray;
}

/* Melhores Contos */
.melhores-contos .fa-medal {
	font-size: 4.5em;
}

/*@media (max-width: 1280px) {
	.melhores-contos .fa-medal {
		font-size: unset;
	}
}*/

.melhor-1 {
	color: gold;
}
.melhor-2 {
	color: silver;
}
.melhor-3 {
	color: brown;
}
.melhor-4 {
	color: blue;
}
.melhor-5 {
	color: green;
}
.melhor-6 {
	color: yellow;
}
.melhor-7 {
	color: orange;
}
.melhor-8 {
	color: purple;
}
.melhor-9 {
	color: beige;
}
.melhor-10 {
	color: pink;
}

.melhores-contos .content-conto-wrap {
    display: inline-block;
}

.melhor-conto-wrap {
	display: flex;
	align-items: center;
}

.melhor-medalha {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-right: 20px;
	flex-shrink: 0;
}

.melhor-numero {
	font-size: 1.3rem;
	font-weight: 900;
	color: var(--wpdm-color-primary, #1abc9c);
	line-height: 1;
	margin-bottom: 2px;
}

/* editor de capítulos */
.marcador-personagem {
	display: inline-block;
	background-color: #2196f3;
	color: #ffffff;
	font-weight: bold;
	font-size: 0.85em;
	padding: 2px 8px;
	border-radius: 12px;
	margin: 0 4px;
	user-select: none; /* Impede a seleção interna do texto do badge */
	cursor: pointer;
}

/* Overlay de fundo */
.modal-personagem-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

/* Caixa de Conteúdo */
.modal-personagem-content {
	background: #fff;
	width: 100%;
	max-width: 400px;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
	overflow: hidden;
}

.modal-personagem-header {
	padding: 15px 20px;
	background: #f5f5f5;
	border-bottom: 1px solid #ddd;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.modal-personagem-header h3 {
	margin: 0;
	font-size: 16px;
}

.btn-fechar {
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
}

.modal-personagem-body {
	padding: 15px 20px;
	max-height: 300px;
	overflow-y: auto;
}

#busca-personagem-input {
	width: 100%;
	padding: 8px 12px;
	margin-bottom: 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}

.lista-personagens {
	list-style: none;
	padding: 0;
	margin: 0;
}

.lista-personagens li {
	padding: 10px 12px;
	border-bottom: 1px solid #eee;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: background 0.2s;
}

.lista-personagens li:hover {
	background-color: #f0f4f8;
}

.lista-personagens li.carregando,
.lista-personagens li.sem-resultados {
	cursor: default;
	color: #777;
	justify-content: center;
}

/* Avaliação: caixa de "o que é avaliado", aberta via clique (funciona no mobile) */
.avaliacao-info-btn {
	background: none;
	border: none;
	padding: 0;
	margin: 0 0 0 4px;
	color: inherit;
	font: inherit;
	cursor: pointer;
	vertical-align: middle;
	line-height: 1;
}

.avaliacao-tooltip-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	z-index: 99999;
}

.avaliacao-tooltip-box {
	position: relative;
	background: #1a1a1a;
	color: #fff;
	border-radius: 8px;
	padding: 18px 22px;
	max-width: 360px;
	width: 100%;
	font-size: 14px;
	line-height: 1.5;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.avaliacao-tooltip-box strong {
	display: block;
	margin-bottom: 6px;
	color: #00d1b2;
	font-size: 15px;
}

.avaliacao-tooltip-box button.avaliacao-tooltip-close {
	all: unset !important;
	position: absolute !important;
	top: 6px !important;
	right: 8px !important;
	width: 18px !important;
	height: 18px !important;
	min-width: 18px !important;
	min-height: 18px !important;
	max-width: 18px !important;
	max-height: 18px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	color: #fff !important;
	font-size: 16px !important;
	line-height: 1 !important;
	cursor: pointer !important;
	box-sizing: border-box !important;
}

/* Content Avaliação */
.estrelas {
	display: inline-block;
	margin-right: 1em;
}
.checked {
	color: orange;
}

/* Enviar Avaliação */
.avaliacao-notas {
	display: flex;
	gap: 20px;
}

/* WP Dark Mode */
.wp-dark-mode-active label,
.wp-dark-mode-active input,
.wp-dark-mode-active select,
.wp-dark-mode-active textarea {
    color: #e5e5e5;
}

.nota-destaque {
	font-size: 1.3em;
	color: var(--wpdm-color-primary, #1abc9c);
	margin: 0 6px;
}

body.author #page-titlebar {
	display: none;
}

/* Explicação do desafio */
.desafio-explicacao { margin-left: 6px; display: inline-block; position: relative; }
.desafio-explicacao-btn {
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	font: inherit;
	color: var(--wpdm-color-primary, #1abc9c);
	font-size: 0.9em;
	cursor: pointer;
}
.desafio-explicacao-btn .fa-chevron-down {
	margin-left: 4px;
	font-size: 0.8em;
	transition: transform 0.2s ease;
}
.desafio-explicacao-btn[aria-expanded="true"] .fa-chevron-down {
	transform: rotate(180deg);
}

.desafio-explicacao-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	z-index: 99999;
}
.desafio-explicacao-box {
	position: relative;
	background: #16181b;
	color: #eee;
	border-left: 3px solid var(--wpdm-color-primary, #1abc9c);
	border-radius: 8px;
	padding: 18px 22px;
	max-width: 420px;
	width: 100%;
	max-height: 70vh;
	overflow-y: auto;
	font-size: 14px;
	line-height: 1.5;
	text-align: left;
	white-space: pre-wrap;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.desafio-explicacao-box strong {
	display: block;
	margin-bottom: 8px;
	color: var(--wpdm-color-primary, #1abc9c);
	font-size: 15px;
}
.desafio-explicacao-box button.desafio-explicacao-close {
	all: unset !important;
	position: absolute !important;
	top: 6px !important;
	right: 8px !important;
	width: 18px !important;
	height: 18px !important;
	min-width: 18px !important;
	min-height: 18px !important;
	max-width: 18px !important;
	max-height: 18px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	color: #fff !important;
	font-size: 16px !important;
	line-height: 1 !important;
	cursor: pointer !important;
	box-sizing: border-box !important;
}

/* Atalhos de navegação no conto */
.conto-atalhos { display: flex; gap: 16px; margin: 14px 0; }
.conto-atalhos a { text-decoration: none; padding: 6px 12px; border: 1px solid var(--wpdm-color-primary, #1abc9c); border-radius: 20px; color: var(--wpdm-color-primary, #1abc9c); font-size: 0.9em; }
.conto-atalhos a:hover { background: var(--wpdm-color-primary, #1abc9c); color: #fff; }

/* Modo leitura */
.modo-leitura-controles { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.modo-leitura-controles button { cursor: pointer; padding: 6px 12px; border: 1px solid #ccc; border-radius: 4px; background: #fff; }
.fonte-controles { display: flex; gap: 6px; }
.fonte-controles[hidden] { display: none; }
.conto-conteudo.modo-leitura { max-width: 680px; margin: 0 auto; line-height: 2.1; }

/* Barra de progresso de leitura */
.barra-progresso-leitura { position: fixed; top: 0; left: 0; height: 4px; width: 0%; background: var(--wpdm-color-primary, #1abc9c); z-index: 9999; transition: width 0.1s linear; }

/* Cronologia */
.anthares-cronologia { border: 1px solid #e0e0e0; border-radius: 8px; padding: 12px 16px; margin-bottom: 20px; font-size: 0.9em; }
.anthares-cronologia .periodo-label { display: block; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.75em; color: #888; margin-bottom: 6px; }
.anthares-cronologia .cronologia-trilha { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.anthares-cronologia .cronologia-item { color: #888; text-decoration: none; }
.anthares-cronologia .cronologia-item.atual { color: var(--wpdm-color-primary, #1abc9c); font-weight: bold; }
.anthares-cronologia .cronologia-separador { color: #ccc; }

/* Cards da home (contos recentes / melhores contos) */
.anthares-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-bottom: 20px; }
.anthares-card { border: 1px solid #e0e0e0; border-radius: 8px; padding: 14px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.anthares-card:hover { transform: translateY(-4px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.anthares-cards { display: flex; flex-direction: column; gap: 0; }
.anthares-card { display: flex; align-items: center; gap: 10px; border: none; border-bottom: 1px solid #e0e0e0; border-radius: 0; padding: 8px 0; transition: background 0.15s ease; }
.anthares-card:last-child { border-bottom: none; }
.anthares-card:hover { transform: none; box-shadow: none; background: rgba(0,0,0,0.03); }
.anthares-card-thumb { flex: 0 0 44px; margin-bottom: 0 !important; }
.anthares-card-thumb img { width: 44px; height: 44px; object-fit: cover; border-radius: 4px; }
.anthares-card-body { flex: 1; min-width: 0; }
.anthares-card p { margin: 0 !important; }
.anthares-card h3 { margin: 0 !important; font-size: 0.92em; line-height: 1.25; }
.anthares-card .anthares-card-meta { font-size: 0.78em; color: #777; }
.anthares-cards-melhores .fa-medal { font-size: 0.9em; margin-right: 4px; vertical-align: middle; }

/* Carrossel de contos recentes */
.anthares-carrossel-wrap { position: relative; }
.anthares-carrossel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.anthares-carrossel .anthares-card { flex: 0 0 240px; scroll-snap-align: start; }
.anthares-carrossel-botao { position: absolute; top: 50%; transform: translateY(-50%); border: none; background: rgba(0,0,0,0.5); color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; z-index: 2; }
.anthares-carrossel-anterior { left: -12px; }
.anthares-carrossel-proximo { right: -12px; }

/* Carrinho: só aparece com itens — AJUSTE o seletor abaixo, veja instrução */
body:not(.tem-itens-carrinho) .moderncart-floating-cart-button { display: none !important; }

.anthares-linha-do-tempo { margin-bottom: 24px; }
.linha-periodo { border: 1px solid #e0e0e0; border-radius: 8px; padding: 12px 16px; margin-bottom: 12px; }
.linha-periodo summary { cursor: pointer; font-weight: bold; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.95em; padding: 4px 0; }
.linha-trilha { position: relative; margin-top: 12px; padding-left: 24px; }
.linha-trilha::before { content: ''; position: absolute; left: 5px; top: 4px; bottom: 4px; width: 2px; background: #ddd; }
.linha-linha-item { position: relative; padding: 6px 0; }
.linha-ponto { position: absolute; left: -24px; top: 12px; width: 10px; height: 10px; border-radius: 50%; background: #ccc; }
.linha-nucleo .linha-ponto { background: var(--wpdm-color-primary, #1abc9c); }
a.linha-item { color: var(--wpdm-color-primary, #1abc9c); font-weight: 600; text-decoration: none; display: inline-block; transition: transform 0.15s ease; }
a.linha-item:hover { transform: translateX(4px); }
span.linha-item { color: #888; font-size: 0.9em; }
.linha-data { font-size: 0.8em; opacity: 0.75; margin-left: 6px; }
.linha-externo { color: #555 !important; }

/* Busca na linha do tempo */
.busca-nucleos { display: block; width: 100%; max-width: 360px; margin-bottom: 16px; padding: 8px 14px; border: 1px solid #ccc; border-radius: 20px; font-size: 0.9em; }

/* Fade-in do hero */
.anthares-fade-in { opacity: 0; animation: antharesFadeIn 0.6s ease forwards; }
@keyframes antharesFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Thumbnails nos cards */
.anthares-card-thumb { display: block; margin-bottom: 8px; }
.anthares-card-thumb img { width: 100%; height: 140px; object-fit: cover; border-radius: 6px; display: block; }

@media (max-width: 600px) {
	.avaliacao-notas { display: flex; flex-direction: column; gap: 14px; }
	.avaliacao-notas fieldset { width: 100%; box-sizing: border-box; border: none; padding: 0; margin: 0; }
	.avaliacao-notas fieldset label { display: block; margin-bottom: 4px; font-size: 0.95em; }
	.avaliacao-notas input[type="range"] { width: 68%; vertical-align: middle; }
	.avaliacao-notas input[type="number"] { width: 22%; vertical-align: middle; margin-left: 6px; }
}
.anthares-fila-live-lista {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.anthares-fila-live-card {
    border: 1px solid rgba(120,120,120,.3);
    border-radius: 8px;
    padding: 12px 14px;
}

.anthares-fila-live-linha {
    padding: 4px 0;
    word-break: break-word;
}
.anthares-fila-live-topo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    border-bottom: 1px solid rgba(120,120,120,.2);
    padding-bottom: 8px;
    margin-bottom: 4px;
}
.anthares-fila-live-label {
    opacity: .7;
    margin-right: 4px;
}
.anthares-fila-live-acao {
    margin-top: 6px;
}
.anthares-fila-live-badge-sim {
    color: #e0a800;
    font-weight: bold;
}
.anthares-fila-live-badge-nao {
    color: #2ecc71;
    font-weight: bold;
}

.conto-conteudo.modo-leitura *:not(.fonte-controles):not(.fonte-controles *):not([class*="jp-relatedposts"]):not([class*="jp-relatedposts"] *):not([id*="jp-relatedposts"]):not([id*="jp-relatedposts"] *) {
    font-size: 1em !important;
}

/* Jetpack — Posts Relacionados: o tema nunca deu estilo pra isso, então
   o Jetpack jogava os links soltos no meio do texto. Montando os cards
   do zero aqui. */
.jp-relatedposts {
    clear: both;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.15);
    font-size: 16px !important;
    line-height: 1.5 !important;
    width: 100% !important;
}
.jp-relatedposts::before {
    content: "Você também pode gostar";
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 18px;
}
.jp-relatedposts-items.jp-relatedposts-items.jp-relatedposts-items {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}
.jp-relatedposts-post.jp-relatedposts-post.jp-relatedposts-post {
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    box-sizing: border-box !important;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    padding: 18px;
    transition: background .15s ease, border-color .15s ease;
}
.jp-relatedposts-post:hover {
    background: rgba(255,255,255,.09);
    border-color: rgba(255,255,255,.25);
}
.jp-relatedposts-post-a.jp-relatedposts-post-aoverlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    text-indent: -9999px;
    overflow: hidden;
}
.jp-relatedposts-post-title {
    margin: 0 0 10px !important;
    font-size: 1.05em !important;
    line-height: 1.3 !important;
    position: relative;
    z-index: 0;
}
.jp-relatedposts-post-title a {
    text-decoration: none;
}
.jp-relatedposts-post-excerpt {
    margin: 0 !important;
    font-size: .85em !important;
    line-height: 1.5 !important;
    opacity: .75;
    text-align: left !important;
    text-indent: 0 !important;
    position: relative;
    z-index: 0;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 800px) {
    .jp-relatedposts-items.jp-relatedposts-items.jp-relatedposts-items { grid-template-columns: 1fr !important; }
}
.anthares-contadores-site {
    text-align: center;
    font-weight: bold;
    margin-bottom: 16px;
}

/* Números dos campos de avaliação: o tema pai define color: var(--customify-body-text, #686868),
   um cinza escuro que fica ilegível no fundo escuro do site */
.avaliacao-notas input[type=number] {
	color: #fff !important;
}

/* Resumo dos cards "Você também pode gostar" (Jetpack Posts Relacionados):
   força a cor de texto padrão do tema em vez do que o Jetpack aplica por padrão */
.jp-relatedposts-post-excerpt {
	color: var(--customify-body-text, inherit) !important;
	opacity: .75;
}

/* Botão do modo leitura: no seu próprio CSS ele está com background:#fff fixo — trocando para o verde padrão */
.modo-leitura-controles button {
	background: var(--wpdm-color-primary, #1abc9c);
	border-color: var(--wpdm-color-primary, #1abc9c);
	color: #fff;
}
.modo-leitura-controles button:hover {
	background: color-mix(in srgb, var(--wpdm-color-primary, #1abc9c) 85%, black);
}
/* A seção de avaliação/resposta tem background: #fff fixo no comments.css do plugin.
   Trocando para verde translúcido, no padrão do border-top que ela já usa (#1b8f5a) */
.anthares-comments {
	background: rgba(27, 143, 90, 0.08) !important;
}

.anthares-comments-barra {
	background: rgba(27, 143, 90, 0.14) !important;
}
/* O título da página FAQ está com cor branca definida via ajuste individual no Customizer,
   já que o fundo do cabeçalho é sempre transparente. Forçando de volta a cor padrão de heading. */
#page-titlebar .titlebar-title {
	color: var(--customify-heading, #2b2b2b) !important;
}
.anthares-tabela-avaliacoes.widefat thead th {
	background: rgba(0, 209, 178, 0.12);
	color: var(--customify-heading, #fff);
	border-color: rgba(255,255,255,.15);
}
.anthares-tabela-avaliacoes.widefat tbody td {
	border-color: rgba(255,255,255,.1);
}
/* Anthares Plus — mídia extra dos contos */
.anthares-conto-plus-capa {
	margin: 18px 0 28px;
	width: 100%;
	overflow: hidden;
	border-radius: 10px;
	aspect-ratio: 16 / 9;
}
.anthares-conto-plus-capa img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.anthares-conto-plus-ilustracao {
	margin: 28px auto;
	max-width: 860px;
	text-align: center;
}
.anthares-conto-plus-ilustracao img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	border-radius: 8px;
}
.anthares-plus-midia-conto {
	margin: 20px 0;
	padding: 16px;
	border: 1px solid rgba(0, 209, 178, .35);
	border-radius: 8px;
}


/* 2026-09-26 — somente a lista de contos dentro da página individual de desafio. */
body.single-desafio .resultados-contos {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	align-items: start;
}
body.single-desafio .resultados-contos > .anth-desafio-conto-card.entry {
	box-sizing: border-box;
	min-width: 0;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 10px 12px !important;
	border: 1px solid rgba(0, 209, 178, .28);
	border-radius: 8px;
}
body.single-desafio .resultados-contos > .anth-desafio-conto-card.entry:not(:last-child) {
	border-bottom: 1px solid rgba(0, 209, 178, .28);
}
body.single-desafio .anth-desafio-conto-card .anth-desafio-conto-card__title {
	margin: 0 0 7px !important;
	padding: 0 !important;
	font-size: 16px !important;
	line-height: 1.2 !important;
	font-weight: 500;
}
body.single-desafio .anth-desafio-conto-card .anth-desafio-conto-card__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 5px 9px;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 12px !important;
	line-height: 1.3 !important;
}
body.single-desafio .anth-desafio-conto-card .anth-desafio-conto-card__meta span {
	margin: 0 !important;
}
@media (max-width: 800px) {
	body.single-desafio .resultados-contos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
	body.single-desafio .resultados-contos { grid-template-columns: 1fr; }
}

/* ================================================================
 * 1.1.3 — Páginas institucionais / Loja / Desafios
 * Linguagem visual alinhada ao header e à Home Anthares.
 * ================================================================ */
:root {
	--anth-ui-bg: #071018;
	--anth-ui-surface: rgba(10, 22, 31, .88);
	--anth-ui-surface-2: rgba(13, 29, 39, .94);
	--anth-ui-line: rgba(40, 220, 193, .20);
	--anth-ui-line-strong: rgba(40, 220, 193, .38);
	--anth-ui-text: #eef8f5;
	--anth-ui-muted: #8fa6b8;
	--anth-ui-accent: #23d7b5;
	--anth-ui-accent-2: #0cae97;
	--anth-ui-shadow: 0 18px 48px rgba(0, 0, 0, .24);
}

/* Estrutura comum: elimina colunas laterais residuais e dá respiro real. */
body:is(.anth-page-contato,.anth-page-faq,.anth-page-loja) .site-content .customify-container,
body:is(.anth-page-contato,.anth-page-faq,.anth-page-loja) .content-inner {
	width: min(1320px, calc(100% - 40px)) !important;
	max-width: 1320px !important;
	margin-inline: auto !important;
	box-sizing: border-box;
}
body:is(.anth-page-contato,.anth-page-faq,.anth-page-loja) .content-area,
body:is(.anth-page-contato,.anth-page-faq,.anth-page-loja) .content-main,
body:is(.anth-page-contato,.anth-page-faq,.anth-page-loja) #main {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	box-sizing: border-box;
}
body:is(.anth-page-contato,.anth-page-faq,.anth-page-loja) .sidebar-primary,
body:is(.anth-page-contato,.anth-page-faq,.anth-page-loja) .widget-area.sidebar-primary {
	display: none !important;
}

/* Titlebar mais compacto e integrado ao restante do site. */
body:is(.anth-page-contato,.anth-page-faq,.anth-page-loja,.anth-page-desafios-de-escrita) #page-titlebar {
	border-bottom: 1px solid rgba(35, 215, 181, .16) !important;
	background: rgba(14, 19, 27, .76) !important;
	box-shadow: inset 0 -1px 0 rgba(255,255,255,.012);
}
body:is(.anth-page-contato,.anth-page-faq,.anth-page-loja,.anth-page-desafios-de-escrita) #page-titlebar .titlebar-title {
	color: #eaf6f3 !important;
	font-weight: 650 !important;
	letter-spacing: -.015em;
}

/* ------------------------------ CONTATO ------------------------- */
body.anth-page-contato .content-inner {
	padding-block: clamp(28px, 4vw, 56px) !important;
}
body.anth-page-contato .entry-content {
	width: min(820px, 100%);
	margin-inline: auto;
	padding: clamp(24px, 4vw, 44px);
	box-sizing: border-box;
	border: 1px solid var(--anth-ui-line);
	border-radius: 20px;
	background:
		radial-gradient(circle at 92% 8%, rgba(35,215,181,.09), transparent 34%),
		linear-gradient(145deg, rgba(12,26,35,.96), rgba(7,15,23,.93));
	box-shadow: var(--anth-ui-shadow), inset 0 1px 0 rgba(255,255,255,.025);
}
body.anth-page-contato .entry-content form {
	display: grid;
	gap: 18px;
	margin: 0;
}
body.anth-page-contato .entry-content form p,
body.anth-page-contato .entry-content form .wpforms-field,
body.anth-page-contato .entry-content form .form-field {
	margin: 0 !important;
}
body.anth-page-contato .entry-content form label {
	display: block;
	margin: 0 0 7px !important;
	color: #dceae6 !important;
	font-size: 13px;
	font-weight: 750;
	letter-spacing: .015em;
}
body.anth-page-contato .entry-content form small,
body.anth-page-contato .entry-content form .description,
body.anth-page-contato .entry-content form .wpforms-field-description {
	display: block;
	margin-top: 6px;
	color: #758b9e !important;
	font-size: 12px;
	line-height: 1.45;
}
body.anth-page-contato .entry-content :is(input[type="text"],input[type="email"],input[type="tel"],input[type="url"],textarea,select) {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	border: 1px solid rgba(130, 168, 184, .20) !important;
	border-radius: 10px !important;
	background: rgba(255,255,255,.045) !important;
	color: #f1f8f6 !important;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
body.anth-page-contato .entry-content :is(input[type="text"],input[type="email"],input[type="tel"],input[type="url"],select) {
	height: 48px;
	padding: 0 14px !important;
}
body.anth-page-contato .entry-content textarea {
	min-height: 190px;
	padding: 13px 14px !important;
	resize: vertical;
}
body.anth-page-contato .entry-content :is(input,textarea,select):focus {
	outline: none !important;
	border-color: rgba(35,215,181,.72) !important;
	background: rgba(255,255,255,.065) !important;
	box-shadow: 0 0 0 3px rgba(35,215,181,.10) !important;
}
body.anth-page-contato .entry-content :is(button,input[type="submit"],.wpforms-submit) {
	min-height: 44px;
	padding: 0 24px !important;
	border: 1px solid rgba(73,244,211,.26) !important;
	border-radius: 10px !important;
	background: linear-gradient(135deg, #20c8a9, #119e89) !important;
	color: #03110f !important;
	font-weight: 850 !important;
	letter-spacing: .015em;
	box-shadow: 0 9px 22px rgba(0, 187, 156, .14);
	cursor: pointer;
	transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}
body.anth-page-contato .entry-content :is(button,input[type="submit"],.wpforms-submit):hover {
	transform: translateY(-1px);
	filter: brightness(1.08);
	box-shadow: 0 12px 28px rgba(0, 187, 156, .20);
}

/* ------------------------------ FAQ ----------------------------- */
body.anth-page-faq .content-inner {
	padding-block: clamp(28px, 4vw, 56px) !important;
}
body.anth-page-faq .entry-content {
	width: min(980px, 100%);
	min-height: 220px;
	margin-inline: auto;
	padding: clamp(24px, 4vw, 42px);
	box-sizing: border-box;
	border: 1px solid var(--anth-ui-line);
	border-radius: 20px;
	background:
		radial-gradient(circle at 8% 0%, rgba(35,215,181,.08), transparent 34%),
		linear-gradient(145deg, rgba(11,24,33,.95), rgba(7,15,23,.92));
	box-shadow: var(--anth-ui-shadow), inset 0 1px 0 rgba(255,255,255,.025);
}
body.anth-page-faq .entry-content > :first-child { margin-top: 0 !important; }
body.anth-page-faq .entry-content > :last-child { margin-bottom: 0 !important; }
body.anth-page-faq .entry-content :is(h2,h3,h4) {
	color: #f1f8f6 !important;
	letter-spacing: -.015em;
}
body.anth-page-faq .entry-content details,
body.anth-page-faq .entry-content .wp-block-details {
	margin: 0 0 12px;
	padding: 0;
	border: 1px solid rgba(35,215,181,.18);
	border-radius: 12px;
	background: rgba(255,255,255,.025);
	overflow: hidden;
}
body.anth-page-faq .entry-content details summary {
	position: relative;
	padding: 16px 48px 16px 18px;
	color: #e7f4f0;
	font-weight: 750;
	cursor: pointer;
	list-style: none;
}
body.anth-page-faq .entry-content details summary::-webkit-details-marker { display: none; }
body.anth-page-faq .entry-content details summary::after {
	content: "+";
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--anth-ui-accent);
	font-size: 22px;
	font-weight: 500;
}
body.anth-page-faq .entry-content details[open] summary::after { content: "−"; }
body.anth-page-faq .entry-content details > :not(summary) {
	margin-inline: 18px;
}
body.anth-page-faq .entry-content details > :last-child {
	margin-bottom: 18px;
}

/* ------------------------------ LOJA ---------------------------- */
body.anth-page-loja .content-inner {
	padding-block: clamp(28px, 4vw, 56px) !important;
}
body.anth-page-loja .woocommerce {
	width: 100%;
}
body.anth-page-loja .woocommerce :is(.woocommerce-result-count,.woocommerce-ordering) {
	margin-bottom: 22px;
}
body.anth-page-loja .woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(230px, 280px));
	gap: 24px !important;
	justify-content: start;
	margin: 0 !important;
}
body.anth-page-loja .woocommerce ul.products::before,
body.anth-page-loja .woocommerce ul.products::after { display: none !important; }
body.anth-page-loja .woocommerce ul.products li.product {
	position: relative;
	display: flex !important;
	flex-direction: column;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	padding: 14px !important;
	float: none !important;
	box-sizing: border-box;
	border: 1px solid rgba(35,215,181,.18);
	border-radius: 16px;
	background:
		linear-gradient(160deg, rgba(14,31,40,.94), rgba(7,15,23,.96));
	box-shadow: 0 14px 34px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.02);
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
	overflow: hidden;
}
body.anth-page-loja .woocommerce ul.products li.product:hover {
	transform: translateY(-3px);
	border-color: rgba(35,215,181,.42);
	box-shadow: 0 18px 40px rgba(0,0,0,.28), 0 0 0 1px rgba(35,215,181,.04);
}
body.anth-page-loja .woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
	display: block;
	text-decoration: none;
}
body.anth-page-loja .woocommerce ul.products li.product img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 3 / 4;
	margin: 0 0 15px !important;
	padding: 8px;
	box-sizing: border-box;
	object-fit: contain;
	border-radius: 11px;
	background: rgba(0,0,0,.22);
}
body.anth-page-loja .woocommerce ul.products li.product .woocommerce-loop-product__title {
	margin: 0 0 8px !important;
	padding: 0 !important;
	color: #eef8f5 !important;
	font-size: 17px !important;
	font-weight: 720;
	line-height: 1.3;
}
body.anth-page-loja .woocommerce ul.products li.product .price {
	display: block;
	margin: 0 0 14px !important;
	color: #69e9d0 !important;
	font-size: 15px !important;
	font-weight: 800 !important;
}
body.anth-page-loja .woocommerce ul.products li.product .button,
body.anth-page-loja .woocommerce ul.products li.product .added_to_cart {
	width: 100%;
	min-height: 42px;
	margin: auto 0 0 !important;
	padding: 11px 14px !important;
	box-sizing: border-box;
	border: 1px solid rgba(73,244,211,.24) !important;
	border-radius: 9px !important;
	background: linear-gradient(135deg, #20c8a9, #119e89) !important;
	color: #03110f !important;
	font-weight: 850 !important;
	text-align: center;
	box-shadow: none !important;
}
body.anth-page-loja .woocommerce ul.products li.product .button:hover,
body.anth-page-loja .woocommerce ul.products li.product .added_to_cart:hover {
	filter: brightness(1.08);
}
body.anth-page-loja .woocommerce-pagination {
	margin-top: 34px;
}

/* ---------------------- DESAFIOS DE ESCRITA --------------------- */
body.anth-page-desafios-de-escrita .anth-desafios-page {
	width: min(1320px, calc(100% - 36px));
	max-width: 1320px;
	margin-inline: auto;
	padding-block: 18px 44px;
	box-sizing: border-box;
}
body.anth-page-desafios-de-escrita .anth-desafios-layout.woocommerce-account {
	display: grid;
	grid-template-columns: minmax(215px, 245px) minmax(0, 1fr);
	align-items: start;
	gap: clamp(22px, 3vw, 38px);
	width: 100%;
	margin: 0;
}
body.anth-page-desafios-de-escrita .anth-desafios-layout > .woocommerce-MyAccount-navigation {
	position: sticky;
	top: 92px;
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 8px !important;
	box-sizing: border-box;
	border: 1px solid rgba(35,215,181,.13);
	border-radius: 14px;
	background: linear-gradient(180deg, rgba(10,24,32,.76), rgba(7,15,22,.72));
	box-shadow: 0 14px 34px rgba(0,0,0,.15);
}
body.anth-page-desafios-de-escrita .anth-desafios-layout > .woocommerce-MyAccount-content {
	min-width: 0;
	margin-top: 0 !important;
	padding: 0 !important;
}
body.anth-page-desafios-de-escrita .anth-desafios-content-inner {
	min-width: 0;
}
body.anth-page-desafios-de-escrita .anthares-contadores-site {
	margin: 0 0 18px !important;
	padding: 11px 15px;
	border: 1px solid rgba(35,215,181,.15);
	border-radius: 10px;
	background: rgba(35,215,181,.045);
	color: #a9bed0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .01em;
}
/* Cards já existentes no conteúdo: captura wrappers sem alterar o HTML salvo no WP. */
body.anth-page-desafios-de-escrita .anth-desafios-content .entry-content :is(div,section):has(> h4):has(:is(a,button,select)) {
	box-sizing: border-box;
	border-color: rgba(35,215,181,.18) !important;
	border-radius: 14px !important;
	background:
		radial-gradient(circle at 88% 4%, rgba(35,215,181,.07), transparent 36%),
		linear-gradient(150deg, rgba(11,25,34,.88), rgba(8,17,25,.90)) !important;
	box-shadow: 0 12px 30px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.018);
	transition: transform .17s ease, border-color .17s ease, box-shadow .17s ease;
}
body.anth-page-desafios-de-escrita .anth-desafios-content .entry-content :is(div,section):has(> h4):has(:is(a,button,select)):hover {
	transform: translateY(-2px);
	border-color: rgba(35,215,181,.34) !important;
	box-shadow: 0 16px 34px rgba(0,0,0,.22);
}
body.anth-page-desafios-de-escrita .anth-desafios-content .entry-content h4 {
	color: #eaf6f3 !important;
	font-weight: 700 !important;
	letter-spacing: -.015em;
}
body.anth-page-desafios-de-escrita .anth-desafios-content .entry-content p {
	color: #8197aa;
	line-height: 1.65;
}
body.anth-page-desafios-de-escrita .anth-desafios-content .entry-content :is(a.button,button,input[type="submit"]) {
	border: 1px solid rgba(73,244,211,.24) !important;
	border-radius: 9px !important;
	background: linear-gradient(135deg, #20c8a9, #119e89) !important;
	color: #03110f !important;
	font-weight: 850 !important;
	box-shadow: none !important;
	transition: transform .16s ease, filter .16s ease;
}
body.anth-page-desafios-de-escrita .anth-desafios-content .entry-content :is(a.button,button,input[type="submit"]):hover {
	transform: translateY(-1px);
	filter: brightness(1.08);
}
body.anth-page-desafios-de-escrita .anth-desafios-content select {
	min-height: 42px;
	border-radius: 8px !important;
	background: rgba(255,255,255,.045) !important;
	border-color: rgba(130,168,184,.18) !important;
	color: #dceae6 !important;
}

/* Responsividade comum */
@media (max-width: 980px) {
	body.anth-page-desafios-de-escrita .anth-desafios-layout.woocommerce-account {
		grid-template-columns: 210px minmax(0, 1fr);
		gap: 18px;
	}
	body.anth-page-loja .woocommerce ul.products {
		grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	}
}
@media (max-width: 760px) {
	body:is(.anth-page-contato,.anth-page-faq,.anth-page-loja) .site-content .customify-container,
	body:is(.anth-page-contato,.anth-page-faq,.anth-page-loja) .content-inner,
	body.anth-page-desafios-de-escrita .anth-desafios-page {
		width: min(100% - 24px, 1320px) !important;
	}
	body.anth-page-desafios-de-escrita .anth-desafios-layout.woocommerce-account {
		display: block;
	}
	body.anth-page-desafios-de-escrita .anth-desafios-layout > .woocommerce-MyAccount-navigation {
		position: static;
		margin-bottom: 16px !important;
		padding: 0 !important;
		border: 0;
		background: transparent;
		box-shadow: none;
	}
	body.anth-page-contato .entry-content,
	body.anth-page-faq .entry-content {
		padding: 20px;
		border-radius: 14px;
	}
	body.anth-page-loja .woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px !important;
	}
}
@media (max-width: 520px) {
	body.anth-page-loja .woocommerce ul.products {
		grid-template-columns: 1fr;
	}
	body.anth-page-loja .woocommerce ul.products li.product {
		max-width: 340px;
		margin-inline: auto !important;
	}
}

/* ================================================================
 * 1.1.4 — Hub único Minha Conta + correções Loja/Contato
 * ================================================================ */

/* ----------------------------------------------------------------
 * MENU LATERAL: o markup vem exclusivamente de
 * woocommerce/myaccount/navigation.php. Estas regras são globais para
 * qualquer página que use aquele hub, em vez de existir uma cópia de
 * estilo por template.
 * ---------------------------------------------------------------- */
.anthares-account-nav-hub.woocommerce-MyAccount-navigation {
	position: sticky;
	top: 92px;
	align-self: start;
	min-width: 0;
	margin-top: 0 !important;
	padding: 8px !important;
	box-sizing: border-box;
	border: 1px solid rgba(35, 215, 181, .14);
	border-radius: 14px;
	background:
		radial-gradient(circle at 85% 5%, rgba(35,215,181,.055), transparent 35%),
		linear-gradient(180deg, rgba(9,23,31,.84), rgba(6,14,21,.80));
	box-shadow: 0 14px 34px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.018);
	overflow: hidden;
}
.anthares-account-nav-hub > ul {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
}
.anthares-account-nav-hub .woocommerce-MyAccount-navigation-link {
	margin: 0 !important;
	padding: 0 !important;
	border-bottom: 1px solid rgba(35,215,181,.105);
}
.anthares-account-nav-hub .woocommerce-MyAccount-navigation-link:last-child {
	border-bottom: 0;
}
.anthares-account-nav-hub .woocommerce-MyAccount-navigation-link > a {
	display: flex !important;
	align-items: center;
	min-height: 40px;
	padding: 8px 11px !important;
	box-sizing: border-box;
	border-radius: 8px;
	color: #20d8bd !important;
	font-size: 14px;
	font-weight: 520;
	line-height: 1.25;
	text-decoration: none !important;
	transition: color .16s ease, background-color .16s ease, padding-left .16s ease, box-shadow .16s ease;
}
.anthares-account-nav-hub .woocommerce-MyAccount-navigation-link.anthares-account-nav-emphasis > a {
	font-weight: 800;
}
.anthares-account-nav-hub .woocommerce-MyAccount-navigation-link > a:hover,
.anthares-account-nav-hub .woocommerce-MyAccount-navigation-link.is-active > a {
	padding-left: 15px !important;
	background: rgba(35,215,181,.13) !important;
	color: #f5fffc !important;
	box-shadow: inset 2px 0 0 rgba(35,215,181,.82);
}
.anthares-account-nav-toggle {
	display: none;
}

/* O hub centraliza apenas o MARKUP e a aparência do menu.
 * A geometria nav/conteúdo continua pertencendo a cada página/template.
 * Isso preserva layouts especiais da Minha Conta, perfil, rankings, pesquisa,
 * envio de conto e demais telas que já tinham composição própria. */

@media (max-width: 760px) {
	div.woocommerce-account:has(> .anthares-account-nav-hub),
	div.woocommerce:has(> .anthares-account-nav-hub) {
		display: block;
	}
	.anthares-account-nav-hub.woocommerce-MyAccount-navigation {
		position: static;
		width: 100% !important;
		float: none !important;
		margin: 0 0 14px !important;
		padding: 0 !important;
		border-radius: 12px;
		background: rgba(8,22,30,.92);
	}
	.anthares-account-nav-toggle {
		display: grid;
		grid-template-columns: 1fr auto auto;
		align-items: center;
		gap: 10px;
		width: 100%;
		min-height: 48px;
		padding: 0 14px;
		border: 0;
		border-bottom: 1px solid transparent;
		background: rgba(35,215,181,.11);
		color: #f4fffc;
		font: inherit;
		font-weight: 800;
		text-align: left;
		cursor: pointer;
	}
	.anthares-account-nav-toggle__icon {
		color: #20d8bd;
		font-size: 17px;
		line-height: 1;
	}
	.anthares-account-nav-toggle__chevron {
		color: #8fa6b8;
		font-size: 18px;
		line-height: 1;
		transition: transform .16s ease;
	}
	.anthares-account-nav-hub.is-open .anthares-account-nav-toggle {
		border-bottom-color: rgba(35,215,181,.13);
	}
	.anthares-account-nav-hub.is-open .anthares-account-nav-toggle__chevron {
		transform: rotate(180deg);
	}
	.anthares-account-nav-hub > ul {
		display: none;
		padding: 6px !important;
	}
	.anthares-account-nav-hub.is-open > ul {
		display: block;
	}
	.anthares-account-nav-hub .woocommerce-MyAccount-navigation-link > a {
		min-height: 39px;
	}
}

/* ----------------------------------------------------------------
 * CONTATO: aproxima o card do titlebar. O tema pai ainda deixava
 * margem/padding vertical acima do entry-content mesmo com a primeira
 * estilização.
 * ---------------------------------------------------------------- */
body.anth-page-contato .site-content,
body.anth-page-contato #content {
	padding-top: 0 !important;
}
body.anth-page-contato .content-inner {
	padding-top: 12px !important;
	padding-bottom: clamp(30px, 4vw, 48px) !important;
}
body.anth-page-contato :is(article,.entry,.page) {
	margin-top: 0 !important;
	padding-top: 0 !important;
}
body.anth-page-contato .entry-content {
	margin-top: 0 !important;
}

/* ----------------------------------------------------------------
 * LOJA: cobre tanto a página WooCommerce configurada como Shop quanto
 * uma página /loja/ comum/shortcode. O seletor anterior dependia de uma
 * combinação específica do loop clássico e por isso o card podia ficar
 * com o visual cru do tema.
 * ---------------------------------------------------------------- */
:where(body.anth-page-loja, body.woocommerce-shop, body.post-type-archive-product) .site-content .customify-container,
:where(body.anth-page-loja, body.woocommerce-shop, body.post-type-archive-product) .content-inner {
	width: min(1320px, calc(100% - 40px)) !important;
	max-width: 1320px !important;
	margin-inline: auto !important;
	box-sizing: border-box;
}
:where(body.anth-page-loja, body.woocommerce-shop, body.post-type-archive-product) :is(.content-area,.content-main,#main) {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
}
:where(body.anth-page-loja, body.woocommerce-shop, body.post-type-archive-product) :is(.sidebar-primary,.widget-area.sidebar-primary) {
	display: none !important;
}
:where(body.anth-page-loja, body.woocommerce-shop, body.post-type-archive-product) .content-inner {
	padding-top: 24px !important;
	padding-bottom: 52px !important;
}

/* Loop clássico e variações geradas por shortcodes/blocos. */
:where(body.anth-page-loja, body.woocommerce-shop, body.post-type-archive-product) :is(
	.woocommerce ul.products,
	.woocommerce .products,
	ul.products,
	.wc-block-grid__products,
	.wp-block-woocommerce-product-collection ul
) {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(245px, 300px)) !important;
	justify-content: center !important;
	align-items: stretch !important;
	gap: 26px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
:where(body.anth-page-loja, body.woocommerce-shop, body.post-type-archive-product) :is(
	.woocommerce ul.products li.product,
	.woocommerce .products > .product,
	ul.products > li.product,
	.wc-block-grid__product,
	.wc-block-product,
	.wp-block-post.type-product
) {
	position: relative !important;
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	max-width: 300px !important;
	min-width: 0 !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 14px !important;
	float: none !important;
	box-sizing: border-box !important;
	border: 1px solid rgba(35,215,181,.22) !important;
	border-radius: 16px !important;
	background:
		radial-gradient(circle at 88% 4%, rgba(35,215,181,.075), transparent 36%),
		linear-gradient(155deg, rgba(11,27,36,.97), rgba(6,14,22,.98)) !important;
	box-shadow: 0 16px 38px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.025) !important;
	overflow: hidden !important;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
:where(body.anth-page-loja, body.woocommerce-shop, body.post-type-archive-product) :is(
	.woocommerce ul.products li.product,
	.woocommerce .products > .product,
	ul.products > li.product,
	.wc-block-grid__product,
	.wc-block-product,
	.wp-block-post.type-product
):hover {
	transform: translateY(-3px);
	border-color: rgba(35,215,181,.46) !important;
	box-shadow: 0 21px 48px rgba(0,0,0,.30), 0 0 0 1px rgba(35,215,181,.04) !important;
}
:where(body.anth-page-loja, body.woocommerce-shop, body.post-type-archive-product) :is(
	.woocommerce ul.products li.product img,
	.woocommerce .products > .product img,
	.wc-block-grid__product img,
	.wc-block-product img,
	.wp-block-post.type-product img
) {
	display: block !important;
	width: 100% !important;
	height: 310px !important;
	max-height: 310px !important;
	margin: 0 0 15px !important;
	padding: 8px !important;
	box-sizing: border-box !important;
	object-fit: contain !important;
	border-radius: 11px !important;
	background: rgba(0,0,0,.24) !important;
}
:where(body.anth-page-loja, body.woocommerce-shop, body.post-type-archive-product) :is(
	.woocommerce-loop-product__title,
	.wc-block-grid__product-title,
	.wc-block-components-product-name,
	.wp-block-post-title
) {
	margin: 0 0 9px !important;
	padding: 0 !important;
	color: #eef8f5 !important;
	font-size: 17px !important;
	font-weight: 760 !important;
	line-height: 1.3 !important;
}
:where(body.anth-page-loja, body.woocommerce-shop, body.post-type-archive-product) :is(
	.price,
	.woocommerce-Price-amount,
	.wc-block-components-product-price,
	.wc-block-grid__product-price
) {
	color: #69e9d0 !important;
	font-size: 15px !important;
	font-weight: 850 !important;
	opacity: 1 !important;
}
:where(body.anth-page-loja, body.woocommerce-shop, body.post-type-archive-product) :is(
	.button,
	.added_to_cart,
	.wp-block-button__link,
	.wc-block-components-product-button__button
) {
	min-height: 42px !important;
	margin-top: auto !important;
	padding: 11px 15px !important;
	box-sizing: border-box !important;
	border: 1px solid rgba(73,244,211,.28) !important;
	border-radius: 9px !important;
	background: linear-gradient(135deg, #20c8a9, #119e89) !important;
	color: #03110f !important;
	font-weight: 850 !important;
	text-align: center !important;
	text-decoration: none !important;
	box-shadow: none !important;
}

@media (max-width: 760px) {
	:where(body.anth-page-loja, body.woocommerce-shop, body.post-type-archive-product) .site-content .customify-container,
	:where(body.anth-page-loja, body.woocommerce-shop, body.post-type-archive-product) .content-inner {
		width: min(100% - 24px, 1320px) !important;
	}
	:where(body.anth-page-loja, body.woocommerce-shop, body.post-type-archive-product) :is(
		.woocommerce ul.products,
		.woocommerce .products,
		ul.products,
		.wc-block-grid__products,
		.wp-block-woocommerce-product-collection ul
	) {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 14px !important;
	}
	:where(body.anth-page-loja, body.woocommerce-shop, body.post-type-archive-product) :is(
		.woocommerce ul.products li.product,
		.woocommerce .products > .product,
		ul.products > li.product,
		.wc-block-grid__product,
		.wc-block-product,
		.wp-block-post.type-product
	) {
		max-width: none !important;
	}
}
@media (max-width: 520px) {
	:where(body.anth-page-loja, body.woocommerce-shop, body.post-type-archive-product) :is(
		.woocommerce ul.products,
		.woocommerce .products,
		ul.products,
		.wc-block-grid__products,
		.wp-block-woocommerce-product-collection ul
	) {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 760px) {
	body.anth-page-desafios-de-escrita .anth-desafios-layout > .anthares-account-nav-hub.woocommerce-MyAccount-navigation {
		position: static !important;
		margin: 0 0 14px !important;
		padding: 0 !important;
		border: 1px solid rgba(35,215,181,.14) !important;
		border-radius: 12px !important;
		background: rgba(8,22,30,.92) !important;
		box-shadow: 0 10px 26px rgba(0,0,0,.14) !important;
	}
}

/* ================================================================
 * 1.1.6 — Fórum/Tópicos + compatibilidade do hub com Worldbuilding
 * ================================================================ */

/* ----------------------------------------------------------------
 * WORLDBUILDING
 * O Worldbuilding possui seu próprio controlador responsivo da navegação.
 * O toggle interno do hub global criava um segundo controlador e podia
 * desmontar a composição do componente. Dentro do Worldbuilding, o hub
 * fornece apenas os itens do menu; geometria e abertura permanecem sob
 * responsabilidade de worldbuilding.css / Anthares_Worldbuilding.
 * ---------------------------------------------------------------- */
body.anthares-worldbuilding-page .awb-account-nav .anthares-account-nav-hub.woocommerce-MyAccount-navigation {
    top: auto !important;
    align-self: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

body.anthares-worldbuilding-page .awb-account-nav .anthares-account-nav-hub > .anthares-account-nav-toggle {
    display: none !important;
}

@media (min-width: 769px) {
    body.anthares-worldbuilding-page .awb-account-nav .anthares-account-nav-hub > ul {
        display: block !important;
    }
}

@media (max-width: 768px) {
    body.anthares-worldbuilding-page .awb-account-nav .anthares-account-nav-hub.woocommerce-MyAccount-navigation:not(.anthares-menu-aberto) {
        display: none !important;
    }

    body.anthares-worldbuilding-page .awb-account-nav .anthares-account-nav-hub.woocommerce-MyAccount-navigation.anthares-menu-aberto {
        display: block !important;
        width: 100% !important;
        margin: 0 0 12px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: hidden !important;
    }

    body.anthares-worldbuilding-page .awb-account-nav .anthares-account-nav-hub.woocommerce-MyAccount-navigation.anthares-menu-aberto > ul {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* ----------------------------------------------------------------
 * FÓRUM — endpoint Tópicos
 * Mantém a lógica AJAX atual e transforma apenas a apresentação da lista,
 * criação e leitura de tópicos.
 * ---------------------------------------------------------------- */
body:has(#anthares-topicos-conteudo) .woocommerce-MyAccount-content > h3 {
    margin: 0 0 14px !important;
    color: #f4fbfa !important;
    font-size: clamp(24px, 2.2vw, 32px) !important;
    font-weight: 650 !important;
    letter-spacing: -.02em;
}

#anthares-topicos-conteudo {
    width: 100%;
    max-width: 980px;
    color: #d7e4e2;
}

#anthares-topico-novo-btn,
#anthares-topicos-conteudo > .button:first-child {
    min-height: 43px !important;
    margin: 0 0 16px !important;
    padding: 10px 17px !important;
    border: 1px solid rgba(70, 239, 210, .28) !important;
    border-radius: 9px !important;
    background: linear-gradient(135deg, #20c8a9, #159c89) !important;
    color: #041411 !important;
    font-weight: 850 !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.15) !important;
    transition: transform .16s ease, filter .16s ease, box-shadow .16s ease !important;
}

#anthares-topico-novo-btn:hover,
#anthares-topicos-conteudo > .button:first-child:hover {
    transform: translateY(-1px);
    filter: brightness(1.07);
    box-shadow: 0 14px 30px rgba(0,0,0,.2) !important;
}

#anthares-topicos-lista {
    display: grid;
    gap: 10px;
    margin-top: 0 !important;
}

#anthares-topicos-lista .anthares-club-opcao {
    position: relative;
    display: block;
    min-width: 0;
    margin: 0 !important;
    padding: 15px 48px 15px 17px !important;
    border: 1px solid rgba(35, 215, 181, .16);
    border-radius: 11px;
    background:
        radial-gradient(circle at 92% 10%, rgba(35,215,181,.055), transparent 33%),
        linear-gradient(145deg, rgba(10,26,34,.93), rgba(6,16,24,.92));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.018), 0 9px 22px rgba(0,0,0,.10);
    transition: transform .16s ease, border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

#anthares-topicos-lista .anthares-club-opcao::after {
    content: "›";
    position: absolute;
    top: 50%;
    right: 17px;
    transform: translateY(-50%);
    color: rgba(72, 225, 198, .65);
    font-size: 27px;
    font-weight: 300;
    line-height: 1;
    transition: transform .16s ease, color .16s ease;
}

#anthares-topicos-lista .anthares-club-opcao:hover {
    transform: translateY(-2px);
    border-color: rgba(35, 215, 181, .38);
    background:
        radial-gradient(circle at 92% 10%, rgba(35,215,181,.095), transparent 36%),
        linear-gradient(145deg, rgba(12,31,40,.98), rgba(7,18,27,.96));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 14px 30px rgba(0,0,0,.18);
}

#anthares-topicos-lista .anthares-club-opcao:hover::after {
    transform: translate(3px,-50%);
    color: #45e5c9;
}

#anthares-topicos-lista .anthares-club-opcao > strong {
    display: block;
    margin: 0 0 6px;
    color: #eef8f6;
    font-size: clamp(15px, 1.35vw, 17px);
    font-weight: 720;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

#anthares-topicos-lista .anthares-club-opcao > br {
    display: none;
}

#anthares-topicos-lista .anthares-club-opcao > span {
    display: block;
    color: #8fa7b3;
    font-size: 12.5px;
    line-height: 1.45;
}

#anthares-topicos-lista .anthares-club-opcao > span a {
    color: #36d7bc !important;
    font-weight: 650;
    text-decoration: none !important;
}

#anthares-topicos-lista .anthares-club-opcao > span em {
    color: #d8b46e;
    font-style: normal;
}

#anthares-topicos-mais {
    justify-self: start;
    margin-top: 4px !important;
    border-radius: 8px !important;
}

/* Criação de tópico. */
#anthares-topicos-conteudo #anthares-topico-titulo,
#anthares-topicos-conteudo #anthares-topico-conteudo-novo,
#anthares-topicos-conteudo #anthares-topico-resposta-texto {
    width: 100% !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(129,157,176,.24) !important;
    border-radius: 9px !important;
    background: rgba(8,19,28,.78) !important;
    color: #edf8f5 !important;
    outline: none !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
}

#anthares-topicos-conteudo #anthares-topico-titulo {
    min-height: 44px;
    padding: 10px 12px !important;
}

#anthares-topicos-conteudo :is(#anthares-topico-conteudo-novo,#anthares-topico-resposta-texto) {
    min-height: 108px;
    padding: 12px !important;
    resize: vertical;
}

#anthares-topicos-conteudo :is(#anthares-topico-titulo,#anthares-topico-conteudo-novo,#anthares-topico-resposta-texto):focus {
    border-color: rgba(39,216,184,.72) !important;
    box-shadow: 0 0 0 3px rgba(39,216,184,.09) !important;
}

#anthares-topicos-conteudo #anthares-topico-voltar {
    color: #39d9bf !important;
    font-weight: 700;
    text-decoration: none !important;
}

#anthares-topicos-conteudo > h4 {
    margin: 18px 0 8px !important;
    color: #f2faf8 !important;
    font-size: clamp(21px,2vw,29px) !important;
    line-height: 1.25 !important;
}

#anthares-topicos-conteudo .anthares-topico-corpo {
    margin: 18px 0 !important;
    padding: 18px 20px !important;
    border: 1px solid rgba(35,215,181,.15);
    border-radius: 11px;
    background: rgba(7,18,26,.72);
    color: #dce8e5;
    line-height: 1.7;
}

#anthares-topicos-conteudo .anthares-resposta {
    margin: 10px 0 !important;
    padding: 13px 15px !important;
    border: 1px solid rgba(35,215,181,.12) !important;
    border-left: 3px solid rgba(35,215,181,.52) !important;
    border-radius: 8px !important;
    background: rgba(8,20,28,.63) !important;
}

#anthares-topicos-conteudo .anthares-resposta > strong a {
    color: #3bdcc1 !important;
}

#anthares-topicos-conteudo .anthares-forum-like-btn,
#anthares-topicos-conteudo .anthares-forum-dislike-btn {
    border-color: rgba(126,151,169,.28) !important;
    background: rgba(255,255,255,.035) !important;
    color: #aebfc8 !important;
}

#anthares-topicos-conteudo .anthares-forum-like-btn.liked {
    border-color: #53a1ff !important;
    color: #74b4ff !important;
}

#anthares-topicos-conteudo .anthares-forum-dislike-btn.disliked {
    border-color: #ff6a6a !important;
    color: #ff8383 !important;
}

@media (max-width: 700px) {
    #anthares-topicos-conteudo {
        max-width: none;
    }

    #anthares-topicos-lista .anthares-club-opcao {
        padding: 13px 38px 13px 14px !important;
    }

    #anthares-topicos-lista .anthares-club-opcao::after {
        right: 12px;
    }
}


/* Perfil Público — vitrine autoral padrão. */
body.author .content-inner.anth-profile-public-shell{max-width:1240px!important;width:min(1240px,calc(100% - 36px))!important;margin:24px auto 50px!important;padding:0!important;box-sizing:border-box!important}
body.author .woocommerce-account{display:block!important;width:100%!important}
body.author .woocommerce-account .woocommerce-MyAccount-navigation{display:none!important}
body.author .woocommerce-MyAccount-content.anth-profile-public-content{float:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body.author .anth-profile-public-shell .content-inner{max-width:none!important}
body.author .anth-profile-hero{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1.6fr) minmax(320px,.9fr)!important;gap:18px!important;align-items:stretch!important;margin:0 0 14px!important;padding:24px!important;border:1px solid rgba(93,202,165,.20)!important;border-radius:18px!important;background:linear-gradient(135deg,rgba(5,22,24,.94),rgba(9,16,24,.94))!important;box-shadow:0 18px 50px rgba(0,0,0,.18)!important;text-align:left!important;overflow:hidden!important}
body.author .anth-profile-hero::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 12% 18%,rgba(30,200,165,.12),transparent 34%),radial-gradient(circle at 88% 78%,rgba(53,215,255,.08),transparent 34%)}
body.author .anth-profile-hero__identity,body.author .anth-profile-hero__stats,body.author .anth-profile-hero__visitor-actions{position:relative;z-index:1}
body.author .anth-profile-hero__identity{display:flex;align-items:center;gap:22px;min-width:0}
body.author .anth-profile-hero__avatar{flex:0 0 auto;width:118px;height:118px;padding:4px;border:1px solid rgba(93,202,165,.38);border-radius:50%;background:rgba(93,202,165,.06);box-shadow:0 0 0 7px rgba(93,202,165,.045)}
body.author .anth-profile-hero__avatar img{display:block;width:100%!important;height:100%!important;border-radius:50%!important;object-fit:cover!important;margin:0!important}
body.author .anth-profile-hero__main{min-width:0}
body.author .anth-profile-hero__eyebrow{margin:0 0 7px;color:#5dcaa5;font-size:9px;font-weight:900;letter-spacing:.17em;line-height:1;text-transform:uppercase}
body.author .anth-profile-hero h1{margin:0!important;color:#f4fbf8!important;font-size:34px!important;line-height:1.05!important;letter-spacing:-.02em!important}
body.author .anth-profile-hero__handle{margin-top:7px;color:#69d7bb;font-size:13px;font-weight:700}
body.author .anth-profile-hero__highlights{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
body.author .anth-profile-hero__highlights a{display:flex;min-width:170px;max-width:360px;flex-direction:column;gap:3px;padding:9px 11px;border:1px solid rgba(255,255,255,.09);border-radius:10px;background:rgba(255,255,255,.025);text-decoration:none!important}
body.author .anth-profile-hero__highlights span{color:rgba(255,255,255,.45);font-size:7.5px;font-weight:900;letter-spacing:.13em}
body.author .anth-profile-hero__highlights strong{color:#eef8f5;font-size:11px;line-height:1.3}
body.author .anth-profile-hero__stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-content:center}
body.author .anth-profile-hero__stats a,body.author .anth-profile-hero__stats>div{display:flex;min-height:86px;flex-direction:column;justify-content:center;padding:12px 14px;border:1px solid rgba(93,202,165,.12);border-radius:11px;background:rgba(255,255,255,.025);text-decoration:none!important;text-align:left}
body.author .anth-profile-hero__stats a:hover{border-color:rgba(93,202,165,.32);background:rgba(93,202,165,.05)}
body.author .anth-profile-hero__stats strong{color:#f2faf7;font-size:25px;line-height:1;font-weight:850}
body.author .anth-profile-hero__stats span{margin-top:6px;color:rgba(255,255,255,.5);font-size:9px;line-height:1.2}
body.author .anth-profile-hero__visitor-actions{grid-column:1/-1;display:flex;justify-content:flex-end;margin-top:-2px}
body.author .anth-profile-hero__visitor-actions a,body.author .anth-profile-hero__visitor-actions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;padding:9px 15px!important;border-radius:9px!important}
body.author .anth-perfil-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important;margin:0 0 14px!important}
body.author .anth-perfil-nav a{display:flex!important;min-height:70px!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;padding:11px 13px!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:11px!important;background:rgba(255,255,255,.025)!important;text-decoration:none!important;text-align:left!important;transition:border-color .15s ease,background .15s ease,transform .15s ease!important}
body.author .anth-perfil-nav a:hover{border-color:rgba(93,202,165,.35)!important;background:rgba(93,202,165,.055)!important;transform:translateY(-1px)!important}
body.author .anth-perfil-nav strong{color:#f0f8f5!important;font-size:15px!important;line-height:1!important}
body.author .anth-perfil-nav span{margin-top:6px!important;color:rgba(255,255,255,.48)!important;font-size:9px!important;line-height:1.2!important}
body.author .anth-profile-owner-controls{display:flex;flex-direction:column;gap:8px;margin:0 0 16px}
body.author .anth-profile-owner-controls:empty{display:none}
body.author .anth-profile-preview-fab{position:fixed!important;left:16px!important;bottom:18px!important;z-index:99990!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;padding:10px 13px!important;border:1px solid rgba(93,202,165,.42)!important;border-radius:11px!important;background:#071b1d!important;color:#dff9ef!important;box-shadow:0 12px 30px rgba(0,0,0,.28)!important;cursor:pointer!important;text-align:left!important}
body.author .anth-profile-preview-fab span{font-size:7px!important;letter-spacing:.13em!important;font-weight:900!important;color:#5dcaa5!important}
body.author .anth-profile-preview-fab strong{font-size:10px!important;line-height:1.1!important;color:#f1faf7!important}
body.author .anth-profile-section{position:relative!important;margin:0 0 16px!important;padding:18px!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:15px!important;background:linear-gradient(135deg,rgba(6,14,19,.82),rgba(10,14,22,.72))!important;box-sizing:border-box!important}
body.author .anth-profile-section:empty{display:none!important}
body.author .anth-profile-section > h2:first-child,body.author .anth-profile-section .anthares-projeto-publico > h2,body.author .anth-profile-section .anth-beta-perfil > h2,body.author .anth-profile-section .anthares-avaliacoes-publicas > div:first-child h2{margin:0 0 10px!important;color:#edf8f5!important;font-size:19px!important;line-height:1.15!important}
body.author .anth-profile-section::before{content:"";display:block;width:28px;height:2px;margin:0 0 9px;border-radius:2px;background:#5dcaa5;box-shadow:0 0 10px rgba(93,202,165,.22)}
body.author .anth-profile-vitrine{padding:20px!important;background:linear-gradient(135deg,rgba(4,20,23,.96),rgba(7,17,24,.94))!important;border-color:rgba(93,202,165,.20)!important}
body.author .anth-profile-contos{padding:20px!important}
body.author .anth-profile-evaluations{padding:20px!important}
body.author .anth-profile-project:empty,body.author .anth-profile-beta:empty,body.author .anth-profile-consultoria:empty{display:none!important}
body.author .anth-profile-about > *:first-child,body.author .anth-profile-vitrine > *:first-child,body.author .anth-profile-contos > *:first-child,body.author .anth-profile-evaluations > *:first-child{margin-top:0!important}
body.author .anth-profile-project .anthares-projeto-publico{margin:0!important;display:grid!important;grid-template-columns:160px minmax(0,1fr)!important;gap:18px!important;align-items:center!important;text-align:left!important}
body.author .anth-profile-project .anthares-projeto-publico>h2{grid-column:1/-1!important}
body.author .anth-profile-project .anthares-projeto-publico>div{display:contents!important}
body.author .anth-profile-project .anthares-projeto-publico img{width:160px!important;margin:0!important}
body.author .anth-profile-project .anthares-projeto-publico h4{font-size:22px!important;color:#f1f8f5!important}
body.author .anth-profile-project .anthares-projeto-publico p{color:rgba(235,245,242,.68)!important}
body.author .anth-profile-beta .anth-beta-perfil{margin:0!important;padding:0!important;border:0!important;background:transparent!important}
body.author .anth-profile-beta .anth-beta-perfil__acoes{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
body.author .anth-profile-beta .anth-beta-perfil__btn{min-width:0!important;display:flex!important;min-height:82px!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:5px!important;padding:13px 15px!important;border-radius:11px!important;background:rgba(93,202,165,.055)!important}
body.author .anth-profile-beta .anth-beta-perfil__btn strong{font-size:13px!important;color:#eef8f5!important}
body.author .anth-profile-beta .anth-beta-perfil__btn span{font-size:10px!important;color:rgba(255,255,255,.55)!important}
body.author .anth-profile-evaluations .anthares-avaliacoes-publicas{margin:0!important}
body.author .anth-profile-evaluations .anthares-avaliacoes-publicas>ul{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;list-style:none!important;padding:0!important;margin:12px 0 0!important}
body.author .anth-profile-evaluations .anthares-avaliacoes-publicas>ul>li{margin:0!important;padding:12px 13px!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:10px!important;background:rgba(255,255,255,.025)!important}
body.author .anth-profile-evaluations .anthares-avaliacoes-publicas>ul>li a{color:#61d8bb!important;font-weight:700!important;text-decoration:none!important}
body.author .anth-profile-evaluations .anth-curadoria-ajuda{color:rgba(255,255,255,.55)!important;font-size:10px!important}
body.author .anth-profile-evaluations .anth-perfil-avaliacoes-curadoria summary{cursor:pointer!important;color:#5dcaa5!important;font-weight:800!important}
body.author .anth-profile-contos .anth-perfil-contos-curadoria{margin-top:10px!important}
body.author .anth-profile-contos .anth-perfil-contos-checks{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
body.author .anth-profile-contos .anth-sortable-item{padding:9px 10px!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:9px!important;background:rgba(255,255,255,.025)!important}
body.author .is-visitor-preview [data-profile-owner-only],body.author .is-visitor-preview .anth-profile-owner-controls,body.author .is-visitor-preview .anth-profile-boost-inline,body.author .is-visitor-preview .anth-perfil-contos-curadoria,body.author .is-visitor-preview .anth-perfil-avaliacoes-curadoria,body.author .is-visitor-preview .autor-posicao-rankings,body.author .is-visitor-preview .autor-aviso-tecnica{display:none!important}
body.author .is-visitor-preview .anth-profile-section{border-color:rgba(255,255,255,.055)!important}
body.author .is-visitor-preview .anth-profile-preview-fab{background:#0d2630!important;border-color:rgba(101,201,232,.45)!important}
body.author .is-visitor-preview .anth-profile-preview-fab span{color:#7bd6ee!important}
@media(max-width:900px){body.author .anth-profile-hero{grid-template-columns:1fr!important}body.author .anth-profile-hero__visitor-actions{grid-column:auto!important}body.author .anth-perfil-nav{grid-template-columns:repeat(3,minmax(0,1fr))!important}body.author .anth-profile-project .anthares-projeto-publico{grid-template-columns:1fr!important}body.author .anth-profile-project .anthares-projeto-publico img{width:130px!important}}
@media(max-width:620px){body.author .content-inner.anth-profile-public-shell{width:calc(100% - 20px)!important;margin-top:12px!important}body.author .anth-profile-hero{padding:17px!important}body.author .anth-profile-hero__identity{align-items:flex-start;gap:13px}body.author .anth-profile-hero__avatar{width:78px;height:78px}body.author .anth-profile-hero h1{font-size:25px!important}body.author .anth-profile-hero__stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.author .anth-perfil-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.author .anth-profile-section{padding:14px!important}body.author .anth-profile-beta .anth-beta-perfil__acoes,body.author .anth-profile-evaluations .anthares-avaliacoes-publicas>ul,body.author .anth-profile-contos .anth-perfil-contos-checks{grid-template-columns:1fr!important}body.author .anth-profile-preview-fab{left:10px!important;bottom:10px!important}}
body.author .is-visitor-preview #anthares-avaliacoes-publico-toggle,
body.author .is-visitor-preview .sobre-usuario a,
body.author .is-visitor-preview #sobre-usuario-conteudo-toggle-btn{display:none!important}


/* 1.1.8 — topo do conto organizado + perfil público em cards. */
body.single-conto #topo-conto{margin-bottom:14px!important}
body.single-conto #topo-conto .entry-title{margin:0!important;font-size:clamp(28px,3vw,40px)!important;line-height:1.12!important;letter-spacing:-.025em!important}
body.single-conto .conto-topo-organizado{margin:0 0 18px;padding:14px 0 16px;border-bottom:1px solid rgba(93,202,165,.14)}
body.single-conto .conto-meta-autor,body.single-conto .conto-meta-secundaria{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;margin:0!important}
body.single-conto .conto-meta-autor{font-size:13px}
body.single-conto .conto-meta-secundaria{margin-top:11px!important;color:rgba(215,232,238,.72);font-size:12px}
body.single-conto .conto-meta-autor span,body.single-conto .conto-meta-secundaria span{margin-right:0!important}
body.single-conto .conto-acoes-principais{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 0}
body.single-conto .conto-acoes-principais .anth-pdf-inline-button,
body.single-conto .conto-acoes-principais .conto-acao-principal,
body.single-conto .conto-acoes-principais .modo-leitura-controles>.botao-modo-leitura,
body.single-conto .conto-acoes-principais .convidar-avaliacao>.anth-convite-abrir.button{appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;margin:0!important;padding:8px 13px!important;border:1px solid rgba(93,202,165,.38)!important;border-radius:9px!important;background:rgba(5,28,31,.72)!important;color:#78ddc1!important;font:inherit!important;font-size:12px!important;font-weight:800!important;line-height:1.1!important;text-decoration:none!important;box-shadow:none!important;cursor:pointer!important;white-space:nowrap!important}
body.single-conto .conto-acoes-principais .anth-pdf-inline-button:hover,
body.single-conto .conto-acoes-principais .conto-acao-principal:hover,
body.single-conto .conto-acoes-principais .modo-leitura-controles>.botao-modo-leitura:hover,
body.single-conto .conto-acoes-principais .convidar-avaliacao>.anth-convite-abrir.button:hover{border-color:rgba(93,202,165,.7)!important;background:rgba(93,202,165,.13)!important;color:#b7f2df!important;transform:none!important}
body.single-conto .conto-acoes-principais .modo-leitura-controles{display:flex;align-items:center;gap:6px;margin:0!important}
body.single-conto .conto-acoes-principais .fonte-controles{align-items:center;gap:4px}
body.single-conto .conto-acoes-principais .fonte-controles button{min-width:32px;min-height:36px;margin:0!important;padding:6px!important;border:1px solid rgba(93,202,165,.25)!important;border-radius:8px!important;background:rgba(5,28,31,.58)!important;color:#78ddc1!important;font-size:11px!important}
body.single-conto .conto-acoes-principais .convidar-avaliacao{display:inline-flex;margin:0!important}
body.single-conto .conto-meta-secundaria .desafio-explicacao-btn{padding:0!important;border:0!important;background:transparent!important;color:#35cfaa!important;font-size:inherit!important}

body.author .anth-profile-contos .anth-perfil-contos{margin:0!important}
body.author .anth-profile-contos .anth-perfil-contos>.resultados>p{margin:8px 0 0;color:rgba(235,245,242,.62)}
body.author .anth-profile-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 14px}
body.author .anth-profile-section-heading>div>span{display:block;margin-bottom:5px;color:#5dcaa5;font-size:8px;font-weight:900;letter-spacing:.16em}
body.author .anth-profile-section-heading h2{margin:0!important;color:#f1faf7!important;font-size:24px!important;line-height:1!important}
body.author .anth-profile-section-heading>strong{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:28px;padding:0 9px;border:1px solid rgba(93,202,165,.24);border-radius:999px;background:rgba(93,202,165,.07);color:#75ddc0;font-size:11px}
body.author .anth-profile-story-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:0!important}
body.author .anth-profile-story-card{position:relative;display:flex;min-width:0;min-height:250px;flex-direction:column;margin:0!important;padding:17px!important;border:1px solid rgba(93,202,165,.16)!important;border-radius:14px!important;background:linear-gradient(145deg,rgba(4,18,25,.94),rgba(8,15,25,.88))!important;box-shadow:0 12px 28px rgba(0,0,0,.12)!important;overflow:hidden!important;transition:border-color .16s ease,transform .16s ease,background .16s ease!important}
body.author .anth-profile-story-card::after{content:"";position:absolute;right:-45px;bottom:-65px;width:150px;height:150px;border-radius:50%;background:radial-gradient(circle,rgba(38,211,170,.08),transparent 68%);pointer-events:none}
body.author .anth-profile-story-card:hover{transform:translateY(-2px)!important;border-color:rgba(93,202,165,.34)!important;background:linear-gradient(145deg,rgba(5,24,31,.98),rgba(8,17,27,.92))!important}
body.author .anth-profile-story-card__top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
body.author .anth-profile-story-card__tag{display:block;max-width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 8px;border:1px solid rgba(93,202,165,.20);border-radius:999px;background:rgba(93,202,165,.06);color:#71d9bc;font-size:8px;font-weight:850}
body.author .anth-profile-story-card__score{flex:0 0 auto;color:#e5c767;font-size:9px;font-weight:800}
body.author .anth-profile-story-card h3{margin:0 0 10px!important;font-size:20px!important;line-height:1.12!important;letter-spacing:-.015em!important}
body.author .anth-profile-story-card h3 a{color:#35d5c5!important;text-decoration:none!important}
body.author .anth-profile-story-card__excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden;margin:0!important;color:rgba(220,237,240,.68)!important;font-size:12px!important;line-height:1.62!important}
body.author .anth-profile-story-card__footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:15px;color:rgba(255,255,255,.42);font-size:9px}
body.author .anth-profile-story-card__read{display:inline-flex;align-items:center;justify-content:center;padding:7px 11px;border:1px solid rgba(93,202,165,.32);border-radius:8px;background:rgba(93,202,165,.08);color:#83e2c7!important;font-size:10px;font-weight:850;text-decoration:none!important}
body.author .anth-profile-story-card .anth-profile-boost-inline{margin:10px 0 0!important;padding-top:10px;border-top:1px solid rgba(255,255,255,.06)}
body.author .anth-profile-section-more{display:flex;justify-content:flex-end;margin-top:12px}
body.author .anth-profile-section-more a{display:inline-flex;padding:8px 12px;border:1px solid rgba(93,202,165,.25);border-radius:8px;color:#75dcbf!important;font-size:10px;font-weight:800;text-decoration:none!important}

body.author .anth-profile-evaluations .anth-profile-evaluation-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:14px 0 0!important}
body.author .anth-profile-evaluation-card{display:flex;min-height:190px;flex-direction:column;padding:15px;border:1px solid rgba(93,202,165,.14);border-radius:13px;background:linear-gradient(145deg,rgba(5,18,24,.88),rgba(10,15,24,.78))}
body.author .anth-profile-evaluation-card__label{color:#5dcaa5;font-size:8px;font-weight:900;letter-spacing:.15em}
body.author .anth-profile-evaluation-card h3{margin:8px 0!important;font-size:17px!important;line-height:1.2!important}
body.author .anth-profile-evaluation-card h3 a{color:#35d5c5!important;text-decoration:none!important}
body.author .anth-profile-evaluation-card>p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;margin:0!important;color:rgba(220,237,240,.64)!important;font-size:11px!important;line-height:1.55!important}
body.author .anth-profile-evaluation-card__footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:13px;color:rgba(255,255,255,.4);font-size:9px}
body.author .anth-profile-evaluation-card__footer a{color:#78ddc1!important;font-weight:800;text-decoration:none!important}
@media(max-width:900px){body.author .anth-profile-story-grid,body.author .anth-profile-evaluations .anth-profile-evaluation-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){body.single-conto .conto-acoes-principais{align-items:stretch}body.single-conto .conto-acoes-principais .anth-pdf-inline-button,body.single-conto .conto-acoes-principais .conto-acao-principal,body.single-conto .conto-acoes-principais .modo-leitura-controles,body.single-conto .conto-acoes-principais .convidar-avaliacao{flex:1 1 calc(50% - 8px)}body.single-conto .conto-acoes-principais .modo-leitura-controles>.botao-modo-leitura,body.single-conto .conto-acoes-principais .convidar-avaliacao>.anth-convite-abrir.button{width:100%!important}body.author .anth-profile-story-grid,body.author .anth-profile-evaluations .anth-profile-evaluation-grid{grid-template-columns:1fr!important}}

/* Ajustes 1.1.9 — perfil público e topo dos contos. */
body.author .anth-profile-about{padding:11px 18px!important}
body.author .anth-profile-about::before{margin-bottom:5px!important}
body.author .anth-profile-about .sobre-usuario{max-width:920px!important;margin:0 auto!important}
body.author .anth-profile-about .sobre-usuario>div:first-child{min-height:28px!important}
body.author .anth-profile-about .sobre-usuario h3{font-size:20px!important;line-height:1.1!important}
body.author .anth-profile-about .sobre-usuario #sobre-usuario-conteudo{margin-top:4px!important}
body.author .anth-profile-about .sobre-usuario #sobre-usuario-conteudo p{margin:4px auto 2px!important;max-width:900px!important;line-height:1.5!important}
