/* --------------------------------------------------------------------------
   UI COMPARTIDA (misc) — clases genéricas sin prefijo de página
   --------------------------------------------------------------------------
   Primitivas movidas a sus propios componentes:
     .badge*  -> components/badges.css
     .bar*    -> components/progress.css
     .btn/.seg-> components/buttons.css
   Aqui quedan las genericas sueltas (avatar, stats-row, stat-*). Cuidado al
   tocarlas: afectan a varias paginas.
   -------------------------------------------------------------------------- */

.avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--brand-accent), var(--amber));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: var(--fs-3xl);
    font-weight: var(--fw-bold);
    color: var(--text-white);
    flex-shrink: 0;
}

.stats-row {
    display: flex;
    gap: var(--sp-4);
    flex-wrap: wrap;
}

.stat-label {
    display: block;
    font-size: var(--fs-2xs);
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: var(--ls-md);
    margin-bottom: var(--sp-1);
}

.stat-value {
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: var(--text-white);
}

.highlight {
    color: var(--brand-accent);
    font-weight: var(--fw-bold);
}

/* --------------------------------------------------------------------------
   CABECERA DE PAGINA (titulo a la izquierda + subtitulo)
   Comun a las paginas de Valorant: agents, maps, weapons, lineups...
   Uso: <div class="val-page-header"><h1>Valorant <span>Agents</span></h1>
        <p class="val-page-sub">...</p></div>
   -------------------------------------------------------------------------- */
.val-page-header { margin-bottom: 28px; }
.val-page-header h1 { font-size: var(--fs-4xl); font-weight: var(--fw-extrabold); color: var(--text-white); margin-bottom: var(--sp-2); }
.val-page-header h1 span { color: var(--brand-accent); }
.val-page-sub { font-size: var(--fs-sm); color: var(--text-muted); }

/* --------------------------------------------------------------------------
   ICONO EN LINEA (Lucide) — <i data-lucide="x" class="ic"></i>
   Mide lo mismo que el texto que lo rodea (sustituye a los emojis).
   -------------------------------------------------------------------------- */
svg.ic, i.ic { width: 1em; height: 1em; flex: none; vertical-align: -.125em; stroke-width: 2.2; }
/* Icono con tamano fijo (width/height en el <i>) alineado con el texto */
svg.ic-inline, i.ic-inline { vertical-align: -2px; flex: none; }

/* --------------------------------------------------------------------------
   UTILIDADES PEQUENAS (sustituyen style="" repetidos)
   -------------------------------------------------------------------------- */
.list-msg  { color: var(--text-gray); font-size: var(--fs-md); padding: var(--sp-8) 0; }  /* lista vacia / error */
.span-all  { grid-column: 1 / -1; }                                                        /* ocupa toda la fila del grid */
.bg-input  { background: var(--bg-input); }                                                 /* hueco sin imagen */
