.inz-category-bubbles {
    --inz-bubble-font-size: 15px;
    --inz-bubble-gap: clamp(12px, 2.5vw, 24px);
    --inz-bubble-bg-1: #f9d9df;
    --inz-bubble-bg-2: #f7efe5;
    --inz-bubble-bg-3: #e8d8c5;
    --inz-bubble-text: #2d2624;
    --inz-bubble-muted: rgba(45, 38, 36, 0.68);
    margin: 28px 0;
}

.inz-category-bubbles,
.inz-category-bubbles * {
    box-sizing: border-box;
}

.inz-category-bubbles__title {
    margin: 0 0 18px;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    line-height: 1.25;
}

.inz-category-bubbles__cloud {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--inz-bubble-gap);
    padding: clamp(18px, 3.5vw, 34px);
    border: 1px solid rgba(45, 38, 36, 0.09);
    border-radius: 28px;
    background:
        radial-gradient(circle at 15% 20%, rgba(249, 217, 223, 0.42), transparent 28%),
        radial-gradient(circle at 86% 12%, rgba(232, 216, 197, 0.4), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(247, 239, 229, 0.62));
    overflow: hidden;
}

.inz-category-bubbles__bubble {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    width: var(--inz-bubble-size);
    min-width: var(--inz-bubble-size);
    height: var(--inz-bubble-size);
    min-height: var(--inz-bubble-size);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 18px;
    border-radius: 999px;
    color: var(--inz-bubble-text);
    text-align: center;
    text-decoration: none;
    background:
        radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.2) 22%, transparent 38%),
        linear-gradient(145deg, var(--inz-bubble-bg-1), var(--inz-bubble-bg-2) 52%, var(--inz-bubble-bg-3));
    box-shadow:
        0 18px 42px rgba(45, 38, 36, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    transform: translateZ(0);
    animation: inzBubbleFloat 7.5s ease-in-out infinite;
    animation-delay: var(--inz-bubble-delay);
    transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.inz-category-bubbles__bubble:nth-child(3n+2) {
    --inz-bubble-bg-1: #e8edf5;
    --inz-bubble-bg-2: #f7efe5;
    --inz-bubble-bg-3: #d8c9b7;
}

.inz-category-bubbles__bubble:nth-child(3n+3) {
    --inz-bubble-bg-1: #f1e3cf;
    --inz-bubble-bg-2: #f9d9df;
    --inz-bubble-bg-3: #d9c5b4;
}

.inz-category-bubbles__bubble::after {
    content: "";
    position: absolute;
    inset: 7px;
    z-index: -1;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.48);
    pointer-events: none;
}

.inz-category-bubbles__bubble:hover,
.inz-category-bubbles__bubble:focus-visible {
    color: var(--inz-bubble-text);
    text-decoration: none;
    transform: translateY(-7px) scale(1.045);
    box-shadow:
        0 24px 54px rgba(45, 38, 36, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    filter: saturate(1.04);
}

.inz-category-bubbles__bubble:focus-visible {
    outline: 3px solid rgba(45, 38, 36, 0.28);
    outline-offset: 5px;
}

.inz-category-bubbles__name {
    display: block;
    max-width: 100%;
    font-size: var(--inz-bubble-font-size);
    font-weight: 700;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.inz-category-bubbles__count {
    display: block;
    margin-top: 7px;
    font-size: max(11px, calc(var(--inz-bubble-font-size) - 3px));
    font-weight: 500;
    line-height: 1.1;
    color: var(--inz-bubble-muted);
}

@keyframes inzBubbleFloat {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .inz-category-bubbles__bubble {
        animation: none;
        transition: none;
    }
}

@media (max-width: 640px) {
    .inz-category-bubbles__cloud {
        justify-content: center;
        padding: 18px 12px;
    }

    .inz-category-bubbles__bubble {
        width: min(var(--inz-bubble-size), 42vw);
        min-width: min(var(--inz-bubble-size), 42vw);
        height: min(var(--inz-bubble-size), 42vw);
        min-height: min(var(--inz-bubble-size), 42vw);
        padding: 12px;
    }
}
