/* ==========================================================================
   ExtremeSentiLex — tema da interface
   ========================================================================== */

:root {
  /* Marca */
  --brand: #032f3e;
  --brand-700: #02222d;
  --accent: #7bc475;
  --accent-600: #63b25c;

  /* Superfícies e texto */
  --bg: #f3f6fa;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #0b2239;
  --muted: #64748b;
  --border: #e6eaf2;

  /* Forma */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Elevação */
  --shadow-sm: 0 1px 2px rgba(11, 34, 57, .04), 0 1px 3px rgba(11, 34, 57, .06);
  --shadow-md: 0 4px 6px -1px rgba(11, 34, 57, .05), 0 10px 20px -6px rgba(11, 34, 57, .10);
  --shadow-lg: 0 10px 15px -3px rgba(11, 34, 57, .05), 0 28px 56px -14px rgba(11, 34, 57, .16);

  /* Escala de polaridade */
  --pol-xpos: #0f9d58;
  --pol-pos: #7bc475;
  --pol-neu: #94a3b8;
  --pol-neg: #ef8354;
  --pol-xneg: #dc2626;

  --footer-h: 58px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background:
    radial-gradient(1100px 560px at 8% -12%, rgba(123, 196, 117, .13), transparent 62%),
    radial-gradient(900px 520px at 102% -4%, rgba(3, 47, 62, .10), transparent 58%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  padding-bottom: calc(var(--footer-h) + 1rem);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 { letter-spacing: -.02em; font-weight: 700; }

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */

.navbar {
  background: linear-gradient(135deg, var(--brand) 0%, #06465b 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 6px 24px rgba(3, 47, 62, .22);
  padding-block: .85rem;
  /* Acima de qualquer overlay interno aos cartões (ver .search-loader). */
  position: relative;
  z-index: 1030;
}

.brand-img { width: 140px; max-width: 35vw; }

/* --------------------------------------------------------------------------
   Cartão principal
   -------------------------------------------------------------------------- */

.card {
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--surface);
  /* Âncora explícita do overlay do loader — não depender do Bootstrap. */
  position: relative;
  /* Cria um stacking context, para o overlay ficar contido no cartão. */
  isolation: isolate;
}

.page-title { font-size: 1.6rem; }

.badge-new {
  background: rgba(123, 196, 117, .16);
  color: #3f8f39;
  border: 1px solid rgba(123, 196, 117, .35);
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .6rem;
}

.form-help { color: var(--muted); font-size: .95rem; }

/* --------------------------------------------------------------------------
   Formulário
   -------------------------------------------------------------------------- */

.form-label {
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .02em;
  color: #334155;
  margin-bottom: .4rem;
}

.form-control, .form-select {
  border-radius: var(--radius-sm);
  border-color: var(--border);
  background-color: var(--surface-2);
  padding: .6rem .85rem;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.form-control:focus, .form-select:focus {
  background-color: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(123, 196, 117, .18);
}

/* Barra de filtros (switches) */
.filter-bar {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
}

.form-check-input:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}

.form-check-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(123, 196, 117, .18);
}

.form-check-label { font-size: .9rem; font-weight: 500; }

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */

.btn { font-weight: 600; }

.btn-primary {
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-bg: var(--accent-600);
  --bs-btn-hover-border-color: var(--accent-600);
  --bs-btn-active-bg: #55a350;
  --bs-btn-active-border-color: #55a350;
  --bs-btn-disabled-bg: #a9dba5;
  --bs-btn-disabled-border-color: #a9dba5;
  border-radius: var(--radius-sm);
  padding: .6rem 1.5rem;
  box-shadow: 0 4px 12px rgba(123, 196, 117, .35);
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(123, 196, 117, .42);
}

.btn-primary:active { transform: translateY(0); }

.btn-outline-secondary {
  border-radius: var(--radius-sm);
  border-color: var(--border);
  color: var(--muted);
  padding: .6rem 1.3rem;
}

.btn-outline-secondary:hover {
  background: var(--surface-2);
  border-color: #cbd5e1;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Exportação (chips CSV / PDF / JSON)
   -------------------------------------------------------------------------- */

.export-label {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.export-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .85rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--chip-fg);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.export-btn svg { flex: none; }

.export-btn:hover {
  background: var(--chip-fg);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -4px var(--chip-shadow);
}

.export-btn:active { transform: translateY(0); }

.export-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--chip-bg), 0 0 0 5px var(--chip-fg);
}

.export-btn--csv  { --chip-fg: #0f9d76; --chip-bg: rgba(15, 157, 118, .12); --chip-shadow: rgba(15, 157, 118, .45); }
.export-btn--pdf  { --chip-fg: #dc4c4c; --chip-bg: rgba(220, 76, 76, .12);  --chip-shadow: rgba(220, 76, 76, .45); }
.export-btn--json { --chip-fg: #4f7ef0; --chip-bg: rgba(79, 126, 240, .12); --chip-shadow: rgba(79, 126, 240, .45); }

/* --------------------------------------------------------------------------
   Resultados
   -------------------------------------------------------------------------- */

.results-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 12%, var(--border) 88%, transparent);
  margin: 2rem 0 1.5rem;
}

.results-count {
  background: rgba(3, 47, 62, .07);
  color: var(--brand);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  padding: .35rem .7rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.panel-title {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin-bottom: .9rem;
}

/* Impede que o canvas do Chart.js cresça além dos limites do browser. */
.panel > canvas,
#polarityLine {
  max-height: 300px;
  height: 220px;
  width: 100% !important;
  display: block;
}

/* --------------------------------------------------------------------------
   Lista de tweets
   -------------------------------------------------------------------------- */

.tweet-scroll {
  max-height: 420px;
  overflow-y: auto;
  padding-right: .35rem;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.tweet-scroll::-webkit-scrollbar { width: 8px; }
.tweet-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 999px; }
.tweet-scroll::-webkit-scrollbar-track { background: transparent; }

.tweet-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--pol-color, var(--pol-neu));
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  margin-bottom: .7rem;
  transition: box-shadow .18s ease, transform .18s ease;
}

.tweet-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.tweet-card:last-child { margin-bottom: 0; }

.tweet-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .5rem;
  font-size: .75rem;
  color: var(--muted);
}

.tweet-pol {
  background: var(--pol-bg, rgba(148, 163, 184, .15));
  color: var(--pol-color, var(--pol-neu));
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: .22rem .55rem;
}

.tweet-lang {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: .18rem .4rem;
}

.tweet-text {
  color: var(--text);
  font-size: .92rem;
  line-height: 1.55;
  margin-bottom: .5rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.tweet-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 600;
  text-decoration: none;
}

.tweet-link:hover { color: var(--accent-600); }

/* Polaridades */
.pol-xpos { --pol-color: var(--pol-xpos); --pol-bg: rgba(15, 157, 88, .12); }
.pol-pos  { --pol-color: #4fa049;        --pol-bg: rgba(123, 196, 117, .18); }
.pol-neu  { --pol-color: var(--pol-neu); --pol-bg: rgba(148, 163, 184, .16); }
.pol-neg  { --pol-color: #e06a34;        --pol-bg: rgba(239, 131, 84, .16); }
.pol-xneg { --pol-color: var(--pol-xneg);--pol-bg: rgba(220, 38, 38, .12); }

/* Chip de filtro ativo (ao clicar numa fatia do gráfico) */
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(3, 47, 62, .06);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--brand);
  font-size: .74rem;
  font-weight: 600;
  padding: .25rem .3rem .25rem .7rem;
}

.filter-chip button {
  border: 0;
  background: rgba(3, 47, 62, .1);
  color: var(--brand);
  border-radius: 999px;
  width: 18px;
  height: 18px;
  line-height: 1;
  font-size: .8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.filter-chip button:hover { background: rgba(3, 47, 62, .2); }

.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem;
  font-size: .9rem;
}

/* --------------------------------------------------------------------------
   Loader
   -------------------------------------------------------------------------- */

.search-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: var(--radius-lg);
  /* Basta ficar acima do conteúdo do cartão. 1050 é a camada de modal do
     Bootstrap e pintava por cima da navbar. */
  z-index: 5;
  pointer-events: none;
}

.search-loader > .d-flex { pointer-events: auto; }
.search-loader .spinner-border { width: 2.25rem; height: 2.25rem; }

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */

footer {
  background: var(--brand);
  color: rgba(255, 255, 255, .75);
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 1030;
  font-size: .85rem;
  box-shadow: 0 -4px 20px rgba(3, 47, 62, .18);
}

footer a { color: var(--accent); text-decoration: none; font-weight: 600; }
footer a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Preferências de movimento
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .export-btn:hover, .tweet-card:hover, .btn-primary:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Aviso inline de resultados (ex.: resposta truncada pelo servidor)
   -------------------------------------------------------------------------- */

.results-notice {
  display: block;
  padding: .6rem .85rem;
  border: 1px solid rgba(239, 131, 84, .35);
  border-left: 3px solid var(--pol-neg);
  border-radius: var(--radius-sm);
  background: rgba(239, 131, 84, .08);
  color: #8a4420;
  font-size: .875rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Página About
   -------------------------------------------------------------------------- */

.about-lead {
  font-size: 1.075rem;
  line-height: 1.7;
  color: var(--text);
}

.about-section { scroll-margin-top: 1.5rem; }

.about-section + .about-section { margin-top: 2.75rem; }

.about-section h2 {
  font-size: 1.2rem;
  margin-bottom: .35rem;
}

.about-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: .5rem;
  color: var(--text);
}

.about-section p,
.about-section li {
  color: #35506b;
  line-height: 1.7;
}

.about-kicker {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .3rem;
}

/* Cartões de números */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .85rem;
}

.stat-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.stat-card .stat-value {
  display: block;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--brand);
  letter-spacing: -.02em;
}

.stat-card .stat-label {
  display: block;
  font-size: .8rem;
  color: var(--muted);
  margin-top: .2rem;
}

/* Escala de polaridade */
.scale-row {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--border);
}

.scale-row:last-child { border-bottom: 0; }

.scale-swatch {
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .95rem;
  color: var(--pol-color);
  background: var(--pol-bg);
}

.scale-name { font-weight: 600; color: var(--text); }

.scale-desc { font-size: .875rem; color: #35506b; margin: 0; }

/* Tabela de campos */
.field-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}

.field-table th,
.field-table td {
  padding: .6rem .7rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.field-table thead th {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

.field-table code {
  font-size: .82rem;
  color: var(--brand);
  background: rgba(3, 47, 62, .06);
  padding: .1rem .35rem;
  border-radius: 5px;
}

.field-yes { color: #0f9d58; font-weight: 600; }
.field-no  { color: var(--muted); }

/* Etiquetas (categorias, línguas) */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tag-list li {
  font-size: .8rem;
  padding: .22rem .6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  color: #35506b;
}

/* Caixa de destaque (proteção de dados) */
.callout {
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.callout--warn {
  border-left-color: var(--pol-neg);
  background: rgba(239, 131, 84, .07);
  border-color: rgba(239, 131, 84, .3);
}

.callout p:last-child { margin-bottom: 0; }

/* Índice lateral */
.about-toc {
  position: sticky;
  top: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.about-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-toc a {
  display: block;
  padding: .32rem 0;
  font-size: .845rem;
  color: #35506b;
  text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: .6rem;
  margin-left: -.6rem;
}

.about-toc a:hover {
  color: var(--brand);
  border-left-color: var(--accent);
}

/* Marcador visível de conteúdo por preencher antes da publicação */
.todo {
  background: #fff3cd;
  border-bottom: 1px dashed #b8860b;
  color: #6b4e00;
  padding: 0 .2rem;
  font-style: italic;
}

/* ==========================================================================
   v2 — badges de rede social, ordenação, resumo de pesquisa
   ========================================================================== */

/* --- Badge da rede social de origem -------------------------------------- */

.tweet-net {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: .12rem .5rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, .6);
  white-space: nowrap;
}

.tweet-net::before {
  content: "";
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}

/* Cores aproximadas das marcas, com contraste suficiente sobre fundo claro */
.net-twitter  { color: #1a1a1a; }
.net-reddit   { color: #d93a00; }
.net-facebook { color: #1877f2; }
.net-bluesky  { color: #0a7aff; }
.net-youtube  { color: #c4302b; }
.net-mastodon { color: #5b4be1; }
.net-tumblr   { color: #35465c; }

.tweet-date {
  white-space: nowrap;
}

/* --- Ações do cartão ----------------------------------------------------- */

.tweet-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: .55rem;
}

.tweet-actions .tweet-link {
  margin-top: 0;
}

.tweet-copy {
  border: 0;
  background: none;
  padding: 0;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: color .15s ease;
}

.tweet-copy:hover {
  color: var(--brand);
  text-decoration: underline;
}

.tweet-copy.is-done {
  color: #0f9d58;
}

.tweet-copy.is-done:hover {
  text-decoration: none;
}

/* --- Resumo da pesquisa -------------------------------------------------- */

.search-summary {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.search-summary:empty {
  display: none;
}

.summary-tag {
  display: inline-flex;
  align-items: baseline;
  gap: .35rem;
  font-size: .78rem;
  padding: .2rem .6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.summary-key {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
}

.summary-tag--net {
  border-style: dashed;
  color: var(--muted);
}

/* --- Ordenação e contagem ------------------------------------------------ */

.sort-control {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.sort-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.sort-select {
  width: auto;
  min-width: 9.5rem;
  font-size: .82rem;
  border-color: var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
}

.sort-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 126, 240, .15);
}

.panel-hint {
  font-size: .78rem;
  color: var(--muted);
}

.shown-count {
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  padding: .12rem .5rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

/* Chip do filtro de polaridade herda a cor da polaridade selecionada */
.filter-chip.pol-xpos { border-color: rgba(15, 157, 88, .4); }
.filter-chip.pol-pos  { border-color: rgba(123, 196, 117, .5); }
.filter-chip.pol-neu  { border-color: rgba(148, 163, 184, .5); }
.filter-chip.pol-neg  { border-color: rgba(239, 131, 84, .5); }
.filter-chip.pol-xneg { border-color: rgba(220, 38, 38, .4); }

/* --- Foco visível (acessibilidade por teclado) --------------------------- */

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
.form-check-input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --- Ecrãs pequenos ------------------------------------------------------ */

@media (max-width: 575.98px) {
  .tweet-meta {
    gap: .35rem .5rem;
  }

  .sort-control {
    width: 100%;
    justify-content: space-between;
  }

  .sort-select {
    min-width: 0;
    flex: 1 1 auto;
    max-width: 12rem;
  }

  .export-label {
    display: none;
  }
}

/* --- Preferência por movimento reduzido ---------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Impressão ----------------------------------------------------------- */

@media print {
  .navbar,
  footer,
  .filter-bar,
  form,
  .export-btn,
  .export-label,
  .sort-control,
  .tweet-copy {
    display: none !important;
  }

  .card,
  .panel {
    box-shadow: none;
    border-color: #ccc;
  }

  .tweet-scroll {
    max-height: none !important;
    overflow: visible !important;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: .7rem;
    color: #555;
    word-break: break-all;
  }
}

/* Estado vazio com orientação */
.empty-state .empty-title {
  font-weight: 600;
  color: var(--text);
  margin-bottom: .25rem;
}

.empty-state .empty-hint {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Botão "mostrar mais" da lista paginada */
.load-more-row {
  list-style: none;
  text-align: center;
  padding: .5rem 0 .25rem;
}

.load-more-btn {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--brand);
  font-size: .84rem;
  font-weight: 600;
  padding: .5rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}

.load-more-btn:hover {
  background: #fff;
  border-color: var(--accent);
}
