.roofline-strand {
    width: 100%;
    min-width: 0;
    max-width: none !important;
    height: 36px;
    padding: 0;
    margin: 0 !important;
    overflow: hidden;
    pointer-events: none;
}
.roofline-strand > svg {
    display: block;
    width: 100%;
    max-width: none;
    height: 36px;
    margin: 0;
}
@media (prefers-reduced-motion: no-preference) {
    .roofline-strand[data-christmas-light-motion="animated"] .roofline-strand-emission,
    .roofline-strand[data-christmas-light-motion="animated"] .roofline-strand-shade {
        animation: roofline-strand-incandescence 5.2s ease-in-out var(--roofline-phase, 0s) infinite;
    }
    .roofline-strand[data-christmas-light-motion="animated"] .roofline-strand-shade {
        animation-name: roofline-strand-glass-shade;
    }

    .roofline-strand[data-rainbow-motion="wave"] .roofline-strand-bulb {
        --roofline-cycle: roofline-dim-wave 5.6s ease-in-out var(--roofline-wave) infinite;
    }
    .roofline-strand[data-rainbow-motion="alternating"] .roofline-strand-bulb {
        --roofline-cycle: roofline-alternate 4.4s ease-in-out var(--roofline-alternating) infinite;
    }
    .roofline-strand[data-rainbow-motion="chase"] .roofline-strand-bulb {
        --roofline-cycle: roofline-color-chase 4.9s ease-in-out var(--roofline-chase) infinite;
    }
    .roofline-strand[data-rainbow-motion]:not([data-rainbow-motion="glow"])[data-christmas-light-motion="animated"]
    :is(.roofline-strand-emission, .roofline-strand-glass, .roofline-strand-shade) {
        animation: var(--roofline-cycle);
        --roofline-dim: .035;
        --roofline-lit: 1;
    }
    .roofline-strand[data-rainbow-motion]:not([data-rainbow-motion="glow"])[data-christmas-light-motion="animated"] .roofline-strand-glass {
        --roofline-dim: .54;
    }
    .roofline-strand[data-rainbow-motion]:not([data-rainbow-motion="glow"])[data-christmas-light-motion="animated"] .roofline-strand-shade {
        fill: #25212c;
        --roofline-dim: .76;
        --roofline-lit: 0;
    }
}
@keyframes roofline-strand-incandescence {
    0%, 100% { opacity: .22; }
    43%, 56% { opacity: 1; }
}
@keyframes roofline-strand-glass-shade {
    0%, 100% { opacity: .58; }
    43%, 56% { opacity: 0; }
}
/* A dark pocket travels through an otherwise bright strand. */
@keyframes roofline-dim-wave {
    0%, 24%, 86%, 100% { opacity: var(--roofline-lit); }
    48%, 60% { opacity: var(--roofline-dim); }
}
/* The odd and even bulbs trade brightness with a soft crossover. */
@keyframes roofline-alternate {
    0%, 12%, 92%, 100% { opacity: var(--roofline-lit); }
    43%, 61% { opacity: var(--roofline-dim); }
}
/* One bright color leads, with its neighbors fading in and out of the chase. */
@keyframes roofline-color-chase {
    0%, 4%, 100% { opacity: var(--roofline-lit); }
    27%, 75% { opacity: var(--roofline-dim); }
}
