/* ==========================================================================
   Save Image del diseño nuevo (lo arma v2/js/ui.js → exportarImagen).
   Se dibuja fuera de pantalla y html2canvas 1.4.1 lo convierte en JPEG:
   aquí no se usan color-mix, filter, mask, backdrop-filter ni object-fit.
   Los colores de cada perfil llegan de temas.css (variables) o en línea.
   ========================================================================== */
.exp2 {
    position: absolute;
    left: -12000px;
    top: 0;
    width: 1600px;
    color: var(--ink);
    font-family: var(--font-ui);
    line-height: 1.15;
    letter-spacing: normal;
}
.exp2 *, .exp2 *::before, .exp2 *::after { box-sizing: border-box; }
.exp2 img { display: block; }

/* --- Portada: foto del mundo 3D (o degradado + personajes) ------------------- */
.exp-portada {
    position: relative;
    height: 560px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}
.exp-velo { position: absolute; left: 0; right: 0; top: 0; bottom: 0; }
.exp-decor {
    position: absolute;
    right: 40px;
    bottom: 40px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    opacity: .9;
}
.exp-decor img { height: 330px; width: auto; }
.exp-info {
    position: absolute;
    left: 64px;
    right: 64px;
    bottom: 40px;
    display: flex;
    align-items: flex-end;
    gap: 30px;
}
.exp-avatar {
    flex: none;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid;
}
.exp-titulo { flex: 1; min-width: 0; padding-bottom: 6px; }
.exp-eyebrow {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--ink-dim);
}
.exp-nombre {
    margin: 4px 0 8px;
    font-family: var(--font-display);
    font-size: 104px;
    line-height: 1;
    letter-spacing: var(--display-tracking, .01em);
    white-space: nowrap;
}
.exp-sub { font-weight: 700; font-size: 19px; color: var(--ink-dim); }
.exp-stats { flex: none; display: flex; gap: 16px; padding-bottom: 6px; }
.exp-stat {
    width: 230px;
    padding: 18px 20px 20px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: var(--surface-strong);
}
.exp-num { font-family: var(--font-display); font-size: 26px; color: var(--ink-dim); }
.exp-num b { font-size: 46px; font-weight: 400; }
.exp-oro { color: #e6a514; }
.exp-label {
    margin: 4px 0 12px;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-dim);
}
.exp-barra { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.exp-barra i { display: block; height: 100%; border-radius: 99px; }
.exp-barra-oro { background: linear-gradient(90deg, #fff1a8, #ffcf4a 45%, #e6a514); }

/* --- Grilla ----------------------------------------------------------------- */
.exp-cuerpo { padding: 30px 56px 34px; }
.exp-grilla { display: flex; gap: 48px; }
.exp-mitad { flex: 1; min-width: 0; }
.exp-cols, .exp-fila {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}
.exp-cols { margin-bottom: 10px; align-items: end; }
.exp-cols span {
    text-align: center;
    font-weight: 900;
    font-size: 12px;
    line-height: 1.15;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink-dim);
}
.exp-fila { margin-bottom: 10px; }
.exp-carta {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    border: 2px solid;
    background: var(--card-bg);
}
.exp-icono {
    position: absolute;
    left: 9%;
    top: 7%;
    width: 82%;
    height: 82%;
}
.exp-carta.falta { background: var(--surface); }
.exp-carta.falta .exp-icono { opacity: .3; }
.exp-carta.maestra { background: linear-gradient(180deg, rgba(255, 207, 74, .22), rgba(230, 165, 20, .08)); }
.exp-check, .exp-corona {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    padding: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .3);
}
.exp-check { right: 6px; bottom: 6px; }
.exp-corona { right: 6px; top: 6px; padding: 5px; background: linear-gradient(135deg, #fff1a8, #ffcf4a 45%, #e6a514); }
.exp-check img, .exp-corona img { width: 100%; height: 100%; }
.exp-vacia { aspect-ratio: 1 / 1; }

.exp-pie {
    margin-top: 22px;
    text-align: center;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: .12em;
    color: var(--ink-dim);
}
