#ny-garland-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.nygl-wire-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.nygl-wire-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.nygl-wire-path {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke: #333333;
}

.nygl-bulb {
    position: absolute;
    border-radius: 50% 50% 40% 40%;
    transform-origin: 50% 0;
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.3s;
    z-index: 3;
    box-shadow: 0 0 10px currentColor;
    filter: brightness(100%);
}

.nygl-bulb::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 2px;
    height: 12px;
    background: #333;
    transform: translateX(-50%);
    z-index: -1;
}

.nygl-bulb::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 4px;
    height: 2px;
    background: #666;
    transform: translateX(-50%);
    border-radius: 50%;
}

/* Анимации мигания */
@keyframes nygl-blink-random {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes nygl-blink-wave {
    0% { opacity: 0.3; }
    20% { opacity: 1; }
    40% { opacity: 0.3; }
    100% { opacity: 0.3; }
}

@keyframes nygl-blink-sync {
    0%, 40% { opacity: 1; }
    41%, 100% { opacity: 0.3; }
}

/* Медиа-запросы для адаптивности */
@media (max-width: 768px) {
    #ny-garland-container {
        height: 100px;
    }
}

@media (max-width: 480px) {
    #ny-garland-container {
        height: 80px;
    }
    
    .nygl-bulb {
        box-shadow: 0 0 5px currentColor;
    }
}

/* Для темной темы */
@media (prefers-color-scheme: dark) {
    .nygl-bulb::before {
        background: #555;
    }
    
    .nygl-bulb::after {
        background: #888;
    }
}