/**
 * Menú hamburguesa coach (sala en vivo): acento naranja.
 * Play/pausa = verde · Reiniciar = rojo (sin cambios semánticos).
 */

#coach-menu-toggle {
    background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--rtp-brand-primary) 35%, var(--rtp-surface)) 0%,
        var(--rtp-surface) 100%
    );
    border: 1px solid color-mix(in srgb, var(--rtp-brand-primary) 40%, var(--rtp-border));
    transition: var(--rtp-transition-ui);
}

#coach-menu-toggle:hover {
    border-color: var(--rtp-brand-primary);
    box-shadow: var(--rtp-hover-glow);
    transform: scale(1.02);
}

#coach-menu-toggle:active {
    transform: scale(0.98);
}

#coach-menu-content {
    background: var(--rtp-surface);
    border: 1px solid var(--rtp-border);
    color: var(--rtp-brand-text);
}

.coach-menu-button {
    background: var(--rtp-surface-raised);
    color: var(--rtp-brand-text);
    border: 1px solid var(--rtp-border);
    transition: var(--rtp-transition-ui);
}

.coach-menu-button:hover {
    background: color-mix(in srgb, var(--rtp-brand-primary) 10%, var(--rtp-surface-raised));
    border-color: color-mix(in srgb, var(--rtp-brand-primary) 55%, var(--rtp-border));
    box-shadow: var(--rtp-hover-glow);
}

.coach-menu-button:active {
    transform: scale(0.98);
}

.coach-menu-button.active:not(.coach-menu-button--control):not(.coach-menu-button--danger) {
    background: color-mix(in srgb, var(--rtp-brand-primary) 22%, var(--rtp-surface-raised));
    border-color: var(--rtp-brand-primary);
    color: var(--rtp-brand-text);
}

.coach-menu-button--control.paused,
.coach-menu-button.paused {
    background: linear-gradient(180deg, var(--rtp-color-success) 0%, #15803d 100%) !important;
    border-color: color-mix(in srgb, var(--rtp-color-success) 70%, #fff) !important;
    color: var(--rtp-on-primary) !important;
}

.coach-menu-button--control.paused:hover,
.coach-menu-button.paused:hover {
    filter: brightness(1.08);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--rtp-color-success) 40%, transparent);
}

.coach-playbook-panel,
#plays-menu.coach-playbook-panel {
    background: color-mix(in srgb, var(--rtp-surface) 92%, transparent);
    border: 1px solid var(--rtp-border);
}

.coach-playbook-category {
    background: var(--rtp-surface);
    border: 1px solid var(--rtp-border);
}

.coach-playbook-category__summary {
    background: var(--rtp-surface-raised);
    border: 1px solid var(--rtp-border);
    color: var(--rtp-brand-text);
    transition: var(--rtp-transition-ui);
}

.coach-playbook-category[open] > .coach-playbook-category__summary {
    border-color: var(--rtp-brand-primary) !important;
    background: color-mix(in srgb, var(--rtp-brand-primary) 24%, var(--rtp-surface-raised)) !important;
    color: var(--rtp-brand-text) !important;
}

.coach-playbook-category__summary:hover {
    border-color: var(--rtp-brand-primary) !important;
}

.coach-playbook-category__summary::before {
    color: var(--rtp-brand-primary) !important;
}

.coach-playbook-item:hover:not(:disabled) {
    border-color: var(--rtp-brand-primary) !important;
    background: color-mix(in srgb, var(--rtp-brand-primary) 14%, var(--rtp-surface-raised)) !important;
}

.coach-playbook-item--active {
    border-color: var(--rtp-brand-primary) !important;
    background: color-mix(in srgb, var(--rtp-brand-primary) 22%, var(--rtp-surface-raised)) !important;
}

.coach-menu-button--playbook[aria-expanded="true"] {
    border-color: var(--rtp-brand-primary) !important;
    background: color-mix(in srgb, var(--rtp-brand-primary) 18%, var(--rtp-surface-raised)) !important;
}

.live-playbook-bar {
    border: 1px solid color-mix(in srgb, var(--rtp-brand-primary) 35%, var(--rtp-border));
    background: color-mix(in srgb, var(--rtp-surface) 94%, transparent);
}

