

.friends-grid {
    list-style: none;
    margin: 0;
    padding: 6px 0 0;
    display: flex;
    flex-wrap: wrap;
}

.friend-card {
    width: 110px;
    margin: 0 8px 12px 0;
    text-align: center;
}

.friend-card a {
    display: block;
    text-decoration: none;
    color: #191919;
}

.friend-card .friend-avatar {
    position: relative;
    display: block;
    width: 100px;
    height: 100px;
    margin: 0 auto 6px;
    background: #fff;
    border: 1px solid #b8b8b8;
    border-radius: 50%;
    overflow: hidden;
}

.friend-card .friend-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.friend-card.online .friend-avatar {
    border-color: #02b757;
    box-shadow: 0 0 0 2px #02b757;
}

.friend-card .friend-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.friend-card .friend-status {
    display: block;
    font-size: 12px;
    color: #757575;
}

.friend-card.online .friend-status {
    color: #02b757;
}

.friend-card .friend-actions {
    margin-top: 6px;
}

.friend-card .friend-actions button {
    margin: 2px 0;
    width: 100%;
    padding: 6px 4px;
    font-size: 13px;
}


.friends-page-background {
    background: transparent;
    min-height: calc(100vh - 40px);
}

.friends-page {
    width: min(970px, calc(100% - 24px));
    margin: 0 auto;
    color: #191919;
}

.friends-page h1 {
    margin: 0 0 12px;
    padding: 5px 0 5px 12px;
    font-size: 36px;
    line-height: 1em;
    font-weight: 400;
}

.friends-page .friends-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 12px;
    background: #fff;
    box-shadow: 0 1px 3px #969696bd;
}

.friends-page .friends-tabs.public-view {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.friends-page .friends-tabs a {
    display: block;
    padding: 12px 5px;
    text-align: center;
    color: #191919;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 -4px 0 transparent inset;
}

.friends-page .friends-tabs a.active,
.friends-page .friends-tabs a:hover {
    box-shadow: 0 -4px 0 #7b2cbf inset;
}

.friends-page .friends-tabs a:hover {
    color: #7b2cbf;
}

.friends-page .friends-content {
    min-height: 670px;
}

.friends-page .friends-section-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 6px 10px;
}

.friends-page .friends-section-heading h2,
.friends-page .friends-sent-heading {
    margin: 0;
    padding: 5px 0;
    font-size: 24px;
    line-height: 1em;
    font-weight: 300;
}

.friends-page .friends-info-icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
    align-items: center;
    justify-content: center;
    border: 1px solid #191919;
    border-radius: 50%;
    color: #191919;
    font: 600 11px Georgia, serif;
}

.friends-page .friends-ignore-all {
    width: 100px;
    padding: 5px 0;
    font-size: 12px;
    line-height: 100%;
    color: #757575;
    cursor: pointer;
}

.friends-page .friends-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.friends-page .friends-list-item {
    padding: 0 5px 12px;
    min-width: 0;
}

.friends-page .friends-list-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 3px #969696bd;
}

.friends-page .friends-list-card:hover {
    box-shadow: 0 1px 6px #757575;
}

.friends-page .friends-list-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 36px 12px 12px;
}

.friends-page .friends-list-avatar {
    position: relative;
    display: block;
    flex: 0 0 92px;
    width: 92px;
    height: 92px;
    box-sizing: border-box;
    border: 1px solid #b8b8b8;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
}

.friends-page .friends-list-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.friends-page .friends-online-indicator {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #02b757;
}

.friends-page .friends-list-info {
    min-width: 0;
    flex: 1;
    padding-top: 0;
}

.friends-page .friends-list-name {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #191919;
    font-size: 18px;
    text-decoration: none;
}

.friends-page .friends-list-name:hover {
    color: #7b2cbf;
}

.friends-page .friends-list-status {
    display: block;
    padding-top: 3px;
    color: #b8b8b8;
    font-size: 14px;
    font-weight: 400;
}

.friends-page .friends-list-actions {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 12px;
    padding: 12px;
    border-top: 1px solid #e3e3e3;
    background: #f2f2f2;
}

.friends-page .friends-list-actions button,
.friends-page .friends-ignore-all {
    border: 1px solid #b8b8b8;
    border-radius: 3px;
    background: #fff;
    color: #191919;
    font-size: 16px;
    padding: 6px 10px;
}

.friends-page .friends-list-actions button {
    width: 100%;
    height: 36px;
    padding: 0;
}

.friends-page .friends-list-actions .friends-accept {
    border-color: #7b2cbf;
    background: #7b2cbf;
    color: #fff;
}

.friends-page button:disabled {
    opacity: .5;
    cursor: default;
}

.friends-page .friends-card-menu {
    position: absolute;
    right: 12px;
    top: 6px;
}

.friends-page .friends-card-more {
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.friends-page .friends-card-more::before {
    content: "\2026";
    display: block;
    color: #757575;
    font-size: 22px;
    line-height: 10px;
    text-align: center;
}

.friends-page .friends-card-more:hover::before {
    color: #191919;
}

.friends-page .friends-dropdown {
    position: absolute;
    right: 0;
    top: 24px;
    z-index: 2;
    min-width: 120px;
    margin: 0;
    padding: 5px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

.friends-page .friends-dropdown button {
    display: block;
    width: 100%;
    padding: 3px 20px;
    border: 0;
    background: none;
    color: #191919;
    font-size: 14px;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

.friends-page .friends-dropdown button:hover {
    background: #f5f5f5;
}

.friends-page .friends-sent-heading {
    margin: 22px 6px 10px;
}

.friends-page .friends-empty-list {
    padding: 35px 12px;
    color: #757575;
    text-align: center;
}

.friends-page .friends-error {
    padding: 10px 12px;
    margin: 10px 6px;
    color: #b51b16;
    background: #fff;
    border: 1px solid #ecc1bf;
}

.friends-page .friends-error button {
    margin-left: 8px;
    border: 0;
    background: none;
    color: #6a1b9a;
    text-decoration: underline;
}

.friends-page .friends-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    color: #757575;
}

.friends-page .friends-pagination button {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #b8b8b8;
    background: #fff;
    font-size: 24px;
    line-height: 20px;
    color: #191919;
    border-radius: 3px;
    cursor: pointer;
}

.friends-page .friends-pagination button:hover {
    background: #f2f2f2;
}

.friends-page .friends-pagination button:disabled {
    background: #f2f2f2;
    border-color: #e3e3e3;
    color: #b8b8b8;
    cursor: default;
}

.friends-page .friends-page-number {
    min-width: 32px;
    padding: 5px 0;
    text-align: center;
    border: 1px solid #b8b8b8;
    background: #fff;
    border-radius: 3px;
}

@media (max-width: 991px) {
    .friends-page .friends-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .friends-page h1 {
        font-size: 30px;
        padding-left: 9px;
    }

    .friends-page .friends-list {
        grid-template-columns: 1fr;
    }

    .friends-page .friends-content {
        min-height: 450px;
    }

    .friends-page .friends-section-heading h2 {
        font-size: 21px;
    }
}

@media (max-width: 479px) { .friends-page .friends-tabs a { font-size: 16px; } }


.home-friends {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.home-friends .friend-card {
    width: 120px;
}


.rbx-nav-badge {
    display: inline-block;
    min-width: 18px;
    margin-left: 8px;
    padding: 1px 6px;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    color: #fff;
    background: #7B2CBF;
    border-radius: 9px;
}
