/* ============================================
   顶部通栏样式
   ============================================ */

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--bg-panel);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--spacing-sm) var(--spacing-xl);
    z-index: 1;
}

.header-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center, #2a4a6b 0%, #1a2f4a 50%, #0a1520 100%),
        linear-gradient(180deg, #0f1a2a 0%, #0a0f1a 100%);
    clip-path: polygon(0% 0%, 100% 0%, 95% 100%, 5% 100%);
    z-index: -1;
    border: 1px solid #4a9eff;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(74, 158, 255, 0.3);
}

.logo {
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: bold;
    color: #4a9eff;
    text-shadow: 0 0 10px rgba(74, 158, 255, 0.8);
    letter-spacing: 2px;
}

.system-name {
    font-size: 20px;
    color: var(--color-text);
    font-weight: 500;
    white-space: nowrap;
}

.header-right {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.status-monitor {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-family: var(--font-mono);
    font-size: 14px;
}

.status-indicator {
    font-size: 12px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    color: var(--color-safe);
    margin-right: var(--spacing-md);
}

.monitor-counter {
    color: var(--color-text-dim);
}

#round-counter {
    color: var(--color-cyan);
    font-weight: bold;
    text-shadow: 0 0 5px var(--color-cyan);
}

