.stats-row { 
    display: flex; 
    gap: 15px; 
    margin-bottom: 25px; 
}

.stat-box { 
    flex: 1; 
    background: #000; 
    padding: 15px; 
    border-radius: 12px; 
    border-bottom: 4px solid #2f3542; 
}

#stat-sidebar { 
    width: 280px; 
    background: var(--panel); 
    padding: 25px; 
    border-radius: 20px; 
    border: 2px solid var(--border); 
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8); 
    flex-shrink: 0; 
}

.stat-entry {
    height: 30px;
    line-height: 30px;
    display: flex;
    justify-content: space-between;
}

.stat-entry.custom-color span,
.stat-entry.custom-color b {
    color: inherit !important;
}

.stats-scroll-container {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
}

.stats-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.stats-scroll-container::-webkit-scrollbar-thumb {
    background: var(--mana); 
    border-radius: 10px;
}

.stats-scroll-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.stat-entry b { 
    color: var(--gold); 
}

.stat-label { 
    color: #a4b0be; 
}

.stat-box { 
    transition: all 0.3s ease; 
    position: relative;
    z-index: 1;
}
