.bxcenter-ticker-container {
    background: #0f172a;
    border-radius: 4px;
    overflow: hidden;
    margin: 8px 0;
    border: 1px solid #334155;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
}

.bxcenter-ticker-header {
    background: #0f172a;
    padding: 4px 8px;
    border-bottom: 1px solid #334155;
    font-weight: 500;
    font-size: 10px;
    color: #94a3b8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    position: relative;
}

.ticker-refresh {
    font-size: 8px;
    color: #64748b;
    font-weight: normal;
}

.bxcenter-ticker-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 42px;
    cursor: default;
}

.bxcenter-ticker-scroll {
    display: inline-block;
    white-space: nowrap;
    animation: tickerScroll 60s linear infinite;
    padding-right: 30px;
}

.bxcenter-ticker-wrapper:hover .bxcenter-ticker-scroll {
    animation-play-state: paused;
}

.bxcenter-ticker-item {
    display: inline-block;
    vertical-align: top;
    width: 280px;
    margin-right: 16px;
    padding: 4px 8px;
    background: #1e293b;
    border-radius: 4px;
    white-space: normal;
    cursor: pointer;
    transition: background 0.2s;
}

.bxcenter-ticker-item:hover {
    background: #334155;
}

.bxcenter-ticker-item.severity-high {
    border-left: 2px solid #ef4444;
}

.bxcenter-ticker-item.severity-medium {
    border-left: 2px solid #f59e0b;
}

.bxcenter-ticker-item.severity-low {
    border-left: 2px solid #10b981;
}

.ticker-port {
    font-weight: 600;
    font-size: 8px;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1px;
}

.ticker-message {
    font-size: 10px;
    color: #e2e8f0;
    line-height: 1.2;
    margin-bottom: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.ticker-time {
    font-size: 7px;
    color: #64748b;
}

.ticker-ai-badge {
    background: #3b82f6;
    color: white;
    font-size: 6px;
    padding: 1px 3px;
    border-radius: 6px;
    margin-left: 4px;
    vertical-align: middle;
    display: inline-block;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .bxcenter-ticker-item {
        width: 240px;
    }
    .bxcenter-ticker-scroll {
        animation-duration: 80s;
    }
    .bxcenter-ticker-wrapper {
        height: 45px;
    }
}