.pluus-popup {
    --pluus-popup-background: #fff;
    --pluus-popup-color: #222;
    --pluus-popup-accent: #222;
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(36rem, calc(100% - 2rem));
    max-height: calc(100% - 2rem);
    overflow: auto;
    padding: clamp(1.5rem, 5vw, 3rem);
    border: 0;
    border-radius: .5rem;
    background: var(--pluus-popup-background);
    color: var(--pluus-popup-color);
    box-shadow: 0 1rem 4rem rgb(0 0 0 / 22%);
    font: inherit;
    text-align: left;
}
.pluus-popup[open] { animation: pluus-popup-in 220ms ease-out both; }
.pluus-popup::backdrop { background: rgb(0 0 0 / 55%); }
.pluus-popup__close {
    position: absolute;
    top: .5rem;
    right: .5rem;
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}
.pluus-popup__headline { margin: 0 1.5rem 1rem 0; font-size: clamp(1.4rem, 4vw, 2rem); line-height: 1.2; }
.pluus-popup__text { line-height: 1.6; overflow-wrap: anywhere; }
.pluus-popup__text img { max-width: 100%; height: auto; }
.pluus-popup__button {
    display: inline-block;
    margin-top: 1.25rem;
    padding: .8rem 1.2rem;
    border: 0;
    border-radius: .2rem;
    background: var(--pluus-popup-accent);
    color: #fff;
    font: inherit;
    cursor: pointer;
}
.pluus-popup button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@keyframes pluus-popup-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .pluus-popup[open] { animation: none; } }
