.debug-console {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    height: 400px;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    z-index: 9999;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #e5e7eb;
    overflow: hidden;
}
.debug-header {
    padding: 8px 12px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}
.debug-messages {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
    display: flex;
    flex-direction: column-reverse;
    gap: 8px;
}
.debug-message {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 4px;
}
.msg-time { color: #9ca3af; margin-right: 6px; }
.msg-type { font-weight: bold; color: #facc15; margin-left: 6px; }
.msg-payload { 
    margin: 4px 0 0 0;
    white-space: pre-wrap;
    word-break: break-all;
    color: #d1d5db;
    font-size: 10px;
    opacity: 0.8;
}
.btn-clear {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 2px 6px;
    border-radius: 4px;
    cursor: pointer;
}
