tr.cbuild-p0 { background-color: rgba(255, 99, 71, 0.08); }
tr.cbuild-p1 { background-color: rgba(70, 129, 207, 0.08); }
tr.cbuild-p2 { background-color: rgba(220, 200, 40, 0.10); }
tr.cbuild-p3 { background-color: rgba(190, 80, 220, 0.08); }
tr.cbuild-p4 { background-color: rgba(60, 180, 75, 0.08); }
tr.cbuild-p5 { background-color: rgba(70, 129, 207, 0.08); }

.vtable td img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.cbuild-dot {
    display: inline-block;
    width: 0.625rem;
    height: 0.625rem;
    margin-right: 0.375rem;
    border-radius: 50%;
    vertical-align: middle;
}

.cbuild-dot-ok { background-color: #2e9e44; }
.cbuild-dot-warning { background-color: #e0a800; }
.cbuild-dot-error { background-color: #d93025; }

.cbuild-live {
    margin: 0.75rem 0 1.25rem 0;
    border: 1px solid var(--post-preborder);
    border-radius: var(--radius);
    background-color: var(--post-preback);
    overflow: hidden;
}

.cbuild-live-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.75rem;
    padding: 0.625rem 1rem;
    border-top: 1px solid var(--post-preborder);
}

.cbuild-live-row:first-child {
    border-top: none;
}

.cbuild-live-icon {
    flex: none;
    width: 16px;
    height: 16px;
    line-height: 0;
}

.cbuild-live-icon img {
    width: 16px;
    height: 16px;
}

.cbuild-live-who {
    min-width: 11rem;
    font-weight: 600;
}

.cbuild-live-what {
    flex: 1;
    color: var(--post-caption);
}

.cbuild-live-time {
    font-family: monospace;
    color: var(--post-caption);
}

.cbuild-live-dot {
    position: relative;
    flex: none;
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background-color: #2e9e44;
}

.cbuild-live-dot::after {
    content: '';
    position: absolute;
    top: -0.3125rem;
    left: -0.3125rem;
    right: -0.3125rem;
    bottom: -0.3125rem;
    border: 2px solid #2e9e44;
    border-radius: 50%;
    animation: cbuild-pulse 1.6s ease-out infinite;
}

@keyframes cbuild-pulse {
    0% { transform: scale(0.5); opacity: 0.9; }
    100% { transform: scale(1.3); opacity: 0; }
}

.cbuild-live-stopped .cbuild-live-dot {
    background-color: #8b949e;
}

.cbuild-live-stopped .cbuild-live-dot::after {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .cbuild-live-dot::after {
        animation: none;
    }
}
