#mj-cookie-banner[hidden] {
    display: none !important;
}

#mj-cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: min(560px, calc(100% - 32px));
    box-sizing: border-box;
    padding: 22px;
    border: 1px solid #ddd;
    border-radius: 14px;
    background: #fff;
    color: #333;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
    font-size: 14px;
    line-height: 1.6;
}

#mj-cookie-banner p {
    margin: 0 0 14px;
}

#mj-cookie-banner a {
    color: #694b82;
    text-decoration: underline;
}

#mj-cookie-banner button {
    cursor: pointer;
    padding: 10px 20px;
    margin: 4px 8px 0 0;
    border: 1px solid #694b82;
    border-radius: 8px;
    background: #694b82;
    color: #fff;
    font: inherit;
    font-weight: 600;
}

#mj-cookie-refuse {
    background: #fff !important;
    color: #694b82 !important;
}

#mj-cookie-banner button:focus-visible,
#mj-cookie-banner a:focus-visible {
    outline: 3px solid #694b82;
    outline-offset: 3px;
}

@media (max-width: 480px) {
    #mj-cookie-banner {
        bottom: 8px;
        padding: 16px;
        width: calc(100% - 16px);
    }
}
