.modal-root{z-index:500;place-items:center;padding:20px;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.modal-backdrop{-webkit-backdrop-filter:blur(8px);background:#021b369e;position:absolute;top:0;bottom:0;left:0;right:0}.modal-panel{overscroll-behavior:contain;border-radius:var(--r-xl);background:#fff;outline:none;width:100%;max-height:calc(100dvh - 40px);position:relative;overflow-y:auto;box-shadow:0 40px 120px -30px #0000008c}.modal-sm{max-width:460px}.modal-md{max-width:720px}.modal-lg{max-width:920px}.modal-close-wrap{z-index:5;height:0;position:sticky;top:0}.modal-close{z-index:5;width:42px;height:42px;color:var(--ink);transition:transform .4s var(--ease), background .3s, color .3s;background:#ffffffe6;border-radius:50%;place-items:center;display:grid;position:absolute;top:14px;right:14px;box-shadow:0 6px 18px -8px #00000059}.modal-close:hover{background:var(--orange);color:#fff;transform:rotate(90deg)}@media (max-width:560px){.modal-root{align-items:end;padding:0}.modal-panel{border-radius:26px 26px 0 0;max-height:92dvh}}
