body.is-privacy-modal-open {
    overflow: hidden;
}

.privacy-modal[hidden] {
    display: none;
}

.privacy-modal {
    position: fixed;
    z-index: 1000;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100%;
    max-width: 600px;
    overflow-x: hidden;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.5);
    transform: translateX(-50%);
}

.privacy-modal__panel,
.privacy-modal__panel * {
    box-sizing: border-box;
}

.privacy-modal__panel {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 600 / 1028;
    margin: 0 auto;
    overflow: hidden;
    color: #222;
    background: #5e1785;
}

.privacy-modal__background {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
    user-select: none;
}

.privacy-modal__content {
    position: absolute;
    z-index: 1;
    top: 29.183%;
    left: 6.667%;
    width: 86.667%;
    height: 51.265%;
    padding: min(5vw, 30px);
    overflow-x: hidden;
    overflow-y: auto;
    border: 0;
    border-radius: min(1.167vw, 7px);
    outline: 0;
    background: transparent;
    scrollbar-gutter: stable;
    overscroll-behavior: contain;
}

.privacy-modal__content:focus-visible {
    box-shadow: inset 0 0 0 min(0.667vw, 4px) rgba(239, 233, 57, 0.8);
}

.privacy-modal__close {
    position: absolute;
    z-index: 1;
    top: 85.311%;
    left: 6.667%;
    width: 86.667%;
    height: 7.977%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: min(1.667vw, 10px);
    outline: 0;
    color: transparent;
    background: transparent;
    cursor: pointer;
    appearance: none;
}

.privacy-modal__close:focus-visible {
    box-shadow: inset 0 0 0 min(0.667vw, 4px) #fff;
}

.privacy-modal__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}