        .dock-icon:active { transform: scale(0.9); }
        .win-close:active { transform: scale(0.9); }

/* Snap Back Restore Animation */
.snapback-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    pointer-events: none;
}

.snapback-overlay.active {
    opacity: 1;
}

.snapback-text {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Inter', system-ui, sans-serif;
    color: transparent;
    background: linear-gradient(90deg, #00ffff, #00ffff);
    -webkit-background-clip: text;
    background-clip: text;
    opacity: 0;
    transform: scale(0.8);
}

.snapback-overlay.active .snapback-text {
    animation: snapBackMagic 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes snapBackMagic {
    0% {
        opacity: 0;
        transform: scale(0.5);
        text-shadow: 0 0 0 rgba(0, 255, 255, 0);
    }
    30% {
        opacity: 1;
        transform: scale(1.2);
        text-shadow: 0 0 30px rgba(0, 255, 255, 0.8), 0 0 50px rgba(157, 0, 255, 0.6);
    }
    70% {
        opacity: 1;
        transform: scale(1);
        text-shadow: 0 0 15px rgba(0, 255, 255, 0.5), 0 0 30px rgba(157, 0, 255, 0.3);
    }
    100% {
        opacity: 0;
        transform: scale(1.3);
        text-shadow: 0 0 0 rgba(0, 255, 255, 0);
    }
}
