.node-console-ticker {
    width: 280px;
    max-width: 280px;
    min-width: 280px;
    height: 84px;
    max-height: 84px;
    min-height: 84px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 0 auto;
    padding: 12px 14px; // Increased padding
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08); // Slightly more visible border
    background-color: rgba(10, 10, 12, 0.98);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.7); // Fixed: only one shadow, removed inset
    overflow: hidden;
    position: relative;
    pointer-events: all;
}

/* More subtle scanline for a premium feel */
.node-console-ticker::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.05) 50%);
    background-size: 100% 4px;
    pointer-events: none;
    opacity: 0.15;
}

/* Technical glow at the top */
.node-console-ticker::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3b82f6;
    opacity: 0.6;
    box-shadow: 0 0 12px #3b82f6;
}

.node-console-ticker-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px; // More space before lines
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.node-console-title {
    color: #ffffff;
    font-size: 10px;
    font-weight: 1000;
    letter-spacing: 1px;
    text-transform: uppercase;
    flex-shrink: 0;
    opacity: 1; // Brighter
}

.node-console-status {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.node-console-badge {
    color: #10b981;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.live-ping {
    position: relative;
    width: 10px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ping-dot {
    width: 4px;
    height: 4px;
    background-color: #10b981;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 6px #10b981;
}

.ping-wave {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: rgba(16, 185, 129, 0.4);
    border-radius: 50%;
    animation: ping-ripple 2s infinite ease-out;
    z-index: 1;
}

@keyframes ping-ripple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(4); opacity: 0; }
}

.node-console-ticker-lines {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; // Changed to start to use space better
    gap: 4px; // Good gap
    overflow: hidden;
}

.node-console-ticker-line {
    display: flex;
    align-items: center;
    gap: 10px; // More horizontal gap
    min-height: 14px;
    flex-shrink: 0;
    font-family: 'Consolas', monospace;
    font-size: 11px;
    animation: line-fade-in 0.2s ease-out forwards;
}

@keyframes line-fade-in {
    from { opacity: 0; transform: translateX(-4px); }
    to { opacity: 1; transform: translateX(0); }
}

.node-console-message {
    color: #e2e8f0; // Brighter (less gray)
    font-weight: 700;
    white-space: nowrap;
}

.node-console-accent {
    color: #64748b; // Lighter gray
    font-weight: 500;
    font-size: 10px;
}

/* Highlighted lines */
.node-console-ticker-line.highlight .node-console-message {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.node-console-ticker-line.highlight .node-console-accent {
    color: #3b82f6;
    font-weight: 800;
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}