.cursor-attr-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0 16px;
    margin-bottom: 20px;
}

.cursor-attr-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    border: 1px solid #ccc;
    border-radius: 20px;
    background: #fff;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.4;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    cursor: pointer;
}

.cursor-attr-badge:hover {
    border-color: #333;
    color: #111;
    text-decoration: none;
}

.cursor-attr-badge__x {
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    opacity: 0.8;
}

.cursor-attr-badges--collapsible {
    overflow: hidden;
}

.cursor-attr-badges-expand {
    height: 72px;
    margin-top: -72px;
    position: relative;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 100%);
    cursor: pointer;
}

.cursor-attr-badges-expand::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    margin-left: -7px;
    width: 11px;
    height: 11px;
    border-right: 2px solid rgba(0,0,0,0.38);
    border-bottom: 2px solid rgba(0,0,0,0.38);
    transform: rotate(45deg);
}

.cursor-attr-badges-expand:hover::after {
    animation: cursor-chevron-pulse 1.6s ease-in-out infinite;
}

@keyframes cursor-chevron-pulse {
    0%, 100% { bottom: 4px; }
    50% { bottom: 0px; }
}

.cursor-attr-badge-group {
    display: contents;
}

.cursor-attr-badge-group__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    align-self: center;
    border-radius: 20px;
    padding: 5px 10px;
    border: 1px solid transparent;
    cursor: pointer;
    user-select: none;
}

.cursor-attr-badge-group__arrow {
    display: inline-block;
    margin-left: 4px;
    font-style: normal;
    font-size: 0.75em;
    vertical-align: middle;
    transition: transform 0.3s ease;
    transform: rotate(-90deg);
}

.cursor-attr-badge-group--open .cursor-attr-badge-group__arrow {
    transform: rotate(0deg);
}

.cursor-attr-badge-group__body {
    display: none;
}

.cursor-attr-badge-group--open .cursor-attr-badge-group__body {
    display: contents;
}
