/* ==========================================================================
   Industrial Telemetry Circuit Lines & Pulse Animations
   High-precision parametric vector conduits connecting Core -> Drivers -> Devices
   ========================================================================== */

.circuit-line {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.circuit-base {
    stroke: #252934;
    stroke-width: 1.5;
}

.circuit-pulse {
    stroke: #8b949e;
    stroke-width: 1.5;
    stroke-dasharray: 16 184;
    animation: flow-up 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.circuit-pulse-red {
    stroke: var(--liberum-red);
    stroke-width: 1.75;
    stroke-dasharray: 18 182;
    animation: flow-up 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.circuit-pulse-amber {
    stroke: #EEBB22;
    stroke-width: 1.75;
    stroke-dasharray: 18 182;
    animation: flow-up 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.circuit-pulse-blue {
    stroke: #5089cd;
    stroke-width: 1.75;
    stroke-dasharray: 18 182;
    animation: flow-up 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.circuit-pulse-green {
    stroke: #50cd89;
    stroke-width: 1.75;
    stroke-dasharray: 18 182;
    animation: flow-up 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes flow-up {
    0% {
        stroke-dashoffset: 200;
        opacity: 0;
    }
    20% {
        opacity: 0.85;
    }
    80% {
        opacity: 0.85;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

/* Protocol logos in full original color with subtle hover lift */
.protocol-logo {
    opacity: 0.95;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.group\/protocol:hover .protocol-logo {
    opacity: 1;
    transform: scale(1.02);
}
