.bq-modal>.box{z-index:1001;border:1px solid var(--line-2);border-radius:var(--r-lg);width:min(620px,100vw - 32px);max-height:calc(100dvh - 48px);box-shadow:var(--shadow);animation:pop-in .35s var(--ease-out) both;outline:none;flex-direction:column;display:flex;position:fixed;top:50%;left:50%;translate:-50% -50%}.bq-modal>.box.drawer{width:min(480px,100vw);height:100dvh;max-height:none;animation:slide-r .4s var(--ease-out) both;border-width:0 0 0 1px;border-radius:0;top:0;left:auto;right:0;translate:none}.bq-modal>.box>.head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;display:flex}.bq-modal>.box>.head>.x{border-radius:var(--r-sm);place-items:center;width:44px;height:44px;margin:-8px;display:grid}.bq-modal>.box>.head>.x:hover{background:var(--surface-2)}.bq-modal>.box>.body{overscroll-behavior:contain;padding:20px;overflow:auto}
