/* Categorías de la comunidad: color, fondo e ícono de cada una. Lo usan el foro y el marketplace. */
.community-page { --tinte-morning: #f3e6bf; --tinte-printers: #cdeedb; --tinte-agents: #e3dcf3; --tinte-source: #e4f7c4; --tinte-base: #e6ebe6; }
@media (prefers-color-scheme: dark) { .community-page { --tinte-morning: #2b2516; --tinte-printers: #15291f; --tinte-agents: #221f2c; --tinte-source: #1f2a12; --tinte-base: #171d1a; } }
#general, .forum-post[data-category="general"], .forum-topic[data-category="general"], .tarjeta-foro[data-category="general"], .forum-chip[data-category="general"] { --tono: #5b645d; --tinte: var(--surface-3); }
#preguntas, .forum-post[data-category="preguntas"], .forum-topic[data-category="preguntas"], .tarjeta-foro[data-category="preguntas"], .forum-chip[data-category="preguntas"] { --tono: #7458cc; --tinte: var(--tinte-agents); }
#ideas, .forum-post[data-category="ideas"], .forum-topic[data-category="ideas"], .tarjeta-foro[data-category="ideas"], .forum-chip[data-category="ideas"] { --tono: #a86b00; --tinte: var(--tinte-morning); }
#widgets, .forum-post[data-category="widgets"], .forum-topic[data-category="widgets"], .tarjeta-foro[data-category="widgets"], .forum-chip[data-category="widgets"] { --tono: #477608; --tinte: var(--tinte-source); }
#pantallas, .forum-post[data-category="pantallas"], .forum-topic[data-category="pantallas"], .tarjeta-foro[data-category="pantallas"], .forum-chip[data-category="pantallas"] { --tono: #1e8a4c; --tinte: var(--tinte-printers); }
#anuncios, .forum-post[data-category="anuncios"], .forum-topic[data-category="anuncios"], .tarjeta-foro[data-category="anuncios"], .forum-chip[data-category="anuncios"] { --tono: #0b100f; --tinte: var(--surface-3); }
@media (prefers-color-scheme: dark) {
  #general, .forum-post[data-category="general"], .forum-topic[data-category="general"], .tarjeta-foro[data-category="general"], .forum-chip[data-category="general"] { --tono: #a3ada5; }
  #preguntas, .forum-post[data-category="preguntas"], .forum-topic[data-category="preguntas"], .tarjeta-foro[data-category="preguntas"], .forum-chip[data-category="preguntas"] { --tono: #b6a5e6; }
  #ideas, .forum-post[data-category="ideas"], .forum-topic[data-category="ideas"], .tarjeta-foro[data-category="ideas"], .forum-chip[data-category="ideas"] { --tono: #e7c467; }
  #widgets, .forum-post[data-category="widgets"], .forum-topic[data-category="widgets"], .tarjeta-foro[data-category="widgets"], .forum-chip[data-category="widgets"] { --tono: #9fe24a; }
  #pantallas, .forum-post[data-category="pantallas"], .forum-topic[data-category="pantallas"], .tarjeta-foro[data-category="pantallas"], .forum-chip[data-category="pantallas"] { --tono: #5fcf95; }
  #anuncios, .forum-post[data-category="anuncios"], .forum-topic[data-category="anuncios"], .tarjeta-foro[data-category="anuncios"], .forum-chip[data-category="anuncios"] { --tono: #edf5ed; }
}
/* ---------- íconos de categoría (trazos de Lucide, ISC: /assets/LUCIDE-LICENSE.txt) ---------- */
#general-feed { --icono: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z%22/%3E%3Cpath d=%22m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65%22/%3E%3Cpath d=%22m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65%22/%3E%3C/svg%3E"); }
#general, .forum-post[data-category="general"], .forum-topic[data-category="general"], .tarjeta-foro[data-category="general"], .forum-chip[data-category="general"] { --icono: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M7.9 20A9 9 0 1 0 4 16.1L2 22Z%22/%3E%3C/svg%3E"); }
#preguntas, .forum-post[data-category="preguntas"], .forum-topic[data-category="preguntas"], .tarjeta-foro[data-category="preguntas"], .forum-chip[data-category="preguntas"] { --icono: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22/%3E%3Cpath d=%22M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3%22/%3E%3Cpath d=%22M12 17h.01%22/%3E%3C/svg%3E"); }
#ideas, .forum-post[data-category="ideas"], .forum-topic[data-category="ideas"], .tarjeta-foro[data-category="ideas"], .forum-chip[data-category="ideas"] { --icono: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5%22/%3E%3Cpath d=%22M9 18h6%22/%3E%3Cpath d=%22M10 22h4%22/%3E%3C/svg%3E"); }
#widgets, .forum-post[data-category="widgets"], .forum-topic[data-category="widgets"], .tarjeta-foro[data-category="widgets"], .forum-chip[data-category="widgets"] { --icono: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect width=%227%22 height=%227%22 x=%223%22 y=%223%22 rx=%221.5%22/%3E%3Crect width=%227%22 height=%227%22 x=%2214%22 y=%223%22 rx=%221.5%22/%3E%3Crect width=%227%22 height=%227%22 x=%2214%22 y=%2214%22 rx=%221.5%22/%3E%3Crect width=%227%22 height=%227%22 x=%223%22 y=%2214%22 rx=%221.5%22/%3E%3C/svg%3E"); }
#pantallas, .forum-post[data-category="pantallas"], .forum-topic[data-category="pantallas"], .tarjeta-foro[data-category="pantallas"], .forum-chip[data-category="pantallas"] { --icono: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%223%22 width=%2218%22 height=%2218%22 rx=%224.5%22/%3E%3Crect x=%227%22 y=%227%22 width=%2210%22 height=%229%22 rx=%221.2%22/%3E%3C/svg%3E"); }
#anuncios, .forum-post[data-category="anuncios"], .forum-topic[data-category="anuncios"], .tarjeta-foro[data-category="anuncios"], .forum-chip[data-category="anuncios"] { --icono: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m3 11 18-5v12L3 14v-3z%22/%3E%3Cpath d=%22M11.6 16.8a3 3 0 1 1-5.8-1.6%22/%3E%3C/svg%3E"); }
.forum-page .forum-sidebar nav a::before, #general-feed::before, .forum-page .forum-category::before, .tarjeta-foro-cat::before, .forum-chip > span::before { content: ""; display: block; flex: none; width: 16px; height: 16px; border-radius: 0; background: var(--tono, currentColor); -webkit-mask: var(--icono) center / contain no-repeat; mask: var(--icono) center / contain no-repeat; }
#general-feed { --tono: currentColor; }
.forum-page .forum-sidebar nav a { gap: 9px; padding: 0 16px 0 13px; }
.forum-page .forum-sidebar nav a[aria-current]::before { background: #0b100f; }
.forum-page .forum-category::before, .tarjeta-foro-cat::before { width: 14px; height: 14px; }
.tarjeta-foro-cat { display: inline-flex; align-items: center; gap: 6px; }
@media (hover: hover) { .forum-page .forum-sidebar nav a:hover::before { transform: rotate(-8deg) scale(1.08); } }
.forum-page .forum-sidebar nav a::before { transition: transform .3s var(--curva); }
