:root {
    --primary-background: #222127;
    --primary-radius: 8px;
}

ul.pagination {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.trading {
    margin-bottom: 24px;
}

.trading .product {
    display: flex;
    width: 100%;
    background-color: var(--primary-background);
    border-radius: var(--primary-radius);
    padding: 12px 24px 12px 24px;
    height: 80px;
    align-items: center;
    font-size: 16px;
    margin-bottom: 16px;
}

.trading .product .view img {
    width: 48px;
    height: 48px;
    border-radius: var(--primary-radius);
}

.trading .product .name {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.3em;
    width: 39%;
}

.trading .product .add {
    width: 8%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.trading .product .add button.btn svg.bi.bi-bag-heart-fill {
    width: 24px;
    height: 24px;
    color: gray;
}

.trading .product .add button.btn svg.bi.bi-bag-heart-fill:hover {
    color: #d1e52d;
}

.trading .product .add button.btn {
    background-color: transparent;
    margin-bottom: 0;
}

.trading .product .view {
    width: 8%;
    margin-right: 12px;
}

.trading .product .price,
.trading .product .availability,
.trading .product .market {
    width: 15%;
}


.trading .table {
    display: flex;
    padding: 0 24px 0 24px;
    font-size: 12px;
}

.trading .table svg {
    margin-right: 8px;
}

.trading .table .name,
.trading .table .price,
.trading .table .market,
.trading .table .view,
.trading .table .availability {
    display: flex;
    align-items: center;
}

.trading .table .name {
    width: 39%;
}

.trading .table .add {
    width: 8%;
}

.trading .table .view {
    width: 8%;
    margin-right: 12px;
}

.trading .table .price,
.trading .table .availability,
.trading .table .market {
    width: 15%;
}

.product:hover {
    box-shadow: 3px 3px #6c97d4, -4px 0 .4em #40787d;
    transition: box-shadow 0.3s ease-in-out;
}

.jconfirm-cell {
    background-color: rgba(0, 0, 0, .40);
}

.jconfirm-box-container {
    color: #484848;
}

#items .card.active {
    border-color: rgba(65, 137, 91, .64);
    background-color: rgba(36, 62, 45, .25);
}

#items .card.active:hover {
    border-color: transparent;
    background-color: var(--primary-background);
}

#items .card {
    cursor: pointer;
    background-color: var(--primary-background);
}

#items .card .card-header {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#items .card .card-body {
    height: 150px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: 50% !important;
    margin: 12px 8px 12px 8px !important;
}

#items .card:hover {
    box-shadow: 3px 3px #6c97d4, -4px 0 .4em #40787d;
    transition: box-shadow 0.3s ease-in-out;
    transition: border-color 0.3s ease-in-out;
}

@media (max-width: 600px) {
    .trading .product {
        padding: 8px;
    }

    .trading .product .view img {
        width: 32px;
        height: 32px;
    }

    .trading .table .name {
        width: 30%;
    }

    .trading .product .name {
        width: 30%;
    }

    .trading .table .add {
        width: 17%;
    }

    .trading .product .add {
        width: 17%;
    }
}

#green_circle_online {
    display: inline-block;
    background-color: green;
    width: 10px;
    border-radius: 20px;
    height: 10px;
    margin-left: 10px;
    margin-bottom: 1px;
    box-shadow: 0 0 15px rgba(255, 255, 255, .4);
    -webkit-animation: mymove 3s infinite;
    animation: mymove .4s ease-in infinite alternate;
}

@keyframes mymove {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.3);
    }
}

.smart-roulette__gift_left {
    left: 15px;
}

.smart-roulette__gift {
    border: none;
    padding: 0;
    margin: 0;
    background: 0 0;
    position: fixed;
    cursor: pointer;
    outline: 0;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    bottom: 15px;
    -webkit-animation: 2.2s ease-in-out 0s normal none infinite running shake-animation;
    animation: 2.2s ease-in-out 0s normal none infinite running shake-animation;
    z-index: 999;
}

.smart-roulette__gift {

    -moz-animation: cycle 4s linear infinite;
    -webkit-animation: cycle 4s linear infinite;

}

.smart-roulette__gift {
    color: white;
    min-height: 30px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

@-moz-keyframes cycle {
    35% {
        transform: rotate(0) translate(0, 0);
    }

    40% {
        transform: rotate(5deg) translate(0, -2px);
    }

    45% {
        transform: rotate(-3deg) translate(0, -2px);
    }

    50% {
        transform: rotate(5deg) translate(0, -2px);
    }

    55% {
        transform: rotate(-3deg) translate(0, -2px);
    }

    60% {
        transform: rotate(5deg) translate(0, -2px);
    }

    65% {
        transform: rotate(-3deg) translate(0, -2px);
    }

    70% {
        transform: rotate(0) translate(0, 0);
    }
}

@-webkit-keyframes cycle {
    35% {
        transform: rotate(0) translate(0, 0);
    }

    40% {
        transform: rotate(5deg) translate(0, -2px);
    }

    45% {
        transform: rotate(-3deg) translate(0, -2px);
    }

    50% {
        transform: rotate(5deg) translate(0, -2px);
    }

    55% {
        transform: rotate(-3deg) translate(0, -2px);
    }

    60% {
        transform: rotate(5deg) translate(0, -2px);
    }

    65% {
        transform: rotate(-3deg) translate(0, -2px);
    }

    70% {
        transform: rotate(0) translate(0, 0);
    }
}

#soffline {
    display: inline-block;
    background-color: #d85752;
    width: 8px;
    border-radius: 20px;
    height: 8px;
    margin-left: 10px;
    margin-bottom: 1px;
    margin-right: 6px;
    box-shadow: 0 0 15px #dc3545;
    animation: mymove 0.0s ease-in infinite alternate;
}

#sonline {
    display: inline-block;
    background-color: green;
    width: 10px;
    border-radius: 20px;
    height: 10px;
    margin-left: 10px;
    margin-right: 6px;
    margin-bottom: 1px;
    box-shadow: 0 0 15px rgb(96 151 208 / 62%);
    animation: mymove 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
    filter: none;
}

#sonline:hover {
    display: inline-block;
    background-color: #6c97d4;
    width: 10px;
    border-radius: 20px;
    height: 10px;
    filter: blur(1px);
    cursor: none;
    margin-left: 10px;
    margin-right: 6px;
    margin-bottom: 1px;
    box-shadow: 0 0 15px rgb(96 151 208 / 62%);
    animation: mymove 0.8s;
}

.h-top-link,
.h-top-link:hover {
    display: none;
    cursor: pointer;
    width: 38px;
    height: 150px;
    text-align: center;
    background-image: url(../img/up-top.png);
    color: #fff;
    position: fixed;
    right: 30px;
    bottom: 30px;
}

/* Animations for Group Styles */
@keyframes animBlinkColor {
    0% {
        color: #ff0000;
    }

    33% {
        color: #00ff00;
    }

    66% {
        color: #0000ff;
    }

    100% {
        color: #ff0000;
    }
}

@keyframes animRainbowText {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes animNeonPulse {
    from {
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #ff00de, 0 0 30px #ff00de, 0 0 40px #ff00de;
    }

    to {
        text-shadow: 0 0 2px #fff, 0 0 5px #fff, 0 0 10px #ff00de, 0 0 15px #ff00de, 0 0 20px #ff00de;
    }
}

@keyframes animNeonGreen {
    from {
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #0f0, 0 0 30px #0f0;
    }

    to {
        text-shadow: 0 0 2px #fff, 0 0 5px #fff, 0 0 10px #0f0, 0 0 15px #0f0;
    }
}

@keyframes animNeonBlue {
    from {
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #00f, 0 0 30px #00f;
    }

    to {
        text-shadow: 0 0 2px #fff, 0 0 5px #fff, 0 0 10px #00f, 0 0 15px #00f;
    }
}

@keyframes animShake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

@keyframes animPulseScale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes animGlowBg {
    0% {
        background-color: #ff0000;
    }

    33% {
        background-color: #00ff00;
    }

    66% {
        background-color: #0000ff;
    }

    100% {
        background-color: #ff0000;
    }
}

@keyframes animBgSlide {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: -100% 0;
    }
}

@keyframes animFlip {
    0% {
        transform: perspective(400px) rotateY(0);
    }

    100% {
        transform: perspective(400px) rotateY(360deg);
    }
}

@keyframes animWobble {

    0%,
    100% {
        transform: translateX(0%);
    }

    15% {
        transform: translateX(-10%) rotate(-5deg);
    }

    30% {
        transform: translateX(8%) rotate(3deg);
    }

    45% {
        transform: translateX(-6%) rotate(-3deg);
    }

    60% {
        transform: translateX(4%) rotate(2deg);
    }

    75% {
        transform: translateX(-2%) rotate(-1deg);
    }
}

@keyframes animBlur {
    0% {
        filter: blur(0);
    }

    50% {
        filter: blur(2px);
    }

    100% {
        filter: blur(0);
    }
}

@keyframes animLetterSpacing {
    0% {
        letter-spacing: normal;
    }

    50% {
        letter-spacing: 5px;
    }

    100% {
        letter-spacing: normal;
    }
}

@keyframes animTypewriter {
    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes animShadowPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 69, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0);
    }
}

@keyframes animShadowPulseBlue {
    0% {
        box-shadow: 0 0 0 0 rgba(30, 144, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(30, 144, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(30, 144, 255, 0);
    }
}
@keyframes animGlitch { 0% { transform: translate(0) } 20% { transform: translate(-2px, 2px) } 40% { transform: translate(-2px, -2px) } 60% { transform: translate(2px, 2px) } 80% { transform: translate(2px, -2px) } 100% { transform: translate(0) } }
@keyframes animFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes animSpin3D { 0% { transform: rotateY(0deg); } 100% { transform: rotateY(360deg); } }
@keyframes animSwing { 20% { transform: rotate3d(0, 0, 1, 15deg); } 40% { transform: rotate3d(0, 0, 1, -10deg); } 60% { transform: rotate3d(0, 0, 1, 5deg); } 80% { transform: rotate3d(0, 0, 1, -5deg); } to { transform: rotate3d(0, 0, 1, 0deg); } }
@keyframes animRubberBand { from { transform: scale3d(1, 1, 1); } 30% { transform: scale3d(1.25, 0.75, 1); } 40% { transform: scale3d(0.75, 1.25, 1); } 50% { transform: scale3d(1.15, 0.85, 1); } 65% { transform: scale3d(0.95, 1.05, 1); } 75% { transform: scale3d(1.05, 0.95, 1); } to { transform: scale3d(1, 1, 1); } }
@keyframes animStrokePulse { from { -webkit-text-stroke-width: 0px; } to { -webkit-text-stroke-width: 1.5px; } }
@keyframes animJello { from, 11%, to { transform: translate3d(0, 0, 0); } 22% { transform: skewX(-12.5deg) skewY(-12.5deg); } 33% { transform: skewX(6.25deg) skewY(6.25deg); } 44% { transform: skewX(-3.125deg) skewY(-3.125deg); } 55% { transform: skewX(1.5625deg) skewY(1.5625deg); } 66% { transform: skewX(-0.78125deg) skewY(-0.78125deg); } 77% { transform: skewX(0.390625deg) skewY(0.390625deg); } 88% { transform: skewX(-0.1953125deg) skewY(-0.1953125deg); } }
@keyframes animGlowBreath { 0% { text-shadow: 0 0 5px currentColor; } 100% { text-shadow: 0 0 20px currentColor, 0 0 30px currentColor; } }
@keyframes animColorMorph { 0% { color: #ff0000; } 25% { color: #00ff00; } 50% { color: #0000ff; } 75% { color: #ff00ff; } 100% { color: #ff0000; } }
@keyframes animBorderSlide { 0% { border-bottom-width: 0; } 50% { border-bottom-width: 4px; } 100% { border-bottom-width: 0; } }
@keyframes animTada { from { transform: scale3d(1, 1, 1); } 10%, 20% { transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg); } 30%, 50%, 70%, 90% { transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); } 40%, 60%, 80% { transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); } to { transform: scale3d(1, 1, 1); } }
@keyframes animHeartbeat { 0% { transform: scale(1); } 14% { transform: scale(1.3); } 28% { transform: scale(1); } 42% { transform: scale(1.3); } 70% { transform: scale(1); } }
@keyframes animSkewX { 0% { transform: skewX(-20deg); } 100% { transform: skewX(20deg); } }
@keyframes animPerspective { 0% { transform: perspective(100px) rotateX(0deg); } 50% { transform: perspective(100px) rotateX(30deg); } 100% { transform: perspective(100px) rotateX(0deg); } }
@keyframes animShinePattern { 0% { color: #00CCFF; text-shadow: 0 0 5px rgba(0,204,255,0.5); } 50% { color: #4169E1; text-shadow: 0 0 5px rgba(65,105,225,0.5); } 100% { color: #00CCFF; text-shadow: 0 0 5px rgba(0,204,255,0.5); } }
@keyframes animFlash { 0%, 50%, 100% { opacity: 1; } 25%, 75% { opacity: 0; } }
@keyframes animBounce { 0%, 20%, 53%, 80%, 100% { transform: translate3d(0,0,0); } 40%, 43% { transform: translate3d(0, -10px, 0); } 70% { transform: translate3d(0, -5px, 0); } 90% { transform: translate3d(0, -2px, 0); } }
@keyframes animVibrate { 0% { transform: translate(0); } 20% { transform: translate(-1px, 1px); } 40% { transform: translate(-1px, -1px); } 60% { transform: translate(1px, 1px); } 80% { transform: translate(1px, -1px); } 100% { transform: translate(0); } }
@keyframes animZoomRotate { 0% { transform: scale(1) rotate(0); } 100% { transform: scale(1.3) rotate(5deg); } }
@keyframes animInvertC { 0% { background-color: #000; color: #fff; } 100% { background-color: #fff; color: #000; box-shadow: 0 0 5px #000; } }

/* Sky-Themed Animations for Nebesny Proekt */
@keyframes animSkyRainbow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes animSkyFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes animStarTwinkle { 0%, 100% { opacity: 0.4; text-shadow: 0 0 2px #fff; } 50% { opacity: 1; text-shadow: 0 0 8px #00BFFF, 0 0 15px #fff; } }
@keyframes animLightning { 0%, 94%, 98%, 100% { color: #E0F7FA; text-shadow: 0 0 5px #00BFFF; } 95%, 97% { color: #FFF; text-shadow: 0 0 15px #FFF, 0 0 30px #00FFFF; } }
@keyframes animAurora { 0% { transform: skewX(-3deg) scale(1); text-shadow: 0 0 5px #00FFFF, 0 0 10px #00FF7F; } 100% { transform: skewX(3deg) scale(1.05); text-shadow: 0 0 15px #00FFFF, 0 0 25px #00FF7F; } }
@keyframes animSunsetBreath { 0% { color: #FF69B4; text-shadow: 0 0 4px #8A2BE2; } 100% { color: #BA55D3; text-shadow: 0 0 12px #FF69B4, 0 0 20px #8A2BE2; } }
@keyframes animCosmicPulse { 0% { transform: scale(1); text-shadow: 0 0 4px #8A2BE2; } 50% { transform: scale(1.08); text-shadow: 0 0 15px #8A2BE2, 0 0 25px #00FFFF; } 100% { transform: scale(1); text-shadow: 0 0 4px #8A2BE2; } }
@keyframes animFog { 0%, 100% { filter: blur(0px); opacity: 1; } 50% { filter: blur(1.5px); opacity: 0.6; } }
@keyframes animComet { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes animSkyWind { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(1.5deg) translateX(0.5px); } 75% { transform: rotate(-1.5deg) translateX(-0.5px); } }



/* ==========================================================================
   WIDGETS: SERVER TIME RANKS & CLAN PROFILE CARD (NEBO THEME)
   ========================================================================== */

/* --- 1. Profile Clan Card (Screenshot 2) --- */
.nb-clan-profile-card {
    background: #151b27;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: border-color 0.2s ease;
}

.nb-cpc__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.nb-cpc__title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nb-cpc__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nb-cpc__title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.nb-cpc__subtitle {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.2;
}

.nb-cpc__banner-link {
    display: flex;
    align-items: center;
    background: #0f141f;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px 18px;
    text-decoration: none !important;
    gap: 16px;
    margin-bottom: 14px;
    transition: all 0.2s ease;
}

.nb-cpc__banner-link:hover {
    background: #131a28;
    border-color: rgba(0, 229, 255, 0.4);
    transform: translateY(-1px);
}

.nb-cpc__avatar-wrap {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    position: relative;
    padding: 2px;
    background: #0f141f;
    border: 2px solid #00e5ff;
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.45);
    flex-shrink: 0;
}

.nb-cpc__avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.nb-cpc__meta {
    flex-grow: 1;
    min-width: 0;
}

.nb-cpc__clan-name {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nb-cpc__leader {
    font-size: 13px;
    color: #94a3b8;
}
.nb-cpc__leader span {
    color: #cbd5e1;
    font-weight: 600;
}

.nb-cpc__arrow {
    color: #64748b;
    flex-shrink: 0;
    transition: transform 0.2s, color 0.2s;
}
.nb-cpc__banner-link:hover .nb-cpc__arrow {
    color: #00e5ff;
    transform: translateX(3px);
}

.nb-cpc__stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.nb-cpc__stat-col {
    background: #0f141f;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px 16px;
    position: relative;
    overflow: hidden;
}

.nb-cpc__stat-col::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
}

.nb-cpc__stat-col:nth-child(1)::before {
    background: #38bdf8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.nb-cpc__stat-col:nth-child(2)::before {
    background: #34d399;
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
}

.nb-cpc__stat-label {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.nb-cpc__stat-val {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    display: flex;
    align-items: center;
}

.nb-cpc__stat-val--blue {
    color: #38bdf8;
}

.nb-cpc__stat-val--green {
    color: #34d399;
}

.nb-clan-profile-card--empty .nb-cpc__empty-body {
    background: #0f141f;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nb-cpc__empty-text {
    font-size: 13px;
    color: #94a3b8;
}

/* --- 2. Server Time Medals Widget (Screenshot 1) --- */
.nb-server-time-card {
    background: #151b27;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.nb-stc__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.nb-stc__title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nb-stc__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nb-stc__title {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
}

.nb-stc__btn-ranks {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.nb-stc__btn-ranks:hover {
    background: rgba(0, 204, 255, 0.15);
    border-color: #00ccff;
    color: #ffffff;
}

/* Hero Rank Card */
.nb-stc__hero {
    background: radial-gradient(circle at 10% 50%, rgba(0, 204, 255, 0.12) 0%, transparent 60%), #0f141f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 16px;
}

.nb-stc__hero-badge-wrap {
    position: relative;
    width: 82px;
    height: 82px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nb-stc__hero-glow {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 204, 255, 0.35) 0%, transparent 70%);
    filter: blur(10px);
}

.nb-stc__hero-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 12px rgba(0, 204, 255, 0.4));
}

.nb-stc__hero-meta {
    flex-grow: 1;
}

.nb-stc__hero-name {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 3px;
}

.nb-stc__hero-level {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.nb-stc__hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

/* Progress bar */
.nb-stc__progress-wrap {
    margin-bottom: 18px;
}

.nb-stc__progress-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 8px;
}

.nb-stc__progress-target {
    color: #94a3b8;
}
.nb-stc__progress-target strong {
    color: #ffffff;
}

.nb-stc__progress-val {
    font-weight: 700;
    color: #34d399;
}

.nb-stc__bar-track {
    height: 10px;
    background: #1e293b;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.nb-stc__bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #2dd4bf);
    border-radius: 8px;
    transition: width 0.4s ease;
    box-shadow: 0 0 10px rgba(45, 212, 191, 0.5);
}

/* Horizontal Ranks Track */
.nb-stc__ranks-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.nb-stc__ranks-track::-webkit-scrollbar {
    height: 5px;
}
.nb-stc__ranks-track::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.nb-rank-card {
    flex: 0 0 115px;
    background: #0f141f;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px 8px;
    text-align: center;
    transition: all 0.2s ease;
}

.nb-rank-card.nb-rc--active {
    background: rgba(45, 212, 191, 0.08);
    border: 1px solid #2dd4bf;
    box-shadow: 0 0 16px rgba(45, 212, 191, 0.25);
}

.nb-rank-card.nb-rc--unlocked:not(.nb-rc--active) {
    border-color: rgba(255, 255, 255, 0.12);
}

.nb-rank-card.nb-rc--locked {
    opacity: 0.35;
    filter: grayscale(1);
}

.nb-rc__badge {
    width: 48px;
    height: 48px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nb-rc__icon {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.nb-rc__name {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.nb-rc__hours {
    font-size: 11px;
    color: #94a3b8;
}

/* Modal All Ranks */
.nb-modal-ranks-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 60vh;
    overflow-y: auto;
}

.nb-modal-rank-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #0f141f;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px 16px;
}

.nb-modal-rank-row.nb-mrr--unlocked {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.04);
}

.nb-mrr__icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.nb-mrr__info {
    flex-grow: 1;
}

.nb-mrr__name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.nb-mrr__level {
    font-size: 12px;
    color: #94a3b8;
}

.nb-mrr__status {
    flex-shrink: 0;
}\n\n/* ==========================================================================
   NEBESNY CLANS & PROFILE SYSTEM - MODERN STYLES (Cyber / Dark Theme)
   ========================================================================== */

:root {
    --nb-bg-dark: #0b0f19;
    --nb-card-bg: #111827;
    --nb-card-border: rgba(255, 255, 255, 0.08);
    --nb-card-hover: rgba(255, 255, 255, 0.12);
    --nb-cyan: #00ccff;
    --nb-cyan-glow: rgba(0, 204, 255, 0.35);
    --nb-emerald: #10b981;
    --nb-emerald-glow: rgba(16, 185, 129, 0.35);
    --nb-gold: #f59e0b;
    --nb-purple: #8b5cf6;
    --nb-text-muted: #94a3b8;
    --nb-radius: 14px;
}

/* === Clan Profile Header === */
.nb-clan-header {
    background: #111827;
    border: 1px solid var(--nb-card-border);
    border-radius: var(--nb-radius);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nb-clan-header__cover {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #1e293b;
}

.nb-clan-header__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.2) 0%, rgba(11, 15, 25, 0.95) 100%);
}

.nb-clan-header__cover-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.nb-clan-header__cover-actions .btn {
    backdrop-filter: blur(8px);
    background: rgba(17, 24, 39, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nb-clan-header__cover-actions .btn:hover {
    background: rgba(0, 204, 255, 0.25);
    border-color: var(--nb-cyan);
    color: #fff;
}

.nb-clan-header__main {
    padding: 0 28px 24px 28px;
    position: relative;
    margin-top: -65px;
    display: flex;
    gap: 24px;
    align-items: flex-end;
}

.nb-clan-header__avatar-box {
    position: relative;
    flex-shrink: 0;
    z-index: 4;
}

.nb-clan-header__avatar-glow {
    width: 130px;
    height: 130px;
    border-radius: 20px;
    padding: 4px;
    background: linear-gradient(135deg, #00ccff, #8b5cf6, #10b981);
    box-shadow: 0 0 25px var(--nb-cyan-glow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nb-clan-header__avatar {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
    background: #0f172a;
}

.nb-clan-header__avatar-edit {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #00ccff;
    color: #000;
    border: 2px solid #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s;
}

.nb-clan-header__avatar-edit:hover {
    transform: scale(1.1);
}

.nb-clan-header__info {
    flex: 1;
    min-width: 0;
}

.nb-clan-header__title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.nb-clan-header__name {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nb-clan-header__tag {
    background: rgba(0, 204, 255, 0.15);
    border: 1px solid rgba(0, 204, 255, 0.4);
    color: #00ccff;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
}

.nb-clan-header__lvl-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.nb-clan-header__status {
    color: #94a3b8;
    font-size: 14px;
    font-style: italic;
    margin-bottom: 12px;
}

.nb-clan-header__meta-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #cbd5e1;
}

.nb-clan-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nb-clan-meta-item strong {
    color: #fff;
}

.nb-clan-meta-item.damage {
    color: #00ffaa;
    font-weight: 700;
}

.nb-clan-meta-item.treasury {
    color: #f59e0b;
    font-weight: 700;
}

/* XP Bar */
.nb-clan-xp-wrap {
    padding: 0 28px 20px 28px;
}

.nb-clan-xp-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 6px;
    color: #94a3b8;
}

.nb-clan-xp-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.nb-clan-xp-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ccff, #10b981);
    border-radius: 10px;
    transition: width 0.4s ease;
    box-shadow: 0 0 10px var(--nb-cyan-glow);
}

/* === Modern Navigation Tabs === */
.nb-clan-tabs-nav {
    display: flex;
    gap: 8px;
    background: #111827;
    padding: 6px;
    border-radius: 12px;
    border: 1px solid var(--nb-card-border);
    margin-bottom: 24px;
    overflow-x: auto;
}

.nb-clan-tab-btn {
    flex: 1;
    min-width: 140px;
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
}

.nb-clan-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nb-clan-tab-btn.active {
    background: #00ccff;
    color: #0b0f19;
    box-shadow: 0 4px 14px var(--nb-cyan-glow);
}

.nb-clan-tab-btn .badge {
    font-size: 11px;
    padding: 2px 7px;
}

/* === Members Grid === */
.nb-clan-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.nb-clan-member-card {
    background: #111827;
    border: 1px solid var(--nb-card-border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
    transition: transform 0.2s, border-color 0.2s;
}

.nb-clan-member-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 204, 255, 0.3);
}

.nb-clan-member-card__avatar {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    object-fit: cover;
    background: #0f172a;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.nb-clan-member-card__info {
    flex: 1;
    min-width: 0;
}

.nb-clan-member-card__name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nb-clan-member-card__role {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 1px 8px;
    border-radius: 4px;
    margin-top: 3px;
}

.nb-role-chief { background: rgba(245, 158, 11, 0.18); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.35); }
.nb-role-deputy { background: rgba(139, 92, 246, 0.18); color: #c084fc; border: 1px solid rgba(139, 92, 246, 0.35); }
.nb-role-member { background: rgba(100, 116, 139, 0.18); color: #94a3b8; border: 1px solid rgba(100, 116, 139, 0.35); }

.nb-clan-member-card__stats {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
    display: flex;
    gap: 10px;
}

.nb-clan-member-card__actions {
    margin-left: auto;
}

/* === Upgrades Grid === */
.nb-clan-upgrades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 18px;
}

.nb-clan-upgrade-card {
    background: #111827;
    border: 1px solid var(--nb-card-border);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    transition: transform 0.2s, border-color 0.2s;
}

.nb-clan-upgrade-card:hover {
    border-color: rgba(0, 204, 255, 0.35);
    transform: translateY(-2px);
}

.nb-cuc__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.nb-cuc__title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.nb-cuc__badge {
    font-size: 11px;
    font-weight: 700;
    color: #00ccff;
    background: rgba(0, 204, 255, 0.12);
    border: 1px solid rgba(0, 204, 255, 0.3);
    padding: 3px 8px;
    border-radius: 6px;
}

.nb-cuc__desc {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 12px;
    line-height: 1.4;
    min-height: 34px;
}

.nb-cuc__bonus {
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.nb-cuc__bonus strong {
    color: #00ffaa;
}

.nb-cuc__bar-bg {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
}

.nb-cuc__bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ccff, #10b981);
    border-radius: 6px;
    transition: width 0.3s;
}

.nb-cuc__action {
    margin-top: 14px;
}

/* === Treasury Card === */
.nb-treasury-hero {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(17, 24, 39, 0.95) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.nb-treasury-val {
    font-size: 32px;
    font-weight: 800;
    color: #f59e0b;
    margin: 4px 0 0 0;
}

/* === Top Clans Catalog === */
.nb-catalog-stats-banner {
    background: #111827;
    border: 1px solid var(--nb-card-border);
    border-radius: 12px;
    padding: 20px 28px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 16px;
    text-align: center;
}

.nb-cat-stat-num {
    font-size: 26px;
    font-weight: 800;
    color: #00ccff;
}

.nb-cat-stat-lbl {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.nb-clans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.nb-clan-card {
    background: #111827;
    border: 1px solid var(--nb-card-border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
}

.nb-clan-card:hover {
    border-color: rgba(0, 204, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.nb-clan-card__banner {
    height: 100px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #1e293b;
}

.nb-clan-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(17, 24, 39, 0.95) 100%);
}

.nb-clan-card__body {
    padding: 0 18px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nb-clan-card__avatar-wrap {
    margin-top: -35px;
    margin-bottom: 10px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.nb-clan-card__avatar {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    border: 2px solid #00ccff;
    object-fit: cover;
    background: #0b0f19;
    box-shadow: 0 0 15px var(--nb-cyan-glow);
}

.nb-clan-card__name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
}

.nb-clan-card__name:hover {
    color: #00ccff;
}

.nb-clan-card__desc {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 14px;
    line-height: 1.4;
    min-height: 34px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.nb-clan-card__stats-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 14px;
}

.nb-clan-card__footer {
    margin-top: auto;
}

/* === Profile Widgets (Cyan Clan Card & Server Time Medals) === */
.nb-clan-profile-card {
    background: #111827;
    border: 1px solid var(--nb-card-border);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
}

.nb-cpc__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.nb-cpc__shield {
    color: #10b981;
}

.nb-cpc__title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.nb-cpc__subtitle {
    font-size: 12px;
    color: #94a3b8;
}

.nb-cpc__clan-banner {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none !important;
    transition: all 0.2s;
    margin-bottom: 14px;
}

.nb-cpc__clan-banner:hover {
    border-color: rgba(0, 204, 255, 0.4);
    background: rgba(0, 204, 255, 0.04);
}

.nb-cpc__clan-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #00ccff;
    box-shadow: 0 0 12px var(--nb-cyan-glow);
    object-fit: cover;
}

.nb-cpc__clan-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.nb-cpc__clan-leader {
    font-size: 12px;
    color: #94a3b8;
}

.nb-cpc__grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.nb-cpc__stat-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 12px 14px;
    border-left: 3px solid #00ccff;
}

.nb-cpc__stat-box.damage {
    border-left-color: #10b981;
}

.nb-cpc__stat-lbl {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
}

.nb-cpc__stat-val {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-top: 2px;
}

.nb-cpc__stat-val.green {
    color: #10b981;
}

/* Server Time Card & SVG Medals Track */
.nb-server-time-card {
    background: #111827;
    border: 1px solid var(--nb-card-border);
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 24px;
}

.nb-stc__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.nb-stc__title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nb-stc__icon {
    color: #10b981;
}

.nb-stc__title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.nb-stc__hero {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 18px;
}

.nb-stc__hero-badge-wrap {
    position: relative;
}

.nb-stc__hero-icon {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 16px rgba(0, 204, 255, 0.45));
}

.nb-stc__hero-name {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.nb-stc__hero-level {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.nb-stc__hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #10b981;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.nb-stc__progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.nb-stc__progress-bar-bg {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 18px;
}

.nb-stc__progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #00ccff);
    border-radius: 10px;
    box-shadow: 0 0 12px var(--nb-emerald-glow);
}

.nb-stc__track-outer {
    overflow-x: auto;
    padding-bottom: 6px;
}

.nb-stc__track {
    display: flex;
    gap: 12px;
    min-width: max-content;
}

.nb-rank-card {
    width: 95px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px 6px;
    text-align: center;
    transition: all 0.2s;
}

.nb-rank-card.nb-rc--active {
    border-color: #00ccff;
    background: rgba(0, 204, 255, 0.08);
    box-shadow: 0 0 14px var(--nb-cyan-glow);
}

.nb-rank-card.nb-rc--locked {
    opacity: 0.45;
    filter: grayscale(1);
}

.nb-rc__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 6px;
}

.nb-rc__name {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nb-rc__hours {
    font-size: 10px;
    color: #94a3b8;
}

/* Modal Ranks */
.nb-ranks-modal {
    background: #111827;
    border: 1px solid var(--nb-card-border);
    border-radius: 14px;
    color: #fff;
}

.nb-modal-rank-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.02);
}

.nb-modal-rank-row.nb-mrr--unlocked {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.nb-modal-rank-row img {
    width: 44px;
    height: 44px;
}
