.apgl-email-reveal {
    font: inherit;
    font-size: .95rem;
    line-height: 1.4;
    border: 1px solid currentColor;
    border-radius: .4rem;
    padding: .5rem .8rem;
    cursor: pointer;
    color: #633785;
    background: #fff;
    text-align: center;
}
.apgl-email-reveal:disabled { opacity: .6; cursor: wait; }
.apgl-email-reveal:focus-visible, .apgl-email-dialog button:focus-visible { outline: 3px solid #9c6cb5; outline-offset: 3px; }
.wp-block-social-links .wp-social-link-mail:has(.apgl-email-reveal),
.wp-block-social-links .wp-social-link-mail.apgl-email-visible { border-radius: .4rem; width: auto; height: auto; }
.wp-block-social-links .wp-social-link-mail .apgl-email-address { font-size: 1rem; overflow-wrap: anywhere; }
.apgl-email-dialog {
    box-sizing: border-box;
    max-width: min(38rem, calc(100vw - 2rem));
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    border: 0;
    border-radius: 1rem;
    padding: clamp(1.2rem, 4vw, 2rem);
    background: #fff;
    color: #29232d;
    box-shadow: 0 1rem 4rem #0004;
    font-size: 1rem;
    line-height: 1.6;
}
.apgl-email-dialog::backdrop { background: #21142899; }
.apgl-email-dialog h2 { margin-top: 0; font-size: 1.5rem; line-height: 1.3; color: #633785; }
.apgl-email-dialog a { color: #633785; text-decoration: underline; }
.apgl-email-dialog-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.apgl-email-dialog button { font: inherit; border-radius: .4rem; padding: .65rem 1rem; cursor: pointer; border: 1px solid #633785; color: #633785; background: #fff; }
.apgl-email-dialog button[data-continue] { background: #633785; color: #fff; }
.apgl-email-error { display: block; font-size: .9rem; color: #a12032; margin: .4rem 0; }
.apgl-email-address { overflow-wrap: anywhere; }
