/* ================================================================
   ByteSide.io — Overview (Exposé)
   Overlay + window thumbnail grid.
   z-index: 4000 overlay, 4100 windows, 4200 labels
   ================================================================ */

/* Backdrop */
.mc-overlay {
    position: fixed;
    inset: 0;
    z-index: 4000;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 350ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mc-overlay[hidden] { display: none; }
.mc-active .mc-overlay { opacity: 1; }

/* Windows in MC mode */
.mc-active .window:not(.minimized) {
    z-index: 4100 !important;
    cursor: pointer !important;
    will-change: transform;
}

/* Hover ring */
.mc-active .window:not(.minimized):hover {
    box-shadow: 0 0 0 3px var(--byte-primary),
                0 0 20px rgba(253, 125, 0, 0.3),
                var(--byte-shadow-window-focus) !important;
}

/* Disable resize handles */
.mc-active .resizer {
    pointer-events: none !important;
}

/* Labels (dynamic elements on overlay) */
.mc-label {
    position: fixed;
    transform: translateX(-50%);
    padding: 4px 10px;
    background: var(--byte-ink-800);
    border: 1px solid var(--byte-ink-600);
    border-radius: var(--byte-r-sm);
    color: var(--byte-fog-100);
    font-family: var(--byte-font-mono);
    font-size: var(--byte-fs-xs);
    white-space: nowrap;
    pointer-events: none;
    z-index: 4200;
    opacity: 0;
    transition: opacity 150ms ease;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .mc-overlay { transition: none; }
    .mc-active .window:not(.minimized) { transition: none !important; }
    .mc-label { transition: none; }
}
