/* css/gurte_board.css */

.tier-list, .bench-list {
    max-height: 65vh; 
    overflow-y: auto; 
    overflow-x: hidden;
    padding-right: 5px;
    padding-bottom: 20px;
}
.tier-list::-webkit-scrollbar, .bench-list::-webkit-scrollbar {
    width: 8px;
}
.tier-list::-webkit-scrollbar-track, .bench-list::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05); 
    border-radius: 4px;
}
.tier-list::-webkit-scrollbar-thumb, .bench-list::-webkit-scrollbar-thumb {
    background: var(--c-gold-dim, #cbd5e1); 
    border-radius: 4px;
}
.tier-list::-webkit-scrollbar-thumb:hover, .bench-list::-webkit-scrollbar-thumb:hover {
    background: var(--c-gold, #94a3b8); 
}

.percentage-badge {
    font-family: monospace; 
    font-size: 0.85rem; 
    font-weight: 800;
    min-width: 42px; 
    display: inline-block; 
    text-align: center;
    padding: 3px 6px;
    border-radius: 12px;
    margin-left: 8px;
    box-sizing: border-box;
}

.g-card.badge-checked {
    background-color: #cbd5e1 !important;
    border-color: #94a3b8 !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

.g-card.badge-checked .g-name {
    color: #334155 !important;
    opacity: 0.65;
}

.g-card.badge-checked .percentage-badge:not(.eligible-mark) {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #94a3b8 !important;
    opacity: 1 !important;
}

.g-card.badge-checked .eligible-mark {
    filter: saturate(0.9) brightness(0.95) !important;
    opacity: 1 !important;
}

.g-card.badge-checked:hover {
    background-color: #cbd5e1 !important;
    opacity: 1 !important;
}
.g-card.badge-checked:hover .g-name {
    opacity: 1;
}