/* ============================================================
   MARVEL TRACKER
   ============================================================ */


/* ============================================================
   RESET
   ============================================================ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}


body {
    min-height: 100vh;

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 50% -20%,
            rgba(150, 0, 0, 0.22),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            #080808 0%,
            #050505 45%,
            #020202 100%
        );

    overflow-x: hidden;
}


body::before {
    content: "";

    position: fixed;

    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(255, 0, 0, 0.035),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(255, 0, 0, 0.025),
            transparent 30%
        );

    z-index: -1;
}


button,
input {
    font: inherit;
}


button {
    cursor: pointer;
}


img {
    max-width: 100%;
    display: block;
}


.oculto {
    display: none !important;
}

html.app-loading #auth,
html.app-loading header,
html.app-loading main {
    visibility: hidden;
}

/* ============================================================
   AUTH
   ============================================================ */

#auth {
    width: min(
        430px,
        calc(100% - 32px)
    );

    margin: 80px auto;

    padding: 42px 34px;

    border: 1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(28, 28, 28, 0.96),
            rgba(8, 8, 8, 0.98)
        );

    box-shadow:
        0 30px 90px
            rgba(0, 0, 0, 0.7),
        0 0 50px
            rgba(150, 0, 0, 0.08);

    text-align: center;
}


#auth h2 {
    margin-bottom: 28px;

    font-size: 2rem;

    font-weight: 900;

    letter-spacing: 0.08em;
}


#auth input {
    width: 100%;

    margin-bottom: 13px;

    padding: 14px 16px;

    border: 1px solid
        rgba(255, 255, 255, 0.1);

    border-radius: 10px;

    outline: none;

    background:
        rgba(255, 255, 255, 0.055);

    color: #ffffff;
}


#auth input::placeholder {
    color:
        rgba(255, 255, 255, 0.42);
}


#auth input:focus {
    border-color:
        rgba(230, 0, 0, 0.65);

    box-shadow:
        0 0 0 3px
            rgba(230, 0, 0, 0.08);
}


#auth button {
    width: 100%;

    margin-top: 8px;

    padding: 13px 16px;

    border: none;

    border-radius: 10px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #e50914,
            #a80009
        );

    font-weight: 800;

    transition:
        transform 0.2s ease,
        filter 0.2s ease;
}


#auth button:hover {
    transform: translateY(-2px);

    filter: brightness(1.12);
}


#mensajeAuth {
    min-height: 22px;

    margin-top: 18px;

    color:
        rgba(255, 255, 255, 0.65);

    font-size: 0.9rem;
}


/* ============================================================
   HEADER
   ============================================================ */

header {
    position: sticky;

    top: 0;

    z-index: 100;

    border-bottom: 1px solid
        rgba(255, 255, 255, 0.06);

    background:
        rgba(4, 4, 4, 0.82);

    backdrop-filter: blur(20px);

    -webkit-backdrop-filter: blur(20px);
}


.header-contenido {
    width: min(
        1450px,
        calc(100% - 42px)
    );

    min-height: 78px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.header-titulo h1 {
    font-size: 1.25rem;

    font-weight: 950;

    letter-spacing: 0.12em;
}


.header-titulo p {
    margin-top: 6px;

    color:
        rgba(255, 255, 255, 0.48);

    font-size: 0.76rem;
}


.usuario-sesion {
    display: flex;

    align-items: center;

    gap: 15px;
}


#usuarioActual {
    max-width: 260px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color:
        rgba(255, 255, 255, 0.7);

    font-size: 0.82rem;
}


#cerrarSesion {
    padding: 9px 15px;

    border: 1px solid
        rgba(255, 255, 255, 0.1);

    border-radius: 8px;

    background:
        rgba(255, 255, 255, 0.045);

    color:
        rgba(255, 255, 255, 0.8);
}


#cerrarSesion:hover {
    background:
        rgba(255, 255, 255, 0.09);
}


/* ============================================================
   MAIN
   ============================================================ */

main {
    width: min(
        1450px,
        calc(100% - 42px)
    );

    margin: 0 auto;

    padding-bottom: 80px;
}


/* ============================================================
   INICIO
   ============================================================ */

.bienvenida {
    padding: 58px 0 28px;
}


.bienvenida h2 {
    font-size: clamp(
        2rem,
        4vw,
        3.5rem
    );

    font-weight: 900;

    letter-spacing: -0.045em;
}


.bienvenida p {
    margin-top: 9px;

    color:
        rgba(255, 255, 255, 0.55);
}


/* ============================================================
   UNIVERSOS
   ============================================================ */

#universosInicio {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 20px;
}


.universos-cargando {
    min-height: 280px;

    grid-column: 1 / -1;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 14px;

    color:
        rgba(255, 255, 255, 0.5);
}


.universo-card {
    position: relative;

    min-height: 315px;

    overflow: hidden;

    border: 1px solid
        rgba(255, 255, 255, 0.09);

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #171717,
            #070707
        );

    cursor: pointer;

    isolation: isolate;

    box-shadow:
        0 20px 55px
            rgba(0, 0, 0, 0.38);

    transition:
        transform 0.35s
            cubic-bezier(
                0.2,
                0.8,
                0.2,
                1
            ),
        border-color 0.3s ease,
        box-shadow 0.35s ease;
}


.universo-card:hover {
    transform:
        translateY(-7px)
        scale(1.012);

    border-color:
        rgba(255, 255, 255, 0.18);

    box-shadow:
        0 28px 75px
            rgba(0, 0, 0, 0.58);
}


.universo-card-bg {
    position: absolute;

    inset: 0;

    z-index: -3;

    background-position: center;

    background-size: cover;

    background-repeat: no-repeat;

    background-color: #111111;

    transition:
        transform 0.8s
            cubic-bezier(
                0.2,
                0.8,
                0.2,
                1
            );
}


.universo-card:hover
.universo-card-bg {
    transform: scale(1.08);
}


.universo-card-gradient {
    position: absolute;

    inset: 0;

    z-index: -2;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.03) 0%,
            rgba(0, 0, 0, 0.12) 28%,
            rgba(0, 0, 0, 0.58) 58%,
            rgba(0, 0, 0, 0.96) 100%
        );
}


.universo-card-contenido {
    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    padding: 28px;
}


.universo-card-kicker {
    display: inline-block;

    margin-bottom: 8px;

    color:
        rgba(255, 255, 255, 0.62);

    font-size: 0.72rem;

    font-weight: 850;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}


.universo-card h3 {
    font-size: clamp(
        1.35rem,
        2.6vw,
        2.25rem
    );

    line-height: 1.05;

    font-weight: 950;

    letter-spacing: -0.035em;
}


.universo-card p {
    max-width: 600px;

    margin-top: 9px;

    color:
        rgba(255, 255, 255, 0.62);

    font-size: 0.9rem;

    line-height: 1.45;
}


/* ============================================================
   CATÁLOGO
   ============================================================ */

#catalogoSeccion {
    padding-top: 32px;
}


.boton-volver {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 9px 15px;

    border: 1px solid
        rgba(255, 255, 255, 0.1);

    border-radius: 8px;

    background:
        rgba(255, 255, 255, 0.045);

    color:
        rgba(255, 255, 255, 0.8);

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}


.boton-volver:hover {
    background:
        rgba(255, 255, 255, 0.09);

    border-color:
        rgba(255, 255, 255, 0.18);
}


/* ============================================================
   TÍTULO DEL UNIVERSO
   ============================================================ */

.titulo-universo-contenido {
    padding: 32px 0 30px;
}


.titulo-universo-contenido h2 {
    font-size: clamp(
        2rem,
        4vw,
        3.2rem
    );

    line-height: 1.05;

    font-weight: 950;

    letter-spacing: -0.05em;
}


/* ============================================================
   CARGANDO
   ============================================================ */

.catalogo-cargando {
    min-height: 300px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 15px;

    color:
        rgba(255, 255, 255, 0.5);
}


.spinner {
    width: 30px;

    height: 30px;

    border: 3px solid
        rgba(255, 255, 255, 0.12);

    border-top-color: #ffffff;

    border-radius: 50%;

    animation:
        girar 0.8s linear infinite;
}


@keyframes girar {

    to {
        transform: rotate(360deg);
    }

}


/* ============================================================
   ENCABEZADO DE FASES
   ============================================================ */

.fases-header {
    margin-bottom: 20px;

    padding-top: 5px;
}


.fases-header h3 {
    font-size: 1.8rem;

    font-weight: 900;

    letter-spacing: -0.03em;
}


/* ============================================================
   FASES
   3 ARRIBA + 3 ABAJO
   ============================================================ */

.fases-stream-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 20px;
}


.fase-stream-card {
    position: relative;

    min-height: 220px;

    overflow: hidden;

    border: 1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 14px;

    cursor: pointer;

    isolation: isolate;

    background: #111111;

    box-shadow:
        0 18px 45px
            rgba(0, 0, 0, 0.3);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.fase-stream-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(255, 255, 255, 0.18);

    box-shadow:
        0 25px 60px
            rgba(0, 0, 0, 0.52);
}


.fase-stream-bg {
    position: absolute;

    inset: 0;

    z-index: -3;

    background-position: center;

    background-size: cover;

    background-repeat: no-repeat;

    background-color: #151515;

    transition:
        transform 0.7s ease;
}


.fase-stream-card:hover
.fase-stream-bg {
    transform: scale(1.07);
}


.fase-stream-gradient {
    position: absolute;

    inset: 0;

    z-index: -2;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.58) 45%,
            rgba(0, 0, 0, 0.15) 100%
        ),
        linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.88) 0%,
            transparent 70%
        );
}


.fase-stream-content {
    position: absolute;

    left: 22px;

    right: 55px;

    bottom: 20px;
}


.fase-stream-number {
    display: block;

    margin-bottom: 7px;

    color:
        rgba(255, 255, 255, 0.62);

    font-size: 0.68rem;

    font-weight: 900;

    letter-spacing: 0.16em;
}


.fase-stream-content h3 {
    font-size: 1.25rem;

    line-height: 1.12;

    font-weight: 900;

    letter-spacing: -0.025em;
}


.fase-stream-content p {
    margin-top: 6px;

    color:
        rgba(255, 255, 255, 0.58);

    font-size: 0.78rem;
}


.fase-stream-arrow {
    position: absolute;

    right: 20px;

    bottom: 20px;

    width: 34px;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid
        rgba(255, 255, 255, 0.12);

    border-radius: 50%;

    background:
        rgba(0, 0, 0, 0.3);

    color: #ffffff;

    font-size: 1.1rem;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}


.fase-stream-card:hover
.fase-stream-arrow {
    transform: translateX(4px);

    background:
        rgba(255, 255, 255, 0.12);
}


/* ============================================================
   ENCABEZADO DENTRO DE UNA FASE
   ============================================================ */

.fase-peliculas-header {
    display: flex;

    align-items: center;

    gap: 28px;

    margin-bottom: 30px;

    padding: 6px 0 4px;
}


.boton-volver-fase {
    flex-shrink: 0;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 10px 15px;

    border: 1px solid
        rgba(255, 255, 255, 0.1);

    border-radius: 8px;

    background:
        rgba(255, 255, 255, 0.045);

    color:
        rgba(255, 255, 255, 0.78);

    font-size: 0.86rem;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.boton-volver-fase:hover {
    transform: translateX(-2px);

    background:
        rgba(255, 255, 255, 0.09);

    border-color:
        rgba(255, 255, 255, 0.18);
}


.fase-peliculas-titulo span {
    display: block;

    margin-bottom: 5px;

    color:
        rgba(255, 255, 255, 0.5);

    font-size: 0.68rem;

    font-weight: 900;

    letter-spacing: 0.16em;
}


.fase-peliculas-titulo h3 {
    font-size: 1.75rem;

    line-height: 1.05;

    font-weight: 900;

    letter-spacing: -0.035em;
}


/* ============================================================
   CATÁLOGO DE PELÍCULAS
   ============================================================ */

.catalogo-grid {
    display: grid;

    grid-template-columns:
        repeat(
            5,
            minmax(0, 1fr)
        );

    gap: 24px 18px;
}


/* ============================================================
   TARJETA DE PELÍCULA
   ============================================================ */

.pelicula-card {
    min-width: 0;

    cursor: pointer;

    transition:
        transform 0.25s ease;
}


.pelicula-card:hover {
    transform:
        translateY(-6px);
}


.pelicula-poster-wrapper {
    position: relative;

    aspect-ratio:
        2 / 3;

    overflow: hidden;

    border: 1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 10px;

    background: #111111;

    box-shadow:
        0 12px 35px
            rgba(0, 0, 0, 0.35);
}


.pelicula-poster {
    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.45s ease,
        filter 0.35s ease;
}


.pelicula-card:hover
.pelicula-poster {
    transform: scale(1.045);
}


.pelicula-poster-sin-imagen {
    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    color:
        rgba(255, 255, 255, 0.3);

    font-weight: 900;

    letter-spacing: 0.12em;
}


/* ============================================================
   OVERLAY DE PELÍCULA
   ============================================================ */

.pelicula-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    background:
        rgba(0, 0, 0, 0.42);

    transition:
        opacity 0.25s ease;
}


.pelicula-card:hover
.pelicula-overlay {
    opacity: 1;
}


.pelicula-ver {
    padding: 9px 14px;

    border: 1px solid
        rgba(255, 255, 255, 0.25);

    border-radius: 7px;

    background:
        rgba(0, 0, 0, 0.55);

    color: #ffffff;

    font-size: 0.78rem;

    font-weight: 800;

    backdrop-filter: blur(8px);
}


/* ============================================================
   YA LA VI
   ============================================================ */

.pelicula-check-wrapper {
    position: absolute;

    left: 9px;

    bottom: 9px;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 7px;

    padding: 7px 9px;

    border: 1px solid
        rgba(255, 255, 255, 0.14);

    border-radius: 7px;

    background:
        rgba(0, 0, 0, 0.72);

    color:
        rgba(255, 255, 255, 0.88);

    font-size: 0.72rem;

    line-height: 1;

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}


.pelicula-check-wrapper:hover {
    background:
        rgba(0, 0, 0, 0.88);

    border-color:
        rgba(255, 255, 255, 0.25);
}


.pelicula-check {
    width: 15px;

    height: 15px;

    margin: 0;

    accent-color: #e50914;

    cursor: pointer;
}


.pelicula-check-wrapper
.check-texto {
    white-space: nowrap;
}


/* Cuando ya fue vista */

.pelicula-vista
.pelicula-poster {
    filter:
        brightness(0.62);
}


.pelicula-vista
.pelicula-check-wrapper {
    border-color:
        rgba(229, 9, 20, 0.55);

    background:
        rgba(110, 0, 5, 0.72);
}


.pelicula-vista
.pelicula-poster-wrapper::after {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    border:
        2px solid
        rgba(229, 9, 20, 0.28);

    border-radius: 10px;
}


/* ============================================================
   RATING
   ============================================================ */

.pelicula-rating {
    position: absolute;

    top: 9px;

    right: 9px;

    z-index: 4;

    padding: 6px 8px;

    border-radius: 6px;

    background:
        rgba(0, 0, 0, 0.72);

    color:
        rgba(255, 255, 255, 0.9);

    font-size: 0.72rem;

    font-weight: 800;

    backdrop-filter: blur(7px);
}


/* ============================================================
   INFORMACIÓN DE PELÍCULA
   ============================================================ */

.pelicula-info {
    padding: 11px 2px 0;
}


.pelicula-tipo {
    display: block;

    margin-bottom: 5px;

    color:
        rgba(255, 255, 255, 0.43);

    font-size: 0.65rem;

    font-weight: 850;

    letter-spacing: 0.11em;

    text-transform: uppercase;
}


.pelicula-info h4 {
    overflow: hidden;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    color:
        rgba(255, 255, 255, 0.92);

    font-size: 0.92rem;

    line-height: 1.3;

    font-weight: 750;
}


.pelicula-fecha {
    display: block;

    margin-top: 5px;

    color:
        rgba(255, 255, 255, 0.38);

    font-size: 0.72rem;
}


.temporada-label {
    color:
        rgba(255, 255, 255, 0.48);

    font-size: 0.78em;

    font-weight: 600;
}


/* ============================================================
   FICHA
   ============================================================ */

.ficha {
    position: relative;

    min-height: 100vh;

    margin-top: -32px;

    padding-bottom: 80px;

    overflow: hidden;
}


.ficha-backdrop {
    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 650px;

    background-position:
        center top;

    background-size: cover;

    background-repeat: no-repeat;

    opacity: 0.55;

    filter:
        saturate(0.9);
}


.ficha-backdrop-overlay {
    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 720px;

    background:
        linear-gradient(
            180deg,
            rgba(3, 3, 3, 0.12) 0%,
            rgba(3, 3, 3, 0.48) 42%,
            #050505 100%
        );
}


.ficha-contenido {
    position: relative;

    z-index: 2;

    padding-top: 32px;
}


.ficha-volver {
    margin-bottom: 38px;
}


.ficha-principal {
    display: grid;

    grid-template-columns:
        260px minmax(0, 1fr);

    gap: 40px;

    align-items: start;

    min-height: 430px;
}


.ficha-poster {
    overflow: hidden;

    border: 1px solid
        rgba(255, 255, 255, 0.12);

    border-radius: 12px;

    background: #111111;

    box-shadow:
        0 30px 70px
            rgba(0, 0, 0, 0.55);
}


.ficha-poster img {
    width: 100%;

    aspect-ratio:
        2 / 3;

    object-fit: cover;
}


.ficha-poster-vacio {
    aspect-ratio:
        2 / 3;

    display: flex;

    align-items: center;

    justify-content: center;

    color:
        rgba(255, 255, 255, 0.35);

    font-weight: 900;
}


.ficha-info {
    max-width: 850px;

    padding-top: 20px;
}


.ficha-tipo {
    display: block;

    margin-bottom: 10px;

    color:
        rgba(255, 255, 255, 0.55);

    font-size: 0.72rem;

    font-weight: 900;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}


.ficha-info h2 {
    max-width: 900px;

    font-size: clamp(
        2.1rem,
        5vw,
        4.5rem
    );

    line-height: 0.98;

    font-weight: 950;

    letter-spacing: -0.055em;
}


.ficha-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 19px;
}


.ficha-meta span {
    padding: 6px 9px;

    border: 1px solid
        rgba(255, 255, 255, 0.09);

    border-radius: 5px;

    background:
        rgba(255, 255, 255, 0.045);

    color:
        rgba(255, 255, 255, 0.68);

    font-size: 0.76rem;
}


.ficha-director,
.ficha-saga {
    display: flex;

    gap: 9px;

    margin-top: 18px;

    color:
        rgba(255, 255, 255, 0.65);

    font-size: 0.85rem;
}


.ficha-director strong,
.ficha-saga strong {
    color:
        rgba(255, 255, 255, 0.9);
}


.ficha-sinopsis {
    max-width: 850px;

    margin-top: 23px;

    color:
        rgba(255, 255, 255, 0.72);

    font-size: 1rem;

    line-height: 1.7;
}


/* ============================================================
   YA LA VI EN FICHA
   ============================================================ */

.ficha-marcar {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 25px;

    padding: 11px 15px;

    border: 1px solid
        rgba(255, 255, 255, 0.12);

    border-radius: 8px;

    background:
        rgba(255, 255, 255, 0.05);

    color:
        rgba(255, 255, 255, 0.82);

    font-size: 0.85rem;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}


.ficha-marcar:hover {
    background:
        rgba(255, 255, 255, 0.09);

    border-color:
        rgba(255, 255, 255, 0.2);
}


.ficha-marcar input {
    width: 17px;

    height: 17px;

    accent-color: #e50914;

    cursor: pointer;
}


/* ============================================================
   SECCIONES DE FICHA
   ============================================================ */

.ficha-seccion {
    margin-top: 70px;
}


.ficha-seccion-titulo {
    margin-bottom: 22px;
}


.ficha-seccion-titulo span {
    display: block;

    margin-bottom: 5px;

    color:
        rgba(255, 255, 255, 0.43);

    font-size: 0.67rem;

    font-weight: 900;

    letter-spacing: 0.18em;
}


.ficha-seccion-titulo h3 {
    font-size: 1.7rem;

    font-weight: 900;

    letter-spacing: -0.03em;
}


/* ============================================================
   REPARTO
   ============================================================ */

.reparto-grid {
    display: grid;

    grid-template-columns:
        repeat(
            6,
            minmax(0, 1fr)
        );

    gap: 15px;
}


.actor-card {
    min-width: 0;

    overflow: hidden;

    border: 1px solid
        rgba(255, 255, 255, 0.07);

    border-radius: 9px;

    background:
        rgba(255, 255, 255, 0.035);
}


.actor-card img,
.actor-sin-foto {
    width: 100%;

    aspect-ratio:
        2 / 3;

    object-fit: cover;
}


.actor-sin-foto {
    display: flex;

    align-items: center;

    justify-content: center;

    background:
        #161616;

    color:
        rgba(255, 255, 255, 0.25);

    font-size: 1.6rem;

    font-weight: 900;
}


.actor-info {
    padding: 9px;
}


.actor-info strong {
    display: block;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color:
        rgba(255, 255, 255, 0.9);

    font-size: 0.78rem;
}


.actor-info span {
    display: block;

    overflow: hidden;

    margin-top: 4px;

    color:
        rgba(255, 255, 255, 0.42);

    font-size: 0.68rem;

    line-height: 1.25;

    text-overflow: ellipsis;

    white-space: nowrap;
}


/* ============================================================
   TRAILER
   ============================================================ */

.trailer-container {
    position: relative;

    width: 100%;

    aspect-ratio:
        16 / 9;

    overflow: hidden;

    border: 1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 12px;

    background: #000000;

    box-shadow:
        0 25px 70px
            rgba(0, 0, 0, 0.4);
}


.trailer-container iframe {
    width: 100%;

    height: 100%;

    border: 0;
}


.sin-trailer {
    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    color:
        rgba(255, 255, 255, 0.4);
}


/* ============================================================
   MENSAJES
   ============================================================ */

.mensaje-error,
.mensaje-vacio {
    padding: 70px 20px;

    text-align: center;
}


.mensaje-error h3,
.mensaje-vacio h3 {
    font-size: 1.4rem;

    font-weight: 850;
}


.mensaje-error p,
.mensaje-vacio p {
    margin-top: 8px;

    color:
        rgba(255, 255, 255, 0.48);
}


.sin-datos {
    padding: 30px 0;

    color:
        rgba(255, 255, 255, 0.45);
}


/* ============================================================
   FICHA - ESTADO
   ============================================================ */

#fasesCatalogo.mostrando-ficha {
    min-height: 600px;
}


/* ============================================================
   RESPONSIVE - TABLET
   ============================================================ */

@media (
    max-width: 1150px
) {

    .catalogo-grid {
        grid-template-columns:
            repeat(
                4,
                minmax(0, 1fr)
            );
    }


    .reparto-grid {
        grid-template-columns:
            repeat(
                5,
                minmax(0, 1fr)
            );
    }

}


/* ============================================================
   RESPONSIVE - TABLET PEQUEÑA
   ============================================================ */

@media (
    max-width: 850px
) {

    #universosInicio {
        grid-template-columns:
            1fr;
    }


    .fases-stream-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .catalogo-grid {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }


    .reparto-grid {
        grid-template-columns:
            repeat(
                4,
                minmax(0, 1fr)
            );
    }


    .ficha-principal {
        grid-template-columns:
            210px minmax(0, 1fr);

        gap: 25px;
    }

}


/* ============================================================
   RESPONSIVE - MÓVIL
   ============================================================ */

@media (
    max-width: 600px
) {

    main,
    .header-contenido {
        width:
            calc(100% - 26px);
    }


    .header-contenido {
        min-height: 68px;

        gap: 12px;
    }


    .header-titulo h1 {
        font-size: 0.95rem;
    }


    .header-titulo p {
        display: none;
    }


    .usuario-sesion {
        gap: 7px;
    }


    #usuarioActual {
        display: none;
    }


    #cerrarSesion {
        padding: 7px 10px;

        font-size: 0.72rem;
    }


    .bienvenida {
        padding-top: 38px;
    }


    .universo-card {
        min-height: 245px;
    }


    .universo-card-contenido {
        padding: 20px;
    }


    .universo-card h3 {
        font-size: 1.45rem;
    }


    .universo-card p {
        font-size: 0.78rem;
    }


    .titulo-universo-contenido {
        padding:
            25px 0 22px;
    }


    .titulo-universo-contenido h2 {
        font-size: 2rem;
    }


    .fases-stream-grid {
        grid-template-columns:
            1fr;
    }


    .fase-stream-card {
        min-height: 200px;
    }


    .fase-peliculas-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 18px;

        margin-bottom: 24px;
    }


    .fase-peliculas-titulo h3 {
        font-size: 1.5rem;
    }


    .catalogo-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 20px 12px;
    }


    .pelicula-info h4 {
        font-size: 0.82rem;
    }


    .pelicula-check-wrapper {
        left: 6px;

        bottom: 6px;

        padding: 6px 7px;

        gap: 5px;

        font-size: 0.64rem;
    }


    .pelicula-check {
        width: 13px;

        height: 13px;
    }


    .pelicula-rating {
        top: 6px;

        right: 6px;

        padding: 5px 6px;

        font-size: 0.62rem;
    }


    .ficha {
        margin-top: -20px;
    }


    .ficha-principal {
        grid-template-columns:
            1fr;

        gap: 25px;
    }


    .ficha-poster {
        width: 180px;

        margin: 0 auto;
    }


    .ficha-info {
        padding-top: 0;
    }


    .ficha-info h2 {
        font-size: 2.25rem;
    }


    .ficha-sinopsis {
        font-size: 0.9rem;

        line-height: 1.6;
    }


    .reparto-grid {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );

        gap: 10px;
    }


    .actor-info {
        padding: 7px;
    }


    .actor-info strong {
        font-size: 0.67rem;
    }


    .actor-info span {
        font-size: 0.59rem;
    }


    .ficha-seccion {
        margin-top: 50px;
    }

}


/* ============================================================
   RESPONSIVE - MÓVIL MUY PEQUEÑO
   ============================================================ */

@media (
    max-width: 390px
) {

    .catalogo-grid {
        gap: 18px 9px;
    }


    .pelicula-info h4 {
        font-size: 0.76rem;
    }


    .pelicula-check-wrapper {
        padding: 5px;

        gap: 4px;
    }


    .pelicula-check-wrapper
    .check-texto {
        font-size: 0.58rem;
    }


    .ficha-poster {
        width: 155px;
    }


    .ficha-info h2 {
        font-size: 1.9rem;
    }

}

/* =========================================================
   PERFIL PREMIUM
   ========================================================= */

.perfil {
    width: min(1180px, 94%);
    margin: 0 auto;
    padding: 30px 0 80px;
}


/* =========================================================
   BOTÓN VOLVER
   ========================================================= */

.perfil-volver {
    margin-bottom: 25px;
}


/* =========================================================
   HERO
   ========================================================= */

.perfil-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;

    padding: 35px;

    margin-bottom: 25px;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.025)
        );

    border: 1px solid
        rgba(255, 255, 255, 0.10);

    box-shadow:
        0 25px 70px
        rgba(0, 0, 0, 0.35);

    overflow: hidden;
}

.perfil-hero::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    top: -220px;
    right: -100px;

    background:
        radial-gradient(
            circle,
            rgba(220, 0, 0, 0.28),
            transparent 70%
        );

    pointer-events: none;
}


.perfil-avatar {
    position: relative;

    width: 90px;
    height: 90px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 38px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.16),
            rgba(255, 255, 255, 0.04)
        );

    border: 1px solid
        rgba(255, 255, 255, 0.15);

    box-shadow:
        0 10px 35px
        rgba(0, 0, 0, 0.35);
}


.perfil-identidad {
    position: relative;
}

.perfil-kicker {
    display: block;

    margin-bottom: 6px;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 3px;

    opacity: 0.55;
}

.perfil-identidad h2 {
    margin: 0;

    font-size: clamp(28px, 4vw, 42px);

    font-weight: 800;

    letter-spacing: -1px;
}

.perfil-identidad p {
    margin: 8px 0 0;

    opacity: 0.60;

    font-size: 14px;

    word-break: break-word;
}


/* =========================================================
   OBJETIVO
   ========================================================= */

.perfil-objetivo {
    position: relative;

    padding: 32px;

    margin-bottom: 24px;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            rgba(120, 0, 0, 0.24),
            rgba(255, 255, 255, 0.035)
        );

    border: 1px solid
        rgba(255, 255, 255, 0.09);

    box-shadow:
        0 20px 55px
        rgba(0, 0, 0, 0.28);

    overflow: hidden;
}

.perfil-objetivo::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    right: -120px;
    bottom: -170px;

    background:
        radial-gradient(
            circle,
            rgba(255, 0, 0, 0.18),
            transparent 70%
        );

    pointer-events: none;
}


.perfil-objetivo-header {
    position: relative;

    z-index: 1;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.perfil-seccion-label {
    display: block;

    margin-bottom: 8px;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

    opacity: 0.55;
}

.perfil-objetivo h3 {
    margin: 0;

    font-size: clamp(22px, 3vw, 32px);

    font-weight: 800;
}


/* =========================================================
   BOTÓN PERFIL
   ========================================================= */

.perfil-boton {
    border: 1px solid
        rgba(255, 255, 255, 0.14);

    background:
        rgba(255, 255, 255, 0.06);

    color: inherit;

    padding: 11px 17px;

    border-radius: 12px;

    cursor: pointer;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.perfil-boton:hover {
    transform: translateY(-2px);

    background:
        rgba(255, 255, 255, 0.11);

    border-color:
        rgba(255, 255, 255, 0.24);
}


/* =========================================================
   PROGRESO PRINCIPAL
   ========================================================= */

.perfil-progreso-principal {
    position: relative;

    z-index: 1;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-top: 35px;

    margin-bottom: 12px;
}

.perfil-progreso-numero {
    display: flex;

    align-items: baseline;

    gap: 5px;
}

.perfil-progreso-numero strong {
    font-size: clamp(44px, 7vw, 72px);

    line-height: 0.9;

    font-weight: 900;

    letter-spacing: -3px;
}

.perfil-progreso-numero span {
    font-size: 22px;

    opacity: 0.45;
}

.perfil-porcentaje {
    font-size: 30px;

    font-weight: 900;
}


.perfil-barra {
    position: relative;

    z-index: 1;

    height: 10px;

    width: 100%;

    overflow: hidden;

    border-radius: 20px;

    background:
        rgba(255, 255, 255, 0.08);
}

.perfil-barra-progreso {
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #8d0000,
            #ff2020
        );

    box-shadow:
        0 0 18px
        rgba(255, 0, 0, 0.35);

    transition:
        width 1s ease;
}


.perfil-progreso-info {
    position: relative;

    z-index: 1;

    display: flex;

    justify-content: space-between;

    margin-top: 10px;

    font-size: 12px;

    opacity: 0.55;
}


/* =========================================================
   MENSAJES
   ========================================================= */

.perfil-pendientes,
.perfil-completado {
    position: relative;

    z-index: 1;

    margin-top: 25px;

    padding: 15px 17px;

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.045);

    border: 1px solid
        rgba(255, 255, 255, 0.07);

    font-size: 13px;
}

.perfil-completado {
    display: flex;

    align-items: center;

    gap: 14px;
}

.perfil-completado-icono {
    font-size: 30px;
}

.perfil-completado strong {
    display: block;

    font-size: 15px;
}

.perfil-completado p {
    margin: 3px 0 0;

    opacity: 0.55;
}


/* =========================================================
   ESTADÍSTICAS
   ========================================================= */

.perfil-estadisticas {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

    margin-bottom: 45px;
}

.perfil-stat {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    min-height: 150px;

    padding: 20px;

    text-align: center;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.025)
        );

    border: 1px solid
        rgba(255, 255, 255, 0.08);

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.perfil-stat:hover {
    transform: translateY(-4px);

    background:
        rgba(255, 255, 255, 0.09);
}

.perfil-stat-icono {
    font-size: 25px;

    margin-bottom: 8px;
}

.perfil-stat strong {
    font-size: 34px;

    line-height: 1;

    font-weight: 900;
}

.perfil-stat > span:last-child {
    margin-top: 8px;

    font-size: 12px;

    opacity: 0.50;
}


/* =========================================================
   SECCIONES
   ========================================================= */

.perfil-seccion {
    margin-bottom: 45px;
}

.perfil-seccion-heading {
    margin-bottom: 20px;
}

.perfil-seccion-heading > span {
    display: block;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 3px;

    opacity: 0.40;

    margin-bottom: 5px;
}

.perfil-seccion-heading h3 {
    margin: 0;

    font-size: 27px;

    font-weight: 800;
}


/* =========================================================
   UNIVERSOS
   ========================================================= */

.perfil-universos {
    display: grid;

    gap: 13px;
}

.perfil-universo {
    padding: 18px 20px;

    border-radius: 17px;

    background:
        rgba(255, 255, 255, 0.045);

    border: 1px solid
        rgba(255, 255, 255, 0.07);
}

.perfil-universo-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 12px;
}

.perfil-universo-nombre {
    display: flex;

    align-items: center;

    gap: 12px;
}

.perfil-universo-nombre > span {
    font-size: 23px;
}

.perfil-universo-nombre strong {
    display: block;

    font-size: 14px;
}

.perfil-universo-nombre small {
    display: block;

    margin-top: 3px;

    font-size: 11px;

    opacity: 0.45;
}

.perfil-universo-porcentaje {
    font-size: 14px;
}

.perfil-universo-barra {
    height: 6px;

    overflow: hidden;

    border-radius: 20px;

    background:
        rgba(255, 255, 255, 0.07);
}

.perfil-universo-barra div {
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #770000,
            #e00000
        );

    transition:
        width 0.8s ease;
}


/* =========================================================
   RECIENTES
   ========================================================= */

.perfil-recientes {
    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 14px;
}

.perfil-reciente {
    position: relative;

    aspect-ratio: 2 / 3;

    overflow: hidden;

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.05);

    border: 1px solid
        rgba(255, 255, 255, 0.08);

    box-shadow:
        0 15px 30px
        rgba(0, 0, 0, 0.3);

    transition:
        transform 0.25s ease;
}

.perfil-reciente:hover {
    transform:
        translateY(-6px)
        scale(1.02);
}

.perfil-reciente img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.perfil-reciente-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 35px 10px 10px;

    background:
        linear-gradient(
            transparent,
            rgba(0, 0, 0, 0.95)
        );
}

.perfil-reciente-overlay strong {
    display: block;

    font-size: 11px;

    line-height: 1.3;
}


/* =========================================================
   PERFIL VACÍO
   ========================================================= */

.perfil-vacio {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    min-height: 180px;

    text-align: center;

    border-radius: 20px;

    background:
        rgba(255, 255, 255, 0.035);

    border: 1px solid
        rgba(255, 255, 255, 0.07);
}

.perfil-vacio span {
    font-size: 35px;

    margin-bottom: 10px;
}

.perfil-vacio p {
    margin: 0;

    font-size: 13px;

    opacity: 0.5;
}


/* =========================================================
   SELECTOR DE OBJETIVOS
   ========================================================= */

.objetivos-grid {
    display: grid;

    gap: 14px;

    margin-top: 30px;
}

.objetivo-card {
    width: 100%;

    display: flex;

    align-items: center;

    gap: 17px;

    padding: 19px;

    border: 1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.025)
        );

    color: inherit;

    text-align: left;

    cursor: pointer;

    transition:
        transform 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease;
}

.objetivo-card:hover {
    transform:
        translateX(5px);

    background:
        rgba(255, 255, 255, 0.10);

    border-color:
        rgba(255, 255, 255, 0.18);
}

.objetivo-icono {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.07);

    font-size: 22px;
}

.objetivo-info {
    flex: 1;
}

.objetivo-info strong {
    display: block;

    font-size: 15px;
}

.objetivo-info small {
    display: block;

    margin-top: 4px;

    font-size: 12px;

    opacity: 0.45;
}

.objetivo-flecha {
    font-size: 20px;

    opacity: 0.4;

    transition:
        transform 0.2s ease;
}

.objetivo-card:hover
.objetivo-flecha {
    transform:
        translateX(4px);

    opacity: 0.9;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .perfil-recientes {
        grid-template-columns:
            repeat(3, 1fr);
    }

}


@media (max-width: 650px) {

    .perfil {
        width: 92%;

        padding-top: 20px;
    }

    .perfil-hero {
        padding: 24px;

        gap: 16px;
    }

    .perfil-avatar {
        width: 68px;
        height: 68px;

        font-size: 28px;
    }

    .perfil-objetivo {
        padding: 22px;
    }

    .perfil-objetivo-header {
        align-items: flex-start;

        flex-direction: column;
    }

    .perfil-estadisticas {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .perfil-stat {
        min-height: 110px;
    }

    .perfil-recientes {
        grid-template-columns:
            repeat(3, 1fr);

        gap: 9px;
    }

    .perfil-progreso-principal {
        align-items: flex-start;
    }

    .perfil-progreso-numero strong {
        font-size: 52px;
    }

    .perfil-porcentaje {
        font-size: 24px;
    }

}

/* =========================================================
   BOTONES DEL HEADER
   ========================================================= */

.boton-header {
    border: 1px solid
        rgba(255, 255, 255, 0.12);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.09),
            rgba(255, 255, 255, 0.035)
        );

    color: inherit;

    padding: 10px 15px;

    border-radius: 12px;

    cursor: pointer;

    font-size: 13px;

    font-weight: 700;

    backdrop-filter: blur(10px);

    box-shadow:
        0 8px 25px
        rgba(0, 0, 0, 0.18);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.boton-header:hover {
    transform: translateY(-2px);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.14),
            rgba(255, 255, 255, 0.06)
        );

    border-color:
        rgba(255, 255, 255, 0.22);

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.28);
}

.boton-header:active {
    transform: translateY(0);
}

/* ============================================================
   SISTEMA DE AVATARES
   ============================================================ */

.perfil-avatar-contenedor {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.perfil-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.perfil-avatar-nombre {
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    opacity: 0.75;
}


/* ============================================================
   SELECTOR DE AVATARES
   ============================================================ */

.avatar-selector {
    width: 100%;
    padding: 30px;
    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.025)
        );

    border: 1px solid
        rgba(255, 255, 255, 0.10);

    box-shadow:
        0 25px 70px
        rgba(0, 0, 0, 0.35);
}


.avatar-selector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}


.avatar-selector-header h3 {
    margin: 6px 0;
    font-size: 28px;
}


.avatar-selector-header p {
    margin: 0;
    opacity: 0.65;
}


/* ============================================================
   GRUPOS
   ============================================================ */

.avatar-grupos {
    display: flex;
    flex-direction: column;
    gap: 35px;
}


.avatar-grupo {
    width: 100%;
}


.avatar-grupo-titulo {
    margin-bottom: 14px;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.16em;
    text-transform: uppercase;

    opacity: 0.55;
}


/* ============================================================
   GRID DE PERSONAJES
   ============================================================ */

.avatar-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(130px, 1fr)
        );

    gap: 16px;
}


/* ============================================================
   TARJETA DEL PERSONAJE
   ============================================================ */

.avatar-personaje {
    border:
        1px solid
        rgba(255, 255, 255, 0.09);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.025)
        );

    color: inherit;

    border-radius: 18px;

    padding: 12px;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;

    font-family: inherit;
}


.avatar-personaje:hover {
    transform: translateY(-5px);

    border-color:
        rgba(255, 255, 255, 0.22);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.12),
            rgba(255, 255, 255, 0.04)
        );

    box-shadow:
        0 15px 35px
        rgba(0, 0, 0, 0.25);
}


.avatar-personaje:active {
    transform: translateY(-2px);
}


/* ============================================================
   AVATAR SELECCIONADO
   ============================================================ */

.avatar-personaje.avatar-seleccionado {
    border-color:
        rgba(255, 60, 60, 0.75);

    box-shadow:
        0 0 0 2px
        rgba(255, 60, 60, 0.16),

        0 15px 35px
        rgba(0, 0, 0, 0.25);
}


/* ============================================================
   IMAGEN
   ============================================================ */

.avatar-imagen-wrapper {
    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    border-radius: 14px;

    background:
        rgba(0, 0, 0, 0.25);

    margin-bottom: 10px;
}


.avatar-imagen {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.3s ease;
}


.avatar-personaje:hover
.avatar-imagen {
    transform: scale(1.05);
}


/* ============================================================
   SIN IMAGEN
   ============================================================ */

.avatar-sin-imagen {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 32px;

    opacity: 0.35;
}


/* ============================================================
   NOMBRE
   ============================================================ */

.avatar-nombre {
    display: block;

    font-size: 13px;

    font-weight: 700;

    text-align: center;

    line-height: 1.3;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 700px) {

    .perfil-avatar-contenedor {
        width: 100%;
    }


    .avatar-selector {
        padding: 20px;
    }


    .avatar-selector-header {
        align-items: flex-start;
        flex-direction: column;
    }


    .avatar-selector-header h3 {
        font-size: 23px;
    }


    .avatar-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

}
