.user-network-nav {
    margin: 14px 0 20px;
    padding: 10px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e9ed;
    border-radius: 13px;
    box-shadow: 0 3px 12px rgba(25, 35, 50, 0.05);
}

.user-network-scroll {
    display: flex;
    align-items: stretch;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
}

.user-network-scroll::-webkit-scrollbar {
    display: none;
}


.user-network-link {
    display: flex;
    flex: 1 0 auto;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: max-content;
    min-height: 42px;
    padding: 8px 6px;
    color: #555f69;
    background: #f4f6f8;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.user-network-link > span {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
}

.user-network-link:hover {
    color: #009edb;
    background: #eef9fe;
    border-color: #cbeafa;
}

.user-network-link.is-active {
    color: #ffffff;
    background: #00aeef;
    border-color: #00aeef;
    cursor: default;
}

.user-network-link .fa {
    font-size: 16px;
}

.user-network-link strong {
    min-width: 20px;
    padding: 2px 6px;
    color: inherit;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 10px;
    font-size: 11px;
    text-align: center;
}

.user-network-link.is-active strong {
    color: #0089be;
}

.user-network-link:focus-visible {
    outline: 3px solid rgba(0, 174, 239, 0.25);
    outline-offset: 2px;
}

@media (max-width: 600px) {

    .user-network-nav {
        margin: 10px 0 15px;
        padding: 8px;
        border-radius: 10px;
    }

    .user-network-scroll {
        gap: 7px;
    }

    .user-network-link {
        flex: 0 0 auto;
        min-width: 105px;
        min-height: 40px;
        padding: 7px 10px;
        font-size: 13px;
    }
	
}


/* Keep network navigation content vertically centered */

.user-network-link {
    box-sizing: border-box;
    height: 52px;
    min-height: 52px;
    padding-top: 0;
    padding-bottom: 0;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.user-network-link > i,
.user-network-link > span {
    line-height: 1;
}

.user-network-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    line-height: 1;
}

@media (max-width: 700px) {
    .user-network-link {
        height: 46px;
        min-height: 46px;
        padding-top: 0;
        padding-bottom: 0;
    }
}