/* === EXIT BUTTON BASE === */
#mx-exit-btn {
    position: absolute;
    z-index: 2147483647; /* Max Z-Index */
    cursor: pointer;
    display: none; /* Hidden by default */
    align-items: center; justify-content: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    transition: all 0.2s ease;
    user-select: none;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

#mx-exit-btn:hover { 
    transform: scale(1.1); 
}

#mx-exit-content {
    font-family: 'Fredoka', sans-serif; 
    font-weight: bold; 
    line-height: 1;
    width: 100%; height: 100%; 
    display: flex; align-items: center; justify-content: center;
    transition: color 0.2s ease;
}

/* === CONFIRMATION MODAL (EXACT COPY OF ORIGINAL) === */
#mx-exit-modal {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2147483647;
    display: none;
    align-items: center; justify-content: center;
    backdrop-filter: blur(5px);
}
.mx-mod-box {
    background: #111; border: 2px solid #B700B7; padding: 30px 40px; text-align: center;
    box-shadow: 0 0 40px rgba(183, 0, 183, 0.3);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}
.mx-mod-title { color: #B700B7; font-size: 12px; letter-spacing: 2px; margin-bottom: 15px; text-transform:uppercase; font-family: sans-serif; }
.mx-mod-msg { color: #fff; font-size: 18px; font-family: 'Fredoka', sans-serif; margin-bottom: 25px; }
.mx-mod-btns { display: flex; gap: 20px; justify-content: center; }
.mx-mod-btn {
    padding: 8px 25px; font-weight: bold; border: none; cursor: pointer; text-transform: uppercase; font-family: sans-serif;
    transition: 0.2s; font-size: 14px;
}
.mx-mod-yes { background: #00ffff; color: #000; }
.mx-mod-yes:hover { background: #fff; box-shadow: 0 0 10px #fff; }
.mx-mod-no { background: transparent; border: 1px solid #555; color: #aaa; }
.mx-mod-no:hover { border-color: #fff; color: #fff; }