.modal-shell-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:300;display:flex;align-items:center;justify-content:center;padding:20px;background:#0a0810b8;overscroll-behavior:contain;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}.modal-shell{display:flex;flex-direction:column;width:100%;max-height:min(86vh,900px);background:linear-gradient(165deg,#1f1b2b,#16131f 78%);border:1px solid rgba(255,255,255,.08);border-radius:20px;box-shadow:0 16px 48px #0000008c;outline:none;overflow:hidden}.modal-shell--small{max-width:420px}.modal-shell--medium{max-width:560px}.modal-shell--large{max-width:760px}.modal-shell--full{max-width:none;width:100vw;height:100vh;max-height:none;border-radius:0;border:none}.modal-shell-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px 0}.modal-shell-title{margin:0;font-size:20px;line-height:1.25;font-weight:700;color:#fff}.modal-shell-close{flex-shrink:0;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.08);border-radius:50%;background:#2a2438;color:#ffffffa8;font-size:22px;line-height:1;cursor:pointer;transition:color .12s cubic-bezier(.16,1,.3,1),border-color .12s cubic-bezier(.16,1,.3,1)}.modal-shell-close:hover,.modal-shell-close:focus-visible{color:#fff;border-color:#ffffff29}.modal-shell-body{padding:16px 22px 22px;overflow-y:auto;overscroll-behavior:contain;color:#ffffffa8}.modal-shell-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:0 22px 22px}@media(max-width:560px){.modal-shell-backdrop{padding:0;align-items:flex-end}.modal-shell:not(.modal-shell--full){max-width:none;border-radius:20px 20px 0 0;max-height:92vh}.modal-shell-footer{padding-bottom:calc(22px + env(safe-area-inset-bottom))}}
