body.policy-open .page-wrapper,
body.policy-open .footer-wrapper {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
}

body.policy-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.58);
}

.policy-container.active {
    display: block !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    z-index: 10001 !important;
    width: min(720px, calc(100vw - 40px)) !important;
    max-height: calc(100vh - 40px) !important;
    overflow: auto !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    padding: 28px !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65) !important;
}

.policy-container.active .policy-box {
    height: min(60vh, 520px) !important;
}
