
dialog.letter-dialog {width:min(440px,calc(100% - 24px));max-width:calc(100% - 24px);min-width:0;max-height:calc(100dvh - 24px);box-sizing:border-box;overflow:auto;padding:0;border:1px solid #f2e3ff6b;border-radius:27px;color:#fff6f7;background:radial-gradient(ellipse at 93% -9%,#b9a2d48c,transparent 51%),linear-gradient(147deg,#282937f5,#34334eeb 66%,#4b3e66ef);box-shadow:0 20px 70px #2013297d,inset 0 1px #ffebff90;backdrop-filter:blur(24px) saturate(1.2)}
dialog.letter-red {background:radial-gradient(ellipse at 95% -8%,#e2a0a48c,transparent 59%),linear-gradient(155deg,#581d36f1,#712d46ee 64%,#943e54f4);border-color:#ffe6e17a}
dialog.letter-dialog::backdrop{background:#261f3870;backdrop-filter:blur(4px)}
.letter-dialog article{padding:clamp(18px,5vw,28px);overflow-wrap:anywhere}
.letter-brand{display:flex;align-items:center;gap:7px;font-size:.78rem;color:#f7e2f5;margin-bottom:12px}.letter-brand span:first-child{display:grid;place-items:center;width:27px;height:27px;border:1px solid #ffe7ff50;border-radius:10px;background:#fff3ff26}
.letter-dialog h2{font-size:clamp(1.45rem,6vw,2.2rem);font-weight:830;line-height:1.37;letter-spacing:-.045em;color:inherit;margin-bottom:15px}
.letter-copy{display:grid;gap:11px;font-size:clamp(.85rem,3.7vw,.99rem);line-height:1.88;color:#fff5f3}
.letter-french{color:#f8dce5;text-align:right;margin-block:16px 9px;font:italic 1.13rem/1.2 Georgia,serif}
.letter-sign{display:flex;min-height:52px;justify-content:space-between;align-items:center;border-top:1px solid #f9e9f148;padding-top:8px;color:#ffecee}
.letter-sign strong,.letter-sign time{display:block}.letter-sign time{font-size:.75rem;color:#f8dce3}
.letter-sign img{width:auto;max-width:45%;max-height:59px;object-fit:contain}
.letter-continue{width:100%;border:1px solid #fff7f4bb;min-height:45px;margin-top:13px;border-radius:14px;background:#fff5f4;color:#62283e;font-weight:800;box-shadow:0 4px 14px #2d152659}
.letter-error{font-size:.79rem;color:#ffe7de;margin-top:6px}
