:root {
    --icon-size: 24px;
}

.hidden-el {
    display: none;
}

.badges-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.badge-el {
    display: inline-block;
    position: relative;
    width: var(--icon-size);
    height: var(--icon-size);
    vertical-align: middle;
    cursor: pointer;
}

a.badge-el img {
    transform: scale(0.75);
}

.badge-el img {
    width: 100%;
    height: 100%;
    display: block;
}

.badge-el-tooltip {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: black;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    min-width: 300px;
    max-width: 90vw;
    z-index: 9999;
    transition: opacity 0.2s ease;
    font-size: 13px;
    text-align: center;
}
