.engine-live {
    position: relative;
}

.engine-live__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 11px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 999px;
    color: var(--color-muted);
    background: rgba(148, 163, 184, 0.045);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.engine-live__badge::before {
    width: 8px;
    height: 8px;
    content: "";
    border-radius: 50%;
    background: #64748b;
}

.engine-live--online .engine-live__badge {
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.2);
    background: rgba(34, 197, 94, 0.07);
}

.engine-live--online .engine-live__badge::before {
    background: var(--color-success);
    box-shadow:
        0 0 0 4px rgba(34, 197, 94, 0.08),
        0 0 14px rgba(34, 197, 94, 0.8);
}

.engine-live--offline .engine-live__badge {
    color: #fda4af;
    border-color: rgba(244, 63, 94, 0.22);
    background: rgba(244, 63, 94, 0.07);
}

.engine-live--offline .engine-live__badge::before {
    background: #f43f5e;
    box-shadow:
        0 0 0 4px rgba(244, 63, 94, 0.08),
        0 0 14px rgba(244, 63, 94, 0.72);
}

.engine-live__footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: #64748b;
    font-size: 10px;
}

.engine-live__pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: engine-pulse 1.8s ease-in-out infinite;
}

.engine-live--online .engine-live__pulse {
    color: var(--color-success);
}

.engine-live--offline .engine-live__pulse {
    color: #f43f5e;
}

@keyframes engine-pulse {
    0%,
    100% {
        opacity: 0.35;
        transform: scale(0.85);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}
