.mec-event-cover-flip {
    position: relative;
    perspective: 1800px;
}

.mec-event-cover-flip-card {
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    transition: transform .85s cubic-bezier(.23, 1, .32, 1);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
    background-color: #111;
}

.mec-event-cover-flip-card.mec-cover-static {
    transform: none;
    box-shadow: none;
}

.mec-cover-face {
    position: relative;
    display: block;
    margin: 0;
    backface-visibility: hidden;
    cursor: zoom-in;
}

.mec-cover-face img {
    width: 100%;
    height: auto;
    display: block;
}

.mec-cover-face.mec-cover-back {
    position: absolute;
    inset: 0;
    transform: rotateY(180deg);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.mec-event-cover-flip-card.mec-show-plan {
    transform: rotateY(180deg);
}

.mec-event-cover-flip-card.mec-show-plan .mec-cover-face.mec-cover-back {
    pointer-events: auto;
}

.mec-cover-flip-button {
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: rgba(23, 28, 36, .88);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
    transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
    gap: 2px;
    padding: 6px;
}

.mec-cover-flip-button .material-symbols-outlined {
    font-size: 24px;
    line-height: 1;
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.mec-cover-flip-button .mec-cover-flip-text {
    line-height: 1.1;
}

.mec-cover-flip-button:hover,
.mec-cover-flip-button:focus {
    transform: translateY(-2px);
}

.mec-event-cover-flip.mec-plan-active .mec-cover-flip-button {
    background: #24ca4f;
    box-shadow: 0 16px 34px rgba(36, 202, 79, .35);
}

.mec-cover-flip-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .mec-cover-flip-button {
        width: 54px;
        height: 54px;
        right: 16px;
        bottom: 16px;
        font-size: 10px;
    }

    .mec-cover-flip-button .material-symbols-outlined {
        font-size: 20px;
    }
}
