/**
 * The press dip, shared by the action buttons of every window.
 * It names selectors from several sheets on purpose — keeping it in
 * any one of them would hide it from the others.
 * Load order is significant: keep this file's <link> position in index.html.
 */

/* Window controls dip on press, like the HUD corner buttons already did. */
.building-upgrade,
.building-demolish,
.building-move,
.quest__claim,
.shop-offer__buy,
.build-card__build,
.modal-close {
    transition: transform 0.12s ease, filter 0.12s ease;
}

.building-upgrade:not(:disabled):active,
.building-demolish:active,
.building-move:active,
.quest__claim:not(:disabled):active,
.shop-offer__buy:not(:disabled):active,
.build-card__build:not(:disabled):active,
.modal-close:active {
    transform: scale(0.93);
    filter: brightness(1.08);
}
