.legal-footer-links{display:flex;align-items:center;gap:10px 18px;flex-wrap:wrap;margin-top:14px}
.legal-footer-links button{padding:0;border:0;background:none;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.legal-dialog{width:min(760px,calc(100% - 32px));max-height:85vh;padding:0;border:0;border-radius:18px;color:#17131d;box-shadow:0 25px 80px rgba(0,0,0,.35)}
.legal-dialog::backdrop{background:rgba(10,7,15,.72);backdrop-filter:blur(3px)}
.legal-dialog-head{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;border-bottom:1px solid #e4e0e8;background:#fff}
.legal-dialog-head h2{margin:0;font-size:25px}
.legal-dialog-head button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:#eee9f8;color:#17131d;font-size:29px;line-height:1;cursor:pointer}
.legal-dialog-content{padding:24px;white-space:normal;overflow-wrap:anywhere}
.legal-dialog-content p:first-child{margin-top:0}
@media(max-width:600px){.legal-dialog{width:calc(100% - 20px);max-height:90vh}.legal-dialog-head{padding:15px 17px}.legal-dialog-content{padding:18px}.legal-footer-links{gap:9px 14px}}
