/* ==========================================================================
   Immersive Pitch Coach - Real-Time Debug & Telemetry Panel Styles
   ========================================================================== */

.debug-overlay-container {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 999;
    pointer-events: auto;
}

.debug-panel {
    width: 320px;
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    animation: fadeInScale 0.2s ease-out;
}

.debug-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 10px;
}

.debug-title {
    font-weight: 700;
    color: var(--accent-blue);
    font-size: 0.85rem;
}

.debug-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
}

.debug-close-btn:hover {
    color: #ffffff;
}

.debug-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.debug-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.debug-item .label {
    color: var(--text-muted);
}

.debug-item .val {
    color: #ffffff;
    font-weight: 600;
}

.debug-events-box {
    border-top: 1px solid var(--card-border);
    padding-top: 8px;
}

.events-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.events-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 120px;
    overflow-y: auto;
    font-size: 0.72rem;
}

.events-list li {
    color: var(--accent-blue);
    background: rgba(56, 189, 248, 0.05);
    padding: 2px 6px;
    border-radius: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
