/* Tarjeta vertical de jugador (RosterPlayerCard.razor). Replicado del modal de Rosters/Index
   para reutilizarla en el album de Facebook de Bateo. Identico look (clases pm-*).
   Las reglas se comparten globalmente; en Rosters el <style> inline define las mismas. */

    .player-overlay {
        position: fixed; inset: 0;
        background: rgba(15, 23, 42, 0.6);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        z-index: 1300;
        display: flex; align-items: center; justify-content: center;
        padding: 1rem;
        animation: pmFade 0.2s ease;
    }
    @keyframes pmFade { from { opacity: 0; } to { opacity: 1; } }

    .player-modal {
        background: #ffffff;
        border-radius: 18px;
        width: 100%;
        max-width: 520px;
        height: auto;
        max-height: 94vh;
        max-height: 94dvh;
        overflow: hidden;
        display: flex; flex-direction: column;
        box-shadow: 0 25px 70px rgba(0,0,0,0.4);
        animation: pmSlide 0.25s cubic-bezier(0.32, 0.72, 0, 1);
    }
    @media (min-width: 768px) { .player-modal { max-width: 700px; max-height: 96vh; max-height: 96dvh; } }
    @media (min-width: 960px) { .player-modal { max-width: 600px; max-height: 96vh; max-height: 96dvh; } }
    @media (min-width: 1920px) { .player-modal { max-width: 680px; max-height: 96vh; max-height: 96dvh; } }
    @keyframes pmSlide { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

    /* === Header (Hero) === */
    .pm-head {
        position: relative;
        display: flex; flex-direction: column; align-items: center;
        gap: 0.35rem;
        padding: 1.5rem 1rem 1.15rem;
        background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
        border-bottom: 1px solid #e2e8f0;
        color: #1e293b;
        text-align: center;
        flex-shrink: 0;
    }
    /* Banda superior decorativa */
    .pm-head::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 4px;
        background: linear-gradient(90deg, #1e293b 0%, #475569 60%, #94a3b8 100%);
    }

    /* Fila: [jersey badge] [foto circular] [pill de posicion] */
    .pm-photo-wrap {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
        margin-bottom: 0.5rem;
        max-width: 100%;
    }
    .pm-photo-circle {
        position: relative;
        display: inline-flex;
        flex-shrink: 0;
    }
    /* Cuando el avatar tiene foto (no fallback), es clickable para abrir el visor */
    .pm-photo-circle.pm-photo-clickable {
        cursor: zoom-in;
        transition: transform 0.15s ease, box-shadow 0.15s ease;
    }
    .pm-photo-circle.pm-photo-clickable:hover { transform: scale(1.03); }
    .pm-photo-circle.pm-photo-clickable:active { transform: scale(0.98); }

    .pm-photo,
    .pm-photo-fallback {
        width: 160px; height: 160px;
        border-radius: 50%;
        border: 4px solid #ffffff;
        background: #f1f5f9;
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18), 0 0 0 1px #e2e8f0;
    }
    .pm-photo {
        object-fit: cover;
        object-position: center top;       /* prioriza la cara (parte superior) */
    }
    .pm-photo-fallback {
        display: inline-flex; align-items: center; justify-content: center;
        font-weight: 900; font-size: 3rem;
        background: linear-gradient(135deg, #475569 0%, #1e293b 100%);
        color: #ffffff;
        letter-spacing: 1px;
    }

    /* Badge del numero: insignia superpuesta en la esquina inferior derecha de la foto */
    .pm-photo-badge {
        position: absolute;
        bottom: 4px; right: 4px;
        z-index: 2;
        min-width: 48px; height: 48px;
        padding: 0 0.55rem;
        display: inline-flex; align-items: center; justify-content: center;
        background: #1e293b;
        color: #ffffff;
        border: 3px solid #ffffff;
        border-radius: 999px;
        font-weight: 900; font-size: 1.05rem;
        font-variant-numeric: tabular-nums;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
        letter-spacing: -0.3px;
    }

    /* Fila hero: foto + datos. Movil = columna centrada; desktop = fila (ver media query lg) */
    .pm-hero-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
    }
    .pm-titlewrap {
        display: flex; flex-direction: column; align-items: center;
        gap: 0.45rem;
        min-width: 0; width: 100%;
    }
    /* Fila superior: chip del numero + nombre, en una sola linea */
    .pm-name-row {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.55rem;
        width: 100%;
        min-width: 0;
    }
    .pm-name {
        margin: 0;
        font-size: 1.3rem;
        font-weight: 800;
        line-height: 1.2;
        color: #0f172a;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Chip de la posicion (horizontal) — va junto al nombre y los demas datos */
    .pm-pos-pill {
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        gap: 0.4rem;
        padding: 0.25rem 0.7rem 0.25rem 0.3rem;
        margin-top: 0.1rem;
        background: #ffffff;
        border: 1px solid #cbd5e1;
        border-radius: 999px;
        font-size: 0.85rem;
        font-weight: 700;
        color: #1e293b;
        line-height: 1.1;
        max-width: none;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    }
    .pm-pos-pill-abbr {
        display: inline-flex; align-items: center; justify-content: center;
        min-width: 30px; height: 30px;
        padding: 0 0.4rem;
        background: #1e293b;
        color: #ffffff;
        border-radius: 999px;
        font-size: 0.92rem;
        font-weight: 800;
        letter-spacing: 0.3px;
    }
    .pm-pos-pill > span:last-child {
        font-size: 0.82rem;
        color: #475569;
        font-weight: 600;
    }
    .pm-pos-pill { margin-top: 0; }

    /* Fila: numero + posicion, juntos en la misma linea debajo del nombre */
    .pm-pos-row {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.4rem;
        margin-top: 0.25rem;
    }
    /* Chip del numero (#73), va ANTES de la posicion */
    .pm-num-chip {
        flex-shrink: 0;
        display: inline-flex; align-items: center; justify-content: center;
        min-width: 44px; height: 34px;
        padding: 0 0.6rem;
        background: #1e293b;
        color: #ffffff;
        border-radius: 999px;
        font-weight: 900; font-size: 0.95rem;
        font-variant-numeric: tabular-nums;
        letter-spacing: -0.3px;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
    }

    /* Quick info chips: 3 filas verticales */
    .pm-quick-info {
        display: flex; flex-direction: column;
        align-items: center;
        gap: 0.35rem;
        margin-top: 0.35rem;
    }
    .pm-quick-row {
        display: flex; flex-wrap: wrap; justify-content: center;
        gap: 0.35rem;
    }
    .pm-quick-chip {
        display: inline-flex; align-items: center; gap: 0.3rem;
        padding: 0.25rem 0.6rem;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        font-size: 0.78rem;
        font-weight: 600;
        color: #1e293b;
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    }
    .pm-quick-chip i { font-size: 0.95rem; color: #475569; line-height: 1; }
    .pm-quick-lbl {
        color: #64748b;
        font-weight: 700;
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.4px;
    }
    .pm-quick-val { color: #0f172a; font-weight: 700; }
    .pm-quick-bday { background: #dbeafe; border-color: #bfdbfe; }
    .pm-quick-bday i { color: #1d4ed8; }
    .pm-quick-bday .pm-quick-val { color: #1e3a8a; }
    .pm-quick-age { background: #fef3c7; border-color: #fde68a; }
    .pm-quick-age i { color: #b45309; }
    .pm-quick-age .pm-quick-val { color: #78350f; }
    .pm-quick-status { background: #fce7f3; border-color: #f9a8d4; padding: 0.32rem 0.45rem; }
    .pm-quick-status i { color: #ec4899; font-size: 0.85rem; line-height: 1; }
    .pm-quick-status.is-active { background: #dcfce7; border-color: #86efac; }
    .pm-quick-status.is-active i { color: #16a34a; }
    /* Variante cuando va inline antes del nombre */
    .pm-name-status { display: inline-flex; vertical-align: middle; margin-right: 0.5rem; padding: 0.25rem 0.4rem; }
    .pm-name-status i { font-size: 0.75rem; }

    /* === Desktop (lg+, >=1280px): hero HORIZONTAL ===
       Foto grande protagonista a la izquierda + datos del jugador a la derecha.
       Aplica desde iPad (vertical y horizontal) y laptop en adelante; solo celulares conservan el diseno apilado. */
    @media (min-width: 768px) {
        /* Nombre hasta arriba a todo el ancho; debajo la fila foto + datos */
        .pm-head {
            flex-direction: column;
            align-items: stretch;
            text-align: left;
            gap: 0.6rem;
            padding: 1rem 2rem 0.75rem;
        }
        .pm-name-row { justify-content: flex-start; padding-right: 2.75rem; }
        .pm-hero-row {
            flex-direction: row;
            align-items: center;
            justify-content: flex-start;
            gap: 1.75rem;
        }
        /* Bloque de la foto a la izquierda */
        .pm-photo-wrap {
            flex-direction: column;
            gap: 0.5rem;
            margin-bottom: 0;
            flex-shrink: 0;
        }
        .pm-photo,
        .pm-photo-fallback {
            width: 320px; height: 320px;
            border-width: 5px;
        }
        .pm-photo-fallback { font-size: 6rem; }

        /* Datos a la derecha, alineados a la izquierda */
        .pm-titlewrap {
            align-items: flex-start;
            text-align: left;
            flex: 1;
            min-width: 0;
        }
        .pm-name { font-size: 2.1rem; text-align: left; }
        .pm-quick-info { align-items: flex-start; margin-top: 0.7rem; gap: 0.6rem; }
        .pm-quick-row { justify-content: flex-start; gap: 0.55rem; }

        /* Datos mas grandes (hay espacio de sobra en desktop) */
        .pm-quick-chip {
            font-size: 1rem;
            padding: 0.45rem 0.9rem;
            gap: 0.45rem;
            border-radius: 10px;
        }
        .pm-quick-chip i { font-size: 1.2rem; }
        .pm-quick-lbl { font-size: 0.82rem; }
        .pm-quick-val { font-size: 1.05rem; }

        /* Numero + posicion mas grandes */
        .pm-pos-row { gap: 0.55rem; margin-top: 0.55rem; }
        .pm-num-chip { min-width: 56px; height: 42px; font-size: 1.2rem; }
        .pm-pos-pill { font-size: 1rem; padding: 0.35rem 0.95rem 0.35rem 0.35rem; }
        .pm-pos-pill-abbr { min-width: 38px; height: 38px; font-size: 1.1rem; }
        .pm-pos-pill > span:last-child { font-size: 0.95rem; }
    }

    /* Boton cerrar */
    .pm-close {
        position: absolute;
        top: 0.75rem; right: 0.75rem;
        width: 38px; height: 38px;
        border: 1px solid #e2e8f0;
        background: #ffffff;
        color: #1e293b;
        border-radius: 50%;
        cursor: pointer;
        display: flex; align-items: center; justify-content: center;
        font-size: 0.95rem;
        z-index: 2;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1);
        transition: background 0.15s ease, transform 0.15s ease;
    }
    .pm-close:hover { background: #f1f5f9; transform: scale(1.05); }

    /* === Body === */
    .pm-body {
        padding: 1rem 1rem 1.15rem;
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        background: #ffffff;
    }
    .pm-section { margin-bottom: 1.1rem; }
    .pm-section:last-child { margin-bottom: 0; }
    .pm-section-title {
        margin: 0 0 0.6rem 0;
        padding-left: 0.6rem;
        border-left: 3px solid #1e293b;
        font-size: 0.88rem;
        font-weight: 800;
        color: #0f172a;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        display: flex; align-items: center; gap: 0.45rem;
    }
    .pm-section-title i { color: #475569; font-size: 0.95rem; }

    .pm-grid {
        margin: 0;
        display: grid;
        grid-template-columns: max-content 1fr;
        gap: 0.4rem 1rem;
        font-size: 0.88rem;
        padding: 0.6rem 0.75rem;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
    }
    .pm-grid dt {
        font-weight: 600;
        color: #64748b;
        font-size: 0.82rem;
    }
    .pm-grid dd {
        margin: 0;
        font-weight: 700;
        color: #0f172a;
    }
    .pm-hand {
        display: inline-flex; align-items: center; gap: 0.4rem;
    }
    .pm-hand i { color: #1e293b; font-size: 1rem; line-height: 1; }
    .pm-status-badge {
        display: inline-flex; align-items: center;
        padding: 0.1rem 0.55rem;
        background: #dcfce7;
        color: #14532d;
        border-radius: 999px;
        font-size: 0.78rem;
        font-weight: 700;
    }

    .pm-section-meta {
        display: flex; flex-wrap: wrap; gap: 0.4rem 0.85rem;
        padding-top: 0.65rem;
        margin-top: 0.5rem;
        border-top: 1px solid #e2e8f0;
        font-size: 0.72rem;
        color: #64748b;
    }
    .pm-section-meta .pm-section-title { display: none; }

    /* === Stats grid en el modal - 5 Breakpoints === */
    /* xs: menor a 600px (celulares) - 4 columnas por defecto */
    .pm-stats-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.22rem;
    }
    /* Estadistica de ancho doble (ocupa 2 columnas) + destacada (ERA, la mas importante) */
    .pm-stat.pm-stat-wide {
        grid-column: span 2;
        background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
        border-color: #93c5fd;
        box-shadow: 0 3px 10px rgba(37, 99, 235, 0.15);
    }
    .pm-stat.pm-stat-wide .pm-stat-val { color: #1e3a8a; }
    .pm-stat.pm-stat-wide .pm-stat-lbl { color: #1d4ed8; }
    .pm-stat.pm-stat-wide:hover { border-color: #60a5fa; }

    /* Variantes de color para otras estadisticas destacadas (SLG, OPS) */
    .pm-stat.pm-wide-teal {
        background: linear-gradient(135deg, #cffafe 0%, #ecfeff 100%);
        border-color: #67e8f9;
        box-shadow: 0 3px 10px rgba(8, 145, 178, 0.15);
    }
    .pm-stat.pm-wide-teal .pm-stat-val { color: #155e75; }
    .pm-stat.pm-wide-teal .pm-stat-lbl { color: #0891b2; }
    .pm-stat.pm-wide-teal:hover { border-color: #22d3ee; }

    .pm-stat.pm-wide-morado {
        background: linear-gradient(135deg, #ede9fe 0%, #f5f3ff 100%);
        border-color: #c4b5fd;
        box-shadow: 0 3px 10px rgba(124, 58, 237, 0.15);
    }
    .pm-stat.pm-wide-morado .pm-stat-val { color: #5b21b6; }
    .pm-stat.pm-wide-morado .pm-stat-lbl { color: #7c3aed; }
    .pm-stat.pm-wide-morado:hover { border-color: #a78bfa; }

    .pm-stat.pm-wide-ambar {
        background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
        border-color: #fcd34d;
        box-shadow: 0 3px 10px rgba(180, 83, 9, 0.15);
    }
    .pm-stat.pm-wide-ambar .pm-stat-val { color: #92400e; }
    .pm-stat.pm-wide-ambar .pm-stat-lbl { color: #b45309; }
    .pm-stat.pm-wide-ambar:hover { border-color: #fbbf24; }

    .pm-stat.pm-wide-verde {
        background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%);
        border-color: #86efac;
        box-shadow: 0 3px 10px rgba(22, 163, 74, 0.15);
    }
    .pm-stat.pm-wide-verde .pm-stat-val { color: #166534; }
    .pm-stat.pm-wide-verde .pm-stat-lbl { color: #16a34a; }
    .pm-stat.pm-wide-verde:hover { border-color: #4ade80; }

    /* Anchos extra (en columnas del grid) */
    .pm-stat.pm-span2 { grid-column: span 2; }
    .pm-stat.pm-span3 { grid-column: span 3; }

    /* Fila de calculadas: WHIP, AVG y ERA del mismo tamaño en una sola fila (3 columnas iguales) */
    .pm-stats-grid > .pm-calc-row {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.22rem;
    }
    .pm-calc-row > .pm-stat { grid-column: auto; }
    .pm-calc-row .pm-stat-val { font-size: 1.05rem; }
    @media (min-width: 600px) {
        .pm-stats-grid > .pm-calc-row { gap: 0.3rem; }
        .pm-calc-row .pm-stat-val { font-size: 1.2rem; }
    }

    .pm-stat {
        display: flex; flex-direction: column; align-items: center;
        padding: 0.35rem 0.3rem;
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
        border: 1px solid #e2e8f0;
        color: #1e293b;
        border-radius: 8px;
        text-align: center;
        transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
    }
    .pm-stat:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
        border-color: #cbd5e1;
    }
    .pm-stat-val {
        font-size: 1.2rem; font-weight: 800;
        line-height: 1.05;
        font-variant-numeric: tabular-nums;
        color: #1e293b;
    }
    .pm-stat-lbl {
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.4px;
        color: #64748b;
        text-transform: uppercase;
        margin-top: 0.02rem;
        line-height: 1;
    }
    /* Las ultimas 4 stats son tasas (AVG/OBP/SLG/OPS o ERA/WHIP/AVG/OBP) - numero mas largo, letra ligeramente menor */
    .pm-stats-grid > .pm-stat:nth-last-child(-n+4) .pm-stat-val {
        font-size: 1.05rem;
    }
    /* sm: ≥ 600px - 4 columnas con mas aire */
    @media (min-width: 600px) {
        .pm-stats-grid { gap: 0.3rem; }
        .pm-stat { padding: 0.45rem 0.4rem; }
        .pm-stat-val { font-size: 1.35rem; }
        .pm-stats-grid > .pm-stat:nth-last-child(-n+4) .pm-stat-val { font-size: 1.2rem; }
        .pm-stat-lbl { font-size: 0.82rem; letter-spacing: 0.5px; }
    }
    /* md: ≥ 960px - 4 columnas con más padding */
    @media (min-width: 960px) {
        .pm-stats-grid { gap: 0.35rem; }
        .pm-stat { padding: 0.5rem 0.45rem; }
        .pm-stat-val { font-size: 1.4rem; }
        .pm-stats-grid > .pm-stat:nth-last-child(-n+4) .pm-stat-val { font-size: 1.25rem; }
    }
    /* iPad+ : 7 columnas */
    @media (min-width: 768px) {
        .pm-stats-grid { grid-template-columns: repeat(6, 1fr); gap: 0.25rem; }
        .pm-stat-val { font-size: 1.84rem; }
        .pm-stats-grid > .pm-stat:nth-last-child(-n+4) .pm-stat-val { font-size: 1.69rem; }
        .pm-stat-lbl { font-size: 1.17rem; }
    }
    /* xl: ≥ 1920px - 7 columnas (monitor grande) */
    @media (min-width: 1920px) {
        .pm-stats-grid { grid-template-columns: repeat(6, 1fr); }
        .pm-stat-val { font-size: 1.55rem; }
        .pm-stats-grid > .pm-stat:nth-last-child(-n+4) .pm-stat-val { font-size: 1.35rem; }
    }

    .pm-stats-loading {
        display: flex; align-items: center; justify-content: center;
        gap: 0.5rem;
        padding: 1rem 0.5rem;
        color: #64748b;
        font-size: 0.85rem;
    }
    .pm-stats-empty {
        display: flex; align-items: center; gap: 0.5rem;
        padding: 0.75rem 0.85rem;
        background: #f8fafc;
        border: 1px dashed #cbd5e1;
        border-radius: 8px;
        color: #64748b;
        font-size: 0.85rem;
    }
    .pm-stats-empty i { font-size: 1.1rem; color: #94a3b8; }
    .pm-meta-item { display: inline-flex; align-items: center; gap: 0.25rem; }
    .pm-meta-item i { color: #94a3b8; }

    /* Boton glosario de estadisticas */
    .pm-glosario-btn {
        display: flex; align-items: center; justify-content: center;
        gap: 0.45rem;
        width: 100%;
        margin-top: 0.65rem;
        padding: 0.55rem 0.75rem;
        background: #ffffff;
        border: 1px solid #cbd5e1;
        border-radius: 10px;
        color: #1e293b;
        font-family: inherit;
        font-size: 0.85rem;
        font-weight: 700;
        cursor: pointer;
        transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
    }
    .pm-glosario-btn i { color: #475569; font-size: 1rem; }
    .pm-glosario-btn:hover {
        background: #f1f5f9;
        border-color: #94a3b8;
        transform: translateY(-1px);
    }

    /* Fila de acciones: Glosario + Guardar Imagen */
    .pm-actions-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-top: 0.65rem;
    }
    .pm-actions-grid .pm-glosario-btn { margin-top: 0; }

    /* Boton Guardar Imagen (verde, estilo "guardar") */
    .pm-saveimg-btn {
        display: flex; align-items: center; justify-content: center;
        gap: 0.45rem;
        width: 100%;
        padding: 0.55rem 0.75rem;
        background: linear-gradient(135deg, #15803d 0%, #22c55e 100%);
        border: 1px solid #15803d;
        border-radius: 10px;
        color: #ffffff;
        font-family: inherit;
        font-size: 0.85rem;
        font-weight: 700;
        cursor: pointer;
        box-shadow: 0 2px 6px rgba(21, 128, 61, 0.25);
        transition: transform 0.12s ease, box-shadow 0.15s ease, filter 0.15s ease;
    }
    .pm-saveimg-btn i { font-size: 1rem; }
    .pm-saveimg-btn:hover:not(:disabled) {
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(21, 128, 61, 0.35);
        filter: brightness(1.05);
    }
    .pm-saveimg-btn:disabled { opacity: 0.6; cursor: not-allowed; box-shadow: none; }
    .pm-saveimg-btn .spinner { border-color: rgba(255, 255, 255, 0.4); border-top-color: #ffffff; }

/* === Override para el ALBUM de Facebook ===
   La tarjeta (.player-modal) limita altura a 94vh con overflow:hidden para el modal en
   pantalla. Al capturarla para el album eso recorta el final (OBP/SLG/OPS, patrocinadores).
   En el render oculto del album quitamos el limite para que salga la tarjeta COMPLETA. */
.fb-album-card-host .player-modal {
    max-height: none !important;
    overflow: visible !important;
    box-shadow: none !important;
    animation: none !important;
}

/* Foto mas chica + menos gap en el album: en desktop la foto es 320px y a 520px de ancho
   los datos (BAT/LAN) se salen y se cortan a la derecha. La reducimos para que todo quepa. */
.fb-album-card-host .pm-photo,
.fb-album-card-host .pm-photo-fallback {
    width: 190px !important;
    height: 190px !important;
}
.fb-album-card-host .pm-photo-fallback { font-size: 3.6rem !important; }
.fb-album-card-host .pm-hero-row { gap: 1.2rem !important; }
