/* Fairy Nexus trainer profile card */

.pv-side-profile {
    position: relative;
    min-height: 128px;
    padding: 18px 14px 14px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;

    border-radius: 16px;
    overflow: hidden;

    border: 1px solid rgba(220, 145, 181, .34);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.98),
            rgba(255,240,247,.96)
        );

    box-shadow:
        0 8px 22px rgba(96, 67, 92, .10),
        inset 0 1px 0 rgba(255,255,255,.72);
}


/* Quando existe foto */

.pv-side-profile.has-profile-photo {
    min-height: 150px;

    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;

    border-color: rgba(224, 159, 194, .44);

    box-shadow:
        0 10px 26px rgba(73, 49, 76, .16),
        inset 0 1px 0 rgba(255,255,255,.25);
}


/* Overlay para manter ONLINE + nome legíveis */

.pv-side-profile.has-profile-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(22, 15, 27, .02) 20%,
            rgba(22, 15, 27, .12) 48%,
            rgba(22, 15, 27, .68) 100%
        );

    pointer-events: none;
}


/* Leve acabamento Fairy Nexus */

.pv-side-profile.has-profile-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;

    background:
        linear-gradient(
            135deg,
            rgba(247, 193, 219, .10),
            transparent 45%,
            rgba(188, 218, 247, .08)
        );

    pointer-events: none;
}


/* Conteúdo acima da imagem */

.pv-side-profile > * {
    position: relative;
    z-index: 1;
}


/* ONLINE */

.pv-side-profile .pv-side-signal {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-bottom: 5px;

    color: #25814f;
    font-weight: 900;
    font-size: .76rem;
    letter-spacing: .13em;
}


/* Online quando tem foto */

.pv-side-profile.has-profile-photo .pv-side-signal {
    color: #8ff0b0;

    text-shadow:
        0 1px 4px rgba(0,0,0,.55);
}

.pv-side-profile .pv-side-signal i {
    width: 6px;
    height: 6px;
    border-radius: 2px;

    background: #37b96b;

    box-shadow:
        0 0 0 3px rgba(55,185,107,.12);
}


/* Username */

.pv-side-profile > strong {
    color: #243e5c;
    font-size: .92rem;
    font-weight: 900;
}

.pv-side-profile.has-profile-photo > strong {
    color: #fff;

    text-shadow:
        0 2px 6px rgba(0,0,0,.70);
}


/* Trainer profile */

.pv-side-profile > small {
    margin-top: 3px;

    color: #8397ad;
    font-size: .57rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.pv-side-profile.has-profile-photo > small {
    color: rgba(255,255,255,.76);

    text-shadow:
        0 1px 4px rgba(0,0,0,.55);
}


/* Conta antiga / sem foto */

.pv-side-profile .pv-side-avatar-fallback {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    margin-bottom: 8px;

    border-radius: 13px;

    border: 1px solid rgba(220, 145, 181, .42);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.98),
            rgba(255,240,247,.96)
        );

    color: #a65f85;

    font-size: 1rem;
    font-weight: 950;

    box-shadow:
        0 6px 16px rgba(96, 67, 92, .10);
}