
/* MangaSocial v7 */

#similarRecommendations {
    display: grid;
}

.v7-similar {
    display: grid !important;
    grid-template-columns: 58px 1fr;
    align-items: center;

    gap: 14px;

    padding: 14px 0;

    text-decoration: none;

    color: inherit;

    border-bottom:
        1px solid
        rgba(255,255,255,.1);
}

.v7-similar:last-child {
    border-bottom: 0;
}

.v7-similar-cover {
    width: 58px !important;
    height: 72px !important;

    border-radius: 10px !important;

    overflow: hidden;

    display: flex;

    align-items: center;
    justify-content: center;
}

.v7-similar-cover img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.v7-similar-body {
    min-width: 0;

    display: grid;

    gap: 4px;
}

.v7-similar-body strong {
    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}

.v7-similar-rating {
    color: #facc15;
}

.v7-similar-reason,
.v7-recommendation-status {
    color:
        var(
            --muted,
            #b9adc8
        );

    line-height: 1.35;
}


/* atalhos */

.v7-shortcuts-button {
    white-space: nowrap;
}

.v7-shortcuts-modal,
.v7-badge-modal {

    position: fixed;

    inset: 0;

    z-index: 9999;

    background:
        rgba(
            7,
            5,
            14,
            .78
        );

    backdrop-filter:
        blur(8px);

    display: grid;

    place-items: center;

    padding: 20px;
}

.v7-shortcuts-modal[hidden],
.v7-badge-modal[hidden] {
    display: none;
}

.v7-shortcuts-dialog,
.v7-badge-dialog {

    width:
        min(
            560px,
            100%
        );

    max-height: 85vh;

    overflow: auto;

    background: #191625;

    border:
        1px solid
        rgba(
            167,
            139,
            250,
            .28
        );

    border-radius: 24px;

    padding: 24px;

    box-shadow:
        0 30px 80px
        rgba(
            0,
            0,
            0,
            .45
        );

    position: relative;
}

.v7-shortcuts-close,
.v7-badge-close {

    position: absolute;

    right: 14px;
    top: 12px;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    font-size: 24px;
}

.v7-shortcut-grid {

    display: grid;

    grid-template-columns:
        110px 1fr;

    gap:
        10px 14px;

    align-items: center;
}

.v7-shortcut-grid kbd {

    padding:
        7px 10px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .16
        );

    border-radius: 9px;

    background:
        #0f0d18;

    text-align: center;

    font-weight: 800;
}


/* perfil */

.v7-profile-badge-actions {

    display: flex;

    gap: 12px;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    margin-top: 14px;
}

.v7-chapter-pref {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding:
        10px 14px;

    border:
        1px solid
        rgba(
            167,
            139,
            250,
            .22
        );

    border-radius: 14px;
}

.v7-badge-picker {

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(
                0,
                1fr
            )
        );

    gap: 12px;

    margin:
        18px 0;
}

.v7-badge-option {

    display: grid;

    grid-template-columns:
        auto 64px 1fr;

    align-items: center;

    gap: 10px;

    padding: 12px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .1
        );

    border-radius: 16px;

    cursor: pointer;
}

.v7-badge-option img {

    width: 64px;
    height: 64px;

    object-fit: contain;
}

.v7-badge-option span {

    display: grid;

    gap: 3px;
}

.v7-badge-option.locked {

    opacity: .45;

    cursor: not-allowed;
}

.v7-badge-help {

    color:
        var(
            --muted,
            #b9adc8
        );
}

.v7-public-badges {

    margin-top: 18px;
}

.v7-public-badge-row {

    display: flex;

    gap: 18px;

    flex-wrap: wrap;
}

.v7-public-badge {

    display: grid;

    justify-items: center;

    gap: 5px;

    min-width: 110px;

    text-align: center;
}

.v7-public-badge img {

    width: 92px;
    height: 92px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 10px 20px
            rgba(
                139,
                92,
                246,
                .28
            )
        );
}

.v7-public-badge small {

    color:
        #c4b5fd;
}


@media(
    max-width: 640px
) {

    .v7-shortcut-grid {

        grid-template-columns:
            88px 1fr;

        font-size: 14px;
    }

    .v7-badge-picker {

        grid-template-columns:
            1fr;
    }

    .v7-public-badge-row {

        justify-content:
            center;
    }

    .v7-similar {

        grid-template-columns:
            52px 1fr;
    }

    .v7-similar-cover {

        width: 52px !important;
        height: 66px !important;
    }

}
