.mfn-legal-dialog {
 position:fixed; inset:0; margin:auto; padding:0;
 width:min(680px,calc(100% - 32px)); max-width:none;
 max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px);
 overflow:hidden; border:1px solid #d6dfce; border-radius:20px;
 background:#f9f8f3; color:#354f40; box-shadow:0 24px 80px #132b2350;
}
.mfn-legal-dialog:not([open]) { display:none; }
.mfn-legal-dialog::backdrop { background:#152b3299; backdrop-filter:blur(3px); }
.mfn-legal-dialog-inner { display:flex; flex-direction:column; max-height:inherit; }
.mfn-legal-dialog-header { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:20px clamp(16px,4vw,30px); border-bottom:1px solid #d6dfce; }
.mfn-legal-dialog-header h2 { margin:0; font:clamp(1.4rem,4vw,2rem)/1.2 Georgia,serif; }
.mfn-legal-dialog-header form { margin:0; flex:none; }
.mfn-legal-dialog .mfn-legal-close { display:grid; place-items:center; width:44px; height:44px; padding:0; border:1px solid #d6dfce; border-radius:50%; background:transparent; color:inherit; font:1.75rem/1 Arial,sans-serif; cursor:pointer; }
.mfn-legal-dialog-body { overflow:auto; overscroll-behavior:contain; padding:22px clamp(16px,4vw,30px) 28px; overflow-wrap:anywhere; font:0.95rem/1.65 Arial,sans-serif; }
.mfn-legal-dialog-body p,.mfn-legal-dialog-body ul { margin:0 0 1em; }
.mfn-legal-dialog-body ul { list-style:disc; padding-inline-start:1.4em; }
.mfn-legal-dialog-body h3 { margin:1.1em 0 .45em; font:1.15rem/1.35 Georgia,serif; }
.mfn-legal-dialog-body h3:first-child { margin-top:0; }
.mfn-legal-dialog-body a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
.mfn-legal-dialog-body hr { margin:1em 0; border:0; border-top:1px solid #d6dfce; }
